Hi Daniel,

Your report was in my work email, which is a bit overflowing and I keep 
losing track of older items ;)

On Wed, Aug 16, 2017 at 12:39:39PM +0200, Daniel Muller wrote:
> Hi Marcus,
> I am not sure if you got this one..
> when I try from command line capture and download, it fails, and camera
> reports error 70
> Logs are on filebin..
> https://filebin.net/j1ksq2qxxlm3gpd1

Sadly I have seen several reports of this already, e.g.:

https://github.com/gphoto/libgphoto2/issues/195 / 
https://github.com/gphoto/libgphoto2/issues/181

Interesting part is that:


        1.056312 ptp                         (2): event 0: unhandled EOS event 
StorageInfoChanged (size 12)
        1.056323 ptp                         (2):     8: 01
        1.056329 ptp                         (2):     9: 00
        1.056335 ptp                         (2):     10: 02
        1.056341 ptp                         (2):     11: 00
        1.056353 ptp                         (2): event 1: request object 
transfer oid 3000e322, ofc 3801, size 8605720, filename 0xb90a30
        1.056361 ptp                         (2): BAD: i 2, entries 2 *** 
ignore this BAD ;) ****
        1.056426 ptp_usb_sendreq             (2): Sending PTP_OC 0x9116 
(PTP_OC_CANON_EOS_GetEvent) request...
        1.056434 gp_port_write               (3): Writing 12 = 0xc bytes to 
port...
        1.056605 gp_port_write               (3): Wrote   12 = 0xc bytes to 
port: (hexdump of 12 bytes)
        0000  0c 00 00 00 01 00 16 91-3e 00 00 00              ........>...    

        1.056639 ptp_usb_getdata             (2): Reading PTP_OC 0x9116 
(PTP_OC_CANON_EOS_GetEvent) data...
        1.056648 gp_port_read                (3): Reading 1024 = 0x400 bytes 
from port...
        1.056936 gp_port_read                (3): Read    20 = 0x14 out of 1024 
bytes from port: (hexdump of 20 bytes)
        0000  14 00 00 00 02 00 16 91-3e 00 00 00 08 00 00 00  ........>.......
        0010  00 00 00 00            -                         ....            

        1.057002 ptp_usb_getresp             (2): Reading PTP_OC 0x9116 
(PTP_OC_CANON_EOS_GetEvent) response...
        1.057012 gp_port_read                (3): Reading 1024 = 0x400 bytes 
from port...
        1.057183 gp_port_read                (3): Read    12 = 0xc out of 1024 
bytes from port: (hexdump of 12 bytes)
        0000  0c 00 00 00 03 00 01 20-3e 00 00 00              ....... >...    

        1.057221 camera_wait_for_event       (2): entry type 0000
        1.057241 camera_wait_for_event       (2): waiting for events timeout 
2845 ms
        1.057260 ptp_usb_sendreq             (2): Sending PTP_OC 0x911d 
(PTP_OC_CANON_EOS_KeepDeviceOn) request...
        1.057268 gp_port_write               (3): Writing 12 = 0xc bytes to 
port...
        1.057384 gp_port_write               (3): Wrote   12 = 0xc bytes to 
port: (hexdump of 12 bytes)
        0000  0c 00 00 00 01 00 1d 91-3f 00 00 00              ........?...    

        1.057398 ptp_usb_getresp             (2): Reading PTP_OC 0x911d 
(PTP_OC_CANON_EOS_KeepDeviceOn) response...
        1.057405 gp_port_read                (3): Reading 1024 = 0x400 bytes 
from port...
        1.057713 gp_port_read                (3): Read    12 = 0xc out of 1024 
bytes from port: (hexdump of 12 bytes)
        0000  0c 00 00 00 03 00 01 20-3f 00 00 00              ....... ?...    

        1.057727 ptp_usb_sendreq             (2): Sending PTP_OC 0x9116 
(PTP_OC_CANON_EOS_GetEvent) request...
        1.057734 gp_port_write               (3): Writing 12 = 0xc bytes to 
port...
        1.057836 gp_port_write               (3): Wrote   12 = 0xc bytes to 
port: (hexdump of 12 bytes)
        0000  0c 00 00 00 01 00 16 91-40 00 00 00              ........@...    

        1.057848 ptp_usb_getdata             (2): Reading PTP_OC 0x9116 
(PTP_OC_CANON_EOS_GetEvent) data...
        1.057873 gp_port_read                (3): Reading 1024 = 0x400 bytes 
from port...
        1.058171 gp_port_read                (3): Read    20 = 0x14 out of 1024 
bytes from port: (hexdump of 20 bytes)
        0000  14 00 00 00 02 00 16 91-40 00 00 00 08 00 00 00  ........@.......
        0010  00 00 00 00            -                         ....            

        1.058185 ptp_usb_getresp             (2): Reading PTP_OC 0x9116 
(PTP_OC_CANON_EOS_GetEvent) response...
        1.058192 gp_port_read                (3): Reading 1024 = 0x400 bytes 
from port...
        1.058308 gp_port_read                (3): Read    12 = 0xc out of 1024 
bytes from port: (hexdump of 12 bytes)
        0000  0c 00 00 00 03 00 01 20-40 00 00 00              ....... @...    

        1.058335 camera_wait_for_event       (2): entry type 0002
        1.058344 camera_wait_for_event       (2): Found new object! OID 
0x3000e322, name  �
        1.058365 camera_wait_for_event       (2): trying to get object 
size=0x835018
        1.058385 ptp_usb_sendreq             (2): Sending PTP_OC 0x9107 
(PTP_OC_CANON_EOS_GetPartialObject) (0x3000e322,0x0,0x835018) request...
        1.058394 gp_port_write               (3): Writing 24 = 0x18 bytes to 
port...
        1.058563 gp_port_write               (3): Wrote   24 = 0x18 bytes to 
port: (hexdump of 24 bytes)
        0000  18 00 00 00 01 00 07 91-41 00 00 00 22 e3 00 30  ........A..."..0
        0010  00 00 00 00 18 50 83 00-                         .....P..        

... here we try to start the download of the announced object id ... 

        1.058597 ptp_usb_getdata             (2): Reading PTP_OC 0x9107 
(PTP_OC_CANON_EOS_GetPartialObject) data...
        1.058606 gp_port_read                (3): Reading 1024 = 0x400 bytes 
from port...
        18.312906 gp_libusb1_read [libusb1.c:583](0): 'libusb_bulk_transfer 
(port->pl->dh, port->settings.usb.inep, (unsigned char*)bytes, size, &curread, 
port->timeout)' failed: Input/Output error (-1)

and the camera crashed or switched to Error 70.

So the camera is not expecting us to acccess it at this moment :/

Is this consistent for every image capture for you?

Ciao, Marcus

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to