Hi,
I tested tethering with my wifes fuji x-t2. gphoto takes the first image ok and seems to enter event loop but if I fire again nothing happens. To get an other image I have to close gphoto and reconnect the camera. Below is a log snip after image download. If you need more logs just ask. -Juha ps. I have some (c) coding background if you need help... ***snip downloading raf image*** bfd0 02 04 08 10 20 40 81 02-04 10 41 04 08 20 82 08 .... @....A.. .. bfe0 10 41 04 10 20 82 08 20-41 04 10 40 82 08 20 81 .A.. .. A..@.. . bff0 04 10 41 02 08 20 82 04-21 08 40 84 21 08 10 84 ..A.. ..!.@.!... 172.577959 gp_port_read (3): Reading 12 = 0xc bytes from port... 172.578175 gp_port_read (3): Read 12 = 0xc bytes from port: (hexdump of 12 bytes) 0000 21 08 42 10 80 00 00 00-00 00 00 00 !.B......... 172.578535 ptp_usb_getresp (2): Reading PTP_OC 0x1009 (Get object) response... 172.578567 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 172.579046 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-08 00 00 00 ....... .... 172.579083 set_mimetype (2): Failed to find mime type for b103 File DSCF0001.raf exists. Overwrite? [y|n] y Saving file as DSCF0001.raf 217.587058 gp_camera_file_delete (2): Deleting file 'DSCF0001.raf' in folder '/store_10000001'... 217.587094 lookup_folder_file (2): Lookup folder /store_10000001 file DSCF0001.raf 217.587107 lookup_folder (2): Lookup folder '/store_10000001'... 217.587148 gp_filesystem_delete_file (2): Deleting 'DSCF0001.raf' from folder '/store_10000001'... 217.587169 gp_port_get_timeout (2): Current port timeout is 20000 milliseconds. 217.587185 gp_port_set_timeout (2): Setting port timeout to 150 milliseconds. 217.587203 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 217.737463 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 217.887782 gp_port_set_timeout (2): Setting port timeout to 20000 milliseconds. 217.887851 ptp_usb_event [usb.c:530] (0): Reading PTP event failed: Timeout reading from or writing to the port (-10) 217.887889 ptp_list_folder (2): (storage=0x10000001, handle=0x00000000) 217.887936 ptp_usb_sendreq (2): Sending PTP_OC 0x100b (Delete object) (0x1,0x0) request... 217.887960 gp_port_write (3): Writing 20 = 0x14 bytes to port... 217.888461 gp_port_write (3): Wrote 20 = 0x14 bytes to port: (hexdump of 20 bytes) 0000 14 00 00 00 01 00 0b 10-09 00 00 00 01 00 00 00 ................ 0010 00 00 00 00 - .... 217.888500 ptp_usb_getresp (2): Reading PTP_OC 0x100b (Delete object) response... 217.888510 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 217.916006 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-09 00 00 00 ....... .... 217.916068 camera_wait_for_event (2): waiting for events timeout 1000 ms 217.916098 gp_port_get_timeout (2): Current port timeout is 20000 milliseconds. 217.916111 gp_port_set_timeout (2): Setting port timeout to 150 milliseconds. 217.916126 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 218.066432 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 218.216694 gp_port_set_timeout (2): Setting port timeout to 20000 milliseconds. 218.216744 ptp_usb_event [usb.c:530] (0): Reading PTP event failed: Timeout reading from or writing to the port (-10) 218.216762 camera_wait_for_event (2): no events received. 218.216784 camera_wait_for_event (2): waiting for events timeout 1000 ms 218.216798 gp_port_get_timeout (2): Current port timeout is 20000 milliseconds. 218.216812 gp_port_set_timeout (2): Setting port timeout to 150 milliseconds. 218.216827 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 218.367087 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 218.517370 gp_port_set_timeout (2): Setting port timeout to 20000 milliseconds. 218.517428 ptp_usb_event [usb.c:530] (0): Reading PTP event failed: Timeout reading from or writing to the port (-10) 218.517471 camera_wait_for_event (2): no events received. 218.517492 camera_wait_for_event (2): waiting for events timeout 1000 ms 218.517507 gp_port_get_timeout (2): Current port timeout is 20000 milliseconds. 218.517523 gp_port_set_timeout (2): Setting port timeout to 150 milliseconds. 218.517540 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 218.667796 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 218.818086 gp_port_set_timeout (2): Setting port timeout to 20000 milliseconds. 218.818138 ptp_usb_event [usb.c:530] (0): Reading PTP event failed: Timeout reading from or writing to the port (-10) 218.818148 camera_wait_for_event (2): no events received. ****snip*** ^C Cancelling... 230.785883 gp_libusb1_check_int [libusb1.c:689](0): 'libusb_handle_events_timeout(port->pl->ctx, &tv)' failed: System call interrupted (perhaps due to signal) (-10) 230.785972 gp_port_set_timeout (2): Setting port timeout to 20000 milliseconds. 230.786031 ptp_usb_event [usb.c:530] (0): Reading PTP event failed: Error reading from the port (-34) 230.786060 camera_wait_for_event [library.c:4920](0): 'ptp_check_event(params)' failed: 'PTP I/O Error' (0x02ff) 230.786085 gp_context_error (0): PTP I/O Error *** Error *** PTP I/O Error 230.786211 gp_camera_wait_for_event [gphoto2-camera.c:1451](0): 'camera->functions->wait_for_event ( camera, timeout, eventtype, eventdata, context)' failed: -7 *** Error (-7: 'I/O problem') *** 230.787305 gp_camera_free (2): Freeing camera... 230.787326 gp_camera_exit (2): Exiting camera ('USB PTP Class Camera')... 230.787348 gp_port_get_timeout (2): Current port timeout is 20000 milliseconds. 230.787366 gp_port_set_timeout (2): Setting port timeout to 150 milliseconds. 230.787385 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 230.937672 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 231.087949 gp_port_set_timeout (2): Setting port timeout to 20000 milliseconds. 231.088009 ptp_usb_event [usb.c:530] (0): Reading PTP event failed: Timeout reading from or writing to the port (-10) 231.088037 ptp_usb_sendreq (2): Sending PTP_OC 0x1003 (Close session) request... 231.088053 gp_port_write (3): Writing 12 = 0xc bytes to port... 231.088726 gp_port_write (3): Wrote 12 = 0xc bytes to port: (hexdump of 12 bytes) 0000 0c 00 00 00 01 00 03 10-0a 00 00 00 ............ 231.088768 ptp_usb_getresp (2): Reading PTP_OC 0x1003 (Close session) response... 231.088794 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 231.089378 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-0a 00 00 00 ....... .... 231.089425 gp_port_close (2): Closing port... 231.090581 _close_async_interrupts (2): canceling transfer 0:0x556e97eab9e8 (status 0) 231.092912 _close_async_interrupts (2): canceling transfer 1:0x556e97edfad8 (status 0) 231.095267 _close_async_interrupts (2): canceling transfer 2:0x556e97ebdac8 (status 0) 231.097748 _close_async_interrupts (2): canceling transfer 3:0x556e97ebdcd8 (status 0) 231.100053 _close_async_interrupts (2): canceling transfer 4:0x556e97eddc28 (status 0) 231.102302 _close_async_interrupts (2): canceling transfer 5:0x556e97ee1278 (status 0) 231.104677 _close_async_interrupts (2): canceling transfer 6:0x556e97ee14c8 (status 0) 231.107004 _close_async_interrupts (2): canceling transfer 7:0x556e97eaae98 (status 0) 231.109279 _close_async_interrupts (2): canceling transfer 8:0x556e97eab0e8 (status 0) 231.111558 _close_async_interrupts (2): canceling transfer 9:0x556e97ecb1e8 (status 0) 231.113817 _cb_irq (2): 0x556e97eab9e8 with status 3 231.113861 _cb_irq (2): 0x556e97edfad8 with status 3 231.113886 _cb_irq (2): 0x556e97ebdac8 with status 3 231.113935 _cb_irq (2): 0x556e97ebdcd8 with status 3 231.113955 _cb_irq (2): 0x556e97eddc28 with status 3 231.113974 _cb_irq (2): 0x556e97ee1278 with status 3 231.113999 _cb_irq (2): 0x556e97ee14c8 with status 3 231.114035 _cb_irq (2): 0x556e97eaae98 with status 3 231.114060 _cb_irq (2): 0x556e97eab0e8 with status 3 231.114086 _cb_irq (2): 0x556e97ecb1e8 with status 3 231.114557 gp_filesystem_reset (2): resetting filesystem 231.114580 gp_filesystem_lru_clear (2): Clearing fscache LRU list... 231.114595 gp_filesystem_lru_clear (2): fscache LRU list already empty 231.114627 delete_all_folders (2): Internally deleting all folders from '/'... 231.114644 lookup_folder (2): Lookup folder '/'... 231.114662 lookup_folder (2): Found! / is 0x556e97ea62b0 231.114695 recurse_delete_folder (2): Recurse delete folder 0x556e97ea62b0// 231.114710 recurse_delete_folder (2): Recurse delete folder 0x556e97edfc80/store_10000002 231.114724 delete_folder (2): Delete one folder 0x556e97edfc80/store_10000002 231.114737 delete_all_files (2): Delete all files in folder 0x556e97edfc80/store_10000002 231.114763 recurse_delete_folder (2): Recurse delete folder 0x556e97edfc50/store_10000001 231.114778 delete_folder (2): Delete one folder 0x556e97edfc50/store_10000001 231.114812 delete_all_files (2): Delete all files in folder 0x556e97edfc50/store_10000001 231.114836 gp_port_free (2): Freeing port... 231.114859 gp_port_close (2): Closing port... 231.115295 gp_filesystem_reset (2): resetting filesystem 231.115318 gp_filesystem_lru_clear (2): Clearing fscache LRU list... 231.115332 gp_filesystem_lru_clear (2): fscache LRU list already empty 231.115355 delete_all_folders (2): Internally deleting all folders from '/'... 231.115369 lookup_folder (2): Lookup folder '/'... 231.115382 lookup_folder (2): Found! / is 0x556e97ea62b0 231.115395 recurse_delete_folder (2): Recurse delete folder 0x556e97ea62b0// ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gphoto-devel |
------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gphoto-devel |
Free forum by Nabble | Edit this page |