gphoto / libgphoto2

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

'ret' failed: 'PTP I/O Error' (0x02ff) Nikon D5100 #258

Open liborw opened 6 years ago

liborw commented 6 years ago

I have a problem with gphoto2, after a couple of images the capture stops working with the PTP IO Error I have to switch off and on the camera in order to make it work. Is there any solution to this?

On Ubuntu 16.04:

$ gphoto2 --version
gphoto2 2.5.9

Copyright (c) 2000-2015 Lutz Mueller and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2         2.5.9          gcc, popt(m), exif, no cdk, aa, jpeg, readline
libgphoto2      2.5.9          all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0         gcc, ltdl, no USB, serial without locking
Sija commented 6 years ago

I'd start trying out the most recent version - that is 2.5.16, then git master if issue is still there, and finally reporting back here.