Re: Fwd: Pentax KP

fu7 <[email protected]> Sun, 21 Aug 2022 15:01:52 +0200
Newsgroups gmane.comp.multimedia.gphoto.devel
Message-ID <[email protected]>
Hello,

if I switch to  MTB  I've the following:

  $ gphoto --auto-detect
bash: gphoto: comando non trovato

  $ env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --summary
*** Error: No camera found. ***

lsusb is:
~ $ lsusb
Bus 001 Device 009: ID 25fb:017e Pentax Ricoh Imaging Co., Ltd PENTAX KP

instead in PTB mode  lsusb is:
~ $ lsusb
Bus 001 Device 010: ID 25fb:017f Pentax Ricoh Imaging Co., Ltd PENTAX KP


.....




On 21/08/22 14:10, Marcus Meissner wrote:
> Hi,
>
> for Pentax remote control, you need to switch it to "Mass Storage".
>
> The remote control commands are passed through vendor specific USB-SCSI ioctls.
>
> Ciao, Marcus
> On Sat, Aug 20, 2022 at 09:37:08PM +0200, fu7 wrote:
>> I've build the last comit on gitHub in a package for Solus and with Pentax
>> KP in PTB mode  I have the following:
>>
>> '$ gphoto2 --auto-detect Modello                        Porta
>> ---------------------------------------------------------- Pentax KP (PTP
>> Mode)           usb:001,014   '
>>
>> but
>>
>> '$ env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --capture-image
>> *** Error *** Sorry, your camera does not support generic capture ERROR:
>> Could not capture image. ERROR: Could not capture. *** Error (-6:
>> 'Unsupported operation') ***  '
>>
>> If it can be useful, I would like to signal the following:
>>
>> https://api.ricoh/docs/camera-usb-sdk-cpp/quick-start-linux/#run-sample-app
>>
>> On 15/08/22 10:13, Marcus Meissner wrote:
>>> Hi,
>>>
>>> I have added this ID to the pentax driver.
>>>
>>> You will have to build current libgphoto2 git to enable it,
>>> sorry :/
>>>
>>> Ciao, Marcus
>>> On Sun, Aug 14, 2022 at 05:15:07PM +0200, fu7 wrote:
>>>> lsusb
>>>> ....
>>>> Bus 001 Device 015: ID 25fb:017e Pentax Ricoh Imaging Co., Ltd PENTAX KP
>>>> ...
>>>>
>>>> and my mistake: not "Log file with MTB and... " but "Log file with PTB
>>>> and.."
>>>>
>>>> Thank you very much!
>>>>
>>>> Fabio
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Gphoto-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/gphoto-devel
>> 0.000005 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
>> 0.000026 main                        (2): gphoto2 2.5.28
>> 0.000030 main                        (2): gphoto2 has been compiled with the following options:
>> 0.000033 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000035 main                        (2):  + popt (mandatory, for handling command-line parameters)
>> 0.000038 main                        (2):  + exif (for displaying EXIF information)
>> 0.000040 main                        (2):  + no cdk (for accessing configuration options)
>> 0.000043 main                        (2):  + no aa (for displaying live previews)
>> 0.000045 main                        (2):  + no jpeg (for displaying live previews in JPEG format)
>> 0.000071 main                        (2):  + readline (for easy navigation in the shell)
>> 0.000076 main                        (2): libgphoto2 2.5.30
>> 0.000097 main                        (2): libgphoto2 has been compiled with the following options:
>> 0.000101 main                        (2):  + standard camlib set SKIPPING SOME (ax203 canon digigr8 dimagev directory docupen jl2005a jl2005c kodak_dc240 mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801 SKIPPING lumix)
>> 0.000103 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000106 main                        (2):  + no ltdl (for portable loading of camlibs)
>> 0.000109 main                        (2):  + EXIF (for special handling of EXIF files)
>> 0.000113 main                        (2): libgphoto2_port 0.12.1
>> 0.000115 main                        (2): libgphoto2_port has been compiled with the following options:
>> 0.000118 main                        (2):  + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
>> 0.000121 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000136 main                        (2):  + no ltdl (for portable loading of iolibs)
>> 0.000139 main                        (2):  + EXIF (for vusb)
>> 0.000141 main                        (2):  + USB (libusb1, for USB cameras)
>> 0.000144 main                        (2):  + serial (for serial cameras)
>> 0.000146 main                        (2):  + no resmgr (serial port access and locking)
>> 0.000151 main                        (2):  + no ttylock (serial port locking)
>> 0.000153 main                        (2):  + no lockdev (serial port locking)
>> 0.000156 main                        (2): CAMLIBS env var not set, using compile-time default instead
>> 0.000158 main                        (2): IOLIBS env var not set, using compile-time default instead
>> 0.000161 main                        (2): invoked with following arguments:
>> 0.000164 main                        (2):   --debug
>> 0.000167 main                        (2):   --debug-logfile=my-logfile.txt
>> 0.000169 main                        (2):   --summary
>> 0.000178 load_settings               (2): Creating gphoto config directory ('/home/fabio/.gphoto')
>> 0.000215 load_settings               (2): Loading settings from file '/home/fabio/.gphoto/settings'.
>> 0.000327 main                        (2): The user has not specified both a model and a port. Try to figure them out.
>> 0.000331 gp_port_init_localedir      (2): localedir has been set to /usr/share/locale (compile-time default)
>> 0.000353 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib64/libgphoto2_port/0.12.1'...
>> 0.000377 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/disk'.
>> 0.000472 gp_port_library_list        (2): found fstab fsname none
>> 0.000491 gp_port_library_list        (2): found fstab fsname none
>> 0.000519 gp_port_library_list        (2): found fstab fsname UUID=37565307-e63d-44bd-9dc0-8630d0eaf596
>> 0.000524 gp_port_library_list        (2): found fstab fsname UUID=8b2c9e33-66c2-4e67-bc57-cf7da5be2965
>> 0.000577 gp_port_library_list        (2): found mtab fsname proc
>> 0.000582 gp_port_library_list        (2): found mtab fsname sysfs
>> 0.000604 gp_port_library_list        (2): found mtab fsname devtmpfs
>> 0.000612 gp_port_library_list        (2): found mtab fsname securityfs
>> 0.000615 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000622 gp_port_library_list        (2): found mtab fsname devpts
>> 0.000625 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000632 gp_port_library_list        (2): found mtab fsname cgroup2
>> 0.000636 gp_port_library_list        (2): found mtab fsname efivarfs
>> 0.000644 gp_port_library_list        (2): found mtab fsname bpf
>> 0.000651 gp_port_library_list        (2): found mtab fsname /dev/mapper/SolusSystem-Root
>> 0.000656 gp_port_library_list        (2): found mtab fsname systemd-1
>> 0.000659 gp_port_library_list        (2): found mtab fsname mqueue
>> 0.000662 gp_port_library_list        (2): found mtab fsname debugfs
>> 0.000684 gp_port_library_list        (2): found mtab fsname hugetlbfs
>> 0.000691 gp_port_library_list        (2): found mtab fsname tracefs
>> 0.000698 gp_port_library_list        (2): found mtab fsname fusectl
>> 0.000701 gp_port_library_list        (2): found mtab fsname configfs
>> 0.000709 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000717 gp_port_library_list        (2): found mtab fsname /dev/loop0
>> 0.000723 gp_port_library_list        (2): found mtab fsname /dev/loop2
>> 0.000730 gp_port_library_list        (2): found mtab fsname /dev/loop3
>> 0.000736 gp_port_library_list        (2): found mtab fsname /dev/loop4
>> 0.000741 gp_port_library_list        (2): found mtab fsname /dev/loop1
>> 0.000746 gp_port_library_list        (2): found mtab fsname /dev/loop5
>> 0.000751 gp_port_library_list        (2): found mtab fsname /dev/loop6
>> 0.000757 gp_port_library_list        (2): found mtab fsname /dev/loop7
>> 0.000762 gp_port_library_list        (2): found mtab fsname /dev/loop8
>> 0.000780 gp_port_library_list        (2): found mtab fsname /dev/loop9
>> 0.000786 gp_port_library_list        (2): found mtab fsname /dev/loop10
>> 0.000792 gp_port_library_list        (2): found mtab fsname /dev/loop11
>> 0.000797 gp_port_library_list        (2): found mtab fsname /dev/loop12
>> 0.000803 gp_port_library_list        (2): found mtab fsname /dev/loop13
>> 0.000808 gp_port_library_list        (2): found mtab fsname /dev/loop14
>> 0.000813 gp_port_library_list        (2): found mtab fsname /dev/loop15
>> 0.000818 gp_port_library_list        (2): found mtab fsname binfmt_misc
>> 0.000828 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000837 gp_port_library_list        (2): found mtab fsname gvfsd-fuse
>> 0.000840 gp_port_library_list        (2): found mtab fsname portal
>> 0.000860 foreach_func                (2): Loaded '' ('^disk:') from '/usr/lib64/libgphoto2_port/0.12.1/disk'.
>> 0.000864 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.000914 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.000919 foreach_func                (2): Loaded '' ('^ptpip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.000922 foreach_func                (2): Loaded 'IP Connection' ('ip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.000926 foreach_func                (2): Loaded '' ('^ip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.000928 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001031 foreach_func                (2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001036 foreach_func                (2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001039 foreach_func                (2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001041 foreach_func                (2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001044 foreach_func                (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001050 foreach_func                (2): Loaded '' ('^serial:') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001076 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004628 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004638 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,003') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004641 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,004') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004644 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,011') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004647 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usbdiskdirect'.
>> 0.004761 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usbscsi'.
>> 0.004825 gp_port_info_list_count     (2): Counting entries (15 available)...
>> 0.004831 gp_port_info_list_count     (2): 10 regular entries available.
>> 0.004835 gp_port_init_localedir      (2): ignoring late call (localedir value NULL)
>> 0.004839 gp_init_localedir           (2): localedir has been set to /usr/share/locale (compile-time default)
>> 0.004845 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/lib64/libgphoto2/2.5.30'...
>> 0.004871 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/ax203'.
>> 0.004875 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/canon'.
>> 0.004878 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/digigr8'.
>> 0.004881 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/dimagev'.
>> 0.004883 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/directory'.
>> 0.004886 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/docupen'.
>> 0.004889 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/jl2005a'.
>> 0.004891 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/jl2005c'.
>> 0.004894 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/kodak_dc240'.
>> 0.004897 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/mars'.
>> 0.004899 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/pentax'.
>> 0.004902 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/ptp2'.
>> 0.004904 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/ricoh_g3'.
>> 0.004907 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/sierra'.
>> 0.004910 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/sonix'.
>> 0.004913 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/sq905'.
>> 0.004915 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/st2205'.
>> 0.004918 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/topfield'.
>> 0.004920 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/tp6801'.
>> 0.004924 gp_abilities_list_load_dir  (2): Found 19 camera drivers.
>> 0.019922 gp_port_info_list_count     (2): Counting entries (15 available)...
>> 0.019936 gp_port_info_list_count     (2): 10 regular entries available.
>> 0.019939 gp_port_new                 (2): Creating new device...
>> 0.019943 gp_port_info_list_get_info  (2): Getting info of entry 0 (15 available)...
>> 0.019998 gp_port_set_settings        (2): Setting settings...
>> 0.020005 gp_port_info_list_get_info  (2): Getting info of entry 1 (15 available)...
>> 0.020061 gp_port_set_settings        (2): Setting settings...
>> 0.020068 gp_port_info_list_get_info  (2): Getting info of entry 2 (15 available)...
>> 0.020124 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020129 gp_port_set_settings        (2): Setting settings...
>> 0.020132 gp_port_info_list_get_info  (2): Getting info of entry 3 (15 available)...
>> 0.020183 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020188 gp_port_set_settings        (2): Setting settings...
>> 0.020191 gp_port_info_list_get_info  (2): Getting info of entry 4 (15 available)...
>> 0.020240 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020251 gp_port_set_settings        (2): Setting settings...
>> 0.020254 gp_port_info_list_get_info  (2): Getting info of entry 5 (15 available)...
>> 0.020302 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020308 gp_port_set_settings        (2): Setting settings...
>> 0.020311 gp_port_info_list_get_info  (2): Getting info of entry 6 (15 available)...
>> 0.020358 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020363 gp_port_set_settings        (2): Setting settings...
>> 0.020366 gp_port_info_list_get_info  (2): Getting info of entry 7 (15 available)...
>> 0.023835 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.023843 gp_port_set_settings        (2): Setting settings...
>> 0.023866 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,003, (new int=0, conf=-1, alt=-1) port usb:001,003
>> 0.023869 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.023871 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.024181 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.024402 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.024437 gp_port_info_list_get_info  (2): Getting info of entry 8 (15 available)...
>> 0.027966 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.027975 gp_port_set_settings        (2): Setting settings...
>> 0.027979 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,004, (new int=0, conf=-1, alt=-1) port usb:001,004
>> 0.027982 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.027985 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.028348 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.028577 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.028610 gp_port_info_list_get_info  (2): Getting info of entry 9 (15 available)...
>> 0.031804 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.031812 gp_port_set_settings        (2): Setting settings...
>> 0.031816 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,011, (new int=0, conf=-1, alt=-1) port usb:001,011
>> 0.031819 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.031822 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.032000 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.032291 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.032298 gp_libusb1_find_device_by_class_lib(2): Found USB class device (class 0x6, subclass, 0x1, protocol 0x1)
>> 0.032303 gp_libusb1_find_device_by_class_lib(2): inep to look for is 81
>> 0.032307 gp_libusb1_find_device_by_class_lib(2): Detected defaults: config 1, interface 0, altsetting 0, idVendor ID 25fb, idProduct 017f, inep 81, outep 02, intep 83
>> 0.032310 gp_abilities_list_detect_usb(2): Found 'USB PTP Class Camera' (0x6,0x1,0x1)
>> 0.032324 gp_port_free                (2): Freeing port...
>> 0.032327 gp_port_close               (2): Closing port...
>> 0.032505 gp_camera_set_abilities     (2): Setting abilities ('USB PTP Class Camera')...
>> 0.032514 gp_setting_set              (2): Setting key 'model' to value 'USB PTP Class Camera' (gphoto2)
>> 0.032518 save_settings               (2): Saving 2 setting(s) to file "/home/fabio/.gphoto/settings"
>> 0.032571 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,011' (15 entries available)...
>> 0.032595 gp_port_info_list_get_info  (2): Getting info of entry 9 (15 available)...
>> 0.032599 gp_camera_set_port_info     (2): Setting port info for port 'Universal Serial Bus' at 'usb:001,011'...
>> 0.035623 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.035631 gp_port_set_settings        (2): Setting settings...
>> 0.035654 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,011, (new int=0, conf=-1, alt=-1) port usb:001,011
>> 0.035657 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.035660 gp_setting_set              (2): Setting key 'port' to value 'usb:001,011' (gphoto2)
>> 0.035663 save_settings               (2): Saving 2 setting(s) to file "/home/fabio/.gphoto/settings"
>> 0.035756 gp_camera_init              (2): Initializing camera...
>> 0.035785 gp_port_set_error [gphoto2-port.c:1177](0): The supplied vendor or product id (0x0,0x0) is not valid.
>> 0.035791 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.035808 gp_libusb1_find_device_by_class_lib(2): Found USB class device (class 0x6, subclass, 0x1, protocol 0x1)
>> 0.035812 gp_libusb1_find_device_by_class_lib(2): inep to look for is 81
>> 0.035815 gp_libusb1_find_device_by_class_lib(2): Detected defaults: config 1, interface 0, altsetting 0, idVendor ID 25fb, idProduct 017f, inep 81, outep 02, intep 83
>> 0.035818 gp_camera_init              (2): Loading '/usr/lib64/libgphoto2/2.5.30/ptp2'...
>> 0.036471 gp_port_open                (2): Opening USB port...
>> 0.036479 gp_libusb1_open             (2): ()
>> 0.036512 gp_libusb1_open             (2): claiming interface 0
>> 0.036639 camera_init                 (2): maxpacketsize 512
>> 0.036647 gp_port_set_timeout         (2): Setting port timeout to 8000 milliseconds.
>> 0.036674 ptp                         (2): PTP: Opening session
>> 0.036678 ptp_usb_sendreq             (2): Sending PTP_OC 0x1002 (Open session) (0x1) request...
>> 0.036683 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.036803 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.036812 ptp_usb_getresp             (2): Reading PTP_OC 0x1002 (Open session) response...
>> 0.036834 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.036909 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-00 00 00 00              ....... ....
>>
>> 0.036913 gp_port_set_timeout         (2): Setting port timeout to 20000 milliseconds.
>> 0.036918 ptp_usb_sendreq             (2): Sending PTP_OC 0x1001 (Get device info) request...
>> 0.036920 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.036948 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 01 10-01 00 00 00              ............
>>
>> 0.036953 ptp_usb_getdata             (2): Reading PTP_OC 0x1001 (Get device info) data...
>> 0.036955 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.037189 gp_port_read                (3): Read    301 = 0x12d out of 1024 bytes from port: (hexdump of 301 bytes)
>> 0000  2d 01 00 00 02 00 01 10-01 00 00 00 64 00 06 00  -...........d...
>> 0010  00 00 64 00 24 00 6d 00-69 00 63 00 72 00 6f 00  ..d.$.m.i.c.r.o.
>> 0020  73 00 6f 00 66 00 74 00-2e 00 63 00 6f 00 6d 00  s.o.f.t...c.o.m.
>> 0030  2f 00 44 00 65 00 76 00-69 00 63 00 65 00 53 00  /.D.e.v.i.c.e.S.
>> 0040  65 00 72 00 76 00 69 00-63 00 65 00 73 00 3a 00  e.r.v.i.c.e.s.:.
>> 0050  20 00 31 00 2e 00 30 00-3b 00 20 00 c0 00 00 17   .1...0.;. .....
>> 0060  00 00 00 01 10 02 10 03-10 04 10 05 10 06 10 07  ................
>> 0070  10 08 10 09 10 0a 10 0b-10 0c 10 0d 10 0f 10 14  ................
>> 0080  10 15 10 16 10 1b 10 01-98 02 98 03 98 05 98 01  ................
>> 0090  90 05 00 00 00 03 40 04-40 05 40 02 40 01 c1 05  ......@.@.@.@...
>> 00a0  00 00 00 01 50 11 50 06-d4 07 d4 03 d3 00 00 00  ....P.P.........
>> 00b0  00 07 00 00 00 01 30 0a-30 0d 30 0d 38 01 38 00  ......0.0.0.8.8.
>> 00c0  38 00 30 1c 52 00 49 00-43 00 4f 00 48 00 20 00  8.0.R.I.C.O.H. .
>> 00d0  49 00 4d 00 41 00 47 00-49 00 4e 00 47 00 20 00  I.M.A.G.I.N.G. .
>> 00e0  43 00 4f 00 4d 00 50 00-41 00 4e 00 59 00 2c 00  C.O.M.P.A.N.Y.,.
>> 00f0  20 00 4c 00 54 00 44 00-2e 00 00 00 0a 50 00 45   .L.T.D......P.E
>> 0100  00 4e 00 54 00 41 00 58-00 20 00 4b 00 50 00 00  .N.T.A.X. .K.P..
>> 0110  00 05 31 00 2e 00 30 00-30 00 00 00 08 37 00 33  ..1...0.0....7.3
>> 0120  00 39 00 32 00 39 00 35-00 34 00 00 00           .9.2.9.5.4...
>>
>> 0.037200 ptp_usb_getresp             (2): Reading PTP_OC 0x1001 (Get device info) response...
>> 0.037203 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.037252 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-01 00 00 00              ....... ....
>>
>> 0.037259 print_debug_deviceinfo      (2): Device info:
>> 0.037261 print_debug_deviceinfo      (2): Manufacturer: RICOH IMAGING COMPANY, LTD.
>> 0.037264 print_debug_deviceinfo      (2):   Model: PENTAX KP
>> 0.037267 print_debug_deviceinfo      (2):   device version: 1.00
>> 0.037269 print_debug_deviceinfo      (2):   serial number: '7392954'
>> 0.037272 print_debug_deviceinfo      (2): Vendor extension ID: 0x00000006
>> 0.037274 print_debug_deviceinfo      (2): Vendor extension version: 100
>> 0.037277 print_debug_deviceinfo      (2): Vendor extension description: ????????????????????????????????????
>> 0.037280 print_debug_deviceinfo      (2): Functional Mode: 0x0000
>> 0.037282 print_debug_deviceinfo      (2): PTP Standard Version: 100
>> 0.037285 print_debug_deviceinfo      (2): Supported operations:
>> 0.037288 print_debug_deviceinfo      (2):   0x1001 (Get device info)
>> 0.037291 print_debug_deviceinfo      (2):   0x1002 (Open session)
>> 0.037294 print_debug_deviceinfo      (2):   0x1003 (Close session)
>> 0.037296 print_debug_deviceinfo      (2):   0x1004 (Get storage IDs)
>> 0.037300 print_debug_deviceinfo      (2):   0x1005 (Get storage info)
>> 0.037302 print_debug_deviceinfo      (2):   0x1006 (Get number of objects)
>> 0.037305 print_debug_deviceinfo      (2):   0x1007 (Get object handles)
>> 0.037308 print_debug_deviceinfo      (2):   0x1008 (Get object info)
>> 0.037310 print_debug_deviceinfo      (2):   0x1009 (Get object)
>> 0.037314 print_debug_deviceinfo      (2):   0x100a (Get thumbnail)
>> 0.037316 print_debug_deviceinfo      (2):   0x100b (Delete object)
>> 0.037319 print_debug_deviceinfo      (2):   0x100c (Send object info)
>> 0.037321 print_debug_deviceinfo      (2):   0x100d (Send object)
>> 0.037324 print_debug_deviceinfo      (2):   0x100f (Format storage)
>> 0.037327 print_debug_deviceinfo      (2):   0x1014 (Get device property description)
>> 0.037330 print_debug_deviceinfo      (2):   0x1015 (Get device property value)
>> 0.037332 print_debug_deviceinfo      (2):   0x1016 (Set device property value)
>> 0.037335 print_debug_deviceinfo      (2):   0x101b (Get partial object)
>> 0.037338 print_debug_deviceinfo      (2):   0x9801 (Get object properties supported)
>> 0.037341 print_debug_deviceinfo      (2):   0x9802 (Get object property description)
>> 0.037343 print_debug_deviceinfo      (2):   0x9803 (Get object property value)
>> 0.037346 print_debug_deviceinfo      (2):   0x9805 (Get object property list)
>> 0.037349 print_debug_deviceinfo      (2):   0x9001 (Unknown PTP_OC)
>> 0.037352 print_debug_deviceinfo      (2): Events Supported:
>> 0.037355 print_debug_deviceinfo      (2):   0x4003 (ObjectRemoved)
>> 0.037357 print_debug_deviceinfo      (2):   0x4004 (StoreAdded)
>> 0.037360 print_debug_deviceinfo      (2):   0x4005 (StoreRemoved)
>> 0.037363 print_debug_deviceinfo      (2):   0x4002 (ObjectAdded)
>> 0.037365 print_debug_deviceinfo      (2):   0xc101 (Unknown Event)
>> 0.037368 print_debug_deviceinfo      (2): Device Properties Supported:
>> 0.037377 print_debug_deviceinfo      (2):   0x5001 (Battery Level)
>> 0.037380 print_debug_deviceinfo      (2):   0x5011 (Date & Time)
>> 0.037383 print_debug_deviceinfo      (2):   0xd406 (Session Initiator Info)
>> 0.037386 print_debug_deviceinfo      (2):   0xd407 (Perceived Device Type)
>> 0.037389 print_debug_deviceinfo      (2):   0xd303 (Unknown DPC code)
>> 0.037393 print_debug_deviceinfo      (2): Device info:
>> 0.037395 print_debug_deviceinfo      (2): Manufacturer: RICOH IMAGING COMPANY, LTD.
>> 0.037402 print_debug_deviceinfo      (2):   Model: PENTAX KP
>> 0.037404 print_debug_deviceinfo      (2):   device version: 1.00
>> 0.037407 print_debug_deviceinfo      (2):   serial number: '7392954'
>> 0.037409 print_debug_deviceinfo      (2): Vendor extension ID: 0x00000006
>> 0.037412 print_debug_deviceinfo      (2): Vendor extension version: 100
>> 0.037414 print_debug_deviceinfo      (2): Vendor extension description: ????????????????????????????????????
>> 0.037417 print_debug_deviceinfo      (2): Functional Mode: 0x0000
>> 0.037419 print_debug_deviceinfo      (2): PTP Standard Version: 100
>> 0.037422 print_debug_deviceinfo      (2): Supported operations:
>> 0.037424 print_debug_deviceinfo      (2):   0x1001 (Get device info)
>> 0.037427 print_debug_deviceinfo      (2):   0x1002 (Open session)
>> 0.037430 print_debug_deviceinfo      (2):   0x1003 (Close session)
>> 0.037432 print_debug_deviceinfo      (2):   0x1004 (Get storage IDs)
>> 0.037435 print_debug_deviceinfo      (2):   0x1005 (Get storage info)
>> 0.037438 print_debug_deviceinfo      (2):   0x1006 (Get number of objects)
>> 0.037440 print_debug_deviceinfo      (2):   0x1007 (Get object handles)
>> 0.037443 print_debug_deviceinfo      (2):   0x1008 (Get object info)
>> 0.037446 print_debug_deviceinfo      (2):   0x1009 (Get object)
>> 0.037449 print_debug_deviceinfo      (2):   0x100a (Get thumbnail)
>> 0.037451 print_debug_deviceinfo      (2):   0x100b (Delete object)
>> 0.037454 print_debug_deviceinfo      (2):   0x100c (Send object info)
>> 0.037456 print_debug_deviceinfo      (2):   0x100d (Send object)
>> 0.037459 print_debug_deviceinfo      (2):   0x100f (Format storage)
>> 0.037462 print_debug_deviceinfo      (2):   0x1014 (Get device property description)
>> 0.037464 print_debug_deviceinfo      (2):   0x1015 (Get device property value)
>> 0.037467 print_debug_deviceinfo      (2):   0x1016 (Set device property value)
>> 0.037470 print_debug_deviceinfo      (2):   0x101b (Get partial object)
>> 0.037473 print_debug_deviceinfo      (2):   0x9801 (Get object properties supported)
>> 0.037475 print_debug_deviceinfo      (2):   0x9802 (Get object property description)
>> 0.037478 print_debug_deviceinfo      (2):   0x9803 (Get object property value)
>> 0.037480 print_debug_deviceinfo      (2):   0x9805 (Get object property list)
>> 0.037483 print_debug_deviceinfo      (2):   0x9001 (Unknown PTP_OC)
>> 0.037486 print_debug_deviceinfo      (2): Events Supported:
>> 0.037489 print_debug_deviceinfo      (2):   0x4003 (ObjectRemoved)
>> 0.037491 print_debug_deviceinfo      (2):   0x4004 (StoreAdded)
>> 0.037494 print_debug_deviceinfo      (2):   0x4005 (StoreRemoved)
>> 0.037497 print_debug_deviceinfo      (2):   0x4002 (ObjectAdded)
>> 0.037499 print_debug_deviceinfo      (2):   0xc101 (Unknown Event)
>> 0.037502 print_debug_deviceinfo      (2): Device Properties Supported:
>> 0.037504 print_debug_deviceinfo      (2):   0x5001 (Battery Level)
>> 0.037508 print_debug_deviceinfo      (2):   0x5011 (Date & Time)
>> 0.037511 print_debug_deviceinfo      (2):   0xd406 (Session Initiator Info)
>> 0.037514 print_debug_deviceinfo      (2):   0xd407 (Perceived Device Type)
>> 0.037517 print_debug_deviceinfo      (2):   0xd303 (Unknown DPC code)
>> 0.037520 ptp_usb_sendreq             (2): Sending PTP_OC 0x1004 (Get storage IDs) request...
>> 0.037523 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.037553 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 04 10-02 00 00 00              ............
>>
>> 0.037557 ptp_usb_getdata             (2): Reading PTP_OC 0x1004 (Get storage IDs) data...
>> 0.037560 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.037679 gp_port_read                (3): Read    24 = 0x18 out of 1024 bytes from port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 02 00 04 10-02 00 00 00 01 00 00 00  ................
>> 0010  01 00 01 00 00 64 01 00-                         .....d..
>>
>> 0.037683 ptp_usb_getresp             (2): Reading PTP_OC 0x1004 (Get storage IDs) response...
>> 0.037686 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.037777 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-02 00 00 00              ....... ....
>>
>> 0.037786 ptp                         (2): (storage=0xffffffff, handle=0xffffffff)
>> 0.037789 ptp                         (2): Listing ...
>> 0.037793 ptp_usb_sendreq             (2): Sending PTP_OC 0x1007 (Get object handles) (0xffffffff,0x0,0xffffffff) request...
>> 0.037797 gp_port_write               (3): Writing 24 = 0x18 bytes to port...
>> 0.037886 gp_port_write               (3): Wrote   24 = 0x18 bytes to port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 01 00 07 10-03 00 00 00 ff ff ff ff  ................
>> 0010  00 00 00 00 ff ff ff ff-                         ........
>>
>> 0.037895 ptp_usb_getdata             (2): Reading PTP_OC 0x1007 (Get object handles) data...
>> 0.037898 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.038558 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 07 10-03 00 00 00 01 00 00 00  ................
>> 0010  00 40 00 04            -                         .@..
>>
>> 0.038565 ptp_usb_getresp             (2): Reading PTP_OC 0x1007 (Get object handles) response...
>> 0.038581 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.038697 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-03 00 00 00              ....... ....
>>
>> 0.038706 ptp                         (2): adding new objectid 0x04004000 (nrofobs=0,j=0)
>> 0.038728 ptp                         (2): (storage=0x00010001, handle=0xffffffff)
>> 0.038731 ptp                         (2): Listing ...
>> 0.038735 ptp_usb_sendreq             (2): Sending PTP_OC 0x1007 (Get object handles) (0x10001,0x0,0xffffffff) request...
>> 0.038738 gp_port_write               (3): Writing 24 = 0x18 bytes to port...
>> 0.038859 gp_port_write               (3): Wrote   24 = 0x18 bytes to port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 01 00 07 10-04 00 00 00 01 00 01 00  ................
>> 0010  00 00 00 00 ff ff ff ff-                         ........
>>
>> 0.038868 ptp_usb_getdata             (2): Reading PTP_OC 0x1007 (Get object handles) data...
>> 0.038889 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.039598 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 07 10-04 00 00 00 01 00 00 00  ................
>> 0010  00 40 00 04            -                         .@..
>>
>> 0.039638 ptp_usb_getresp             (2): Reading PTP_OC 0x1007 (Get object handles) response...
>> 0.039642 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.039730 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-04 00 00 00              ....... ....
>>
>> 0.039739 ptp                         (2): adding old objectid 0x04004000 (nrofobs=1,j=0)
>> 0.039768 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x3001) request...
>> 0.039771 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.039863 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-05 00 00 00 01 30 00 00  .............0..
>>
>> 0.039872 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.039875 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.039933 gp_port_read                (3): Read    36 = 0x24 out of 1024 bytes from port: (hexdump of 36 bytes)
>> 0000  24 00 00 00 02 00 01 98-05 00 00 00 0a 00 00 00  $...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  08 dc 09 dc            -                         ....
>>
>> 0.039939 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.039951 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.039979 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-05 00 00 00              ....... ....
>>
>> 0.039987 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x300a) request...
>> 0.039991 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.040017 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-06 00 00 00 0a 30 00 00  .............0..
>>
>> 0.040021 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.040024 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.040158 gp_port_read                (3): Read    54 = 0x36 out of 1024 bytes from port: (hexdump of 54 bytes)
>> 0000  36 00 00 00 02 00 01 98-06 00 00 00 13 00 00 00  6...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc 08 dc 09 dc-89 dc 93 de 94 de 97 de  ................
>> 0030  9a de 9b de 9c de      -                         ......
>>
>> 0.040164 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.040166 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.040253 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-06 00 00 00              ....... ....
>>
>> 0.040267 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x300d) request...
>> 0.040270 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.040304 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-07 00 00 00 0d 30 00 00  .............0..
>>
>> 0.040308 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.040311 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.040403 gp_port_read                (3): Read    54 = 0x36 out of 1024 bytes from port: (hexdump of 54 bytes)
>> 0000  36 00 00 00 02 00 01 98-07 00 00 00 13 00 00 00  6...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc 08 dc 09 dc-89 dc 93 de 94 de 97 de  ................
>> 0030  9a de 9b de 9c de      -                         ......
>>
>> 0.040407 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.040410 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.040458 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-07 00 00 00              ....... ....
>>
>> 0.040466 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x380d) request...
>> 0.040469 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.040497 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-08 00 00 00 0d 38 00 00  .............8..
>>
>> 0.040501 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.040503 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.040596 gp_port_read                (3): Read    52 = 0x34 out of 1024 bytes from port: (hexdump of 52 bytes)
>> 0000  34 00 00 00 02 00 01 98-08 00 00 00 12 00 00 00  4...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc d3 dc 08 dc-09 dc 81 dc 82 dc 83 dc  ................
>> 0030  84 dc 86 dc            -                         ....
>>
>> 0.040600 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.040603 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.040694 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              ....... ....
>>
>> 0.040707 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x3801) request...
>> 0.040710 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.040796 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-09 00 00 00 01 38 00 00  .............8..
>>
>> 0.040805 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.040808 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.040837 gp_port_read                (3): Read    52 = 0x34 out of 1024 bytes from port: (hexdump of 52 bytes)
>> 0000  34 00 00 00 02 00 01 98-09 00 00 00 12 00 00 00  4...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc d3 dc 08 dc-09 dc 81 dc 82 dc 83 dc  ................
>> 0030  84 dc 86 dc            -                         ....
>>
>> 0.040842 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.040845 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.040893 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              ....... ....
>>
>> 0.040901 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x3800) request...
>> 0.040904 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.040931 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-0a 00 00 00 00 38 00 00  .............8..
>>
>> 0.040935 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.040938 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.041029 gp_port_read                (3): Read    52 = 0x34 out of 1024 bytes from port: (hexdump of 52 bytes)
>> 0000  34 00 00 00 02 00 01 98-0a 00 00 00 12 00 00 00  4...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc d3 dc 08 dc-09 dc 81 dc 82 dc 83 dc  ................
>> 0030  84 dc 86 dc            -                         ....
>>
>> 0.041034 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.041037 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.041085 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              ....... ....
>>
>> 0.041093 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x3000) request...
>> 0.041097 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.041146 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-0b 00 00 00 00 30 00 00  .............0..
>>
>> 0.041150 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.041153 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.041225 gp_port_read                (3): Read    52 = 0x34 out of 1024 bytes from port: (hexdump of 52 bytes)
>> 0000  34 00 00 00 02 00 01 98-0b 00 00 00 12 00 00 00  4...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc d3 dc 08 dc-09 dc 81 dc 82 dc 83 dc  ................
>> 0030  84 dc 86 dc            -                         ....
>>
>> 0.041229 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.041232 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.041303 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-0b 00 00 00              ....... ....
>>
>> 0.041317 ptp_usb_sendreq             (2): Sending PTP_OC 0x1005 (Get storage info) (0x10001) request...
>> 0.041320 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.041347 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 05 10-0c 00 00 00 01 00 01 00  ................
>>
>> 0.041351 ptp_usb_getdata             (2): Reading PTP_OC 0x1005 (Get storage info) data...
>> 0.041354 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.041681 gp_port_read                (3): Read    40 = 0x28 out of 1024 bytes from port: (hexdump of 40 bytes)
>> 0000  28 00 00 00 02 00 05 10-0c 00 00 00 04 00 03 00  (...............
>> 0010  00 00 00 00 a0 dc 0e 00-00 00 00 00 60 82 0e 00  ............`...
>> 0020  00 00 df 0f 00 00 00 00-                         ........
>>
>> 0.041685 ptp_usb_getresp             (2): Reading PTP_OC 0x1005 (Get storage info) response...
>> 0.041688 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.041775 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-0c 00 00 00              ....... ....
>>
>> 0.041783 ptp_usb_sendreq             (2): Sending PTP_OC 0x1001 (Get device info) request...
>> 0.041786 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.041862 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 01 10-0d 00 00 00              ............
>>
>> 0.041867 ptp_usb_getdata             (2): Reading PTP_OC 0x1001 (Get device info) data...
>> 0.041869 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.042001 gp_port_read                (3): Read    301 = 0x12d out of 1024 bytes from port: (hexdump of 301 bytes)
>> 0000  2d 01 00 00 02 00 01 10-0d 00 00 00 64 00 06 00  -...........d...
>> 0010  00 00 64 00 24 00 6d 00-69 00 63 00 72 00 6f 00  ..d.$.m.i.c.r.o.
>> 0020  73 00 6f 00 66 00 74 00-2e 00 63 00 6f 00 6d 00  s.o.f.t...c.o.m.
>> 0030  2f 00 44 00 65 00 76 00-69 00 63 00 65 00 53 00  /.D.e.v.i.c.e.S.
>> 0040  65 00 72 00 76 00 69 00-63 00 65 00 73 00 3a 00  e.r.v.i.c.e.s.:.
>> 0050  20 00 31 00 2e 00 30 00-3b 00 20 00 c0 00 00 17   .1...0.;. .....
>> 0060  00 00 00 01 10 02 10 03-10 04 10 05 10 06 10 07  ................
>> 0070  10 08 10 09 10 0a 10 0b-10 0c 10 0d 10 0f 10 14  ................
>> 0080  10 15 10 16 10 1b 10 01-98 02 98 03 98 05 98 01  ................
>> 0090  90 05 00 00 00 03 40 04-40 05 40 02 40 01 c1 05  ......@.@.@.@...
>> 00a0  00 00 00 01 50 11 50 06-d4 07 d4 03 d3 00 00 00  ....P.P.........
>> 00b0  00 07 00 00 00 01 30 0a-30 0d 30 0d 38 01 38 00  ......0.0.0.8.8.
>> 00c0  38 00 30 1c 52 00 49 00-43 00 4f 00 48 00 20 00  8.0.R.I.C.O.H. .
>> 00d0  49 00 4d 00 41 00 47 00-49 00 4e 00 47 00 20 00  I.M.A.G.I.N.G. .
>> 00e0  43 00 4f 00 4d 00 50 00-41 00 4e 00 59 00 2c 00  C.O.M.P.A.N.Y.,.
>> 00f0  20 00 4c 00 54 00 44 00-2e 00 00 00 0a 50 00 45   .L.T.D......P.E
>> 0100  00 4e 00 54 00 41 00 58-00 20 00 4b 00 50 00 00  .N.T.A.X. .K.P..
>> 0110  00 05 31 00 2e 00 30 00-30 00 00 00 08 37 00 33  ..1...0.0....7.3
>> 0120  00 39 00 32 00 39 00 35-00 34 00 00 00           .9.2.9.5.4...
>>
>> 0.042005 ptp_usb_getresp             (2): Reading PTP_OC 0x1001 (Get device info) response...
>> 0.042008 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.042081 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-0d 00 00 00              ....... ....
>>
>> 0.042107 ptp_usb_sendreq             (2): Sending PTP_OC 0x1014 (Get device property description) (0x5001) request...
>> 0.042110 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.042215 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 14 10-0e 00 00 00 01 50 00 00  .............P..
>>
>> 0.042223 ptp_usb_getdata             (2): Reading PTP_OC 0x1014 (Get device property description) data...
>> 0.042232 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.043899 gp_port_read                (3): Read    23 = 0x17 out of 1024 bytes from port: (hexdump of 23 bytes)
>> 0000  17 00 00 00 02 00 14 10-0e 00 00 00 01 50 02 00  .............P..
>> 0010  00 64 43 01 00 64 01   -                         .dC..d.
>>
>> 0.043908 ptp_usb_getresp             (2): Reading PTP_OC 0x1014 (Get device property description) response...
>> 0.043925 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.043955 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-0e 00 00 00              ....... ....
>>
>> 0.043981 ptp_usb_sendreq             (2): Sending PTP_OC 0x1014 (Get device property description) (0x5011) request...
>> 0.043984 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.044013 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 14 10-0f 00 00 00 11 50 00 00  .............P..
>>
>> 0.044018 ptp_usb_getdata             (2): Reading PTP_OC 0x1014 (Get device property description) data...
>> 0.044020 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.044368 gp_port_read                (3): Read    84 = 0x54 out of 1024 bytes from port: (hexdump of 84 bytes)
>> 0000  54 00 00 00 02 00 14 10-0f 00 00 00 11 50 ff ff  T............P..
>> 0010  00 10 32 00 30 00 31 00-37 00 30 00 31 00 30 00  ..2.0.1.7.0.1.0.
>> 0020  31 00 54 00 30 00 30 00-30 00 30 00 30 00 30 00  1.T.0.0.0.0.0.0.
>> 0030  00 00 10 32 00 30 00 32-00 32 00 30 00 38 00 32  ...2.0.2.2.0.8.2
>> 0040  00 30 00 54 00 32 00 30-00 34 00 34 00 31 00 36  .0.T.2.0.4.4.1.6
>> 0050  00 00 00 00            -                         ....
>>
>> 0.044378 ptp_usb_getresp             (2): Reading PTP_OC 0x1014 (Get device property description) response...
>> 0.044399 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.044489 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-0f 00 00 00              ....... ....
>>
>> 0.044503 ptp_usb_sendreq             (2): Sending PTP_OC 0x1014 (Get device property description) (0xd406) request...
>> 0.044507 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.044622 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 14 10-10 00 00 00 06 d4 00 00  ................
>>
>> 0.044630 ptp_usb_getdata             (2): Reading PTP_OC 0x1014 (Get device property description) data...
>> 0.044652 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.044731 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 14 10-10 00 00 00 06 d4 ff ff  ................
>> 0010  01 00 00 00            -                         ....
>>
>> 0.044740 ptp_usb_getresp             (2): Reading PTP_OC 0x1014 (Get device property description) response...
>> 0.044762 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.044852 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-10 00 00 00              ....... ....
>>
>> 0.044864 ptp_usb_sendreq             (2): Sending PTP_OC 0x1014 (Get device property description) (0xd407) request...
>> 0.044868 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.044899 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 14 10-11 00 00 00 07 d4 00 00  ................
>>
>> 0.044904 ptp_usb_getdata             (2): Reading PTP_OC 0x1014 (Get device property description) data...
>> 0.044907 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.045000 gp_port_read                (3): Read    26 = 0x1a out of 1024 bytes from port: (hexdump of 26 bytes)
>> 0000  1a 00 00 00 02 00 14 10-11 00 00 00 07 d4 06 00  ................
>> 0010  00 00 00 00 00 01 00 00-00 00                    ..........
>>
>> 0.045010 ptp_usb_getresp             (2): Reading PTP_OC 0x1014 (Get device property description) response...
>> 0.045013 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.045150 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-11 00 00 00              ....... ....
>>
>> 0.045159 ptp_usb_sendreq             (2): Sending PTP_OC 0x1014 (Get device property description) (0xd303) request...
>> 0.045162 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.045249 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 14 10-12 00 00 00 03 d3 00 00  ................
>>
>> 0.045253 ptp_usb_getdata             (2): Reading PTP_OC 0x1014 (Get device property description) data...
>> 0.045255 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.045325 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 14 10-12 00 00 00 03 d3 02 00  ................
>> 0010  00 00 01 00            -                         ....
>>
>> 0.045328 ptp_usb_getresp             (2): Reading PTP_OC 0x1014 (Get device property description) response...
>> 0.045331 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.045359 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-12 00 00 00              ....... ....
>>
>> 0.045818 gp_camera_free              (2): Freeing camera...
>> 0.045823 gp_camera_exit              (2): Exiting camera ('USB PTP Class Camera')...
>> 0.045827 ptp_usb_sendreq             (2): Sending PTP_OC 0x1003 (Close session) request...
>> 0.045830 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.045912 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 03 10-13 00 00 00              ............
>>
>> 0.045916 ptp_usb_getresp             (2): Reading PTP_OC 0x1003 (Close session) response...
>> 0.045919 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.045944 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-13 00 00 00              ....... ....
>>
>> 0.045951 gp_port_close               (2): Closing port...
>> 0.047065 _close_async_interrupts     (2): canceling transfer 0:0x55a295e5f1b0 (status 0)
>> 0.047223 _close_async_interrupts     (2): canceling transfer 1:0x55a295e76880 (status 0)
>> 0.047372 _close_async_interrupts     (2): canceling transfer 2:0x55a295e654b0 (status 0)
>> 0.047521 _close_async_interrupts     (2): canceling transfer 3:0x55a295e9f970 (status 0)
>> 0.047669 _close_async_interrupts     (2): canceling transfer 4:0x55a295e62db0 (status 0)
>> 0.047818 _close_async_interrupts     (2): canceling transfer 5:0x55a295eb37c0 (status 0)
>> 0.047957 _close_async_interrupts     (2): canceling transfer 6:0x55a295e64930 (status 0)
>> 0.048064 _close_async_interrupts     (2): canceling transfer 7:0x55a295eb1bf0 (status 0)
>> 0.048144 _close_async_interrupts     (2): canceling transfer 8:0x55a295e9fd20 (status 0)
>> 0.048224 _close_async_interrupts     (2): canceling transfer 9:0x55a295e77940 (status 0)
>> 0.048306 _cb_irq                     (2): 0x55a295e5f1b0 with status 3
>> 0.048311 _cb_irq                     (2): Transfer 0x55a295e5f1b0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.048315 _cb_irq                     (2): 0x55a295e76880 with status 3
>> 0.048318 _cb_irq                     (2): Transfer 0x55a295e76880 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.048322 _cb_irq                     (2): 0x55a295e654b0 with status 3
>> 0.048325 _cb_irq                     (2): Transfer 0x55a295e654b0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.048329 _cb_irq                     (2): 0x55a295e9f970 with status 3
>> 0.048332 _cb_irq                     (2): Transfer 0x55a295e9f970 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.048342 _cb_irq                     (2): 0x55a295e62db0 with status 3
>> 0.048345 _cb_irq                     (2): Transfer 0x55a295e62db0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.048348 _cb_irq                     (2): 0x55a295eb37c0 with status 3
>> 0.048351 _cb_irq                     (2): Transfer 0x55a295eb37c0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.048355 _cb_irq                     (2): 0x55a295e64930 with status 3
>> 0.048358 _cb_irq                     (2): Transfer 0x55a295e64930 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.048362 _cb_irq                     (2): 0x55a295eb1bf0 with status 3
>> 0.048365 _cb_irq                     (2): Transfer 0x55a295eb1bf0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.048369 _cb_irq                     (2): 0x55a295e9fd20 with status 3
>> 0.048372 _cb_irq                     (2): Transfer 0x55a295e9fd20 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.048376 _cb_irq                     (2): 0x55a295e77940 with status 3
>> 0.048379 _cb_irq                     (2): Transfer 0x55a295e77940 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.048502 gp_filesystem_reset         (2): resetting filesystem
>> 0.048507 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
>> 0.048510 gp_filesystem_lru_clear     (2): fscache LRU list already empty
>> 0.048513 delete_all_folders          (2): Internally deleting all folders from '/'...
>> 0.048516 lookup_folder               (2): Lookup folder '/'...
>> 0.048519 lookup_folder               (2): Found! / is 0x55a295e586b0
>> 0.048523 recurse_delete_folder       (2): Recurse delete folder 0x55a295e586b0//
>> 0.048525 delete_all_files            (2): Delete all files in folder 0x55a295e586b0//
>> 0.048529 gp_port_free                (2): Freeing port...
>> 0.048532 gp_port_close               (2): Closing port...
>> 0.048642 gp_filesystem_reset         (2): resetting filesystem
>> 0.048648 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
>> 0.048650 gp_filesystem_lru_clear     (2): fscache LRU list already empty
>> 0.048653 delete_all_folders          (2): Internally deleting all folders from '/'...
>> 0.048656 lookup_folder               (2): Lookup folder '/'...
>> 0.048659 lookup_folder               (2): Found! / is 0x55a295e586b0
>> 0.048661 recurse_delete_folder       (2): Recurse delete folder 0x55a295e586b0//
>> 0.048664 delete_all_files            (2): Delete all files in folder 0x55a295e586b0//
>> 0.000004 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
>> 0.000045 main                        (2): gphoto2 2.5.28
>> 0.000050 main                        (2): gphoto2 has been compiled with the following options:
>> 0.000075 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000078 main                        (2):  + popt (mandatory, for handling command-line parameters)
>> 0.000082 main                        (2):  + exif (for displaying EXIF information)
>> 0.000085 main                        (2):  + no cdk (for accessing configuration options)
>> 0.000088 main                        (2):  + no aa (for displaying live previews)
>> 0.000092 main                        (2):  + no jpeg (for displaying live previews in JPEG format)
>> 0.000095 main                        (2):  + readline (for easy navigation in the shell)
>> 0.000119 main                        (2): libgphoto2 2.5.30
>> 0.000123 main                        (2): libgphoto2 has been compiled with the following options:
>> 0.000127 main                        (2):  + standard camlib set SKIPPING SOME (ax203 canon digigr8 dimagev directory docupen jl2005a jl2005c kodak_dc240 mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801 SKIPPING lumix)
>> 0.000131 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000134 main                        (2):  + no ltdl (for portable loading of camlibs)
>> 0.000138 main                        (2):  + EXIF (for special handling of EXIF files)
>> 0.000144 main                        (2): libgphoto2_port 0.12.1
>> 0.000167 main                        (2): libgphoto2_port has been compiled with the following options:
>> 0.000184 main                        (2):  + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
>> 0.000188 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000191 main                        (2):  + no ltdl (for portable loading of iolibs)
>> 0.000194 main                        (2):  + EXIF (for vusb)
>> 0.000198 main                        (2):  + USB (libusb1, for USB cameras)
>> 0.000201 main                        (2):  + serial (for serial cameras)
>> 0.000205 main                        (2):  + no resmgr (serial port access and locking)
>> 0.000208 main                        (2):  + no ttylock (serial port locking)
>> 0.000211 main                        (2):  + no lockdev (serial port locking)
>> 0.000215 main                        (2): CAMLIBS env var not set, using compile-time default instead
>> 0.000218 main                        (2): IOLIBS env var not set, using compile-time default instead
>> 0.000222 main                        (2): invoked with following arguments:
>> 0.000225 main                        (2):   --debug
>> 0.000229 main                        (2):   --debug-logfile=my-logfile.txt
>> 0.000232 main                        (2):   --summary
>> 0.000257 load_settings               (2): Creating gphoto config directory ('/home/fabio/.gphoto')
>> 0.000279 load_settings               (2): Loading settings from file '/home/fabio/.gphoto/settings'.
>> 0.000391 main                        (2): The user has not specified both a model and a port. Try to figure them out.
>> 0.000396 gp_port_init_localedir      (2): localedir has been set to /usr/share/locale (compile-time default)
>> 0.000418 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib64/libgphoto2_port/0.12.1'...
>> 0.000441 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/disk'.
>> 0.000535 gp_port_library_list        (2): found fstab fsname none
>> 0.000541 gp_port_library_list        (2): found fstab fsname none
>> 0.000551 gp_port_library_list        (2): found fstab fsname UUID=37565307-e63d-44bd-9dc0-8630d0eaf596
>> 0.000558 gp_port_library_list        (2): found fstab fsname UUID=8b2c9e33-66c2-4e67-bc57-cf7da5be2965
>> 0.000598 gp_port_library_list        (2): found mtab fsname proc
>> 0.000603 gp_port_library_list        (2): found mtab fsname sysfs
>> 0.000607 gp_port_library_list        (2): found mtab fsname devtmpfs
>> 0.000611 gp_port_library_list        (2): found mtab fsname securityfs
>> 0.000615 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000622 gp_port_library_list        (2): found mtab fsname devpts
>> 0.000627 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000634 gp_port_library_list        (2): found mtab fsname cgroup2
>> 0.000638 gp_port_library_list        (2): found mtab fsname efivarfs
>> 0.000647 gp_port_library_list        (2): found mtab fsname bpf
>> 0.000655 gp_port_library_list        (2): found mtab fsname /dev/mapper/SolusSystem-Root
>> 0.000661 gp_port_library_list        (2): found mtab fsname systemd-1
>> 0.000664 gp_port_library_list        (2): found mtab fsname mqueue
>> 0.000668 gp_port_library_list        (2): found mtab fsname debugfs
>> 0.000690 gp_port_library_list        (2): found mtab fsname hugetlbfs
>> 0.000698 gp_port_library_list        (2): found mtab fsname tracefs
>> 0.000705 gp_port_library_list        (2): found mtab fsname fusectl
>> 0.000709 gp_port_library_list        (2): found mtab fsname configfs
>> 0.000718 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000727 gp_port_library_list        (2): found mtab fsname /dev/loop0
>> 0.000734 gp_port_library_list        (2): found mtab fsname /dev/loop2
>> 0.000740 gp_port_library_list        (2): found mtab fsname /dev/loop3
>> 0.000747 gp_port_library_list        (2): found mtab fsname /dev/loop4
>> 0.000753 gp_port_library_list        (2): found mtab fsname /dev/loop1
>> 0.000759 gp_port_library_list        (2): found mtab fsname /dev/loop5
>> 0.000765 gp_port_library_list        (2): found mtab fsname /dev/loop6
>> 0.000776 gp_port_library_list        (2): found mtab fsname /dev/loop7
>> 0.000782 gp_port_library_list        (2): found mtab fsname /dev/loop8
>> 0.000801 gp_port_library_list        (2): found mtab fsname /dev/loop9
>> 0.000808 gp_port_library_list        (2): found mtab fsname /dev/loop10
>> 0.000815 gp_port_library_list        (2): found mtab fsname /dev/loop11
>> 0.000821 gp_port_library_list        (2): found mtab fsname /dev/loop12
>> 0.000827 gp_port_library_list        (2): found mtab fsname /dev/loop13
>> 0.000833 gp_port_library_list        (2): found mtab fsname /dev/loop14
>> 0.000839 gp_port_library_list        (2): found mtab fsname /dev/loop15
>> 0.000845 gp_port_library_list        (2): found mtab fsname binfmt_misc
>> 0.000856 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000865 gp_port_library_list        (2): found mtab fsname gvfsd-fuse
>> 0.000869 gp_port_library_list        (2): found mtab fsname portal
>> 0.000889 foreach_func                (2): Loaded '' ('^disk:') from '/usr/lib64/libgphoto2_port/0.12.1/disk'.
>> 0.000894 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.000945 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.000951 foreach_func                (2): Loaded '' ('^ptpip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.000954 foreach_func                (2): Loaded 'IP Connection' ('ip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.000981 foreach_func                (2): Loaded '' ('^ip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.000986 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001103 foreach_func                (2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001109 foreach_func                (2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001113 foreach_func                (2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001116 foreach_func                (2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001120 foreach_func                (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001123 foreach_func                (2): Loaded '' ('^serial:') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001127 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004596 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004607 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,003') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004611 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,004') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004615 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,013') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004618 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usbdiskdirect'.
>> 0.004728 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usbscsi'.
>> 0.004791 gp_port_info_list_count     (2): Counting entries (15 available)...
>> 0.004797 gp_port_info_list_count     (2): 10 regular entries available.
>> 0.004801 gp_port_init_localedir      (2): ignoring late call (localedir value NULL)
>> 0.004806 gp_init_localedir           (2): localedir has been set to /usr/share/locale (compile-time default)
>> 0.004811 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/lib64/libgphoto2/2.5.30'...
>> 0.004838 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/ax203'.
>> 0.004845 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/canon'.
>> 0.004849 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/digigr8'.
>> 0.004857 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/dimagev'.
>> 0.004860 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/directory'.
>> 0.004864 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/docupen'.
>> 0.004867 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/jl2005a'.
>> 0.004870 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/jl2005c'.
>> 0.004874 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/kodak_dc240'.
>> 0.004877 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/mars'.
>> 0.004881 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/pentax'.
>> 0.004885 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/ptp2'.
>> 0.004888 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/ricoh_g3'.
>> 0.004892 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/sierra'.
>> 0.004895 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/sonix'.
>> 0.004899 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/sq905'.
>> 0.004902 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/st2205'.
>> 0.004906 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/topfield'.
>> 0.004910 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30/tp6801'.
>> 0.004914 gp_abilities_list_load_dir  (2): Found 19 camera drivers.
>> 0.020446 gp_port_info_list_count     (2): Counting entries (15 available)...
>> 0.020459 gp_port_info_list_count     (2): 10 regular entries available.
>> 0.020464 gp_port_new                 (2): Creating new device...
>> 0.020469 gp_port_info_list_get_info  (2): Getting info of entry 0 (15 available)...
>> 0.020528 gp_port_set_settings        (2): Setting settings...
>> 0.020535 gp_port_info_list_get_info  (2): Getting info of entry 1 (15 available)...
>> 0.020591 gp_port_set_settings        (2): Setting settings...
>> 0.020598 gp_port_info_list_get_info  (2): Getting info of entry 2 (15 available)...
>> 0.020658 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020665 gp_port_set_settings        (2): Setting settings...
>> 0.020669 gp_port_info_list_get_info  (2): Getting info of entry 3 (15 available)...
>> 0.020724 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020731 gp_port_set_settings        (2): Setting settings...
>> 0.020736 gp_port_info_list_get_info  (2): Getting info of entry 4 (15 available)...
>> 0.020790 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020797 gp_port_set_settings        (2): Setting settings...
>> 0.020801 gp_port_info_list_get_info  (2): Getting info of entry 5 (15 available)...
>> 0.020854 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020861 gp_port_set_settings        (2): Setting settings...
>> 0.020865 gp_port_info_list_get_info  (2): Getting info of entry 6 (15 available)...
>> 0.020918 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020924 gp_port_set_settings        (2): Setting settings...
>> 0.020929 gp_port_info_list_get_info  (2): Getting info of entry 7 (15 available)...
>> 0.024111 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.024120 gp_port_set_settings        (2): Setting settings...
>> 0.024126 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,003, (new int=0, conf=-1, alt=-1) port usb:001,003
>> 0.024130 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.024134 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.024370 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.024547 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.024564 gp_port_info_list_get_info  (2): Getting info of entry 8 (15 available)...
>> 0.027796 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.027806 gp_port_set_settings        (2): Setting settings...
>> 0.027818 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,004, (new int=0, conf=-1, alt=-1) port usb:001,004
>> 0.027821 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.027825 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.028090 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.028256 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.028272 gp_port_info_list_get_info  (2): Getting info of entry 9 (15 available)...
>> 0.031463 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.031472 gp_port_set_settings        (2): Setting settings...
>> 0.031478 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,013, (new int=0, conf=-1, alt=-1) port usb:001,013
>> 0.031481 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.031485 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.031672 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.031814 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.031819 gp_libusb1_find_device_by_class_lib(2): Found USB class device (class 0x6, subclass, 0x1, protocol 0x1)
>> 0.031825 gp_libusb1_find_device_by_class_lib(2): inep to look for is 81
>> 0.031829 gp_libusb1_find_device_by_class_lib(2): Detected defaults: config 1, interface 0, altsetting 0, idVendor ID 25fb, idProduct 017f, inep 81, outep 02, intep 83
>> 0.031833 gp_abilities_list_detect_usb(2): Found 'USB PTP Class Camera' (0x6,0x1,0x1)
>> 0.031849 gp_port_free                (2): Freeing port...
>> 0.031853 gp_port_close               (2): Closing port...
>> 0.032052 gp_camera_set_abilities     (2): Setting abilities ('USB PTP Class Camera')...
>> 0.032065 gp_setting_set              (2): Setting key 'model' to value 'USB PTP Class Camera' (gphoto2)
>> 0.032073 save_settings               (2): Saving 2 setting(s) to file "/home/fabio/.gphoto/settings"
>> 0.032139 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,013' (15 entries available)...
>> 0.032145 gp_port_info_list_get_info  (2): Getting info of entry 9 (15 available)...
>> 0.032152 gp_camera_set_port_info     (2): Setting port info for port 'Universal Serial Bus' at 'usb:001,013'...
>> 0.035166 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.035175 gp_port_set_settings        (2): Setting settings...
>> 0.035183 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,013, (new int=0, conf=-1, alt=-1) port usb:001,013
>> 0.035189 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.035195 gp_setting_set              (2): Setting key 'port' to value 'usb:001,013' (gphoto2)
>> 0.035202 save_settings               (2): Saving 2 setting(s) to file "/home/fabio/.gphoto/settings"
>> 0.035271 gp_camera_init              (2): Initializing camera...
>> 0.035281 gp_port_set_error [gphoto2-port.c:1177](0): The supplied vendor or product id (0x0,0x0) is not valid.
>> 0.035292 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.035300 gp_libusb1_find_device_by_class_lib(2): Found USB class device (class 0x6, subclass, 0x1, protocol 0x1)
>> 0.035309 gp_libusb1_find_device_by_class_lib(2): inep to look for is 81
>> 0.035316 gp_libusb1_find_device_by_class_lib(2): Detected defaults: config 1, interface 0, altsetting 0, idVendor ID 25fb, idProduct 017f, inep 81, outep 02, intep 83
>> 0.035322 gp_camera_init              (2): Loading '/usr/lib64/libgphoto2/2.5.30/ptp2'...
>> 0.035793 gp_port_open                (2): Opening USB port...
>> 0.035802 gp_libusb1_open             (2): ()
>> 0.035821 gp_libusb1_open             (2): claiming interface 0
>> 0.035906 camera_init                 (2): maxpacketsize 512
>> 0.035923 gp_port_set_timeout         (2): Setting port timeout to 8000 milliseconds.
>> 0.035937 ptp                         (2): PTP: Opening session
>> 0.035945 ptp_usb_sendreq             (2): Sending PTP_OC 0x1002 (Open session) (0x1) request...
>> 0.035951 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.036108 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.036120 ptp_usb_getresp             (2): Reading PTP_OC 0x1002 (Open session) response...
>> 0.036127 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.036350 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-00 00 00 00              ....... ....
>>
>> 0.036362 gp_port_set_timeout         (2): Setting port timeout to 20000 milliseconds.
>> 0.036369 ptp_usb_sendreq             (2): Sending PTP_OC 0x1001 (Get device info) request...
>> 0.036375 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.036488 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 01 10-01 00 00 00              ............
>>
>> 0.036499 ptp_usb_getdata             (2): Reading PTP_OC 0x1001 (Get device info) data...
>> 0.036506 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.036810 gp_port_read                (3): Read    301 = 0x12d out of 1024 bytes from port: (hexdump of 301 bytes)
>> 0000  2d 01 00 00 02 00 01 10-01 00 00 00 64 00 06 00  -...........d...
>> 0010  00 00 64 00 24 00 6d 00-69 00 63 00 72 00 6f 00  ..d.$.m.i.c.r.o.
>> 0020  73 00 6f 00 66 00 74 00-2e 00 63 00 6f 00 6d 00  s.o.f.t...c.o.m.
>> 0030  2f 00 44 00 65 00 76 00-69 00 63 00 65 00 53 00  /.D.e.v.i.c.e.S.
>> 0040  65 00 72 00 76 00 69 00-63 00 65 00 73 00 3a 00  e.r.v.i.c.e.s.:.
>> 0050  20 00 31 00 2e 00 30 00-3b 00 20 00 7c 00 00 17   .1...0.;. .|...
>> 0060  00 00 00 01 10 02 10 03-10 04 10 05 10 06 10 07  ................
>> 0070  10 08 10 09 10 0a 10 0b-10 0c 10 0d 10 0f 10 14  ................
>> 0080  10 15 10 16 10 1b 10 01-98 02 98 03 98 05 98 01  ................
>> 0090  90 05 00 00 00 03 40 04-40 05 40 02 40 01 c1 05  ......@.@.@.@...
>> 00a0  00 00 00 01 50 11 50 06-d4 07 d4 03 d3 00 00 00  ....P.P.........
>> 00b0  00 07 00 00 00 01 30 0a-30 0d 30 0d 38 01 38 00  ......0.0.0.8.8.
>> 00c0  38 00 30 1c 52 00 49 00-43 00 4f 00 48 00 20 00  8.0.R.I.C.O.H. .
>> 00d0  49 00 4d 00 41 00 47 00-49 00 4e 00 47 00 20 00  I.M.A.G.I.N.G. .
>> 00e0  43 00 4f 00 4d 00 50 00-41 00 4e 00 59 00 2c 00  C.O.M.P.A.N.Y.,.
>> 00f0  20 00 4c 00 54 00 44 00-2e 00 00 00 0a 50 00 45   .L.T.D......P.E
>> 0100  00 4e 00 54 00 41 00 58-00 20 00 4b 00 50 00 00  .N.T.A.X. .K.P..
>> 0110  00 05 31 00 2e 00 30 00-30 00 00 00 08 37 00 33  ..1...0.0....7.3
>> 0120  00 39 00 32 00 39 00 35-00 34 00 00 00           .9.2.9.5.4...
>>
>> 0.036822 ptp_usb_getresp             (2): Reading PTP_OC 0x1001 (Get device info) response...
>> 0.036829 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.036902 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-01 00 00 00              ....... ....
>>
>> 0.036913 print_debug_deviceinfo      (2): Device info:
>> 0.036919 print_debug_deviceinfo      (2): Manufacturer: RICOH IMAGING COMPANY, LTD.
>> 0.036925 print_debug_deviceinfo      (2):   Model: PENTAX KP
>> 0.036930 print_debug_deviceinfo      (2):   device version: 1.00
>> 0.036936 print_debug_deviceinfo      (2):   serial number: '7392954'
>> 0.036942 print_debug_deviceinfo      (2): Vendor extension ID: 0x00000006
>> 0.036949 print_debug_deviceinfo      (2): Vendor extension version: 100
>> 0.036955 print_debug_deviceinfo      (2): Vendor extension description: ????????????????????????????????????
>> 0.036965 print_debug_deviceinfo      (2): Functional Mode: 0x0000
>> 0.036972 print_debug_deviceinfo      (2): PTP Standard Version: 100
>> 0.036977 print_debug_deviceinfo      (2): Supported operations:
>> 0.036984 print_debug_deviceinfo      (2):   0x1001 (Get device info)
>> 0.036999 print_debug_deviceinfo      (2):   0x1002 (Open session)
>> 0.037005 print_debug_deviceinfo      (2):   0x1003 (Close session)
>> 0.037012 print_debug_deviceinfo      (2):   0x1004 (Get storage IDs)
>> 0.037018 print_debug_deviceinfo      (2):   0x1005 (Get storage info)
>> 0.037024 print_debug_deviceinfo      (2):   0x1006 (Get number of objects)
>> 0.037030 print_debug_deviceinfo      (2):   0x1007 (Get object handles)
>> 0.037036 print_debug_deviceinfo      (2):   0x1008 (Get object info)
>> 0.037042 print_debug_deviceinfo      (2):   0x1009 (Get object)
>> 0.037048 print_debug_deviceinfo      (2):   0x100a (Get thumbnail)
>> 0.037054 print_debug_deviceinfo      (2):   0x100b (Delete object)
>> 0.037059 print_debug_deviceinfo      (2):   0x100c (Send object info)
>> 0.037065 print_debug_deviceinfo      (2):   0x100d (Send object)
>> 0.037071 print_debug_deviceinfo      (2):   0x100f (Format storage)
>> 0.037077 print_debug_deviceinfo      (2):   0x1014 (Get device property description)
>> 0.037083 print_debug_deviceinfo      (2):   0x1015 (Get device property value)
>> 0.037089 print_debug_deviceinfo      (2):   0x1016 (Set device property value)
>> 0.037095 print_debug_deviceinfo      (2):   0x101b (Get partial object)
>> 0.037101 print_debug_deviceinfo      (2):   0x9801 (Get object properties supported)
>> 0.037107 print_debug_deviceinfo      (2):   0x9802 (Get object property description)
>> 0.037113 print_debug_deviceinfo      (2):   0x9803 (Get object property value)
>> 0.037119 print_debug_deviceinfo      (2):   0x9805 (Get object property list)
>> 0.037125 print_debug_deviceinfo      (2):   0x9001 (Unknown PTP_OC)
>> 0.037130 print_debug_deviceinfo      (2): Events Supported:
>> 0.037136 print_debug_deviceinfo      (2):   0x4003 (ObjectRemoved)
>> 0.037142 print_debug_deviceinfo      (2):   0x4004 (StoreAdded)
>> 0.037149 print_debug_deviceinfo      (2):   0x4005 (StoreRemoved)
>> 0.037154 print_debug_deviceinfo      (2):   0x4002 (ObjectAdded)
>> 0.037160 print_debug_deviceinfo      (2):   0xc101 (Unknown Event)
>> 0.037165 print_debug_deviceinfo      (2): Device Properties Supported:
>> 0.037178 print_debug_deviceinfo      (2):   0x5001 (Battery Level)
>> 0.037186 print_debug_deviceinfo      (2):   0x5011 (Date & Time)
>> 0.037193 print_debug_deviceinfo      (2):   0xd406 (Session Initiator Info)
>> 0.037199 print_debug_deviceinfo      (2):   0xd407 (Perceived Device Type)
>> 0.037206 print_debug_deviceinfo      (2):   0xd303 (Unknown DPC code)
>> 0.037219 print_debug_deviceinfo      (2): Device info:
>> 0.037225 print_debug_deviceinfo      (2): Manufacturer: RICOH IMAGING COMPANY, LTD.
>> 0.037231 print_debug_deviceinfo      (2):   Model: PENTAX KP
>> 0.037236 print_debug_deviceinfo      (2):   device version: 1.00
>> 0.037242 print_debug_deviceinfo      (2):   serial number: '7392954'
>> 0.037248 print_debug_deviceinfo      (2): Vendor extension ID: 0x00000006
>> 0.037253 print_debug_deviceinfo      (2): Vendor extension version: 100
>> 0.037259 print_debug_deviceinfo      (2): Vendor extension description: ????????????????????????????????????
>> 0.037265 print_debug_deviceinfo      (2): Functional Mode: 0x0000
>> 0.037270 print_debug_deviceinfo      (2): PTP Standard Version: 100
>> 0.037276 print_debug_deviceinfo      (2): Supported operations:
>> 0.037282 print_debug_deviceinfo      (2):   0x1001 (Get device info)
>> 0.037288 print_debug_deviceinfo      (2):   0x1002 (Open session)
>> 0.037294 print_debug_deviceinfo      (2):   0x1003 (Close session)
>> 0.037300 print_debug_deviceinfo      (2):   0x1004 (Get storage IDs)
>> 0.037306 print_debug_deviceinfo      (2):   0x1005 (Get storage info)
>> 0.037312 print_debug_deviceinfo      (2):   0x1006 (Get number of objects)
>> 0.037318 print_debug_deviceinfo      (2):   0x1007 (Get object handles)
>> 0.037324 print_debug_deviceinfo      (2):   0x1008 (Get object info)
>> 0.037330 print_debug_deviceinfo      (2):   0x1009 (Get object)
>> 0.037336 print_debug_deviceinfo      (2):   0x100a (Get thumbnail)
>> 0.037342 print_debug_deviceinfo      (2):   0x100b (Delete object)
>> 0.037348 print_debug_deviceinfo      (2):   0x100c (Send object info)
>> 0.037354 print_debug_deviceinfo      (2):   0x100d (Send object)
>> 0.037365 print_debug_deviceinfo      (2):   0x100f (Format storage)
>> 0.037371 print_debug_deviceinfo      (2):   0x1014 (Get device property description)
>> 0.037377 print_debug_deviceinfo      (2):   0x1015 (Get device property value)
>> 0.037383 print_debug_deviceinfo      (2):   0x1016 (Set device property value)
>> 0.037389 print_debug_deviceinfo      (2):   0x101b (Get partial object)
>> 0.037395 print_debug_deviceinfo      (2):   0x9801 (Get object properties supported)
>> 0.037401 print_debug_deviceinfo      (2):   0x9802 (Get object property description)
>> 0.037407 print_debug_deviceinfo      (2):   0x9803 (Get object property value)
>> 0.037413 print_debug_deviceinfo      (2):   0x9805 (Get object property list)
>> 0.037419 print_debug_deviceinfo      (2):   0x9001 (Unknown PTP_OC)
>> 0.037424 print_debug_deviceinfo      (2): Events Supported:
>> 0.037430 print_debug_deviceinfo      (2):   0x4003 (ObjectRemoved)
>> 0.037436 print_debug_deviceinfo      (2):   0x4004 (StoreAdded)
>> 0.037442 print_debug_deviceinfo      (2):   0x4005 (StoreRemoved)
>> 0.037448 print_debug_deviceinfo      (2):   0x4002 (ObjectAdded)
>> 0.037454 print_debug_deviceinfo      (2):   0xc101 (Unknown Event)
>> 0.037460 print_debug_deviceinfo      (2): Device Properties Supported:
>> 0.037466 print_debug_deviceinfo      (2):   0x5001 (Battery Level)
>> 0.037473 print_debug_deviceinfo      (2):   0x5011 (Date & Time)
>> 0.037480 print_debug_deviceinfo      (2):   0xd406 (Session Initiator Info)
>> 0.037487 print_debug_deviceinfo      (2):   0xd407 (Perceived Device Type)
>> 0.037494 print_debug_deviceinfo      (2):   0xd303 (Unknown DPC code)
>> 0.037500 ptp_usb_sendreq             (2): Sending PTP_OC 0x1004 (Get storage IDs) request...
>> 0.037507 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.037581 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 04 10-02 00 00 00              ............
>>
>> 0.037589 ptp_usb_getdata             (2): Reading PTP_OC 0x1004 (Get storage IDs) data...
>> 0.037595 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.037694 gp_port_read                (3): Read    24 = 0x18 out of 1024 bytes from port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 02 00 04 10-02 00 00 00 01 00 00 00  ................
>> 0010  01 00 01 00 a0 dc 0e 00-                         ........
>>
>> 0.037702 ptp_usb_getresp             (2): Reading PTP_OC 0x1004 (Get storage IDs) response...
>> 0.037708 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.037777 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-02 00 00 00              ....... ....
>>
>> 0.037785 ptp                         (2): (storage=0xffffffff, handle=0xffffffff)
>> 0.037791 ptp                         (2): Listing ...
>> 0.037798 ptp_usb_sendreq             (2): Sending PTP_OC 0x1007 (Get object handles) (0xffffffff,0x0,0xffffffff) request...
>> 0.037805 gp_port_write               (3): Writing 24 = 0x18 bytes to port...
>> 0.037881 gp_port_write               (3): Wrote   24 = 0x18 bytes to port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 01 00 07 10-03 00 00 00 ff ff ff ff  ................
>> 0010  00 00 00 00 ff ff ff ff-                         ........
>>
>> 0.037888 ptp_usb_getdata             (2): Reading PTP_OC 0x1007 (Get object handles) data...
>> 0.037894 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.038679 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 07 10-03 00 00 00 01 00 00 00  ................
>> 0010  00 40 00 04            -                         .@..
>>
>> 0.038725 ptp_usb_getresp             (2): Reading PTP_OC 0x1007 (Get object handles) response...
>> 0.038768 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.038847 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-03 00 00 00              ....... ....
>>
>> 0.038859 ptp                         (2): adding new objectid 0x04004000 (nrofobs=0,j=0)
>> 0.038866 ptp                         (2): (storage=0x00010001, handle=0xffffffff)
>> 0.038871 ptp                         (2): Listing ...
>> 0.038879 ptp_usb_sendreq             (2): Sending PTP_OC 0x1007 (Get object handles) (0x10001,0x0,0xffffffff) request...
>> 0.038885 gp_port_write               (3): Writing 24 = 0x18 bytes to port...
>> 0.038961 gp_port_write               (3): Wrote   24 = 0x18 bytes to port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 01 00 07 10-04 00 00 00 01 00 01 00  ................
>> 0010  00 00 00 00 ff ff ff ff-                         ........
>>
>> 0.038969 ptp_usb_getdata             (2): Reading PTP_OC 0x1007 (Get object handles) data...
>> 0.038975 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.041180 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 07 10-04 00 00 00 01 00 00 00  ................
>> 0010  00 40 00 04            -                         .@..
>>
>> 0.041205 ptp_usb_getresp             (2): Reading PTP_OC 0x1007 (Get object handles) response...
>> 0.041212 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.041323 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-04 00 00 00              ....... ....
>>
>> 0.041334 ptp                         (2): adding old objectid 0x04004000 (nrofobs=1,j=0)
>> 0.041361 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x3001) request...
>> 0.041368 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.041484 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-05 00 00 00 01 30 00 00  .............0..
>>
>> 0.041495 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.041502 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.042185 gp_port_read                (3): Read    36 = 0x24 out of 1024 bytes from port: (hexdump of 36 bytes)
>> 0000  24 00 00 00 02 00 01 98-05 00 00 00 0a 00 00 00  $...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  08 dc 09 dc            -                         ....
>>
>> 0.042197 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.042204 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.042311 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-05 00 00 00              ....... ....
>>
>> 0.042327 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x300a) request...
>> 0.042334 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.042443 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-06 00 00 00 0a 30 00 00  .............0..
>>
>> 0.042454 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.042462 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.042538 gp_port_read                (3): Read    54 = 0x36 out of 1024 bytes from port: (hexdump of 54 bytes)
>> 0000  36 00 00 00 02 00 01 98-06 00 00 00 13 00 00 00  6...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc 08 dc 09 dc-89 dc 93 de 94 de 97 de  ................
>> 0030  9a de 9b de 9c de      -                         ......
>>
>> 0.042547 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.042553 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.042630 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-06 00 00 00              ....... ....
>>
>> 0.042653 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x300d) request...
>> 0.042660 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.042730 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-07 00 00 00 0d 30 00 00  .............0..
>>
>> 0.042737 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.042743 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.042842 gp_port_read                (3): Read    54 = 0x36 out of 1024 bytes from port: (hexdump of 54 bytes)
>> 0000  36 00 00 00 02 00 01 98-07 00 00 00 13 00 00 00  6...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc 08 dc 09 dc-89 dc 93 de 94 de 97 de  ................
>> 0030  9a de 9b de 9c de      -                         ......
>>
>> 0.042849 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.042855 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.042928 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-07 00 00 00              ....... ....
>>
>> 0.042943 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x380d) request...
>> 0.042950 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.043044 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-08 00 00 00 0d 38 00 00  .............8..
>>
>> 0.043066 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.043072 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.043146 gp_port_read                (3): Read    52 = 0x34 out of 1024 bytes from port: (hexdump of 52 bytes)
>> 0000  34 00 00 00 02 00 01 98-08 00 00 00 12 00 00 00  4...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc d3 dc 08 dc-09 dc 81 dc 82 dc 83 dc  ................
>> 0030  84 dc 86 dc            -                         ....
>>
>> 0.043153 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.043159 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.043193 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              ....... ....
>>
>> 0.043207 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x3801) request...
>> 0.043214 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.043252 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-09 00 00 00 01 38 00 00  .............8..
>>
>> 0.043259 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.043265 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.043393 gp_port_read                (3): Read    52 = 0x34 out of 1024 bytes from port: (hexdump of 52 bytes)
>> 0000  34 00 00 00 02 00 01 98-09 00 00 00 12 00 00 00  4...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc d3 dc 08 dc-09 dc 81 dc 82 dc 83 dc  ................
>> 0030  84 dc 86 dc            -                         ....
>>
>> 0.043400 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.043407 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.043492 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              ....... ....
>>
>> 0.043506 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x3800) request...
>> 0.043518 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.043565 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-0a 00 00 00 00 38 00 00  .............8..
>>
>> 0.043572 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.043578 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.043660 gp_port_read                (3): Read    52 = 0x34 out of 1024 bytes from port: (hexdump of 52 bytes)
>> 0000  34 00 00 00 02 00 01 98-0a 00 00 00 12 00 00 00  4...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc d3 dc 08 dc-09 dc 81 dc 82 dc 83 dc  ................
>> 0030  84 dc 86 dc            -                         ....
>>
>> 0.043667 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.043674 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.043719 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              ....... ....
>>
>> 0.043733 ptp_usb_sendreq             (2): Sending PTP_OC 0x9801 (Get object properties supported) (0x3000) request...
>> 0.043740 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.043775 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 01 98-0b 00 00 00 00 30 00 00  .............0..
>>
>> 0.043782 ptp_usb_getdata             (2): Reading PTP_OC 0x9801 (Get object properties supported) data...
>> 0.043789 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.043889 gp_port_read                (3): Read    52 = 0x34 out of 1024 bytes from port: (hexdump of 52 bytes)
>> 0000  34 00 00 00 02 00 01 98-0b 00 00 00 12 00 00 00  4...............
>> 0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
>> 0020  87 dc 88 dc d3 dc 08 dc-09 dc 81 dc 82 dc 83 dc  ................
>> 0030  84 dc 86 dc            -                         ....
>>
>> 0.043896 ptp_usb_getresp             (2): Reading PTP_OC 0x9801 (Get object properties supported) response...
>> 0.043903 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.043934 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-0b 00 00 00              ....... ....
>>
>> 0.043950 ptp_usb_sendreq             (2): Sending PTP_OC 0x1005 (Get storage info) (0x10001) request...
>> 0.043978 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.044047 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 05 10-0c 00 00 00 01 00 01 00  ................
>>
>> 0.044054 ptp_usb_getdata             (2): Reading PTP_OC 0x1005 (Get storage info) data...
>> 0.044061 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.044467 gp_port_read                (3): Read    40 = 0x28 out of 1024 bytes from port: (hexdump of 40 bytes)
>> 0000  28 00 00 00 02 00 05 10-0c 00 00 00 04 00 03 00  (...............
>> 0010  00 00 00 00 a0 dc 0e 00-00 00 00 00 60 82 0e 00  ............`...
>> 0020  00 00 df 0f 00 00 00 00-                         ........
>>
>> 0.044474 ptp_usb_getresp             (2): Reading PTP_OC 0x1005 (Get storage info) response...
>> 0.044480 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.044550 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-0c 00 00 00              ....... ....
>>
>> 0.044563 ptp_usb_sendreq             (2): Sending PTP_OC 0x1001 (Get device info) request...
>> 0.044569 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.044645 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 01 10-0d 00 00 00              ............
>>
>> 0.044656 ptp_usb_getdata             (2): Reading PTP_OC 0x1001 (Get device info) data...
>> 0.044662 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.044861 gp_port_read                (3): Read    301 = 0x12d out of 1024 bytes from port: (hexdump of 301 bytes)
>> 0000  2d 01 00 00 02 00 01 10-0d 00 00 00 64 00 06 00  -...........d...
>> 0010  00 00 64 00 24 00 6d 00-69 00 63 00 72 00 6f 00  ..d.$.m.i.c.r.o.
>> 0020  73 00 6f 00 66 00 74 00-2e 00 63 00 6f 00 6d 00  s.o.f.t...c.o.m.
>> 0030  2f 00 44 00 65 00 76 00-69 00 63 00 65 00 53 00  /.D.e.v.i.c.e.S.
>> 0040  65 00 72 00 76 00 69 00-63 00 65 00 73 00 3a 00  e.r.v.i.c.e.s.:.
>> 0050  20 00 31 00 2e 00 30 00-3b 00 20 00 7c 00 00 17   .1...0.;. .|...
>> 0060  00 00 00 01 10 02 10 03-10 04 10 05 10 06 10 07  ................
>> 0070  10 08 10 09 10 0a 10 0b-10 0c 10 0d 10 0f 10 14  ................
>> 0080  10 15 10 16 10 1b 10 01-98 02 98 03 98 05 98 01  ................
>> 0090  90 05 00 00 00 03 40 04-40 05 40 02 40 01 c1 05  ......@.@.@.@...
>> 00a0  00 00 00 01 50 11 50 06-d4 07 d4 03 d3 00 00 00  ....P.P.........
>> 00b0  00 07 00 00 00 01 30 0a-30 0d 30 0d 38 01 38 00  ......0.0.0.8.8.
>> 00c0  38 00 30 1c 52 00 49 00-43 00 4f 00 48 00 20 00  8.0.R.I.C.O.H. .
>> 00d0  49 00 4d 00 41 00 47 00-49 00 4e 00 47 00 20 00  I.M.A.G.I.N.G. .
>> 00e0  43 00 4f 00 4d 00 50 00-41 00 4e 00 59 00 2c 00  C.O.M.P.A.N.Y.,.
>> 00f0  20 00 4c 00 54 00 44 00-2e 00 00 00 0a 50 00 45   .L.T.D......P.E
>> 0100  00 4e 00 54 00 41 00 58-00 20 00 4b 00 50 00 00  .N.T.A.X. .K.P..
>> 0110  00 05 31 00 2e 00 30 00-30 00 00 00 08 37 00 33  ..1...0.0....7.3
>> 0120  00 39 00 32 00 39 00 35-00 34 00 00 00           .9.2.9.5.4...
>>
>> 0.044869 ptp_usb_getresp             (2): Reading PTP_OC 0x1001 (Get device info) response...
>> 0.044875 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.044907 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-0d 00 00 00              ....... ....
>>
>> 0.044921 ptp_usb_sendreq             (2): Sending PTP_OC 0x1014 (Get device property description) (0x5001) request...
>> 0.044928 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.044968 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 14 10-0e 00 00 00 01 50 00 00  .............P..
>>
>> 0.044998 ptp_usb_getdata             (2): Reading PTP_OC 0x1014 (Get device property description) data...
>> 0.045018 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.046789 gp_port_read                (3): Read    23 = 0x17 out of 1024 bytes from port: (hexdump of 23 bytes)
>> 0000  17 00 00 00 02 00 14 10-0e 00 00 00 01 50 02 00  .............P..
>> 0010  00 64 21 01 00 64 01   -                         .d!..d.
>>
>> 0.046801 ptp_usb_getresp             (2): Reading PTP_OC 0x1014 (Get device property description) response...
>> 0.046808 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.046846 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-0e 00 00 00              ....... ....
>>
>> 0.046864 ptp_usb_sendreq             (2): Sending PTP_OC 0x1014 (Get device property description) (0x5011) request...
>> 0.046872 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.046908 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 14 10-0f 00 00 00 11 50 00 00  .............P..
>>
>> 0.046915 ptp_usb_getdata             (2): Reading PTP_OC 0x1014 (Get device property description) data...
>> 0.046921 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.047138 gp_port_read                (3): Read    84 = 0x54 out of 1024 bytes from port: (hexdump of 84 bytes)
>> 0000  54 00 00 00 02 00 14 10-0f 00 00 00 11 50 ff ff  T............P..
>> 0010  00 10 32 00 30 00 31 00-37 00 30 00 31 00 30 00  ..2.0.1.7.0.1.0.
>> 0020  31 00 54 00 30 00 30 00-30 00 30 00 30 00 30 00  1.T.0.0.0.0.0.0.
>> 0030  00 00 10 32 00 30 00 32-00 32 00 30 00 38 00 32  ...2.0.2.2.0.8.2
>> 0040  00 30 00 54 00 32 00 30-00 35 00 37 00 31 00 33  .0.T.2.0.5.7.1.3
>> 0050  00 00 00 00            -                         ....
>>
>> 0.047154 ptp_usb_getresp             (2): Reading PTP_OC 0x1014 (Get device property description) response...
>> 0.047161 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.047241 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-0f 00 00 00              ....... ....
>>
>> 0.047258 ptp_usb_sendreq             (2): Sending PTP_OC 0x1014 (Get device property description) (0xd406) request...
>> 0.047266 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.047375 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 14 10-10 00 00 00 06 d4 00 00  ................
>>
>> 0.047386 ptp_usb_getdata             (2): Reading PTP_OC 0x1014 (Get device property description) data...
>> 0.047393 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.047504 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 14 10-10 00 00 00 06 d4 ff ff  ................
>> 0010  01 00 00 00            -                         ....
>>
>> 0.047516 ptp_usb_getresp             (2): Reading PTP_OC 0x1014 (Get device property description) response...
>> 0.047523 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.047596 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-10 00 00 00              ....... ....
>>
>> 0.047610 ptp_usb_sendreq             (2): Sending PTP_OC 0x1014 (Get device property description) (0xd407) request...
>> 0.047618 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.047689 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 14 10-11 00 00 00 07 d4 00 00  ................
>>
>> 0.047696 ptp_usb_getdata             (2): Reading PTP_OC 0x1014 (Get device property description) data...
>> 0.047703 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.047759 gp_port_read                (3): Read    26 = 0x1a out of 1024 bytes from port: (hexdump of 26 bytes)
>> 0000  1a 00 00 00 02 00 14 10-11 00 00 00 07 d4 06 00  ................
>> 0010  00 00 00 00 00 01 00 00-00 00                    ..........
>>
>> 0.047766 ptp_usb_getresp             (2): Reading PTP_OC 0x1014 (Get device property description) response...
>> 0.047773 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.047803 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-11 00 00 00              ....... ....
>>
>> 0.047815 ptp_usb_sendreq             (2): Sending PTP_OC 0x1014 (Get device property description) (0xd303) request...
>> 0.047823 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.047858 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
>> 0000  10 00 00 00 01 00 14 10-12 00 00 00 03 d3 00 00  ................
>>
>> 0.047866 ptp_usb_getdata             (2): Reading PTP_OC 0x1014 (Get device property description) data...
>> 0.047872 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.047948 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 14 10-12 00 00 00 03 d3 02 00  ................
>> 0010  00 00 01 00            -                         ....
>>
>> 0.047956 ptp_usb_getresp             (2): Reading PTP_OC 0x1014 (Get device property description) response...
>> 0.047967 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.048036 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-12 00 00 00              ....... ....
>>
>> 0.048503 gp_camera_free              (2): Freeing camera...
>> 0.048510 gp_camera_exit              (2): Exiting camera ('USB PTP Class Camera')...
>> 0.048515 ptp_usb_sendreq             (2): Sending PTP_OC 0x1003 (Close session) request...
>> 0.048519 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.048552 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 03 10-13 00 00 00              ............
>>
>> 0.048558 ptp_usb_getresp             (2): Reading PTP_OC 0x1003 (Close session) response...
>> 0.048562 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.048636 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-13 00 00 00              ....... ....
>>
>> 0.048644 gp_port_close               (2): Closing port...
>> 0.049754 _close_async_interrupts     (2): canceling transfer 0:0x5602164dc1b0 (status 0)
>> 0.049843 _close_async_interrupts     (2): canceling transfer 1:0x5602164f3880 (status 0)
>> 0.049921 _close_async_interrupts     (2): canceling transfer 2:0x5602164e24b0 (status 0)
>> 0.050057 _close_async_interrupts     (2): canceling transfer 3:0x56021651c970 (status 0)
>> 0.050132 _close_async_interrupts     (2): canceling transfer 4:0x5602164dfdb0 (status 0)
>> 0.050210 _close_async_interrupts     (2): canceling transfer 5:0x5602165307c0 (status 0)
>> 0.050290 _close_async_interrupts     (2): canceling transfer 6:0x5602164e1930 (status 0)
>> 0.050370 _close_async_interrupts     (2): canceling transfer 7:0x56021652ebf0 (status 0)
>> 0.050450 _close_async_interrupts     (2): canceling transfer 8:0x56021651cd20 (status 0)
>> 0.050530 _close_async_interrupts     (2): canceling transfer 9:0x5602164f4940 (status 0)
>> 0.050614 _cb_irq                     (2): 0x5602164dc1b0 with status 3
>> 0.050619 _cb_irq                     (2): Transfer 0x5602164dc1b0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.050624 _cb_irq                     (2): 0x5602164f3880 with status 3
>> 0.050628 _cb_irq                     (2): Transfer 0x5602164f3880 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.050632 _cb_irq                     (2): 0x5602164e24b0 with status 3
>> 0.050635 _cb_irq                     (2): Transfer 0x5602164e24b0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.050640 _cb_irq                     (2): 0x56021651c970 with status 3
>> 0.050643 _cb_irq                     (2): Transfer 0x56021651c970 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.050648 _cb_irq                     (2): 0x5602164dfdb0 with status 3
>> 0.050651 _cb_irq                     (2): Transfer 0x5602164dfdb0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.050655 _cb_irq                     (2): 0x5602165307c0 with status 3
>> 0.050659 _cb_irq                     (2): Transfer 0x5602165307c0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.050663 _cb_irq                     (2): 0x5602164e1930 with status 3
>> 0.050666 _cb_irq                     (2): Transfer 0x5602164e1930 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.050671 _cb_irq                     (2): 0x56021652ebf0 with status 3
>> 0.050674 _cb_irq                     (2): Transfer 0x56021652ebf0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.050678 _cb_irq                     (2): 0x56021651cd20 with status 3
>> 0.050682 _cb_irq                     (2): Transfer 0x56021651cd20 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.050686 _cb_irq                     (2): 0x5602164f4940 with status 3
>> 0.050690 _cb_irq                     (2): Transfer 0x5602164f4940 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.050808 gp_filesystem_reset         (2): resetting filesystem
>> 0.050814 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
>> 0.050817 gp_filesystem_lru_clear     (2): fscache LRU list already empty
>> 0.050821 delete_all_folders          (2): Internally deleting all folders from '/'...
>> 0.050824 lookup_folder               (2): Lookup folder '/'...
>> 0.050832 lookup_folder               (2): Found! / is 0x5602164d56b0
>> 0.050836 recurse_delete_folder       (2): Recurse delete folder 0x5602164d56b0//
>> 0.050839 delete_all_files            (2): Delete all files in folder 0x5602164d56b0//
>> 0.050843 gp_port_free                (2): Freeing port...
>> 0.050847 gp_port_close               (2): Closing port...
>> 0.050960 gp_filesystem_reset         (2): resetting filesystem
>> 0.050990 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
>> 0.051008 gp_filesystem_lru_clear     (2): fscache LRU list already empty
>> 0.051011 delete_all_folders          (2): Internally deleting all folders from '/'...
>> 0.051014 lookup_folder               (2): Lookup folder '/'...
>> 0.051031 lookup_folder               (2): Found! / is 0x5602164d56b0
>> 0.051034 recurse_delete_folder       (2): Recurse delete folder 0x5602164d56b0//
>> 0.051037 delete_all_files            (2): Delete all files in folder 0x5602164d56b0//
>> 0.000017 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
>> 0.000109 main                        (2): gphoto2 2.5.28
>> 0.000144 main                        (2): gphoto2 has been compiled with the following options:
>> 0.000166 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000190 main                        (2):  + popt (mandatory, for handling command-line parameters)
>> 0.000209 main                        (2):  + exif (for displaying EXIF information)
>> 0.000232 main                        (2):  + no cdk (for accessing configuration options)
>> 0.000256 main                        (2):  + no aa (for displaying live previews)
>> 0.000278 main                        (2):  + no jpeg (for displaying live previews in JPEG format)
>> 0.000302 main                        (2):  + readline (for easy navigation in the shell)
>> 0.000357 main                        (2): libgphoto2 2.5.30.1
>> 0.000385 main                        (2): libgphoto2 has been compiled with the following options:
>> 0.000420 main                        (2):  + standard camlib set SKIPPING SOME (ax203 canon digigr8 dimagev directory docupen jl2005a jl2005c kodak_dc240 mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801 SKIPPING lumix)
>> 0.000453 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000476 main                        (2):  + no ltdl (for portable loading of camlibs)
>> 0.000503 main                        (2):  + EXIF (for special handling of EXIF files)
>> 0.000541 main                        (2): libgphoto2_port 0.12.1
>> 0.000577 main                        (2): libgphoto2_port has been compiled with the following options:
>> 0.000606 main                        (2):  + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
>> 0.000629 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000655 main                        (2):  + no ltdl (for portable loading of iolibs)
>> 0.000681 main                        (2):  + EXIF (for vusb)
>> 0.000704 main                        (2):  + USB (libusb1, for USB cameras)
>> 0.000729 main                        (2):  + serial (for serial cameras)
>> 0.000757 main                        (2):  + no resmgr (serial port access and locking)
>> 0.000784 main                        (2):  + no ttylock (serial port locking)
>> 0.000806 main                        (2):  + no lockdev (serial port locking)
>> 0.000834 main                        (2): CAMLIBS env var not set, using compile-time default instead
>> 0.000860 main                        (2): IOLIBS env var not set, using compile-time default instead
>> 0.000886 main                        (2): invoked with following arguments:
>> 0.000911 main                        (2):   --debug
>> 0.000954 main                        (2):   --debug-logfile=my-logfile.txt
>> 0.000985 main                        (2):   --capture-image
>> 0.001083 load_settings               (2): Creating gphoto config directory ('/home/fabio/.gphoto')
>> 0.001229 load_settings               (2): Loading settings from file '/home/fabio/.gphoto/settings'.
>> 0.001374 main                        (2): The user has not specified both a model and a port. Try to figure them out.
>> 0.001436 gp_port_init_localedir      (2): localedir has been set to /usr/share/locale (compile-time default)
>> 0.001468 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib64/libgphoto2_port/0.12.1'...
>> 0.001625 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/disk'.
>> 0.002038 gp_port_library_list        (2): found fstab fsname none
>> 0.002085 gp_port_library_list        (2): found fstab fsname none
>> 0.002156 gp_port_library_list        (2): found fstab fsname UUID=37565307-e63d-44bd-9dc0-8630d0eaf596
>> 0.002215 gp_port_library_list        (2): found fstab fsname UUID=8b2c9e33-66c2-4e67-bc57-cf7da5be2965
>> 0.002438 gp_port_library_list        (2): found mtab fsname proc
>> 0.002480 gp_port_library_list        (2): found mtab fsname sysfs
>> 0.002513 gp_port_library_list        (2): found mtab fsname devtmpfs
>> 0.002542 gp_port_library_list        (2): found mtab fsname securityfs
>> 0.002573 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.002639 gp_port_library_list        (2): found mtab fsname devpts
>> 0.002679 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.002745 gp_port_library_list        (2): found mtab fsname cgroup2
>> 0.002783 gp_port_library_list        (2): found mtab fsname efivarfs
>> 0.002849 gp_port_library_list        (2): found mtab fsname bpf
>> 0.002909 gp_port_library_list        (2): found mtab fsname /dev/mapper/SolusSystem-Root
>> 0.002982 gp_port_library_list        (2): found mtab fsname systemd-1
>> 0.003032 gp_port_library_list        (2): found mtab fsname mqueue
>> 0.003064 gp_port_library_list        (2): found mtab fsname debugfs
>> 0.003196 gp_port_library_list        (2): found mtab fsname hugetlbfs
>> 0.003261 gp_port_library_list        (2): found mtab fsname tracefs
>> 0.003320 gp_port_library_list        (2): found mtab fsname fusectl
>> 0.003357 gp_port_library_list        (2): found mtab fsname configfs
>> 0.003429 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.003496 gp_port_library_list        (2): found mtab fsname /dev/loop0
>> 0.004314 gp_port_library_list        (2): found mtab fsname /dev/loop2
>> 0.004374 gp_port_library_list        (2): found mtab fsname /dev/loop3
>> 0.004421 gp_port_library_list        (2): found mtab fsname /dev/loop4
>> 0.004472 gp_port_library_list        (2): found mtab fsname /dev/loop1
>> 0.004521 gp_port_library_list        (2): found mtab fsname /dev/loop5
>> 0.004570 gp_port_library_list        (2): found mtab fsname /dev/loop6
>> 0.004621 gp_port_library_list        (2): found mtab fsname /dev/loop7
>> 0.004677 gp_port_library_list        (2): found mtab fsname /dev/loop8
>> 0.004805 gp_port_library_list        (2): found mtab fsname /dev/loop9
>> 0.004855 gp_port_library_list        (2): found mtab fsname /dev/loop10
>> 0.004902 gp_port_library_list        (2): found mtab fsname /dev/loop11
>> 0.004975 gp_port_library_list        (2): found mtab fsname /dev/loop12
>> 0.005036 gp_port_library_list        (2): found mtab fsname /dev/loop13
>> 0.005089 gp_port_library_list        (2): found mtab fsname /dev/loop14
>> 0.005142 gp_port_library_list        (2): found mtab fsname /dev/loop15
>> 0.005191 gp_port_library_list        (2): found mtab fsname binfmt_misc
>> 0.005274 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.005343 gp_port_library_list        (2): found mtab fsname gvfsd-fuse
>> 0.005381 gp_port_library_list        (2): found mtab fsname portal
>> 0.005424 gp_port_library_list        (2): found mtab fsname /dev/sda1
>> 0.006089 foreach_func                (2): Loaded '' ('^disk:') from '/usr/lib64/libgphoto2_port/0.12.1/disk'.
>> 0.006144 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.006498 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.006541 foreach_func                (2): Loaded '' ('^ptpip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.006569 foreach_func                (2): Loaded 'IP Connection' ('ip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.006637 foreach_func                (2): Loaded '' ('^ip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.006667 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.007297 foreach_func                (2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.007357 foreach_func                (2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.007390 foreach_func                (2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.007415 foreach_func                (2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.007438 foreach_func                (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.007460 foreach_func                (2): Loaded '' ('^serial:') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.007481 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.025745 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.025784 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,003') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.025797 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,004') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.025808 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,014') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.025818 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usbdiskdirect'.
>> 0.026217 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usbscsi'.
>> 0.026442 gp_port_info_list_count     (2): Counting entries (15 available)...
>> 0.026463 gp_port_info_list_count     (2): 10 regular entries available.
>> 0.026477 gp_port_init_localedir      (2): ignoring late call (localedir value NULL)
>> 0.026489 gp_init_localedir           (2): localedir has been set to /usr/share/locale (compile-time default)
>> 0.026508 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/lib64/libgphoto2/2.5.30.1'...
>> 0.026599 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/ax203'.
>> 0.026616 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/canon'.
>> 0.026627 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/digigr8'.
>> 0.026637 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/dimagev'.
>> 0.026646 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/directory'.
>> 0.026656 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/docupen'.
>> 0.026666 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/jl2005a'.
>> 0.026676 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/jl2005c'.
>> 0.026686 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/kodak_dc240'.
>> 0.026696 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/mars'.
>> 0.026706 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/pentax'.
>> 0.026716 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/ptp2'.
>> 0.026725 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/ricoh_g3'.
>> 0.026735 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/sierra'.
>> 0.026745 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/sonix'.
>> 0.026755 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/sq905'.
>> 0.026765 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/st2205'.
>> 0.026774 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/topfield'.
>> 0.026784 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/tp6801'.
>> 0.026796 gp_abilities_list_load_dir  (2): Found 19 camera drivers.
>> 0.055173 gp_port_info_list_count     (2): Counting entries (15 available)...
>> 0.055192 gp_port_info_list_count     (2): 10 regular entries available.
>> 0.055197 gp_port_new                 (2): Creating new device...
>> 0.055202 gp_port_info_list_get_info  (2): Getting info of entry 0 (15 available)...
>> 0.055288 gp_port_set_settings        (2): Setting settings...
>> 0.055296 gp_port_info_list_get_info  (2): Getting info of entry 1 (15 available)...
>> 0.055356 gp_port_set_settings        (2): Setting settings...
>> 0.055363 gp_port_info_list_get_info  (2): Getting info of entry 2 (15 available)...
>> 0.055427 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.055434 gp_port_set_settings        (2): Setting settings...
>> 0.055438 gp_port_info_list_get_info  (2): Getting info of entry 3 (15 available)...
>> 0.055496 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.055502 gp_port_set_settings        (2): Setting settings...
>> 0.055506 gp_port_info_list_get_info  (2): Getting info of entry 4 (15 available)...
>> 0.055561 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.055568 gp_port_set_settings        (2): Setting settings...
>> 0.055571 gp_port_info_list_get_info  (2): Getting info of entry 5 (15 available)...
>> 0.055624 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.055631 gp_port_set_settings        (2): Setting settings...
>> 0.055635 gp_port_info_list_get_info  (2): Getting info of entry 6 (15 available)...
>> 0.055687 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.055694 gp_port_set_settings        (2): Setting settings...
>> 0.055697 gp_port_info_list_get_info  (2): Getting info of entry 7 (15 available)...
>> 0.059228 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.059238 gp_port_set_settings        (2): Setting settings...
>> 0.059244 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,003, (new int=0, conf=-1, alt=-1) port usb:001,003
>> 0.059248 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.059251 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.059505 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.059690 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.059709 gp_port_info_list_get_info  (2): Getting info of entry 8 (15 available)...
>> 0.063226 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.063238 gp_port_set_settings        (2): Setting settings...
>> 0.063243 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,004, (new int=0, conf=-1, alt=-1) port usb:001,004
>> 0.063246 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.063250 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.063475 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.063640 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.063656 gp_port_info_list_get_info  (2): Getting info of entry 9 (15 available)...
>> 0.066978 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.066987 gp_port_set_settings        (2): Setting settings...
>> 0.066993 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,014, (new int=0, conf=-1, alt=-1) port usb:001,014
>> 0.066996 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.067000 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.067198 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.067249 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x25fb, product 0x17f)... found.
>> 0.067272 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
>> 0.067283 gp_abilities_list_detect_usb(2): Found 'Pentax KP (PTP Mode)' (0x25fb,0x17f)
>> 0.067299 gp_port_free                (2): Freeing port...
>> 0.067302 gp_port_close               (2): Closing port...
>> 0.067466 gp_camera_set_abilities     (2): Setting abilities ('Pentax KP (PTP Mode)')...
>> 0.067476 gp_setting_set              (2): Setting key 'model' to value 'Pentax KP (PTP Mode)' (gphoto2)
>> 0.067481 save_settings               (2): Saving 2 setting(s) to file "/home/fabio/.gphoto/settings"
>> 0.067542 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,014' (15 entries available)...
>> 0.067548 gp_port_info_list_get_info  (2): Getting info of entry 9 (15 available)...
>> 0.067551 gp_camera_set_port_info     (2): Setting port info for port 'Universal Serial Bus' at 'usb:001,014'...
>> 0.070628 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.070637 gp_port_set_settings        (2): Setting settings...
>> 0.070642 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,014, (new int=0, conf=-1, alt=-1) port usb:001,014
>> 0.070645 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.070648 gp_setting_set              (2): Setting key 'port' to value 'usb:001,014' (gphoto2)
>> 0.070652 save_settings               (2): Saving 2 setting(s) to file "/home/fabio/.gphoto/settings"
>> 0.072486 gp_camera_init              (2): Initializing camera...
>> 0.072497 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x25fb, product 0x17f)... found.
>> 0.072522 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
>> 0.072526 gp_camera_init              (2): Loading '/usr/lib64/libgphoto2/2.5.30.1/ptp2'...
>> 0.073009 gp_port_open                (2): Opening USB port...
>> 0.073030 gp_libusb1_open             (2): ()
>> 0.073045 gp_libusb1_open             (2): claiming interface 0
>> 0.073120 camera_init                 (2): maxpacketsize 512
>> 0.073128 gp_port_set_timeout         (2): Setting port timeout to 8000 milliseconds.
>> 0.073134 ptp                         (2): PTP: Opening session
>> 0.073142 ptp_usb_sendreq             (2): Sending PTP_OC 0x1002 (Open session) (0x1) request...
>> 0.073146 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.073217 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.073222 ptp_usb_getresp             (2): Reading PTP_OC 0x1002 (Open session) response...
>> 0.073226 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.073371 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-00 00 00 00              ....... ....
>>
>> 0.073376 gp_port_set_timeout         (2): Setting port timeout to 20000 milliseconds.
>> 0.073380 ptp_usb_sendreq             (2): Sending PTP_OC 0x1001 (Get device info) request...
>> 0.073384 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.073493 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 01 10-01 00 00 00              ............
>>
>> 0.073503 ptp_usb_getdata             (2): Reading PTP_OC 0x1001 (Get device info) data...
>> 0.073507 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.073720 gp_port_read                (3): Read    301 = 0x12d out of 1024 bytes from port: (hexdump of 301 bytes)
>> 0000  2d 01 00 00 02 00 01 10-01 00 00 00 64 00 06 00  -...........d...
>> 0010  00 00 64 00 24 00 6d 00-69 00 63 00 72 00 6f 00  ..d.$.m.i.c.r.o.
>> 0020  73 00 6f 00 66 00 74 00-2e 00 63 00 6f 00 6d 00  s.o.f.t...c.o.m.
>> 0030  2f 00 44 00 65 00 76 00-69 00 63 00 65 00 53 00  /.D.e.v.i.c.e.S.
>> 0040  65 00 72 00 76 00 69 00-63 00 65 00 73 00 3a 00  e.r.v.i.c.e.s.:.
>> 0050  20 00 31 00 2e 00 30 00-3b 00 20 00 2c 00 00 17   .1...0.;. .,...
>> 0060  00 00 00 01 10 02 10 03-10 04 10 05 10 06 10 07  ................
>> 0070  10 08 10 09 10 0a 10 0b-10 0c 10 0d 10 0f 10 14  ................
>> 0080  10 15 10 16 10 1b 10 01-98 02 98 03 98 05 98 01  ................
>> 0090  90 05 00 00 00 03 40 04-40 05 40 02 40 01 c1 05  ......@.@.@.@...
>> 00a0  00 00 00 01 50 11 50 06-d4 07 d4 03 d3 00 00 00  ....P.P.........
>> 00b0  00 07 00 00 00 01 30 0a-30 0d 30 0d 38 01 38 00  ......0.0.0.8.8.
>> 00c0  38 00 30 1c 52 00 49 00-43 00 4f 00 48 00 20 00  8.0.R.I.C.O.H. .
>> 00d0  49 00 4d 00 41 00 47 00-49 00 4e 00 47 00 20 00  I.M.A.G.I.N.G. .
>> 00e0  43 00 4f 00 4d 00 50 00-41 00 4e 00 59 00 2c 00  C.O.M.P.A.N.Y.,.
>> 00f0  20 00 4c 00 54 00 44 00-2e 00 00 00 0a 50 00 45   .L.T.D......P.E
>> 0100  00 4e 00 54 00 41 00 58-00 20 00 4b 00 50 00 00  .N.T.A.X. .K.P..
>> 0110  00 05 31 00 2e 00 30 00-30 00 00 00 08 37 00 33  ..1...0.0....7.3
>> 0120  00 39 00 32 00 39 00 35-00 34 00 00 00           .9.2.9.5.4...
>>
>> 0.073735 ptp_usb_getresp             (2): Reading PTP_OC 0x1001 (Get device info) response...
>> 0.073739 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.073809 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-01 00 00 00              ....... ....
>>
>> 0.073817 print_debug_deviceinfo      (2): Device info:
>> 0.073820 print_debug_deviceinfo      (2): Manufacturer: RICOH IMAGING COMPANY, LTD.
>> 0.073823 print_debug_deviceinfo      (2):   Model: PENTAX KP
>> 0.073826 print_debug_deviceinfo      (2):   device version: 1.00
>> 0.073829 print_debug_deviceinfo      (2):   serial number: '7392954'
>> 0.073832 print_debug_deviceinfo      (2): Vendor extension ID: 0x00000006
>> 0.073835 print_debug_deviceinfo      (2): Vendor extension version: 100
>> 0.073842 print_debug_deviceinfo      (2): Vendor extension description: ????????????????????????????????????
>> 0.073845 print_debug_deviceinfo      (2): Functional Mode: 0x0000
>> 0.073848 print_debug_deviceinfo      (2): PTP Standard Version: 100
>> 0.073851 print_debug_deviceinfo      (2): Supported operations:
>> 0.073855 print_debug_deviceinfo      (2):   0x1001 (Get device info)
>> 0.073858 print_debug_deviceinfo      (2):   0x1002 (Open session)
>> 0.073861 print_debug_deviceinfo      (2):   0x1003 (Close session)
>> 0.073864 print_debug_deviceinfo      (2):   0x1004 (Get storage IDs)
>> 0.073868 print_debug_deviceinfo      (2):   0x1005 (Get storage info)
>> 0.073872 print_debug_deviceinfo      (2):   0x1006 (Get number of objects)
>> 0.073875 print_debug_deviceinfo      (2):   0x1007 (Get object handles)
>> 0.073878 print_debug_deviceinfo      (2):   0x1008 (Get object info)
>> 0.073881 print_debug_deviceinfo      (2):   0x1009 (Get object)
>> 0.073885 print_debug_deviceinfo      (2):   0x100a (Get thumbnail)
>> 0.073907 print_debug_deviceinfo      (2):   0x100b (Delete object)
>> 0.073911 print_debug_deviceinfo      (2):   0x100c (Send object info)
>> 0.073914 print_debug_deviceinfo      (2):   0x100d (Send object)
>> 0.073918 print_debug_deviceinfo      (2):   0x100f (Format storage)
>> 0.073922 print_debug_deviceinfo      (2):   0x1014 (Get device property description)
>> 0.073950 print_debug_deviceinfo      (2):   0x1015 (Get device property value)
>> 0.073954 print_debug_deviceinfo      (2):   0x1016 (Set device property value)
>> 0.073958 print_debug_deviceinfo      (2):   0x101b (Get partial object)
>> 0.073961 print_debug_deviceinfo      (2):   0x9801 (Get object properties supported)
>> 0.073964 print_debug_deviceinfo      (2):   0x9802 (Get object property description)
>> 0.073981 print_debug_deviceinfo      (2):   0x9803 (Get object property value)
>> 0.073984 print_debug_deviceinfo      (2):   0x9805 (Get object property list)
>> 0.073987 print_debug_deviceinfo      (2):   0x9001 (Unknown PTP_OC)
>> 0.074006 print_debug_deviceinfo      (2): Events Supported:
>> 0.074009 print_debug_deviceinfo      (2):   0x4003 (ObjectRemoved)
>> 0.074012 print_debug_deviceinfo      (2):   0x4004 (StoreAdded)
>> 0.074015 print_debug_deviceinfo      (2):   0x4005 (StoreRemoved)
>> 0.074019 print_debug_deviceinfo      (2):   0x4002 (ObjectAdded)
>> 0.074022 print_debug_deviceinfo      (2):   0xc101 (Unknown Event)
>> 0.074030 print_debug_deviceinfo      (2): Device Properties Supported:
>> 0.074037 print_debug_deviceinfo      (2):   0x5001 (Battery Level)
>> 0.074041 print_debug_deviceinfo      (2):   0x5011 (Date & Time)
>> 0.074044 print_debug_deviceinfo      (2):   0xd406 (Session Initiator Info)
>> 0.074048 print_debug_deviceinfo      (2):   0xd407 (Perceived Device Type)
>> 0.074052 print_debug_deviceinfo      (2):   0xd303 (Unknown DPC code)
>> 0.074055 print_debug_deviceinfo      (2): Device info:
>> 0.074059 print_debug_deviceinfo      (2): Manufacturer: RICOH IMAGING COMPANY, LTD.
>> 0.074062 print_debug_deviceinfo      (2):   Model: PENTAX KP
>> 0.074065 print_debug_deviceinfo      (2):   device version: 1.00
>> 0.074067 print_debug_deviceinfo      (2):   serial number: '7392954'
>> 0.074070 print_debug_deviceinfo      (2): Vendor extension ID: 0x00000006
>> 0.074073 print_debug_deviceinfo      (2): Vendor extension version: 100
>> 0.074076 print_debug_deviceinfo      (2): Vendor extension description: ????????????????????????????????????
>> 0.074079 print_debug_deviceinfo      (2): Functional Mode: 0x0000
>> 0.074101 print_debug_deviceinfo      (2): PTP Standard Version: 100
>> 0.074105 print_debug_deviceinfo      (2): Supported operations:
>> 0.074108 print_debug_deviceinfo      (2):   0x1001 (Get device info)
>> 0.074112 print_debug_deviceinfo      (2):   0x1002 (Open session)
>> 0.074115 print_debug_deviceinfo      (2):   0x1003 (Close session)
>> 0.074118 print_debug_deviceinfo      (2):   0x1004 (Get storage IDs)
>> 0.074121 print_debug_deviceinfo      (2):   0x1005 (Get storage info)
>> 0.074125 print_debug_deviceinfo      (2):   0x1006 (Get number of objects)
>> 0.074128 print_debug_deviceinfo      (2):   0x1007 (Get object handles)
>> 0.074132 print_debug_deviceinfo      (2):   0x1008 (Get object info)
>> 0.074135 print_debug_deviceinfo      (2):   0x1009 (Get object)
>> 0.074138 print_debug_deviceinfo      (2):   0x100a (Get thumbnail)
>> 0.074141 print_debug_deviceinfo      (2):   0x100b (Delete object)
>> 0.074145 print_debug_deviceinfo      (2):   0x100c (Send object info)
>> 0.074148 print_debug_deviceinfo      (2):   0x100d (Send object)
>> 0.074151 print_debug_deviceinfo      (2):   0x100f (Format storage)
>> 0.074155 print_debug_deviceinfo      (2):   0x1014 (Get device property description)
>> 0.074158 print_debug_deviceinfo      (2):   0x1015 (Get device property value)
>> 0.074162 print_debug_deviceinfo      (2):   0x1016 (Set device property value)
>> 0.074165 print_debug_deviceinfo      (2):   0x101b (Get partial object)
>> 0.074182 print_debug_deviceinfo      (2):   0x9801 (Get object properties supported)
>> 0.074185 print_debug_deviceinfo      (2):   0x9802 (Get object property description)
>> 0.074188 print_debug_deviceinfo      (2):   0x9803 (Get object property value)
>> 0.074192 print_debug_deviceinfo      (2):   0x9805 (Get object property list)
>> 0.074195 print_debug_deviceinfo      (2):   0x9001 (Unknown PTP_OC)
>> 0.074198 print_debug_deviceinfo      (2): Events Supported:
>> 0.074201 print_debug_deviceinfo      (2):   0x4003 (ObjectRemoved)
>> 0.074204 print_debug_deviceinfo      (2):   0x4004 (StoreAdded)
>> 0.074207 print_debug_deviceinfo      (2):   0x4005 (StoreRemoved)
>> 0.074210 print_debug_deviceinfo      (2):   0x4002 (ObjectAdded)
>> 0.074213 print_debug_deviceinfo      (2):   0xc101 (Unknown Event)
>> 0.074216 print_debug_deviceinfo      (2): Device Properties Supported:
>> 0.074219 print_debug_deviceinfo      (2):   0x5001 (Battery Level)
>> 0.074223 print_debug_deviceinfo      (2):   0x5011 (Date & Time)
>> 0.074227 print_debug_deviceinfo      (2):   0xd406 (Session Initiator Info)
>> 0.074230 print_debug_deviceinfo      (2):   0xd407 (Perceived Device Type)
>> 0.074234 print_debug_deviceinfo      (2):   0xd303 (Unknown DPC code)
>> 0.074238 ptp_usb_sendreq             (2): Sending PTP_OC 0x1004 (Get storage IDs) request...
>> 0.074241 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.074320 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 04 10-02 00 00 00              ............
>>
>> 0.074329 ptp_usb_getdata             (2): Reading PTP_OC 0x1004 (Get storage IDs) data...
>> 0.074339 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.074468 gp_port_read                (3): Read    24 = 0x18 out of 1024 bytes from port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 02 00 04 10-02 00 00 00 01 00 00 00  ................
>> 0010  01 00 01 00 00 64 01 00-                         .....d..
>>
>> 0.074477 ptp_usb_getresp             (2): Reading PTP_OC 0x1004 (Get storage IDs) response...
>> 0.074481 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.074581 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-02 00 00 00              ....... ....
>>
>> 0.074590 ptp                         (2): (storage=0xffffffff, handle=0xffffffff)
>> 0.074594 ptp                         (2): Listing ...
>> 0.074598 ptp_usb_sendreq             (2): Sending PTP_OC 0x1007 (Get object handles) (0xffffffff,0x0,0xffffffff) request...
>> 0.074601 gp_port_write               (3): Writing 24 = 0x18 bytes to port...
>> 0.074668 gp_port_write               (3): Wrote   24 = 0x18 bytes to port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 01 00 07 10-03 00 00 00 ff ff ff ff  ................
>> 0010  00 00 00 00 ff ff ff ff-                         ........
>>
>> 0.074673 ptp_usb_getdata             (2): Reading PTP_OC 0x1007 (Get object handles) data...
>> 0.074677 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.075648 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 07 10-03 00 00 00 01 00 00 00  ................
>> 0010  00 40 00 04            -                         .@..
>>
>> 0.075674 ptp_usb_getresp             (2): Reading PTP_OC 0x1007 (Get object handles) response...
>> 0.075678 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.075793 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-03 00 00 00              ....... ....
>>
>> 0.075802 ptp                         (2): adding new objectid 0x04004000 (nrofobs=0,j=0)
>> 0.075807 ptp                         (2): (storage=0x00010001, handle=0xffffffff)
>> 0.075810 ptp                         (2): Listing ...
>> 0.075814 ptp_usb_sendreq             (2): Sending PTP_OC 0x1007 (Get object handles) (0x10001,0x0,0xffffffff) request...
>> 0.075817 gp_port_write               (3): Writing 24 = 0x18 bytes to port...
>> 0.075888 gp_port_write               (3): Wrote   24 = 0x18 bytes to port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 01 00 07 10-04 00 00 00 01 00 01 00  ................
>> 0010  00 00 00 00 ff ff ff ff-                         ........
>>
>> 0.075893 ptp_usb_getdata             (2): Reading PTP_OC 0x1007 (Get object handles) data...
>> 0.075897 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.076666 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 07 10-04 00 00 00 01 00 00 00  ................
>> 0010  00 40 00 04            -                         .@..
>>
>> 0.076677 ptp_usb_getresp             (2): Reading PTP_OC 0x1007 (Get object handles) response...
>> 0.076680 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.076796 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-04 00 00 00              ....... ....
>>
>> 0.076806 ptp                         (2): adding old objectid 0x04004000 (nrofobs=1,j=0)
>> 0.076811 gp_context_error            (0): Sorry, your camera does not support generic capture
>> 0.076823 gp_camera_capture [gphoto2-camera.c:1324](0): 'camera->functions->capture (camera, type, path, context)' failed: -6
>> 0.077303 gp_camera_free              (2): Freeing camera...
>> 0.077310 gp_camera_exit              (2): Exiting camera ('Pentax KP (PTP Mode)')...
>> 0.077314 gp_port_get_timeout         (2): Current port timeout is 20000 milliseconds.
>> 0.077322 gp_port_set_timeout         (2): Setting port timeout to 150 milliseconds.
>> 0.077325 gp_port_check_int           (3): Reading 24 = 0x18 bytes from interrupt endpoint...
>> 0.227593 gp_port_check_int           (3): Reading 24 = 0x18 bytes from interrupt endpoint...
>> 0.377921 gp_port_set_timeout         (2): Setting port timeout to 20000 milliseconds.
>> 0.378043 ptp_usb_sendreq             (2): Sending PTP_OC 0x1003 (Close session) request...
>> 0.378080 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.378265 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 03 10-05 00 00 00              ............
>>
>> 0.378304 ptp_usb_getresp             (2): Reading PTP_OC 0x1003 (Close session) response...
>> 0.378326 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.378578 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-05 00 00 00              ....... ....
>>
>> 0.378630 gp_port_close               (2): Closing port...
>> 0.379768 _close_async_interrupts     (2): canceling transfer 0:0x555f0dc14d70 (status 0)
>> 0.380010 _close_async_interrupts     (2): canceling transfer 1:0x555f0dbf7840 (status 0)
>> 0.380216 _close_async_interrupts     (2): canceling transfer 2:0x555f0dc0b440 (status 0)
>> 0.380419 _close_async_interrupts     (2): canceling transfer 3:0x555f0dbf80b0 (status 0)
>> 0.380660 _close_async_interrupts     (2): canceling transfer 4:0x555f0dbf7970 (status 0)
>> 0.380835 _close_async_interrupts     (2): canceling transfer 5:0x555f0dc08f80 (status 0)
>> 0.380967 _close_async_interrupts     (2): canceling transfer 6:0x555f0dc34890 (status 0)
>> 0.381224 _close_async_interrupts     (2): canceling transfer 7:0x555f0dc41c90 (status 0)
>> 0.381439 _close_async_interrupts     (2): canceling transfer 8:0x555f0dc49420 (status 0)
>> 0.381595 _close_async_interrupts     (2): canceling transfer 9:0x555f0dc0ea50 (status 0)
>> 0.381733 _cb_irq                     (2): 0x555f0dc14d70 with status 3
>> 0.381776 _cb_irq                     (2): Transfer 0x555f0dc14d70 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.381824 _cb_irq                     (2): 0x555f0dbf7840 with status 3
>> 0.381853 _cb_irq                     (2): Transfer 0x555f0dbf7840 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.381891 _cb_irq                     (2): 0x555f0dc0b440 with status 3
>> 0.381916 _cb_irq                     (2): Transfer 0x555f0dc0b440 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.381956 _cb_irq                     (2): 0x555f0dbf80b0 with status 3
>> 0.381984 _cb_irq                     (2): Transfer 0x555f0dbf80b0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.382005 _cb_irq                     (2): 0x555f0dbf7970 with status 3
>> 0.382020 _cb_irq                     (2): Transfer 0x555f0dbf7970 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.382041 _cb_irq                     (2): 0x555f0dc08f80 with status 3
>> 0.382056 _cb_irq                     (2): Transfer 0x555f0dc08f80 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.382076 _cb_irq                     (2): 0x555f0dc34890 with status 3
>> 0.382093 _cb_irq                     (2): Transfer 0x555f0dc34890 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.382114 _cb_irq                     (2): 0x555f0dc41c90 with status 3
>> 0.382131 _cb_irq                     (2): Transfer 0x555f0dc41c90 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.382152 _cb_irq                     (2): 0x555f0dc49420 with status 3
>> 0.382167 _cb_irq                     (2): Transfer 0x555f0dc49420 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.382187 _cb_irq                     (2): 0x555f0dc0ea50 with status 3
>> 0.382208 _cb_irq                     (2): Transfer 0x555f0dc0ea50 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.382737 gp_filesystem_reset         (2): resetting filesystem
>> 0.382768 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
>> 0.382783 gp_filesystem_lru_clear     (2): fscache LRU list already empty
>> 0.382825 delete_all_folders          (2): Internally deleting all folders from '/'...
>> 0.382842 lookup_folder               (2): Lookup folder '/'...
>> 0.382858 lookup_folder               (2): Found! / is 0x555f0dbed6b0
>> 0.382874 recurse_delete_folder       (2): Recurse delete folder 0x555f0dbed6b0//
>> 0.382890 delete_all_files            (2): Delete all files in folder 0x555f0dbed6b0//
>> 0.382906 gp_port_free                (2): Freeing port...
>> 0.382921 gp_port_close               (2): Closing port...
>> 0.383281 gp_filesystem_reset         (2): resetting filesystem
>> 0.383310 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
>> 0.383325 gp_filesystem_lru_clear     (2): fscache LRU list already empty
>> 0.383340 delete_all_folders          (2): Internally deleting all folders from '/'...
>> 0.383355 lookup_folder               (2): Lookup folder '/'...
>> 0.383371 lookup_folder               (2): Found! / is 0x555f0dbed6b0
>> 0.383386 recurse_delete_folder       (2): Recurse delete folder 0x555f0dbed6b0//
>> 0.383401 delete_all_files            (2): Delete all files in folder 0x555f0dbed6b0//
>> 0.000005 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
>> 0.000027 main                        (2): gphoto2 2.5.28
>> 0.000049 main                        (2): gphoto2 has been compiled with the following options:
>> 0.000052 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000055 main                        (2):  + popt (mandatory, for handling command-line parameters)
>> 0.000076 main                        (2):  + exif (for displaying EXIF information)
>> 0.000079 main                        (2):  + no cdk (for accessing configuration options)
>> 0.000082 main                        (2):  + no aa (for displaying live previews)
>> 0.000084 main                        (2):  + no jpeg (for displaying live previews in JPEG format)
>> 0.000087 main                        (2):  + readline (for easy navigation in the shell)
>> 0.000092 main                        (2): libgphoto2 2.5.30.1
>> 0.000095 main                        (2): libgphoto2 has been compiled with the following options:
>> 0.000099 main                        (2):  + standard camlib set SKIPPING SOME (ax203 canon digigr8 dimagev directory docupen jl2005a jl2005c kodak_dc240 mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801 SKIPPING lumix)
>> 0.000102 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000104 main                        (2):  + no ltdl (for portable loading of camlibs)
>> 0.000107 main                        (2):  + EXIF (for special handling of EXIF files)
>> 0.000111 main                        (2): libgphoto2_port 0.12.1
>> 0.000114 main                        (2): libgphoto2_port has been compiled with the following options:
>> 0.000117 main                        (2):  + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
>> 0.000120 main                        (2):  + x86_64-solus-linux-gcc (C compiler used)
>> 0.000124 main                        (2):  + no ltdl (for portable loading of iolibs)
>> 0.000127 main                        (2):  + EXIF (for vusb)
>> 0.000129 main                        (2):  + USB (libusb1, for USB cameras)
>> 0.000132 main                        (2):  + serial (for serial cameras)
>> 0.000135 main                        (2):  + no resmgr (serial port access and locking)
>> 0.000138 main                        (2):  + no ttylock (serial port locking)
>> 0.000143 main                        (2):  + no lockdev (serial port locking)
>> 0.000146 main                        (2): CAMLIBS env var not set, using compile-time default instead
>> 0.000148 main                        (2): IOLIBS env var not set, using compile-time default instead
>> 0.000151 main                        (2): invoked with following arguments:
>> 0.000154 main                        (2):   --debug
>> 0.000157 main                        (2):   --debug-logfile=my-logfile.txt
>> 0.000160 main                        (2):   --capture-image
>> 0.000169 load_settings               (2): Creating gphoto config directory ('/home/fabio/.gphoto')
>> 0.000209 load_settings               (2): Loading settings from file '/home/fabio/.gphoto/settings'.
>> 0.000241 main                        (2): The user has not specified both a model and a port. Try to figure them out.
>> 0.000246 gp_port_init_localedir      (2): localedir has been set to /usr/share/locale (compile-time default)
>> 0.000249 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib64/libgphoto2_port/0.12.1'...
>> 0.000274 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/disk'.
>> 0.000385 gp_port_library_list        (2): found fstab fsname none
>> 0.000411 gp_port_library_list        (2): found fstab fsname none
>> 0.000421 gp_port_library_list        (2): found fstab fsname UUID=37565307-e63d-44bd-9dc0-8630d0eaf596
>> 0.000427 gp_port_library_list        (2): found fstab fsname UUID=8b2c9e33-66c2-4e67-bc57-cf7da5be2965
>> 0.000468 gp_port_library_list        (2): found mtab fsname proc
>> 0.000474 gp_port_library_list        (2): found mtab fsname sysfs
>> 0.000477 gp_port_library_list        (2): found mtab fsname devtmpfs
>> 0.000480 gp_port_library_list        (2): found mtab fsname securityfs
>> 0.000497 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000504 gp_port_library_list        (2): found mtab fsname devpts
>> 0.000527 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000533 gp_port_library_list        (2): found mtab fsname cgroup2
>> 0.000537 gp_port_library_list        (2): found mtab fsname efivarfs
>> 0.000545 gp_port_library_list        (2): found mtab fsname bpf
>> 0.000552 gp_port_library_list        (2): found mtab fsname /dev/mapper/SolusSystem-Root
>> 0.000558 gp_port_library_list        (2): found mtab fsname systemd-1
>> 0.000561 gp_port_library_list        (2): found mtab fsname mqueue
>> 0.000564 gp_port_library_list        (2): found mtab fsname debugfs
>> 0.000618 gp_port_library_list        (2): found mtab fsname hugetlbfs
>> 0.000626 gp_port_library_list        (2): found mtab fsname tracefs
>> 0.000633 gp_port_library_list        (2): found mtab fsname fusectl
>> 0.000636 gp_port_library_list        (2): found mtab fsname configfs
>> 0.000644 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000653 gp_port_library_list        (2): found mtab fsname /dev/loop0
>> 0.000659 gp_port_library_list        (2): found mtab fsname /dev/loop2
>> 0.000666 gp_port_library_list        (2): found mtab fsname /dev/loop3
>> 0.000672 gp_port_library_list        (2): found mtab fsname /dev/loop4
>> 0.000678 gp_port_library_list        (2): found mtab fsname /dev/loop1
>> 0.000683 gp_port_library_list        (2): found mtab fsname /dev/loop5
>> 0.000689 gp_port_library_list        (2): found mtab fsname /dev/loop6
>> 0.000695 gp_port_library_list        (2): found mtab fsname /dev/loop7
>> 0.000700 gp_port_library_list        (2): found mtab fsname /dev/loop8
>> 0.000721 gp_port_library_list        (2): found mtab fsname /dev/loop9
>> 0.000727 gp_port_library_list        (2): found mtab fsname /dev/loop10
>> 0.000733 gp_port_library_list        (2): found mtab fsname /dev/loop11
>> 0.000738 gp_port_library_list        (2): found mtab fsname /dev/loop12
>> 0.000744 gp_port_library_list        (2): found mtab fsname /dev/loop13
>> 0.000750 gp_port_library_list        (2): found mtab fsname /dev/loop14
>> 0.000755 gp_port_library_list        (2): found mtab fsname /dev/loop15
>> 0.000761 gp_port_library_list        (2): found mtab fsname binfmt_misc
>> 0.000771 gp_port_library_list        (2): found mtab fsname tmpfs
>> 0.000780 gp_port_library_list        (2): found mtab fsname gvfsd-fuse
>> 0.000785 gp_port_library_list        (2): found mtab fsname portal
>> 0.000789 gp_port_library_list        (2): found mtab fsname /dev/sda1
>> 0.001056 foreach_func                (2): Loaded '' ('^disk:') from '/usr/lib64/libgphoto2_port/0.12.1/disk'.
>> 0.001065 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.001125 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.001131 foreach_func                (2): Loaded '' ('^ptpip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.001140 foreach_func                (2): Loaded 'IP Connection' ('ip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.001143 foreach_func                (2): Loaded '' ('^ip:') from '/usr/lib64/libgphoto2_port/0.12.1/ptpip'.
>> 0.001146 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001251 foreach_func                (2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001257 foreach_func                (2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001260 foreach_func                (2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001264 foreach_func                (2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001267 foreach_func                (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001270 foreach_func                (2): Loaded '' ('^serial:') from '/usr/lib64/libgphoto2_port/0.12.1/serial'.
>> 0.001273 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004813 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004823 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,003') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004828 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,004') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004831 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,014') from '/usr/lib64/libgphoto2_port/0.12.1/usb1'.
>> 0.004834 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usbdiskdirect'.
>> 0.004949 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.1/usbscsi'.
>> 0.005012 gp_port_info_list_count     (2): Counting entries (15 available)...
>> 0.005018 gp_port_info_list_count     (2): 10 regular entries available.
>> 0.005022 gp_port_init_localedir      (2): ignoring late call (localedir value NULL)
>> 0.005026 gp_init_localedir           (2): localedir has been set to /usr/share/locale (compile-time default)
>> 0.005033 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/lib64/libgphoto2/2.5.30.1'...
>> 0.005062 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/ax203'.
>> 0.005067 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/canon'.
>> 0.005070 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/digigr8'.
>> 0.005073 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/dimagev'.
>> 0.005076 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/directory'.
>> 0.005079 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/docupen'.
>> 0.005082 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/jl2005a'.
>> 0.005085 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/jl2005c'.
>> 0.005088 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/kodak_dc240'.
>> 0.005091 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/mars'.
>> 0.005094 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/pentax'.
>> 0.005097 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/ptp2'.
>> 0.005100 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/ricoh_g3'.
>> 0.005103 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/sierra'.
>> 0.005106 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/sonix'.
>> 0.005109 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/sq905'.
>> 0.005112 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/st2205'.
>> 0.005115 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/topfield'.
>> 0.005123 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.30.1/tp6801'.
>> 0.005127 gp_abilities_list_load_dir  (2): Found 19 camera drivers.
>> 0.020190 gp_port_info_list_count     (2): Counting entries (15 available)...
>> 0.020206 gp_port_info_list_count     (2): 10 regular entries available.
>> 0.020210 gp_port_new                 (2): Creating new device...
>> 0.020214 gp_port_info_list_get_info  (2): Getting info of entry 0 (15 available)...
>> 0.020268 gp_port_set_settings        (2): Setting settings...
>> 0.020274 gp_port_info_list_get_info  (2): Getting info of entry 1 (15 available)...
>> 0.020326 gp_port_set_settings        (2): Setting settings...
>> 0.020332 gp_port_info_list_get_info  (2): Getting info of entry 2 (15 available)...
>> 0.020393 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020399 gp_port_set_settings        (2): Setting settings...
>> 0.020403 gp_port_info_list_get_info  (2): Getting info of entry 3 (15 available)...
>> 0.020454 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020460 gp_port_set_settings        (2): Setting settings...
>> 0.020464 gp_port_info_list_get_info  (2): Getting info of entry 4 (15 available)...
>> 0.020512 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020518 gp_port_set_settings        (2): Setting settings...
>> 0.020522 gp_port_info_list_get_info  (2): Getting info of entry 5 (15 available)...
>> 0.020569 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020576 gp_port_set_settings        (2): Setting settings...
>> 0.020580 gp_port_info_list_get_info  (2): Getting info of entry 6 (15 available)...
>> 0.020627 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
>> 0.020633 gp_port_set_settings        (2): Setting settings...
>> 0.020636 gp_port_info_list_get_info  (2): Getting info of entry 7 (15 available)...
>> 0.023926 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.023936 gp_port_set_settings        (2): Setting settings...
>> 0.023940 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,003, (new int=0, conf=-1, alt=-1) port usb:001,003
>> 0.023944 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.023947 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.024164 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.024321 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.024338 gp_port_info_list_get_info  (2): Getting info of entry 8 (15 available)...
>> 0.027603 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.027612 gp_port_set_settings        (2): Setting settings...
>> 0.027617 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,004, (new int=0, conf=-1, alt=-1) port usb:001,004
>> 0.027620 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.027623 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.027818 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.027963 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
>> 0.027977 gp_port_info_list_get_info  (2): Getting info of entry 9 (15 available)...
>> 0.031067 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.031075 gp_port_set_settings        (2): Setting settings...
>> 0.031079 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,014, (new int=0, conf=-1, alt=-1) port usb:001,014
>> 0.031082 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.031085 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
>> 0.031267 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
>> 0.031322 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x25fb, product 0x17f)... found.
>> 0.031346 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
>> 0.031351 gp_abilities_list_detect_usb(2): Found 'Pentax KP (PTP Mode)' (0x25fb,0x17f)
>> 0.031391 gp_port_free                (2): Freeing port...
>> 0.031413 gp_port_close               (2): Closing port...
>> 0.031584 gp_camera_set_abilities     (2): Setting abilities ('Pentax KP (PTP Mode)')...
>> 0.031591 gp_setting_set              (2): Setting key 'model' to value 'Pentax KP (PTP Mode)' (gphoto2)
>> 0.031594 save_settings               (2): Saving 2 setting(s) to file "/home/fabio/.gphoto/settings"
>> 0.031739 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,014' (15 entries available)...
>> 0.031764 gp_port_info_list_get_info  (2): Getting info of entry 9 (15 available)...
>> 0.031768 gp_camera_set_port_info     (2): Setting port info for port 'Universal Serial Bus' at 'usb:001,014'...
>> 0.035335 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
>> 0.035343 gp_port_set_settings        (2): Setting settings...
>> 0.035370 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,014, (new int=0, conf=-1, alt=-1) port usb:001,014
>> 0.035397 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
>> 0.035401 gp_setting_set              (2): Setting key 'port' to value 'usb:001,014' (gphoto2)
>> 0.035405 save_settings               (2): Saving 2 setting(s) to file "/home/fabio/.gphoto/settings"
>> 0.035499 gp_camera_init              (2): Initializing camera...
>> 0.035508 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x25fb, product 0x17f)... found.
>> 0.035576 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
>> 0.035580 gp_camera_init              (2): Loading '/usr/lib64/libgphoto2/2.5.30.1/ptp2'...
>> 0.036041 gp_port_open                (2): Opening USB port...
>> 0.036048 gp_libusb1_open             (2): ()
>> 0.036063 gp_libusb1_open             (2): claiming interface 0
>> 0.036182 camera_init                 (2): maxpacketsize 512
>> 0.036192 gp_port_set_timeout         (2): Setting port timeout to 8000 milliseconds.
>> 0.036199 ptp                         (2): PTP: Opening session
>> 0.036206 ptp_usb_sendreq             (2): Sending PTP_OC 0x1002 (Open session) (0x1) request...
>> 0.036210 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
>> 0.036282 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.036288 ptp_usb_getresp             (2): Reading PTP_OC 0x1002 (Open session) response...
>> 0.036291 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.036461 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-00 00 00 00              ....... ....
>>
>> 0.036467 gp_port_set_timeout         (2): Setting port timeout to 20000 milliseconds.
>> 0.036470 ptp_usb_sendreq             (2): Sending PTP_OC 0x1001 (Get device info) request...
>> 0.036473 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.036546 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 01 10-01 00 00 00              ............
>>
>> 0.036550 ptp_usb_getdata             (2): Reading PTP_OC 0x1001 (Get device info) data...
>> 0.036553 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.036766 gp_port_read                (3): Read    301 = 0x12d out of 1024 bytes from port: (hexdump of 301 bytes)
>> 0000  2d 01 00 00 02 00 01 10-01 00 00 00 64 00 06 00  -...........d...
>> 0010  00 00 64 00 24 00 6d 00-69 00 63 00 72 00 6f 00  ..d.$.m.i.c.r.o.
>> 0020  73 00 6f 00 66 00 74 00-2e 00 63 00 6f 00 6d 00  s.o.f.t...c.o.m.
>> 0030  2f 00 44 00 65 00 76 00-69 00 63 00 65 00 53 00  /.D.e.v.i.c.e.S.
>> 0040  65 00 72 00 76 00 69 00-63 00 65 00 73 00 3a 00  e.r.v.i.c.e.s.:.
>> 0050  20 00 31 00 2e 00 30 00-3b 00 20 00 2c 00 00 17   .1...0.;. .,...
>> 0060  00 00 00 01 10 02 10 03-10 04 10 05 10 06 10 07  ................
>> 0070  10 08 10 09 10 0a 10 0b-10 0c 10 0d 10 0f 10 14  ................
>> 0080  10 15 10 16 10 1b 10 01-98 02 98 03 98 05 98 01  ................
>> 0090  90 05 00 00 00 03 40 04-40 05 40 02 40 01 c1 05  ......@.@.@.@...
>> 00a0  00 00 00 01 50 11 50 06-d4 07 d4 03 d3 00 00 00  ....P.P.........
>> 00b0  00 07 00 00 00 01 30 0a-30 0d 30 0d 38 01 38 00  ......0.0.0.8.8.
>> 00c0  38 00 30 1c 52 00 49 00-43 00 4f 00 48 00 20 00  8.0.R.I.C.O.H. .
>> 00d0  49 00 4d 00 41 00 47 00-49 00 4e 00 47 00 20 00  I.M.A.G.I.N.G. .
>> 00e0  43 00 4f 00 4d 00 50 00-41 00 4e 00 59 00 2c 00  C.O.M.P.A.N.Y.,.
>> 00f0  20 00 4c 00 54 00 44 00-2e 00 00 00 0a 50 00 45   .L.T.D......P.E
>> 0100  00 4e 00 54 00 41 00 58-00 20 00 4b 00 50 00 00  .N.T.A.X. .K.P..
>> 0110  00 05 31 00 2e 00 30 00-30 00 00 00 08 37 00 33  ..1...0.0....7.3
>> 0120  00 39 00 32 00 39 00 35-00 34 00 00 00           .9.2.9.5.4...
>>
>> 0.036775 ptp_usb_getresp             (2): Reading PTP_OC 0x1001 (Get device info) response...
>> 0.036779 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.036853 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-01 00 00 00              ....... ....
>>
>> 0.036860 print_debug_deviceinfo      (2): Device info:
>> 0.036864 print_debug_deviceinfo      (2): Manufacturer: RICOH IMAGING COMPANY, LTD.
>> 0.036867 print_debug_deviceinfo      (2):   Model: PENTAX KP
>> 0.036883 print_debug_deviceinfo      (2):   device version: 1.00
>> 0.036885 print_debug_deviceinfo      (2):   serial number: '7392954'
>> 0.036889 print_debug_deviceinfo      (2): Vendor extension ID: 0x00000006
>> 0.036892 print_debug_deviceinfo      (2): Vendor extension version: 100
>> 0.036895 print_debug_deviceinfo      (2): Vendor extension description: ????????????????????????????????????
>> 0.036897 print_debug_deviceinfo      (2): Functional Mode: 0x0000
>> 0.036900 print_debug_deviceinfo      (2): PTP Standard Version: 100
>> 0.036903 print_debug_deviceinfo      (2): Supported operations:
>> 0.036906 print_debug_deviceinfo      (2):   0x1001 (Get device info)
>> 0.036910 print_debug_deviceinfo      (2):   0x1002 (Open session)
>> 0.036913 print_debug_deviceinfo      (2):   0x1003 (Close session)
>> 0.036942 print_debug_deviceinfo      (2):   0x1004 (Get storage IDs)
>> 0.036945 print_debug_deviceinfo      (2):   0x1005 (Get storage info)
>> 0.036948 print_debug_deviceinfo      (2):   0x1006 (Get number of objects)
>> 0.036952 print_debug_deviceinfo      (2):   0x1007 (Get object handles)
>> 0.036956 print_debug_deviceinfo      (2):   0x1008 (Get object info)
>> 0.036959 print_debug_deviceinfo      (2):   0x1009 (Get object)
>> 0.036962 print_debug_deviceinfo      (2):   0x100a (Get thumbnail)
>> 0.036965 print_debug_deviceinfo      (2):   0x100b (Delete object)
>> 0.036968 print_debug_deviceinfo      (2):   0x100c (Send object info)
>> 0.036971 print_debug_deviceinfo      (2):   0x100d (Send object)
>> 0.036974 print_debug_deviceinfo      (2):   0x100f (Format storage)
>> 0.036977 print_debug_deviceinfo      (2):   0x1014 (Get device property description)
>> 0.036980 print_debug_deviceinfo      (2):   0x1015 (Get device property value)
>> 0.036983 print_debug_deviceinfo      (2):   0x1016 (Set device property value)
>> 0.036987 print_debug_deviceinfo      (2):   0x101b (Get partial object)
>> 0.036990 print_debug_deviceinfo      (2):   0x9801 (Get object properties supported)
>> 0.036994 print_debug_deviceinfo      (2):   0x9802 (Get object property description)
>> 0.036997 print_debug_deviceinfo      (2):   0x9803 (Get object property value)
>> 0.037000 print_debug_deviceinfo      (2):   0x9805 (Get object property list)
>> 0.037003 print_debug_deviceinfo      (2):   0x9001 (Unknown PTP_OC)
>> 0.037007 print_debug_deviceinfo      (2): Events Supported:
>> 0.037010 print_debug_deviceinfo      (2):   0x4003 (ObjectRemoved)
>> 0.037014 print_debug_deviceinfo      (2):   0x4004 (StoreAdded)
>> 0.037021 print_debug_deviceinfo      (2):   0x4005 (StoreRemoved)
>> 0.037024 print_debug_deviceinfo      (2):   0x4002 (ObjectAdded)
>> 0.037027 print_debug_deviceinfo      (2):   0xc101 (Unknown Event)
>> 0.037030 print_debug_deviceinfo      (2): Device Properties Supported:
>> 0.037037 print_debug_deviceinfo      (2):   0x5001 (Battery Level)
>> 0.037056 print_debug_deviceinfo      (2):   0x5011 (Date & Time)
>> 0.037059 print_debug_deviceinfo      (2):   0xd406 (Session Initiator Info)
>> 0.037063 print_debug_deviceinfo      (2):   0xd407 (Perceived Device Type)
>> 0.037066 print_debug_deviceinfo      (2):   0xd303 (Unknown DPC code)
>> 0.037070 print_debug_deviceinfo      (2): Device info:
>> 0.037073 print_debug_deviceinfo      (2): Manufacturer: RICOH IMAGING COMPANY, LTD.
>> 0.037076 print_debug_deviceinfo      (2):   Model: PENTAX KP
>> 0.037078 print_debug_deviceinfo      (2):   device version: 1.00
>> 0.037081 print_debug_deviceinfo      (2):   serial number: '7392954'
>> 0.037084 print_debug_deviceinfo      (2): Vendor extension ID: 0x00000006
>> 0.037087 print_debug_deviceinfo      (2): Vendor extension version: 100
>> 0.037090 print_debug_deviceinfo      (2): Vendor extension description: ????????????????????????????????????
>> 0.037092 print_debug_deviceinfo      (2): Functional Mode: 0x0000
>> 0.037095 print_debug_deviceinfo      (2): PTP Standard Version: 100
>> 0.037098 print_debug_deviceinfo      (2): Supported operations:
>> 0.037101 print_debug_deviceinfo      (2):   0x1001 (Get device info)
>> 0.037104 print_debug_deviceinfo      (2):   0x1002 (Open session)
>> 0.037107 print_debug_deviceinfo      (2):   0x1003 (Close session)
>> 0.037110 print_debug_deviceinfo      (2):   0x1004 (Get storage IDs)
>> 0.037113 print_debug_deviceinfo      (2):   0x1005 (Get storage info)
>> 0.037116 print_debug_deviceinfo      (2):   0x1006 (Get number of objects)
>> 0.037119 print_debug_deviceinfo      (2):   0x1007 (Get object handles)
>> 0.037122 print_debug_deviceinfo      (2):   0x1008 (Get object info)
>> 0.037125 print_debug_deviceinfo      (2):   0x1009 (Get object)
>> 0.037128 print_debug_deviceinfo      (2):   0x100a (Get thumbnail)
>> 0.037131 print_debug_deviceinfo      (2):   0x100b (Delete object)
>> 0.037134 print_debug_deviceinfo      (2):   0x100c (Send object info)
>> 0.037137 print_debug_deviceinfo      (2):   0x100d (Send object)
>> 0.037140 print_debug_deviceinfo      (2):   0x100f (Format storage)
>> 0.037143 print_debug_deviceinfo      (2):   0x1014 (Get device property description)
>> 0.037146 print_debug_deviceinfo      (2):   0x1015 (Get device property value)
>> 0.037149 print_debug_deviceinfo      (2):   0x1016 (Set device property value)
>> 0.037152 print_debug_deviceinfo      (2):   0x101b (Get partial object)
>> 0.037155 print_debug_deviceinfo      (2):   0x9801 (Get object properties supported)
>> 0.037158 print_debug_deviceinfo      (2):   0x9802 (Get object property description)
>> 0.037161 print_debug_deviceinfo      (2):   0x9803 (Get object property value)
>> 0.037164 print_debug_deviceinfo      (2):   0x9805 (Get object property list)
>> 0.037167 print_debug_deviceinfo      (2):   0x9001 (Unknown PTP_OC)
>> 0.037170 print_debug_deviceinfo      (2): Events Supported:
>> 0.037173 print_debug_deviceinfo      (2):   0x4003 (ObjectRemoved)
>> 0.037176 print_debug_deviceinfo      (2):   0x4004 (StoreAdded)
>> 0.037179 print_debug_deviceinfo      (2):   0x4005 (StoreRemoved)
>> 0.037181 print_debug_deviceinfo      (2):   0x4002 (ObjectAdded)
>> 0.037185 print_debug_deviceinfo      (2):   0xc101 (Unknown Event)
>> 0.037187 print_debug_deviceinfo      (2): Device Properties Supported:
>> 0.037191 print_debug_deviceinfo      (2):   0x5001 (Battery Level)
>> 0.037194 print_debug_deviceinfo      (2):   0x5011 (Date & Time)
>> 0.037198 print_debug_deviceinfo      (2):   0xd406 (Session Initiator Info)
>> 0.037202 print_debug_deviceinfo      (2):   0xd407 (Perceived Device Type)
>> 0.037205 print_debug_deviceinfo      (2):   0xd303 (Unknown DPC code)
>> 0.037209 ptp_usb_sendreq             (2): Sending PTP_OC 0x1004 (Get storage IDs) request...
>> 0.037212 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.037271 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 04 10-02 00 00 00              ............
>>
>> 0.037280 ptp_usb_getdata             (2): Reading PTP_OC 0x1004 (Get storage IDs) data...
>> 0.037283 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.037390 gp_port_read                (3): Read    24 = 0x18 out of 1024 bytes from port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 02 00 04 10-02 00 00 00 01 00 00 00  ................
>> 0010  01 00 01 00 00 64 01 00-                         .....d..
>>
>> 0.037396 ptp_usb_getresp             (2): Reading PTP_OC 0x1004 (Get storage IDs) response...
>> 0.037399 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.037504 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-02 00 00 00              ....... ....
>>
>> 0.037515 ptp                         (2): (storage=0xffffffff, handle=0xffffffff)
>> 0.037532 ptp                         (2): Listing ...
>> 0.037537 ptp_usb_sendreq             (2): Sending PTP_OC 0x1007 (Get object handles) (0xffffffff,0x0,0xffffffff) request...
>> 0.037559 gp_port_write               (3): Writing 24 = 0x18 bytes to port...
>> 0.037592 gp_port_write               (3): Wrote   24 = 0x18 bytes to port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 01 00 07 10-03 00 00 00 ff ff ff ff  ................
>> 0010  00 00 00 00 ff ff ff ff-                         ........
>>
>> 0.037597 ptp_usb_getdata             (2): Reading PTP_OC 0x1007 (Get object handles) data...
>> 0.037600 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.038389 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 07 10-03 00 00 00 01 00 00 00  ................
>> 0010  00 40 00 04            -                         .@..
>>
>> 0.038414 ptp_usb_getresp             (2): Reading PTP_OC 0x1007 (Get object handles) response...
>> 0.038436 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.038474 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-03 00 00 00              ....... ....
>>
>> 0.038479 ptp                         (2): adding new objectid 0x04004000 (nrofobs=0,j=0)
>> 0.038482 ptp                         (2): (storage=0x00010001, handle=0xffffffff)
>> 0.038485 ptp                         (2): Listing ...
>> 0.038489 ptp_usb_sendreq             (2): Sending PTP_OC 0x1007 (Get object handles) (0x10001,0x0,0xffffffff) request...
>> 0.038492 gp_port_write               (3): Writing 24 = 0x18 bytes to port...
>> 0.038523 gp_port_write               (3): Wrote   24 = 0x18 bytes to port: (hexdump of 24 bytes)
>> 0000  18 00 00 00 01 00 07 10-04 00 00 00 01 00 01 00  ................
>> 0010  00 00 00 00 ff ff ff ff-                         ........
>>
>> 0.038528 ptp_usb_getdata             (2): Reading PTP_OC 0x1007 (Get object handles) data...
>> 0.038532 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.039240 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
>> 0000  14 00 00 00 02 00 07 10-04 00 00 00 01 00 00 00  ................
>> 0010  00 40 00 04            -                         .@..
>>
>> 0.039291 ptp_usb_getresp             (2): Reading PTP_OC 0x1007 (Get object handles) response...
>> 0.039318 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.039346 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-04 00 00 00              ....... ....
>>
>> 0.039352 ptp                         (2): adding old objectid 0x04004000 (nrofobs=1,j=0)
>> 0.039356 gp_context_error            (0): Sorry, your camera does not support generic capture
>> 0.039396 gp_camera_capture [gphoto2-camera.c:1324](0): 'camera->functions->capture (camera, type, path, context)' failed: -6
>> 0.040087 gp_camera_free              (2): Freeing camera...
>> 0.040096 gp_camera_exit              (2): Exiting camera ('Pentax KP (PTP Mode)')...
>> 0.040100 gp_port_get_timeout         (2): Current port timeout is 20000 milliseconds.
>> 0.040103 gp_port_set_timeout         (2): Setting port timeout to 150 milliseconds.
>> 0.040106 gp_port_check_int           (3): Reading 24 = 0x18 bytes from interrupt endpoint...
>> 0.190511 gp_port_check_int           (3): Reading 24 = 0x18 bytes from interrupt endpoint...
>> 0.341050 gp_port_set_timeout         (2): Setting port timeout to 20000 milliseconds.
>> 0.341123 ptp_usb_sendreq             (2): Sending PTP_OC 0x1003 (Close session) request...
>> 0.341145 gp_port_write               (3): Writing 12 = 0xc bytes to port...
>> 0.341276 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
>> 0000  0c 00 00 00 01 00 03 10-05 00 00 00              ............
>>
>> 0.341302 ptp_usb_getresp             (2): Reading PTP_OC 0x1003 (Close session) response...
>> 0.341326 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
>> 0.341458 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-05 00 00 00              ....... ....
>>
>> 0.341492 gp_port_close               (2): Closing port...
>> 0.342601 _close_async_interrupts     (2): canceling transfer 0:0x5594b2a09d70 (status 0)
>> 0.342774 _close_async_interrupts     (2): canceling transfer 1:0x5594b29ec840 (status 0)
>> 0.342917 _close_async_interrupts     (2): canceling transfer 2:0x5594b2a00440 (status 0)
>> 0.343119 _close_async_interrupts     (2): canceling transfer 3:0x5594b29ed0b0 (status 0)
>> 0.343253 _close_async_interrupts     (2): canceling transfer 4:0x5594b29ec970 (status 0)
>> 0.343398 _close_async_interrupts     (2): canceling transfer 5:0x5594b29fdf80 (status 0)
>> 0.343534 _close_async_interrupts     (2): canceling transfer 6:0x5594b2a29890 (status 0)
>> 0.343666 _close_async_interrupts     (2): canceling transfer 7:0x5594b2a36c90 (status 0)
>> 0.343791 _close_async_interrupts     (2): canceling transfer 8:0x5594b2a3e420 (status 0)
>> 0.343917 _close_async_interrupts     (2): canceling transfer 9:0x5594b2a03a50 (status 0)
>> 0.344059 _cb_irq                     (2): 0x5594b2a09d70 with status 3
>> 0.344087 _cb_irq                     (2): Transfer 0x5594b2a09d70 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.344110 _cb_irq                     (2): 0x5594b29ec840 with status 3
>> 0.344126 _cb_irq                     (2): Transfer 0x5594b29ec840 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.344147 _cb_irq                     (2): 0x5594b2a00440 with status 3
>> 0.344165 _cb_irq                     (2): Transfer 0x5594b2a00440 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.344185 _cb_irq                     (2): 0x5594b29ed0b0 with status 3
>> 0.344202 _cb_irq                     (2): Transfer 0x5594b29ed0b0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.344223 _cb_irq                     (2): 0x5594b29ec970 with status 3
>> 0.344240 _cb_irq                     (2): Transfer 0x5594b29ec970 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.344261 _cb_irq                     (2): 0x5594b29fdf80 with status 3
>> 0.344276 _cb_irq                     (2): Transfer 0x5594b29fdf80 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.344296 _cb_irq                     (2): 0x5594b2a29890 with status 3
>> 0.344312 _cb_irq                     (2): Transfer 0x5594b2a29890 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.344333 _cb_irq                     (2): 0x5594b2a36c90 with status 3
>> 0.344350 _cb_irq                     (2): Transfer 0x5594b2a36c90 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.344395 _cb_irq                     (2): 0x5594b2a3e420 with status 3
>> 0.344417 _cb_irq                     (2): Transfer 0x5594b2a3e420 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.344438 _cb_irq                     (2): 0x5594b2a03a50 with status 3
>> 0.344455 _cb_irq                     (2): Transfer 0x5594b2a03a50 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
>> 0.344988 gp_filesystem_reset         (2): resetting filesystem
>> 0.345042 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
>> 0.345059 gp_filesystem_lru_clear     (2): fscache LRU list already empty
>> 0.345074 delete_all_folders          (2): Internally deleting all folders from '/'...
>> 0.345090 lookup_folder               (2): Lookup folder '/'...
>> 0.345107 lookup_folder               (2): Found! / is 0x5594b29e26b0
>> 0.345123 recurse_delete_folder       (2): Recurse delete folder 0x5594b29e26b0//
>> 0.345144 delete_all_files            (2): Delete all files in folder 0x5594b29e26b0//
>> 0.345160 gp_port_free                (2): Freeing port...
>> 0.345178 gp_port_close               (2): Closing port...
>> 0.345574 gp_filesystem_reset         (2): resetting filesystem
>> 0.345612 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
>> 0.345628 gp_filesystem_lru_clear     (2): fscache LRU list already empty
>> 0.345643 delete_all_folders          (2): Internally deleting all folders from '/'...
>> 0.345658 lookup_folder               (2): Lookup folder '/'...
>> 0.345674 lookup_folder               (2): Found! / is 0x5594b29e26b0
>> 0.345690 recurse_delete_folder       (2): Recurse delete folder 0x5594b29e26b0//
>> 0.345705 delete_all_files            (2): Delete all files in folder 0x5594b29e26b0//
>
>> _______________________________________________
>> Gphoto-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/gphoto-devel

_______________________________________________
Gphoto-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
my-logfile.txt (text/plain, 233.4 KB) - not displayed