Trying to use gphoto and PTP for the first time with
this camera. Until today, USB Mass Storage always
worked fine. Today it didn't, so I installed gphoto2
to try PTP.
With PTP I can download earlier images, but I get an
error past a certain point. The interesting bits at
the end of the debug log:
7.069829 context(0): PTP Protocol error, response expected
*** Error ***
PTP Protocol error, response expected
7.069863 libgphoto2/gphoto2-filesys.c(2): Download of
'HPIM0148.JPG' from '/store_00010042/DCIM/100HP415'
(type 1) failed. Reason: 'Unspecified error'
7.069874 gphoto2-camera(2): Operation failed!
*** Error (-1: 'Unspecified error') ***
Will upload the full debug log. I noticed that the
dumped data contains a lot of repeated zero bytes and
other bytes. These suspicious bytes don't appear in a
debug log of a successful download (just the "random"
bytes that I might expect to see).
As mentioned above, other problems also occur under
Linux with USB mass storage (though Linux works with
e.g. my flash drive). I went to a Windows machine and
tried USB mass storage, and the camera worked fine
Version of gphoto is 2.1.5; libgphoto is 2.1.6;
libgphoto2_port is 0.5.1.