gphoto / libgphoto2

The libgphoto2 camera access and control library.
GNU Lesser General Public License v2.1
1.06k stars 327 forks source link

Unable put file in camera flash card. #107

Open dhamp opened 8 years ago

dhamp commented 8 years ago

File upload not work for Canon EOS 650D, but summary info show this in device capabilities. What I do wrong ?

dhamp commented 8 years ago

some logs: https://gist.github.com/dhamp/aa8f49f4f489ba9ec035b05c3323f0fc (web interface show only 1 log, use zip link or clone with git) zip: https://gist.github.com/dhamp/aa8f49f4f489ba9ec035b05c3323f0fc/archive/63ebeae0de99777326b505952d4e133b73e97c5f.zip git+https: git clone https://gist.github.com/aa8f49f4f489ba9ec035b05c3323f0fc.git git+ssh: git clone git@gist.github.com:aa8f49f4f489ba9ec035b05c3323f0fc.git

msmeissn commented 8 years ago

the upload ability detection is a bit flaky. cameras rarely support upload, and it does not seem to be there in this case.

dhamp commented 8 years ago

If it is a can not be determined by ptp2 protocol, then maybe it's worth to try to upload a test file in the camera, and only in case of success in the output display gphoto2 --summary that have upload support. Although it is to some extent "crutch" and it only applies to gphoto2, but not libghoto2. In any case, it seems to me, it can not be solved by libghoto2 library.

msmeissn commented 8 years ago

i would prefer --summary not doing any active stuff :/ i could basically disable the "Upload" capable information for all cameras, as they rarely can do it