gphoto / libgphoto2

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

Sony A6000 readonly wigget and weird USB behavior on libgphoto2 2.5.31 #926

Open mfdrone opened 1 year ago

mfdrone commented 1 year ago

Hello,

When I plug my Sony A6000 or turn it on, it stays on "connecting..." on the camera sceen until I send something to the camera like --summary or --capture-image-and-download, only then it enters PC Remote mode.

This could be handable but the main issue is when I send --capture-image-and-download, it remains forever on the last step (Deleting file /capt0001.arw on the camera) until I manually touch a button on the camera or a parameter changes itself (like shutter speed in A mode for instance), then it's like the camera suddently wake up and end the process of --capture-image-and-download.

It looks like the two issues explained above are linked, because when dealing with other lib version, it seems these things happen together or they don't. Plus, this didn't happen on specific former lib version like 2.5.22 (libgphoto2) and 2.5.27.1 (gphoto2) that I had installed on an old raspberry.

Also I have some widgets on readonly (focus mode, shutter spead, program mode, etc), instead of readwrite. I read that the 2.5.28 release of libphoto2 is supposed to fix the thing so I don't understand why it's back on a newer version ?

For some reasons, I couldn't install the 2.5.28 or 2.5.22 (libgphoto2), I ended up with version 2.5.27, even when I tried on brandnew Raspberry with no other version installed before.

Sony Alpha-A6000 (Control) usb:001,010

gphoto2 2.5.28 gcc, popt(m), exif, no cdk, no aa, jpeg, no readline libgphoto2 2.5.31 standard camlibs (SKIPPING lumix), gcc, no ltdl, EXIF libgphoto2_port 0.12.2 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

Thanks,

msmeissn commented 1 year ago

In 2.5.26 and 2.5.27 i marked widgets as readonly when I thought the camera indicated that. but before 2.5.26 or after 2.5.28 all widgets should be read write.

it would be interesting to look at a debug logfile perhaps.

I think we might not be getting the data updated, but this is a bit weird.