Hi,
first of all I like to thank you for the great tool gphoto2.
I have a problem with my new cam. I connect my Sony a6300 with USB (MTP mode) from the terminal.app and gphoto2 on a Mac. I quit the process "PTPCamera" to prevent "Error (-53: 'Could not claim the USB device')" and type in
gphoto2 --list-files
It works and it shows me
There is no file in folder '/'.
There is no file in folder '/store_00010001'.
There is 1 file in folder '/store_00010001/2016-06-25'.
#1 C0001.MP4 rd 63615 KB 1920x1080 application/x-unknown
Thats fine! But after one command then the cam shuts off and I have to restart the cam to make a second command. Here is the version that I use and the debug protocol:
gphoto2 2.5.10 clang, popt(m), no exif, no cdk, no aa, jpeg, readline
libgphoto2 2.5.10 all camlibs, clang, ltdl, no EXIF
libgphoto2_port 0.12.0 clang, ltdl, USB, serial without locking
UPDATE:
I updated now on my raspberry pi too. I have updated from version 2.5.7 (which worked fine with the Sony a6300) to this developer version
gphoto2 2.5.10.1 gcc, popt(m), exif, no cdk, no aa, jpeg, no readline
libgphoto2 2.5.10.1 all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0 gcc, ltdl, USB, serial without locking
and the same appears now on the raspberry. The cam (Sony a6300) shuts down after the first command in MTP mode.
See attached the my-logfile.txt from the raspberry.
and the my-logfile.txt from the mac