Thank you Marcus,
Port option works in pc mode for most parameter setting commands,  but 
unfortunatly the command --port usb:001,050 --list-files is not supported in 
this mode.
It seems not as easy to control SONY a7riii as Canon cameras.
Thanks,

Michael Zhang



----- Original Message -----
From: Marcus Meissner <mar...@jet.franken.de>
To: zhangxiuchuan <zhangxiuch...@vip.sina.com>
Cc: gphoto-devel <gphoto-devel@lists.sourceforge.net>
Subject: Re: [gphoto-devel] A7RIII usb port
Date: 2023-02-27 17:41

Hui,
You should switch it to "PC Control mode".
I see there was a connect already, but not sure if this was the right USB id.
Ciao, Marcus
On Mon, Feb 20, 2023 at 10:02:01AM +0800, zhangxiuchuan wrote:
> Hello,
> I connected my A7RIII to a raspberry pi's USB port. The camera's usb mode is 
> set to Auto (Mass Storage displayed on the camera.).The usb port number was 
> found by using the command --auto-detect, which is usb:001,050.When running 
> the command --port usb:001,050 --list-files, an error occurred:
> *** Error ***              PTP General Error
> *** Error ***              An error occurred in the io-library ('Unspecified 
> error'): The supplied vendor or product id (0x0,0x0) is not valid.*** Error 
> (-1: 'Unspecified error') ***  
> As total four cameras will be connected to a Pi, I need to use the usb port 
> number to distinguish them. What should I do to fix this problem?The log file 
> is attached.
> Thank you,Michael
> 0.000532 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES 
> WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
> 0.000739 main                        (2): gphoto2 2.5.28.1
> 0.000787 main                        (2): gphoto2 has been compiled with the 
> following options:
> 0.000825 main                        (2):  + gcc (C compiler used)
> 0.000861 main                        (2):  + popt (mandatory, for handling 
> command-line parameters)
> 0.000896 main                        (2):  + exif (for displaying EXIF 
> information)
> 0.000930 main                        (2):  + no cdk (for accessing 
> configuration options)
> 0.000964 main                        (2):  + no aa (for displaying live 
> previews)
> 0.000998 main                        (2):  + no jpeg (for displaying live 
> previews in JPEG format)
> 0.001032 main                        (2):  + no readline (for easy navigation 
> in the shell)
> 0.001072 main                        (2): libgphoto2 2.5.29
> 0.001113 main                        (2): libgphoto2 has been compiled with 
> the following options:
> 0.001154 main                        (2):  + standard camlib set SKIPPING 
> SOME (ax203 canon digigr8 dimagev directory jl2005a jl2005c kodak_dc240 mars 
> pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801 SKIPPING 
> docupen lumix)
> 0.001189 main                        (2):  + gcc (C compiler used)
> 0.001223 main                        (2):  + no ltdl (for portable loading of 
> camlibs)
> 0.001257 main                        (2):  + EXIF (for special handling of 
> EXIF files)
> 0.001296 main                        (2): libgphoto2_port 0.12.0
> 0.001337 main                        (2): libgphoto2_port has been compiled 
> with the following options:
> 0.001373 main                        (2):  + iolibs: disk ptpip serial usb1 
> usbdiskdirect usbscsi
> 0.001407 main                        (2):  + gcc (C compiler used)
> 0.001445 main                        (2):  + no ltdl (for portable loading of 
> iolibs)
> 0.001479 main                        (2):  + EXIF (for vusb)
> 0.001513 main                        (2):  + USB (libusb1, for USB cameras)
> 0.001547 main                        (2):  + serial (for serial cameras)
> 0.001581 main                        (2):  + no resmgr (serial port access 
> and locking)
> 0.001615 main                        (2):  + no ttylock (serial port locking)
> 0.001649 main                        (2):  + no lockdev (serial port locking)
> 0.001684 main                        (2): CAMLIBS env var not set, using 
> compile-time default instead
> 0.001718 main                        (2): IOLIBS env var not set, using 
> compile-time default instead
> 0.001752 main                        (2): invoked with following arguments:
> 0.001786 main                        (2):   --debug
> 0.001820 main                        (2):   --debug-logfile=my-logfile.txt
> 0.001854 main                        (2):   --port
> 0.001887 main                        (2):   usb:001,050
> 0.001920 main                        (2):   --list-files
> 0.002023 main                        (2): Processing 'port' option 
> ('usb:001,050')...
> 0.002084 gp_port_info_list_load      (2): Using ltdl to load io-drivers from 
> '/usr/local/lib/libgphoto2_port/0.12.0'...
> 0.002501 foreach_func                (2): Called for filename 
> '/usr/local/lib/libgphoto2_port/0.12.0/disk'.
> 0.003421 gp_port_library_list        (2): found fstab fsname proc
> 0.003486 gp_port_library_list        (2): found fstab fsname 
> PARTUUID=3419d416-01
> 0.003577 gp_port_library_list        (2): found fstab fsname 
> PARTUUID=3419d416-02
> 0.003895 gp_port_library_list        (2): found mtab fsname /dev/root
> 0.003966 gp_port_library_list        (2): found mtab fsname devtmpfs
> 0.004017 gp_port_library_list        (2): found mtab fsname proc
> 0.004063 gp_port_library_list        (2): found mtab fsname sysfs
> 0.004113 gp_port_library_list        (2): found mtab fsname securityfs
> 0.004162 gp_port_library_list        (2): found mtab fsname tmpfs
> 0.004257 gp_port_library_list        (2): found mtab fsname devpts
> 0.004307 gp_port_library_list        (2): found mtab fsname tmpfs
> 0.004398 gp_port_library_list        (2): found mtab fsname tmpfs
> 0.004546 gp_port_library_list        (2): found mtab fsname cgroup2
> 0.004595 gp_port_library_list        (2): found mtab fsname bpf
> 0.004680 gp_port_library_list        (2): found mtab fsname systemd-1
> 0.004728 gp_port_library_list        (2): found mtab fsname mqueue
> 0.004772 gp_port_library_list        (2): found mtab fsname sunrpc
> 0.004865 gp_port_library_list        (2): found mtab fsname debugfs
> 0.005035 gp_port_library_list        (2): found mtab fsname tracefs
> 0.005120 gp_port_library_list        (2): found mtab fsname nfsd
> 0.005167 gp_port_library_list        (2): found mtab fsname configfs
> 0.005272 gp_port_library_list        (2): found mtab fsname fusectl
> 0.005321 gp_port_library_list        (2): found mtab fsname /dev/mmcblk0p1
> 0.005395 gp_port_library_list        (2): found mtab fsname tmpfs
> 0.005490 gp_port_library_list        (2): found mtab fsname gvfsd-fuse
> 0.005539 gp_port_library_list        (2): found mtab fsname /dev/sdb1
> 0.005853 gp_port_info_list_lookup_path(2): Looking for path 
> 'disk:/media/pi/3232-3964' (0 entries available)...
> 0.005892 gp_port_info_list_lookup_path(2): Starting regex search for 
> 'disk:/media/pi/3232-3964'...
> 0.006079 foreach_func                (2): Loaded 'Media '/dev/sdb1'' 
> ('disk:/media/pi/3232-3964') from 
> '/usr/local/lib/libgphoto2_port/0.12.0/disk'.
> 0.006123 foreach_func                (2): Loaded '' ('^disk:') from 
> '/usr/local/lib/libgphoto2_port/0.12.0/disk'.
> 0.006160 foreach_func                (2): Called for filename 
> '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'.
> 0.006827 foreach_func                (2): Loaded 'PTP/IP Connection' 
> ('ptpip:') from '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'.
> 0.006874 foreach_func                (2): Loaded '' ('^ptpip:') from 
> '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'.
> 0.006912 foreach_func                (2): Loaded 'IP Connection' ('ip:') from 
> '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'.
> 0.006950 foreach_func                (2): Loaded '' ('^ip:') from 
> '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'.
> 0.006986 foreach_func                (2): Called for filename 
> '/usr/local/lib/libgphoto2_port/0.12.0/serial'.
> 0.008243 foreach_func                (2): Loaded 'Serial Port Device' 
> ('serial:') from '/usr/local/lib/libgphoto2_port/0.12.0/serial'.
> 0.008289 foreach_func                (2): Loaded '' ('^serial:') from 
> '/usr/local/lib/libgphoto2_port/0.12.0/serial'.
> 0.008324 foreach_func                (2): Called for filename 
> '/usr/local/lib/libgphoto2_port/0.12.0/usb1'.
> 0.028378 foreach_func                (2): Loaded '' ('^usb:') from 
> '/usr/local/lib/libgphoto2_port/0.12.0/usb1'.
> 0.028473 foreach_func                (2): Loaded 'Universal Serial Bus' 
> ('usb:001,050') from '/usr/local/lib/libgphoto2_port/0.12.0/usb1'.
> 0.028513 foreach_func                (2): Called for filename 
> '/usr/local/lib/libgphoto2_port/0.12.0/usbdiskdirect'.
> 0.029759 foreach_func                (2): Loaded 'USB Mass Storage direct IO' 
> ('usbdiskdirect:/dev/sdb') from 
> '/usr/local/lib/libgphoto2_port/0.12.0/usbdiskdirect'.
> 0.029827 foreach_func                (2): Called for filename 
> '/usr/local/lib/libgphoto2_port/0.12.0/usbscsi'.
> 0.031080 foreach_func                (2): Loaded 'USB Mass Storage raw SCSI' 
> ('usbscsi:/dev/sg0') from '/usr/local/lib/libgphoto2_port/0.12.0/usbscsi'.
> 0.031129 foreach_func                (2): Called for filename 
> '/usr/local/lib/libgphoto2_port/0.12.0/vusb'.
> 0.031650 gp_port_library_type        (2): ()
> 0.031696 foreach_func                (2): 
> '/usr/local/lib/libgphoto2_port/0.12.0/vusb' already loaded
> 0.031875 gp_port_info_list_count     (2): Counting entries (12 available)...
> 0.031916 gp_port_info_list_count     (2): 7 regular entries available.
> 0.031957 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,050' (12 
> entries available)...
> 0.032002 gp_port_info_list_get_info  (2): Getting info of entry 4 (12 
> available)...
> 0.032053 gp_camera_set_port_info     (2): Setting port info for port 
> 'Universal Serial Bus' at 'usb:001,050'...
> 0.050700 gp_port_set_timeout         (2): Setting port timeout to 5000 
> milliseconds.
> 0.050850 gp_port_set_settings        (2): Setting settings...
> 0.050904 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port 
> usb:001,050, (new int=0, conf=-1, alt=-1) port usb:001,050
> 0.050941 gp_libusb1_update           (2): lowlevel libusb1 port not yet 
> opened, no need for libusb changes
> 0.050998 load_settings               (2): Creating gphoto config directory 
> ('/home/pi/.gphoto')
> 0.051209 load_settings               (2): Loading settings from file 
> '/home/pi/.gphoto/settings'.
> 0.051335 gp_setting_set              (2): Setting key 'port' to value 
> 'usb:001,050' (gphoto2)
> 0.051383 save_settings               (2): Saving 3 setting(s) to file 
> "/home/pi/.gphoto/settings"
> 0.052794 main                        (2): The user has not specified both a 
> model and a port. Try to figure them out.
> 0.052899 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries 
> from '/usr/local/lib/libgphoto2/2.5.29'...
> 0.053438 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/ax203'.
> 0.053491 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/canon'.
> 0.053529 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/digigr8'.
> 0.053564 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/dimagev'.
> 0.053599 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/directory'.
> 0.053634 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/jl2005a'.
> 0.053669 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/jl2005c'.
> 0.053703 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/kodak_dc240'.
> 0.053739 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/mars'.
> 0.053774 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/pentax'.
> 0.053810 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/ptp2'.
> 0.053846 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/ricoh_g3'.
> 0.053882 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/sierra'.
> 0.053917 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/sonix'.
> 0.053954 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/sq905'.
> 0.053989 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/st2205'.
> 0.054025 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/topfield'.
> 0.054061 foreach_func                (2): Found 
> '/usr/local/lib/libgphoto2/2.5.29/tp6801'.
> 0.054104 gp_abilities_list_load_dir  (2): Found 18 camera drivers.
> 0.120431 gp_port_info_list_count     (2): Counting entries (12 available)...
> 0.120518 gp_port_info_list_count     (2): 7 regular entries available.
> 0.120531 gp_port_new                 (2): Creating new device...
> 0.120557 gp_port_info_list_get_info  (2): Getting info of entry 0 (12 
> available)...
> 0.120925 gp_port_set_settings        (2): Setting settings...
> 0.120964 gp_port_set_error [gphoto2-port.c:1177](0): The operation 'update' 
> is not supported by this device
> 0.121003 gp_port_info_list_get_info  (2): Getting info of entry 1 (12 
> available)...
> 0.121220 gp_port_set_settings        (2): Setting settings...
> 0.121238 gp_port_info_list_get_info  (2): Getting info of entry 2 (12 
> available)...
> 0.121422 gp_port_set_settings        (2): Setting settings...
> 0.121437 gp_port_info_list_get_info  (2): Getting info of entry 3 (12 
> available)...
> 0.121646 gp_port_set_timeout         (2): Setting port timeout to 500 
> milliseconds.
> 0.121661 gp_port_set_settings        (2): Setting settings...
> 0.121676 gp_port_info_list_get_info  (2): Getting info of entry 4 (12 
> available)...
> 0.127455 gp_port_set_timeout         (2): Setting port timeout to 5000 
> milliseconds.
> 0.127486 gp_port_set_settings        (2): Setting settings...
> 0.127503 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port 
> usb:001,050, (new int=0, conf=-1, alt=-1) port usb:001,050
> 0.127516 gp_libusb1_update           (2): lowlevel libusb1 port not yet 
> opened, no need for libusb changes
> 0.127558 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
> 0.129756 gp_libusb1_find_device_by_class_lib(2): Looking for USB device 
> (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
> 0.131335 gp_libusb1_find_device_by_class_lib(2): Looking for USB device 
> (class 0x6, subclass, 0x1, protocol 0x1)...
> 0.131365 gp_libusb1_find_device_by_class_lib(2): Found USB class device 
> (class 0x6, subclass, 0x1, protocol 0x1)
> 0.131383 gp_libusb1_find_device_by_class_lib(2): inep to look for is 81
> 0.131399 gp_libusb1_find_device_by_class_lib(2): Detected defaults: config 2, 
> interface 0, altsetting 0, idVendor ID 054c, idProduct 0d98, inep 81, outep 
> 02, intep 83
> 0.131412 gp_abilities_list_detect_usb(2): Found 'USB PTP Class Camera' 
> (0x6,0x1,0x1)
> 0.131426 gp_port_info_list_get_info  (2): Getting info of entry 5 (12 
> available)...
> 0.131813 gp_port_set_settings        (2): Setting settings...
> 0.131836 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
> 0.132057 gp_port_info_list_get_info  (2): Getting info of entry 6 (12 
> available)...
> 0.132318 gp_port_set_settings        (2): Setting settings...
> 0.132336 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
> 0.136396 gp_port_free                (2): Freeing port...
> 0.136419 gp_port_close               (2): Closing port...
> 0.136486 gphoto2                     (2): Looking for port ...
> 
> 0.136501 gphoto2                     (2): info.type = 4
> 
> 0.136512 gphoto2                     (2): info.name = Universal Serial Bus
> 
> 0.136523 gphoto2                     (2): info.path = usb:001,050
> 
> 0.136749 gp_camera_set_abilities     (2): Setting abilities ('USB PTP Class 
> Camera')...
> 0.136767 gp_setting_set              (2): Setting key 'model' to value 'USB 
> PTP Class Camera' (gphoto2)
> 0.136782 save_settings               (2): Saving 3 setting(s) to file 
> "/home/pi/.gphoto/settings"
> 0.137098 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,050' (12 
> entries available)...
> 0.137117 gp_port_info_list_get_info  (2): Getting info of entry 4 (12 
> available)...
> 0.137131 gp_camera_set_port_info     (2): Setting port info for port 
> 'Universal Serial Bus' at 'usb:001,050'...
> 0.144197 gp_port_set_timeout         (2): Setting port timeout to 5000 
> milliseconds.
> 0.144235 gp_port_set_settings        (2): Setting settings...
> 0.144255 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port 
> usb:001,050, (new int=0, conf=-1, alt=-1) port usb:001,050
> 0.144268 gp_libusb1_update           (2): lowlevel libusb1 port not yet 
> opened, no need for libusb changes
> 0.144282 gp_setting_set              (2): Setting key 'port' to value 
> 'usb:001,050' (gphoto2)
> 0.144298 save_settings               (2): Saving 3 setting(s) to file 
> "/home/pi/.gphoto/settings"
> 0.144609 gphoto2                     (2): found port, was entry 1
> 
> 0.144687 foreach                     (2): Executing action 'List Files' for 
> folder '/'.
> 0.144704 gp_camera_folder_list_files (2): Listing files in '/'...
> 0.144719 gp_camera_init              (2): Initializing camera...
> 0.144758 gp_port_set_error [gphoto2-port.c:1177](0): The supplied vendor or 
> product id (0x0,0x0) is not valid.
> 0.144805 gp_libusb1_find_device_by_class_lib(2): Looking for USB device 
> (class 0x6, subclass, 0x1, protocol 0x1)...
> 0.144829 gp_libusb1_find_device_by_class_lib(2): Found USB class device 
> (class 0x6, subclass, 0x1, protocol 0x1)
> 0.144847 gp_libusb1_find_device_by_class_lib(2): inep to look for is 81
> 0.144863 gp_libusb1_find_device_by_class_lib(2): Detected defaults: config 2, 
> interface 0, altsetting 0, idVendor ID 054c, idProduct 0d98, inep 81, outep 
> 02, intep 83
> 0.144875 gp_camera_init              (2): Loading 
> '/usr/local/lib/libgphoto2/2.5.29/ptp2'...
> 0.145598 gp_port_open                (2): Opening USB port...
> 0.145625 gp_libusb1_open             (2): ()
> 0.145695 gp_libusb1_open             (2): Device has a kernel driver attached 
> (1), detaching it now.
> 0.300586 gp_libusb1_open             (2): claiming interface 0
> 0.300992 camera_init                 (2): maxpacketsize 512
> 0.301041 gp_port_set_timeout         (2): Setting port timeout to 8000 
> milliseconds.
> 0.301104 ptp                         (2): PTP: Opening session
> 0.301200 ptp_usb_sendreq             (2): Sending PTP_OC 0x1002 (Open 
> session) (0x1) request...
> 0.301216 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
> 0.304636 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: 
> (hexdump of 16 bytes)
> 0000  10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00  ................
> 
> 0.304702 ptp_usb_getresp             (2): Reading PTP_OC 0x1002 (Open 
> session) response...
> 0.304721 gp_port_read                (3): Reading 1024 = 0x400 bytes from 
> port...
> 0.305064 gp_libusb1_read [libusb1.c:592](0): 'libusb_bulk_transfer 
> (port->pl->dh, port->settings.usb.inep, (unsigned char*)bytes, size, 
> &curread, port->timeout)' failed: Pipe error (-9)
> 0.305092 gp_port_read [gphoto2-port.c:427](0): Reading 1024 = 0x400 bytes 
> from port failed: Error reading from the port (-34)
> 0.305104 ptp_usb_getpacket           (2): Clearing halt on IN EP and retrying 
> once.
> 0.305118 gp_port_usb_clear_halt      (2): Clear USB halt...
> 0.305276 gp_port_read                (3): Reading 1024 = 0x400 bytes from 
> port...
> 0.305572 gp_libusb1_read [libusb1.c:592](0): 'libusb_bulk_transfer 
> (port->pl->dh, port->settings.usb.inep, (unsigned char*)bytes, size, 
> &curread, port->timeout)' failed: Pipe error (-9)
> 0.305600 gp_port_read [gphoto2-port.c:427](0): Reading 1024 = 0x400 bytes 
> from port failed: Error reading from the port (-34)
> 0.305612 ptp_usb_getpacket           (2): Clearing halt on IN EP and retrying 
> once.
> 0.305623 gp_port_usb_clear_halt      (2): Clear USB halt...
> 0.305834 ptp_usb_getresp [usb.c:516] (0): PTP_OC 0x1002 receiving resp 
> failed: PTP I/O Error (0x02ff)
> 0.305855 camera_init [library.c:9674](0): 'ptp_opensession (params, 
> sessionid)' failed: PTP I/O Error (0x02ff)
> 0.305867 ptp_usb_control_device_reset_request(2): Sending usb device reset 
> request.
> 0.305885 gp_port_usb_msg_class_write (3): Writing message (request=0x66 
> value=0x0 index=0x0 size=0=0x0): (no hexdump, NULL buffer)
> 0.306217 gp_libusb1_msg [libusb1.c:811](0): 'handled = 
> libusb_control_transfer (port->pl->dh, flags, request, value, index, 
> (unsigned char*)bytes, size, port->timeout)' failed: Pipe error (-9)
> 0.306237 ptp                         (2): PTP: Opening session
> 0.306258 ptp_usb_sendreq             (2): Sending PTP_OC 0x1002 (Open 
> session) (0x1) request...
> 0.306272 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
> 0.306578 gp_libusb1_write [libusb1.c:578](0): 'libusb_bulk_transfer 
> (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, 
> &curwritten, port->timeout)' failed: Pipe error (-9)
> 0.306599 gp_port_write [gphoto2-port.c:392](0): Writing 16 = 0x10 bytes to 
> port failed: Error writing to the port (-35)
> 0.306619 ptp_usb_sendreq [usb.c:109] (0): PTP_OC 0x1002 sending req failed: 
> Error writing to the port (-35)
> 0.306631 ptp_usb_sendreq             (2): Clearing halt on OUT EP and 
> retrying once.
> 0.306643 gp_port_usb_clear_halt      (2): Clear USB halt...
> 0.306799 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
> 0.307088 gp_libusb1_write [libusb1.c:578](0): 'libusb_bulk_transfer 
> (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, 
> &curwritten, port->timeout)' failed: Pipe error (-9)
> 0.307106 gp_port_write [gphoto2-port.c:392](0): Writing 16 = 0x10 bytes to 
> port failed: Error writing to the port (-35)
> 0.307123 ptp_usb_sendreq [usb.c:109] (0): PTP_OC 0x1002 sending req failed: 
> Error writing to the port (-35)
> 0.307138 camera_init [library.c:9674](0): 'ptp_opensession (params, 
> sessionid)' failed: PTP General Error (0x2002)
> 0.307149 ptp                         (2): PTP: Opening session
> 0.307164 ptp_usb_sendreq             (2): Sending PTP_OC 0x1002 (Open 
> session) (0x1) request...
> 0.307176 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
> 0.307502 gp_libusb1_write [libusb1.c:578](0): 'libusb_bulk_transfer 
> (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, 
> &curwritten, port->timeout)' failed: Pipe error (-9)
> 0.307520 gp_port_write [gphoto2-port.c:392](0): Writing 16 = 0x10 bytes to 
> port failed: Error writing to the port (-35)
> 0.307565 ptp_usb_sendreq [usb.c:109] (0): PTP_OC 0x1002 sending req failed: 
> Error writing to the port (-35)
> 0.307576 ptp_usb_sendreq             (2): Clearing halt on OUT EP and 
> retrying once.
> 0.307588 gp_port_usb_clear_halt      (2): Clear USB halt...
> 0.307981 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
> 0.308258 gp_libusb1_write [libusb1.c:578](0): 'libusb_bulk_transfer 
> (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, 
> &curwritten, port->timeout)' failed: Pipe error (-9)
> 0.308276 gp_port_write [gphoto2-port.c:392](0): Writing 16 = 0x10 bytes to 
> port failed: Error writing to the port (-35)
> 0.308292 ptp_usb_sendreq [usb.c:109] (0): PTP_OC 0x1002 sending req failed: 
> Error writing to the port (-35)
> 0.308306 camera_init [library.c:9674](0): 'ptp_opensession (params, 
> sessionid)' failed: PTP General Error (0x2002)
> 0.308319 camera_init [library.c:9702](0): 'ret' failed: 'PTP General Error' 
> (0x2002)
> 0.308361 gp_context_error            (0): PTP General Error
> 0.308425 gp_port_close               (2): Closing port...
> 0.309514 _close_async_interrupts     (2): canceling transfer 0:0x1c83ff8 
> (status 0)
> 0.309855 _close_async_interrupts     (2): canceling transfer 1:0x1c80300 
> (status 0)
> 0.310136 _close_async_interrupts     (2): canceling transfer 2:0x1c84e48 
> (status 0)
> 0.310423 _close_async_interrupts     (2): canceling transfer 3:0x1c77e70 
> (status 0)
> 0.310710 _close_async_interrupts     (2): canceling transfer 4:0x1c7a600 
> (status 0)
> 0.311000 _close_async_interrupts     (2): canceling transfer 5:0x1c77490 
> (status 0)
> 0.311293 _close_async_interrupts     (2): canceling transfer 6:0x1c79680 
> (status 0)
> 0.311699 _close_async_interrupts     (2): canceling transfer 7:0x1c7a4d8 
> (status 0)
> 0.311986 _close_async_interrupts     (2): canceling transfer 8:0x1c77790 
> (status 0)
> 0.312285 _close_async_interrupts     (2): canceling transfer 9:0x1c77820 
> (status 0)
> 0.312710 _cb_irq                     (2): 0x1c83ff8 with status 3
> 0.312725 _cb_irq                     (2): Transfer 0x1c83ff8 should be in 
> LIBUSB_TRANSFER_COMPLETED, but is 3!
> 0.312746 _cb_irq                     (2): 0x1c80300 with status 3
> 0.312758 _cb_irq                     (2): Transfer 0x1c80300 should be in 
> LIBUSB_TRANSFER_COMPLETED, but is 3!
> 0.312776 _cb_irq                     (2): 0x1c84e48 with status 3
> 0.312788 _cb_irq                     (2): Transfer 0x1c84e48 should be in 
> LIBUSB_TRANSFER_COMPLETED, but is 3!
> 0.312805 _cb_irq                     (2): 0x1c77e70 with status 3
> 0.312818 _cb_irq                     (2): Transfer 0x1c77e70 should be in 
> LIBUSB_TRANSFER_COMPLETED, but is 3!
> 0.312835 _cb_irq                     (2): 0x1c7a600 with status 3
> 0.312847 _cb_irq                     (2): Transfer 0x1c7a600 should be in 
> LIBUSB_TRANSFER_COMPLETED, but is 3!
> 0.312864 _cb_irq                     (2): 0x1c77490 with status 3
> 0.312877 _cb_irq                     (2): Transfer 0x1c77490 should be in 
> LIBUSB_TRANSFER_COMPLETED, but is 3!
> 0.312894 _cb_irq                     (2): 0x1c79680 with status 3
> 0.312906 _cb_irq                     (2): Transfer 0x1c79680 should be in 
> LIBUSB_TRANSFER_COMPLETED, but is 3!
> 0.312923 _cb_irq                     (2): 0x1c7a4d8 with status 3
> 0.312936 _cb_irq                     (2): Transfer 0x1c7a4d8 should be in 
> LIBUSB_TRANSFER_COMPLETED, but is 3!
> 0.312954 _cb_irq                     (2): 0x1c77790 with status 3
> 0.312966 _cb_irq                     (2): Transfer 0x1c77790 should be in 
> LIBUSB_TRANSFER_COMPLETED, but is 3!
> 0.312984 _cb_irq                     (2): 0x1c77820 with status 3
> 0.312996 _cb_irq                     (2): Transfer 0x1c77820 should be in 
> LIBUSB_TRANSFER_COMPLETED, but is 3!
> 0.314142 gp_context_error            (0): An error occurred in the io-library 
> ('Unspecified error'): The supplied vendor or product id (0x0,0x0) is not 
> valid.
> 0.315483 gp_camera_free              (2): Freeing camera...
> 0.315539 gp_port_free                (2): Freeing port...
> 0.315552 gp_port_close               (2): Closing port...
> 0.316478 gp_filesystem_reset         (2): resetting filesystem
> 0.316517 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
> 0.316528 gp_filesystem_lru_clear     (2): fscache LRU list already empty
> 0.316540 delete_all_folders          (2): Internally deleting all folders 
> from '/'...
> 0.316552 lookup_folder               (2): Lookup folder '/'...
> 0.316564 lookup_folder               (2): Found! / is 0x1c68da0
> 0.316576 recurse_delete_folder       (2): Recurse delete folder 0x1c68da0//
> 0.316589 delete_all_files            (2): Delete all files in folder 
> 0x1c68da0//
> _______________________________________________
> Gphoto-devel mailing list
> Gphoto-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gphoto-devel
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to