Quote:
|
Originally Posted by SonuvBob
If you're looking for a quick workaround, edit camlibs/ptp2/ptp.h in the libgphoto2 source and change PTP_USB_BULK_HS_MAX_ PACKET_LEN from 512 to 4096 (or higher if you expect to have >1000 files). Big thanks to OrthoB for figuring that out.
|
It's worth noting that the 4096 setting has now been incorporated into the CVS code for libgphoto2 2.1.99 and apparently this doesn't break the spec for USB. Also, support has been added in the ptp2 driver for a properly functioning progress bar for uploads but I haven't tried this yet.
I still get PTP errors with files of certain length being transferred though. However, the file seems intact on the device and all plays well.