gphoto / gphoto2

The gphoto2 commandline tool for accessing and controlling digital cameras.
GNU General Public License v2.0
705 stars 116 forks source link

Olympus E-M1 II issue when taking photo #310

Open mad-marco opened 4 years ago

mad-marco commented 4 years ago

Describe the bug This is running from a Raspberry Pi 3B. When attempting to capture an image, the camera will focus and take the photo. After the shutter has released, the CLI will hang for approximately 2 minutes and will eventually return with the error message below:

gphoto2 --capture-image ERROR: Could not capture image.
ERROR: Could not capture.

Note that the camera HAS successfully recorded an image to the internal SD card.

Name the camera Model Port

Olympus E-M1 usb:001,008

libgphoto2 and gphoto2 version This version of gphoto2 is using the following software versions and options: gphoto2 2.5.23.1 gcc, popt(m), exif, no cdk, no aa, jpeg, no readline libgphoto2 2.5.24 standard camlibs, gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking

To Reproduce Connect camera to USB port, select PC connection. From the RPI issue the command "gphoto2 --capture-image"

mad-marco commented 4 years ago

Debug attached gphoto2_debug.txt

mad-marco commented 4 years ago

Further testing has shown the following:

gphoto2 --capture-preview - I get a capture_preview.jpg image transferred to the RPI gphoto2 --capture-movie 2 - I get 3 frames captured to movie.mjpg on the RPI gphoto2 --list-files - Returns the following: There is no file in folder '/'.

Note that this does not list the files or folders that are on the SD Card. If I switch the camera to Storage mode, then I can see the files and folders.

gphoto2 --storage-info - Does not return anything when in PC capture mode, but correctly shows the SD Card when the camera is switched to Storage mode.

I am thinking that the inability to connect to the SD card on the camera when in storage mode is the real issue here. Anyone got any thoughts on this?

TheCraiggers commented 4 years ago

Not much extra I can provide, other than that I'm tracking down why I can't use Darktable tethering with this camera and eventually tracked the problem here. FWIW, I'm on a desktop running Arch, so it's not just limited to RPI.

mad-marco commented 4 years ago

I think that the issue might be related to gphoto2 being unable to correctly access the memory card when in PC capture mode.

gphoto2 --list-files - Returns the following: There is no file in folder '/'.

Note that this does not list the files or folders that are on the SD Card. If I switch the camera to Storage mode, then I can see the files and folders.

Could you try this to see if you get the same response?

TheCraiggers commented 4 years ago

Yeah, same response here.

gphoto2 --auto-detect --list-files
Model                          Port                                            
----------------------------------------------------------
Olympus E-M1                   usb:001,014     
There is no file in folder '/'.

And here is the same command, but run with debug flag set. I hope this isn't so long it's annoying and that it's useful info.

photo2 --auto-detect --list-files --debug
0.000171 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000221 main                        (2): gphoto2 2.5.23
0.000233 main                        (2): gphoto2 has been compiled with the following options:
0.000241 main                        (2):  + gcc (C compiler used)
0.000249 main                        (2):  + popt (mandatory, for handling command-line parameters)
0.000256 main                        (2):  + exif (for displaying EXIF information)
0.000263 main                        (2):  + no cdk (for accessing configuration options)
0.000270 main                        (2):  + no aa (for displaying live previews)
0.000280 main                        (2):  + jpeg (for displaying live previews in JPEG format)
0.000287 main                        (2):  + readline (for easy navigation in the shell)
0.000310 main                        (2): libgphoto2 2.5.24
0.000322 main                        (2): libgphoto2 has been compiled with the following options:
0.000339 main                        (2):  + standard camlib set (ax203 canon digigr8 dimagev directory jl2005a jl2005c kodak_dc240 lumix mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801)
0.000351 main                        (2):  + gcc (C compiler used)
0.000360 main                        (2):  + ltdl (for portable loading of camlibs)
0.000370 main                        (2):  + EXIF (for special handling of EXIF files)
0.000387 main                        (2): libgphoto2_port 0.12.0
0.000397 main                        (2): libgphoto2_port has been compiled with the following options:
0.000404 main                        (2):  + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
0.000417 main                        (2):  + gcc (C compiler used)
0.000428 main                        (2):  + ltdl (for portable loading of iolibs)
0.000438 main                        (2):  + EXIF (for vusb)
0.000448 main                        (2):  + USB (libusb1, for USB cameras)
0.000458 main                        (2):  + serial (for serial cameras)
0.000467 main                        (2):  + no resmgr (serial port access and locking)
0.000475 main                        (2):  + no ttylock (serial port locking)
0.000484 main                        (2):  + no lockdev (serial port locking)
0.000495 main                        (2): CAMLIBS env var not set, using compile-time default instead
0.000505 main                        (2): IOLIBS env var not set, using compile-time default instead
0.000515 main                        (2): invoked with following arguments:
0.000525 main                        (2):   --auto-detect
0.000535 main                        (2):   --list-files
0.000544 main                        (2):   --debug
0.000588 load_settings               (2): Creating gphoto config directory ('/home/thecraiggers/.gphoto')
0.000675 load_settings               (2): Loading settings from file '/home/thecraiggers/.gphoto/settings'.
0.000991 main                        (2): The user has not specified both a model and a port. Try to figure them out.
0.001008 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.12.0'...
0.001106 foreach_func                (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/disk'.
0.001445 gp_port_library_list        (2): found fstab fsname /dev/nvme0n1p2
0.001477 gp_port_library_list        (2): found fstab fsname /dev/nvme0n1p1
0.001501 gp_port_library_list        (2): found fstab fsname torrentbox:/array
0.001623 gp_port_library_list        (2): found mtab fsname proc
0.001639 gp_port_library_list        (2): found mtab fsname sys
0.001649 gp_port_library_list        (2): found mtab fsname dev
0.001674 gp_port_library_list        (2): found mtab fsname run
0.001704 gp_port_library_list        (2): found mtab fsname efivarfs
0.001735 gp_port_library_list        (2): found mtab fsname /dev/nvme0n1p2
0.001755 gp_port_library_list        (2): found mtab fsname securityfs
0.001790 gp_port_library_list        (2): found mtab fsname tmpfs
0.001817 gp_port_library_list        (2): found mtab fsname devpts
0.001830 gp_port_library_list        (2): found mtab fsname tmpfs
0.001859 gp_port_library_list        (2): found mtab fsname cgroup2
0.001872 gp_port_library_list        (2): found mtab fsname cgroup
0.001881 gp_port_library_list        (2): found mtab fsname pstore
0.001902 gp_port_library_list        (2): found mtab fsname none
0.001973 gp_port_library_list        (2): found mtab fsname cgroup
0.001985 gp_port_library_list        (2): found mtab fsname cgroup
0.001997 gp_port_library_list        (2): found mtab fsname cgroup
0.002009 gp_port_library_list        (2): found mtab fsname cgroup
0.002021 gp_port_library_list        (2): found mtab fsname cgroup
0.002032 gp_port_library_list        (2): found mtab fsname cgroup
0.002044 gp_port_library_list        (2): found mtab fsname cgroup
0.002056 gp_port_library_list        (2): found mtab fsname cgroup
0.002067 gp_port_library_list        (2): found mtab fsname cgroup
0.002079 gp_port_library_list        (2): found mtab fsname cgroup
0.002091 gp_port_library_list        (2): found mtab fsname cgroup
0.002104 gp_port_library_list        (2): found mtab fsname systemd-1
0.002165 gp_port_library_list        (2): found mtab fsname mqueue
0.002177 gp_port_library_list        (2): found mtab fsname hugetlbfs
0.002206 gp_port_library_list        (2): found mtab fsname debugfs
0.002231 gp_port_library_list        (2): found mtab fsname tracefs
0.002256 gp_port_library_list        (2): found mtab fsname tmpfs
0.002282 gp_port_library_list        (2): found mtab fsname binfmt_misc
0.002318 gp_port_library_list        (2): found mtab fsname configfs
0.002349 gp_port_library_list        (2): found mtab fsname systemd-1
0.002362 gp_port_library_list        (2): found mtab fsname /dev/nvme0n1p1
0.002385 gp_port_library_list        (2): found mtab fsname dev
0.002407 gp_port_library_list        (2): found mtab fsname proc
0.002418 gp_port_library_list        (2): found mtab fsname sys
0.002431 gp_port_library_list        (2): found mtab fsname run
0.002488 gp_port_library_list        (2): found mtab fsname run
0.002512 gp_port_library_list        (2): found mtab fsname tmpfs
0.002540 gp_port_library_list        (2): found mtab fsname gvfsd-fuse
0.002552 gp_port_library_list        (2): found mtab fsname fusectl
0.002564 gp_port_library_list        (2): found mtab fsname fusectl
0.002577 gp_port_library_list        (2): found mtab fsname torrentbox:/array
0.002647 foreach_func                (2): Loaded '' ('^disk:') from '/usr/lib/libgphoto2_port/0.12.0/disk'.
0.002660 foreach_func                (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/ptpip'.
0.002965 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/libgphoto2_port/0.12.0/ptpip'.
0.002984 foreach_func                (2): Loaded '' ('^ptpip:') from '/usr/lib/libgphoto2_port/0.12.0/ptpip'.
0.002995 foreach_func                (2): Loaded 'IP Connection' ('ip:') from '/usr/lib/libgphoto2_port/0.12.0/ptpip'.
0.003010 foreach_func                (2): Loaded '' ('^ip:') from '/usr/lib/libgphoto2_port/0.12.0/ptpip'.
0.003022 foreach_func                (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.003462 foreach_func                (2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.003484 foreach_func                (2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.003494 foreach_func                (2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.003507 foreach_func                (2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.003521 foreach_func                (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.003547 foreach_func                (2): Loaded '' ('^serial:') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.003571 foreach_func                (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.033842 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.033859 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:003,002') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.033864 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,015') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.033868 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,013') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.033873 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,012') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.033877 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,011') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.033882 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,004') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.033886 foreach_func                (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/usbdiskdirect'.
0.034120 foreach_func                (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/usbscsi'.
0.034288 gp_port_info_list_count     (2): Counting entries (18 available)...
0.034298 gp_port_info_list_count     (2): 13 regular entries available.
0.034313 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/lib/libgphoto2/2.5.24'...
0.034374 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/ax203'.
0.034381 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/canon'.
0.034385 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/digigr8'.
0.034389 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/dimagev'.
0.034392 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/directory'.
0.034396 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/jl2005a'.
0.034399 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/jl2005c'.
0.034403 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/kodak_dc240'.
0.034406 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/lumix'.
0.034410 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/mars'.
0.034416 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/pentax'.
0.034421 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/ptp2'.
0.034426 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/ricoh_g3'.
0.034432 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/sierra'.
0.034437 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/sonix'.
0.034442 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/sq905'.
0.034446 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/st2205'.
0.034454 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/topfield'.
0.034457 foreach_func                (2): Found '/usr/lib/libgphoto2/2.5.24/tp6801'.
0.034464 gp_abilities_list_load_dir  (2): Found 19 camera drivers.
0.055665 gp_port_info_list_count     (2): Counting entries (18 available)...   
0.055671 gp_port_info_list_count     (2): 13 regular entries available.
0.055673 gp_port_new                 (2): Creating new device...
0.055676 gp_port_info_list_get_info  (2): Getting info of entry 0 (18 available)...
0.055734 gp_port_set_settings        (2): Setting settings...
0.055738 gp_port_info_list_get_info  (2): Getting info of entry 1 (18 available)...
0.055791 gp_port_set_settings        (2): Setting settings...
0.055795 gp_port_info_list_get_info  (2): Getting info of entry 2 (18 available)...
0.055851 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.055855 gp_port_set_settings        (2): Setting settings...
0.055857 gp_port_info_list_get_info  (2): Getting info of entry 3 (18 available)...
0.055907 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.055911 gp_port_set_settings        (2): Setting settings...
0.055913 gp_port_info_list_get_info  (2): Getting info of entry 4 (18 available)...
0.055962 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.055966 gp_port_set_settings        (2): Setting settings...
0.055968 gp_port_info_list_get_info  (2): Getting info of entry 5 (18 available)...
0.056015 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.056019 gp_port_set_settings        (2): Setting settings...
0.056021 gp_port_info_list_get_info  (2): Getting info of entry 6 (18 available)...
0.056076 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.056080 gp_port_set_settings        (2): Setting settings...
0.056082 gp_port_info_list_get_info  (2): Getting info of entry 7 (18 available)...
0.062440 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.062445 gp_port_set_settings        (2): Setting settings...
0.062450 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:003,002, (new int=0, conf=-1, alt=-1) port usb:003,002
0.062452 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.062454 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.062691 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.062862 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.062878 gp_port_info_list_get_info  (2): Getting info of entry 8 (18 available)...
0.068579 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.068584 gp_port_set_settings        (2): Setting settings...
0.068589 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,015, (new int=0, conf=-1, alt=-1) port usb:001,015
0.068590 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.068592 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.068771 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.068812 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x7b4, product 0x130)... found.
0.068830 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 86, outep 05, intep 83, class 06, subclass 01
0.068832 gp_abilities_list_detect_usb(2): Found 'Olympus E-M1' (0x7b4,0x130)
0.068857 gp_port_info_list_get_info  (2): Getting info of entry 9 (18 available)...
0.074035 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.074039 gp_port_set_settings        (2): Setting settings...
0.074044 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.074045 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.074047 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.074215 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.074350 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.074361 gp_port_info_list_get_info  (2): Getting info of entry 10 (18 available)...
0.079518 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.079523 gp_port_set_settings        (2): Setting settings...
0.079527 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,012, (new int=0, conf=-1, alt=-1) port usb:001,012
0.079529 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.079530 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.079709 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.079840 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.079852 gp_port_info_list_get_info  (2): Getting info of entry 11 (18 available)...
0.084966 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.084971 gp_port_set_settings        (2): Setting settings...
0.084975 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.084977 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.084978 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.085179 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.085325 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.085338 gp_port_info_list_get_info  (2): Getting info of entry 12 (18 available)...
0.090539 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.090543 gp_port_set_settings        (2): Setting settings...
0.090548 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.090549 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.090551 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.090743 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.090895 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.090909 gp_port_free                (2): Freeing port...
0.090912 gp_port_close               (2): Closing port...
0.091019 gp_camera_set_abilities     (2): Setting abilities ('Olympus E-M1')...
0.091024 gp_setting_set              (2): Setting key 'model' to value 'Olympus E-M1' (gphoto2)
0.091028 save_settings               (2): Saving 2 setting(s) to file "/home/thecraiggers/.gphoto/settings"
0.091104 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,015' (18 entries available)...
0.091108 gp_port_info_list_get_info  (2): Getting info of entry 8 (18 available)...
0.091109 gp_camera_set_port_info     (2): Setting port info for port 'Universal Serial Bus' at 'usb:001,015'...
0.096240 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.096244 gp_port_set_settings        (2): Setting settings...
0.096248 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,015, (new int=0, conf=-1, alt=-1) port usb:001,015
0.096250 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.096252 gp_setting_set              (2): Setting key 'port' to value 'usb:001,015' (gphoto2)
0.096254 save_settings               (2): Saving 2 setting(s) to file "/home/thecraiggers/.gphoto/settings"
0.096313 gp_port_info_list_count     (2): Counting entries (18 available)...
0.096316 gp_port_info_list_count     (2): 13 regular entries available.
0.096318 gp_port_info_list_count     (2): Counting entries (18 available)...
0.096319 gp_port_info_list_count     (2): 13 regular entries available.
0.096320 gp_port_new                 (2): Creating new device...
0.096322 gp_port_info_list_get_info  (2): Getting info of entry 0 (18 available)...
0.096361 gp_port_set_settings        (2): Setting settings...
0.096364 gp_port_info_list_get_info  (2): Getting info of entry 1 (18 available)...
0.096400 gp_port_set_settings        (2): Setting settings...
0.096403 gp_port_info_list_get_info  (2): Getting info of entry 2 (18 available)...
0.096443 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.096446 gp_port_set_settings        (2): Setting settings...
0.096448 gp_port_info_list_get_info  (2): Getting info of entry 3 (18 available)...
0.096484 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.096487 gp_port_set_settings        (2): Setting settings...
0.096489 gp_port_info_list_get_info  (2): Getting info of entry 4 (18 available)...
0.096523 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.096526 gp_port_set_settings        (2): Setting settings...
0.096528 gp_port_info_list_get_info  (2): Getting info of entry 5 (18 available)...
0.096561 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.096564 gp_port_set_settings        (2): Setting settings...
0.096565 gp_port_info_list_get_info  (2): Getting info of entry 6 (18 available)...
0.096598 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.096600 gp_port_set_settings        (2): Setting settings...
0.096602 gp_port_info_list_get_info  (2): Getting info of entry 7 (18 available)...
0.101339 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.101343 gp_port_set_settings        (2): Setting settings...
0.101347 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:003,002, (new int=0, conf=-1, alt=-1) port usb:003,002
0.101349 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.101351 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.101550 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.101702 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.101716 gp_port_info_list_get_info  (2): Getting info of entry 8 (18 available)...
0.106684 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.106688 gp_port_set_settings        (2): Setting settings...
0.106691 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,015, (new int=0, conf=-1, alt=-1) port usb:001,015
0.106692 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.106694 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.106883 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.106926 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x7b4, product 0x130)... found.
0.106944 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 86, outep 05, intep 83, class 06, subclass 01
0.106946 gp_abilities_list_detect_usb(2): Found 'Olympus E-M1' (0x7b4,0x130)
0.106970 gp_port_info_list_get_info  (2): Getting info of entry 9 (18 available)...
0.111683 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.111687 gp_port_set_settings        (2): Setting settings...
0.111690 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.111691 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.111693 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.111865 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.112010 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.112022 gp_port_info_list_get_info  (2): Getting info of entry 10 (18 available)...
0.116755 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.116760 gp_port_set_settings        (2): Setting settings...
0.116762 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,012, (new int=0, conf=-1, alt=-1) port usb:001,012
0.116764 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.116765 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.116953 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.117090 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.117103 gp_port_info_list_get_info  (2): Getting info of entry 11 (18 available)...
0.121896 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.121900 gp_port_set_settings        (2): Setting settings...
0.121902 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.121904 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.121905 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.122074 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.122211 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.122223 gp_port_info_list_get_info  (2): Getting info of entry 12 (18 available)...
0.127130 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.127134 gp_port_set_settings        (2): Setting settings...
0.127136 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.127138 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.127139 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.127308 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.127436 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.127448 gp_port_free                (2): Freeing port...
0.127450 gp_port_close               (2): Closing port...
Model                          Port            
----------------------------------------------------------
Olympus E-M1                   usb:001,015     
0.127471 foreach                     (2): Executing action 'List Files' for folder '/'.
0.127473 gp_camera_folder_list_files (2): Listing files in '/'...
0.127475 gp_camera_init              (2): Initializing camera...
0.127480 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x7b4, product 0x130)... found.
0.127503 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 86, outep 05, intep 83, class 06, subclass 01
0.127506 gp_camera_init              (2): Loading '/usr/lib/libgphoto2/2.5.24/ptp2'...
0.128054 gp_port_open                (2): Opening USB port...
0.128058 gp_libusb1_open             (2): ()
0.128072 gp_libusb1_open             (2): claiming interface 0
0.128521 camera_init                 (2): maxpacketsize 512
0.128527 gp_port_set_timeout         (2): Setting port timeout to 8000 milliseconds.
0.128532 ptp                         (2): PTP: Opening session
0.128552 ptp_usb_sendreq             (2): Sending PTP_OC 0x1002 (Open session) (0x1) request...
0.128555 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
0.129196 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.129201 ptp_usb_getresp             (2): Reading PTP_OC 0x1002 (Open session) response...
0.129202 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.130501 _cb_irq                     (2): 0x55e848e64bc0 with status 0
0.130508 _cb_irq                     (3): interrupt (hexdump of 24 bytes)
0000  18 00 00 00 04 00 08 c1-ff ff ff ff 84 d0 00 00  ................
0010  07 00 00 00 00 00 00 00-                         ........        

0.130510 _cb_irq                     (2): Requeuing completed transfer 0x55e848e64bc0
1.443014 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              ....... ....    

1.443050 gp_port_set_timeout         (2): Setting port timeout to 20000 milliseconds.
1.443073 ptp_usb_sendreq             (2): Sending PTP_OC 0x1001 (Get device info) request...
1.443083 gp_port_write               (3): Writing 12 = 0xc bytes to port...
1.443306 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              ............    

1.443346 ptp_usb_getdata             (2): Reading PTP_OC 0x1001 (Get device info) data...
1.443356 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
1.444574 gp_port_read                (3): Read    811 = 0x32b out of 1024 bytes from port: (hexdump of 811 bytes)
0000  2b 03 00 00 02 00 01 10-01 00 00 00 64 00 00 00  +...........d...
0010  00 00 64 00 00 00 00 26-00 00 00 01 10 02 10 03  ..d....&........
0020  10 04 10 05 10 06 10 07-10 08 10 09 10 0a 10 0b  ................
0030  10 0f 10 14 10 15 10 16-10 1b 10 20 91 01 98 02  ........... ....
0040  98 03 98 05 98 81 94 82-94 83 94 84 94 85 94 86  ................
0050  94 87 94 88 94 89 94 8a-94 8b 94 8c 94 8d 94 93  ................
0060  94 94 94 95 94 a0 94 0d-00 00 00 04 40 05 40 02  ............@.@.
0070  40 09 40 06 40 01 c1 02-c1 03 c1 04 c1 05 c1 06  @.@.@...........
0080  c1 08 c1 10 c1 1a 01 00-00 01 50 11 50 05 d4 06  ..........P.P...
0090  d4 07 d4 02 d0 03 d0 04-d0 05 d0 06 d0 07 d0 08  ................
00a0  d0 09 d0 0c d0 0d d0 0e-d0 0f d0 10 d0 11 d0 13  ................
00b0  d0 14 d0 18 d0 1a d0 1b-d0 1c d0 1d d0 1e d0 1f  ................
00c0  d0 20 d0 21 d0 22 d0 23-d0 24 d0 25 d0 26 d0 27  . .!.".#.$.%.&.'
00d0  d0 28 d0 29 d0 2a d0 2b-d0 2c d0 2d d0 2e d0 2f  .(.).*.+.,.-.../
00e0  d0 30 d0 31 d0 32 d0 33-d0 34 d0 35 d0 36 d0 37  .0.1.2.3.4.5.6.7
00f0  d0 38 d0 39 d0 3a d0 3b-d0 3c d0 3d d0 3e d0 3f  .8.9.:.;.<.=.>.?
0100  d0 40 d0 41 d0 42 d0 43-d0 44 d0 45 d0 46 d0 47  .@.A.B.C.D.E.F.G
0110  d0 48 d0 49 d0 4a d0 4b-d0 4c d0 4d d0 4e d0 4f  .H.I.J.K.L.M.N.O
0120  d0 50 d0 51 d0 52 d0 53-d0 54 d0 55 d0 56 d0 57  .P.Q.R.S.T.U.V.W
0130  d0 58 d0 59 d0 5a d0 5b-d0 5c d0 5d d0 5e d0 5f  .X.Y.Z.[.\.].^._
0140  d0 60 d0 61 d0 62 d0 63-d0 64 d0 65 d0 66 d0 67  .`.a.b.c.d.e.f.g
0150  d0 68 d0 69 d0 6a d0 6b-d0 6c d0 6d d0 70 d0 71  .h.i.j.k.l.m.p.q
0160  d0 72 d0 73 d0 74 d0 75-d0 77 d0 78 d0 79 d0 7a  .r.s.t.u.w.x.y.z
0170  d0 7b d0 7c d0 7d d0 7f-d0 80 d0 81 d0 82 d0 83  .{.|.}..........
0180  d0 84 d0 85 d0 86 d0 87-d0 8b d0 8c d0 8e d0 8f  ................
0190  d0 97 d0 9f d0 a2 d0 a3-d0 a4 d0 a6 d0 a7 d0 a8  ................
01a0  d0 a9 d0 aa d0 ab d0 ac-d0 ad d0 ae d0 b2 d0 b3  ................
01b0  d0 b4 d0 b5 d0 b6 d0 b7-d0 b8 d0 b9 d0 ba d0 bc  ................
01c0  d0 bd d0 be d0 bf d0 c0-d0 c4 d0 c5 d0 c6 d0 c7  ................
01d0  d0 c8 d0 c9 d0 cb d0 cc-d0 cd d0 ce d0 cf d0 d0  ................
01e0  d0 d1 d0 d2 d0 d3 d0 d4-d0 d5 d0 d6 d0 d7 d0 d8  ................
01f0  d0 d9 d0 da d0 db d0 dc-d0 dd d0 de d0 e1 d0 e2  ................
0200  d0 e3 d0 e4 d0 e5 d0 e6-d0 e7 d0 e8 d0 e9 d0 ea  ................
0210  d0 ec d0 ed d0 ef d0 f0-d0 f1 d0 f2 d0 f3 d0 f4  ................
0220  d0 f5 d0 f6 d0 f7 d0 f8-d0 f9 d0 fa d0 fb d0 fc  ................
0230  d0 fd d0 fe d0 ff d0 00-d1 01 d1 02 d1 03 d1 04  ................
0240  d1 05 d1 06 d1 07 d1 08-d1 09 d1 0a d1 0b d1 0c  ................
0250  d1 0d d1 0e d1 0f d1 10-d1 11 d1 12 d1 13 d1 14  ................
0260  d1 15 d1 16 d1 17 d1 18-d1 19 d1 1a d1 1b d1 1c  ................
0270  d1 1d d1 1e d1 1f d1 20-d1 21 d1 22 d1 23 d1 24  ....... .!.".#.$
0280  d1 25 d1 26 d1 27 d1 28-d1 2d d1 2e d1 2f d1 30  .%.&.'.(.-.../.0
0290  d1 31 d1 32 d1 33 d1 34-d1 35 d1 36 d1 37 d1 38  .1.2.3.4.5.6.7.8
02a0  d1 39 d1 3a d1 51 d1 52-d1 5a d1 5c d1 5d d1 5e  .9.:.Q.R.Z.\.].^
02b0  d1 5f d1 60 d1 61 d1 62-d1 63 d1 74 d1 06 00 00  ._.`.a.b.c.t....
02c0  00 08 30 0a 30 80 b9 00-38 01 38 01 b1 09 00 00  ..0.0...8.8.....
02d0  00 00 30 01 30 06 30 08-30 0a 30 80 b9 00 38 01  ..0.0.0.0.0...8.
02e0  38 01 b1 08 4f 00 4c 00-59 00 4d 00 50 00 55 00  8...O.L.Y.M.P.U.
02f0  53 00 00 00 0b 45 00 2d-00 4d 00 31 00 4d 00 61  S....E.-.M.1.M.a
0300  00 72 00 6b 00 49 00 49-00 00 00 05 31 00 2e 00  .r.k.I.I....1...
0310  30 00 30 00 00 00 0a 42-00 48 00 55 00 41 00 34  0.0....B.H.U.A.4
0320  00 31 00 35 00 36 00 30-00 00 00                 .1.5.6.0...     

1.444743 ptp_usb_getresp             (2): Reading PTP_OC 0x1001 (Get device info) response...
1.444756 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
1.445007 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              ....... ....    

1.445072 fixup_cached_deviceinfo     (2): Setting Olympus VendorExtensionID to PTP_VENDOR_GP_OLYMPUS_OMD
1.445086 print_debug_deviceinfo      (2): Device info:
1.445119 print_debug_deviceinfo      (2): Manufacturer: OLYMPUS
1.445136 print_debug_deviceinfo      (2):   Model: E-M1MarkII
1.445144 print_debug_deviceinfo      (2):   device version: 1.00
1.445154 print_debug_deviceinfo      (2):   serial number: 'BHUA41560'
1.445165 print_debug_deviceinfo      (2): Vendor extension ID: 0x0000fffd
1.445178 print_debug_deviceinfo      (2): Vendor extension version: 100
1.445188 print_debug_deviceinfo      (2): Vendor extension description: (null)
1.445200 print_debug_deviceinfo      (2): Functional Mode: 0x0000
1.445210 print_debug_deviceinfo      (2): PTP Standard Version: 100
1.445221 print_debug_deviceinfo      (2): Supported operations:
1.445240 print_debug_deviceinfo      (2):   0x1001 (Get device info)
1.445252 print_debug_deviceinfo      (2):   0x1002 (Open session)
1.445264 print_debug_deviceinfo      (2):   0x1003 (Close session)
1.445276 print_debug_deviceinfo      (2):   0x1004 (Get storage IDs)
1.445287 print_debug_deviceinfo      (2):   0x1005 (Get storage info)
1.445299 print_debug_deviceinfo      (2):   0x1006 (Get number of objects)
1.445311 print_debug_deviceinfo      (2):   0x1007 (Get object handles)
1.445322 print_debug_deviceinfo      (2):   0x1008 (Get object info)
1.445333 print_debug_deviceinfo      (2):   0x1009 (Get object)
1.445345 print_debug_deviceinfo      (2):   0x100a (Get thumbnail)
1.445356 print_debug_deviceinfo      (2):   0x100b (Delete object)
1.445368 print_debug_deviceinfo      (2):   0x100f (Format storage)
1.445379 print_debug_deviceinfo      (2):   0x1014 (Get device property description)
1.445391 print_debug_deviceinfo      (2):   0x1015 (Get device property value)
1.445403 print_debug_deviceinfo      (2):   0x1016 (Set device property value)
1.445414 print_debug_deviceinfo      (2):   0x101b (Get partial object)
1.445426 print_debug_deviceinfo      (2):   0x9120 (Unknown VendorExtensionID)
1.445438 print_debug_deviceinfo      (2):   0x9801 (Unknown VendorExtensionID)
1.445449 print_debug_deviceinfo      (2):   0x9802 (Unknown VendorExtensionID)
1.445461 print_debug_deviceinfo      (2):   0x9803 (Unknown VendorExtensionID)
1.445472 print_debug_deviceinfo      (2):   0x9805 (Unknown VendorExtensionID)
1.445484 print_debug_deviceinfo      (2):   0x9481 (Unknown VendorExtensionID)
1.445495 print_debug_deviceinfo      (2):   0x9482 (Unknown VendorExtensionID)
1.445507 print_debug_deviceinfo      (2):   0x9483 (Unknown VendorExtensionID)
1.445518 print_debug_deviceinfo      (2):   0x9484 (Unknown VendorExtensionID)
1.445530 print_debug_deviceinfo      (2):   0x9485 (Unknown VendorExtensionID)
1.445541 print_debug_deviceinfo      (2):   0x9486 (Unknown VendorExtensionID)
1.445553 print_debug_deviceinfo      (2):   0x9487 (Unknown VendorExtensionID)
1.445564 print_debug_deviceinfo      (2):   0x9488 (Unknown VendorExtensionID)
1.445575 print_debug_deviceinfo      (2):   0x9489 (Unknown VendorExtensionID)
1.445587 print_debug_deviceinfo      (2):   0x948a (Unknown VendorExtensionID)
1.445598 print_debug_deviceinfo      (2):   0x948b (Unknown VendorExtensionID)
1.445609 print_debug_deviceinfo      (2):   0x948c (Unknown VendorExtensionID)
1.445621 print_debug_deviceinfo      (2):   0x948d (Unknown VendorExtensionID)
1.445632 print_debug_deviceinfo      (2):   0x9493 (Unknown VendorExtensionID)
1.445644 print_debug_deviceinfo      (2):   0x9494 (Unknown VendorExtensionID)
1.445655 print_debug_deviceinfo      (2):   0x9495 (Unknown VendorExtensionID)
1.445667 print_debug_deviceinfo      (2):   0x94a0 (Unknown VendorExtensionID)
1.445677 print_debug_deviceinfo      (2): Events Supported:
1.445689 print_debug_deviceinfo      (2):   0x4004 (StoreAdded)
1.445700 print_debug_deviceinfo      (2):   0x4005 (StoreRemoved)
1.445712 print_debug_deviceinfo      (2):   0x4002 (ObjectAdded)
1.445724 print_debug_deviceinfo      (2):   0x4009 (RequestObjectTransfer)
1.445735 print_debug_deviceinfo      (2):   0x4006 (DevicePropChanged)
1.445747 print_debug_deviceinfo      (2):   0xc101 (Unknown Event)
1.445758 print_debug_deviceinfo      (2):   0xc102 (Unknown Event)
1.445770 print_debug_deviceinfo      (2):   0xc103 (Unknown Event)
1.445781 print_debug_deviceinfo      (2):   0xc104 (Unknown Event)
1.445792 print_debug_deviceinfo      (2):   0xc105 (Unknown Event)
1.445804 print_debug_deviceinfo      (2):   0xc106 (Unknown Event)
1.445815 print_debug_deviceinfo      (2):   0xc108 (Unknown Event)
1.445826 print_debug_deviceinfo      (2):   0xc110 (Unknown Event)
1.445835 print_debug_deviceinfo      (2): Device Properties Supported:
1.445848 print_debug_deviceinfo      (2):   0x5001 (Battery Level)
1.445859 print_debug_deviceinfo      (2):   0x5011 (Date & Time)
1.445870 print_debug_deviceinfo      (2):   0xd405 (Unknown DPC code)
1.445881 print_debug_deviceinfo      (2):   0xd406 (Unknown DPC code)
1.445892 print_debug_deviceinfo      (2):   0xd407 (Unknown DPC code)
1.445903 print_debug_deviceinfo      (2):   0xd002 (Unknown DPC code)
1.445914 print_debug_deviceinfo      (2):   0xd003 (Unknown DPC code)
1.445925 print_debug_deviceinfo      (2):   0xd004 (Unknown DPC code)
1.445938 print_debug_deviceinfo      (2):   0xd005 (Unknown DPC code)
1.445949 print_debug_deviceinfo      (2):   0xd006 (Unknown DPC code)
1.445960 print_debug_deviceinfo      (2):   0xd007 (Unknown DPC code)
1.445971 print_debug_deviceinfo      (2):   0xd008 (Unknown DPC code)
1.445982 print_debug_deviceinfo      (2):   0xd009 (Unknown DPC code)
1.445993 print_debug_deviceinfo      (2):   0xd00c (Unknown DPC code)
1.446004 print_debug_deviceinfo      (2):   0xd00d (Unknown DPC code)
1.446015 print_debug_deviceinfo      (2):   0xd00e (Unknown DPC code)
1.446026 print_debug_deviceinfo      (2):   0xd00f (Unknown DPC code)
1.446037 print_debug_deviceinfo      (2):   0xd010 (Unknown DPC code)
1.446049 print_debug_deviceinfo      (2):   0xd011 (Unknown DPC code)
1.446060 print_debug_deviceinfo      (2):   0xd013 (Unknown DPC code)
1.446070 print_debug_deviceinfo      (2):   0xd014 (Unknown DPC code)
1.446081 print_debug_deviceinfo      (2):   0xd018 (Unknown DPC code)
1.446092 print_debug_deviceinfo      (2):   0xd01a (Unknown DPC code)
1.446103 print_debug_deviceinfo      (2):   0xd01b (Unknown DPC code)
1.446114 print_debug_deviceinfo      (2):   0xd01c (Unknown DPC code)
1.446125 print_debug_deviceinfo      (2):   0xd01d (Unknown DPC code)
1.446136 print_debug_deviceinfo      (2):   0xd01e (Unknown DPC code)
1.446147 print_debug_deviceinfo      (2):   0xd01f (Unknown DPC code)
1.446158 print_debug_deviceinfo      (2):   0xd020 (Unknown DPC code)
1.446169 print_debug_deviceinfo      (2):   0xd021 (Unknown DPC code)
1.446180 print_debug_deviceinfo      (2):   0xd022 (Unknown DPC code)
1.446191 print_debug_deviceinfo      (2):   0xd023 (Unknown DPC code)
1.446202 print_debug_deviceinfo      (2):   0xd024 (Unknown DPC code)
1.446213 print_debug_deviceinfo      (2):   0xd025 (Unknown DPC code)
1.446224 print_debug_deviceinfo      (2):   0xd026 (Unknown DPC code)
1.446235 print_debug_deviceinfo      (2):   0xd027 (Unknown DPC code)
1.446246 print_debug_deviceinfo      (2):   0xd028 (Unknown DPC code)
1.446257 print_debug_deviceinfo      (2):   0xd029 (Unknown DPC code)
1.446268 print_debug_deviceinfo      (2):   0xd02a (Unknown DPC code)
1.446279 print_debug_deviceinfo      (2):   0xd02b (Unknown DPC code)
1.446290 print_debug_deviceinfo      (2):   0xd02c (Unknown DPC code)
1.446301 print_debug_deviceinfo      (2):   0xd02d (Unknown DPC code)
1.446312 print_debug_deviceinfo      (2):   0xd02e (Unknown DPC code)
1.446323 print_debug_deviceinfo      (2):   0xd02f (Unknown DPC code)
1.446334 print_debug_deviceinfo      (2):   0xd030 (Unknown DPC code)
1.446345 print_debug_deviceinfo      (2):   0xd031 (Unknown DPC code)
1.446355 print_debug_deviceinfo      (2):   0xd032 (Unknown DPC code)
1.446366 print_debug_deviceinfo      (2):   0xd033 (Unknown DPC code)
1.446377 print_debug_deviceinfo      (2):   0xd034 (Unknown DPC code)
1.446387 print_debug_deviceinfo      (2):   0xd035 (Unknown DPC code)
1.446398 print_debug_deviceinfo      (2):   0xd036 (Unknown DPC code)
1.446409 print_debug_deviceinfo      (2):   0xd037 (Unknown DPC code)
1.446420 print_debug_deviceinfo      (2):   0xd038 (Unknown DPC code)
1.446431 print_debug_deviceinfo      (2):   0xd039 (Unknown DPC code)
1.446442 print_debug_deviceinfo      (2):   0xd03a (Unknown DPC code)
1.446452 print_debug_deviceinfo      (2):   0xd03b (Unknown DPC code)
1.446463 print_debug_deviceinfo      (2):   0xd03c (Unknown DPC code)
1.446474 print_debug_deviceinfo      (2):   0xd03d (Unknown DPC code)
1.446484 print_debug_deviceinfo      (2):   0xd03e (Unknown DPC code)
1.446496 print_debug_deviceinfo      (2):   0xd03f (Unknown DPC code)
1.446506 print_debug_deviceinfo      (2):   0xd040 (Unknown DPC code)
1.446517 print_debug_deviceinfo      (2):   0xd041 (Unknown DPC code)
1.446528 print_debug_deviceinfo      (2):   0xd042 (Unknown DPC code)
1.446539 print_debug_deviceinfo      (2):   0xd043 (Unknown DPC code)
1.446550 print_debug_deviceinfo      (2):   0xd044 (Unknown DPC code)
1.446561 print_debug_deviceinfo      (2):   0xd045 (Unknown DPC code)
1.446572 print_debug_deviceinfo      (2):   0xd046 (Unknown DPC code)
1.446583 print_debug_deviceinfo      (2):   0xd047 (Unknown DPC code)
1.446594 print_debug_deviceinfo      (2):   0xd048 (Unknown DPC code)
1.446605 print_debug_deviceinfo      (2):   0xd049 (Unknown DPC code)
1.446615 print_debug_deviceinfo      (2):   0xd04a (Unknown DPC code)
1.446626 print_debug_deviceinfo      (2):   0xd04b (Unknown DPC code)
1.446637 print_debug_deviceinfo      (2):   0xd04c (Unknown DPC code)
1.446648 print_debug_deviceinfo      (2):   0xd04d (Unknown DPC code)
1.446659 print_debug_deviceinfo      (2):   0xd04e (Unknown DPC code)
1.446670 print_debug_deviceinfo      (2):   0xd04f (Unknown DPC code)
1.446681 print_debug_deviceinfo      (2):   0xd050 (Unknown DPC code)
1.446692 print_debug_deviceinfo      (2):   0xd051 (Unknown DPC code)
1.446703 print_debug_deviceinfo      (2):   0xd052 (Unknown DPC code)
1.446714 print_debug_deviceinfo      (2):   0xd053 (Unknown DPC code)
1.446725 print_debug_deviceinfo      (2):   0xd054 (Unknown DPC code)
1.446736 print_debug_deviceinfo      (2):   0xd055 (Unknown DPC code)
1.446746 print_debug_deviceinfo      (2):   0xd056 (Unknown DPC code)
1.446757 print_debug_deviceinfo      (2):   0xd057 (Unknown DPC code)
1.446768 print_debug_deviceinfo      (2):   0xd058 (Unknown DPC code)
1.446779 print_debug_deviceinfo      (2):   0xd059 (Unknown DPC code)
1.446790 print_debug_deviceinfo      (2):   0xd05a (Unknown DPC code)
1.446801 print_debug_deviceinfo      (2):   0xd05b (Unknown DPC code)
1.446812 print_debug_deviceinfo      (2):   0xd05c (Unknown DPC code)
1.446822 print_debug_deviceinfo      (2):   0xd05d (Unknown DPC code)
1.446833 print_debug_deviceinfo      (2):   0xd05e (Unknown DPC code)
1.446844 print_debug_deviceinfo      (2):   0xd05f (Unknown DPC code)
1.446855 print_debug_deviceinfo      (2):   0xd060 (Unknown DPC code)
1.446866 print_debug_deviceinfo      (2):   0xd061 (Unknown DPC code)
1.446877 print_debug_deviceinfo      (2):   0xd062 (Unknown DPC code)
1.446888 print_debug_deviceinfo      (2):   0xd063 (Unknown DPC code)
1.446899 print_debug_deviceinfo      (2):   0xd064 (Unknown DPC code)
1.446909 print_debug_deviceinfo      (2):   0xd065 (Unknown DPC code)
1.446920 print_debug_deviceinfo      (2):   0xd066 (Unknown DPC code)
1.446931 print_debug_deviceinfo      (2):   0xd067 (Unknown DPC code)
1.446942 print_debug_deviceinfo      (2):   0xd068 (Unknown DPC code)
1.446953 print_debug_deviceinfo      (2):   0xd069 (Unknown DPC code)
1.446964 print_debug_deviceinfo      (2):   0xd06a (Unknown DPC code)
1.446975 print_debug_deviceinfo      (2):   0xd06b (Unknown DPC code)
1.446986 print_debug_deviceinfo      (2):   0xd06c (Unknown DPC code)
1.446996 print_debug_deviceinfo      (2):   0xd06d (Unknown DPC code)
1.447007 print_debug_deviceinfo      (2):   0xd070 (Unknown DPC code)
1.447018 print_debug_deviceinfo      (2):   0xd071 (Unknown DPC code)
1.447029 print_debug_deviceinfo      (2):   0xd072 (Unknown DPC code)
1.447040 print_debug_deviceinfo      (2):   0xd073 (Unknown DPC code)
1.447051 print_debug_deviceinfo      (2):   0xd074 (Unknown DPC code)
1.447062 print_debug_deviceinfo      (2):   0xd075 (Unknown DPC code)
1.447071 print_debug_deviceinfo      (2):   0xd077 (Unknown DPC code)
1.447080 print_debug_deviceinfo      (2):   0xd078 (Unknown DPC code)
1.447091 print_debug_deviceinfo      (2):   0xd079 (Unknown DPC code)
1.447102 print_debug_deviceinfo      (2):   0xd07a (Unknown DPC code)
1.447113 print_debug_deviceinfo      (2):   0xd07b (Unknown DPC code)
1.447124 print_debug_deviceinfo      (2):   0xd07c (Unknown DPC code)
1.447138 print_debug_deviceinfo      (2):   0xd07d (Unknown DPC code)
1.447151 print_debug_deviceinfo      (2):   0xd07f (Unknown DPC code)
1.447162 print_debug_deviceinfo      (2):   0xd080 (Unknown DPC code)
1.447175 print_debug_deviceinfo      (2):   0xd081 (Unknown DPC code)
1.447186 print_debug_deviceinfo      (2):   0xd082 (Unknown DPC code)
1.447194 print_debug_deviceinfo      (2):   0xd083 (Unknown DPC code)
1.447202 print_debug_deviceinfo      (2):   0xd084 (Unknown DPC code)
1.447213 print_debug_deviceinfo      (2):   0xd085 (Unknown DPC code)
1.447224 print_debug_deviceinfo      (2):   0xd086 (Unknown DPC code)
1.447235 print_debug_deviceinfo      (2):   0xd087 (Unknown DPC code)
1.447247 print_debug_deviceinfo      (2):   0xd08b (Unknown DPC code)
1.447259 print_debug_deviceinfo      (2):   0xd08c (Unknown DPC code)
1.447271 print_debug_deviceinfo      (2):   0xd08e (Unknown DPC code)
1.447287 print_debug_deviceinfo      (2):   0xd08f (Unknown DPC code)
1.447303 print_debug_deviceinfo      (2):   0xd097 (Unknown DPC code)
1.447319 print_debug_deviceinfo      (2):   0xd09f (Unknown DPC code)
1.447335 print_debug_deviceinfo      (2):   0xd0a2 (Unknown DPC code)
1.447351 print_debug_deviceinfo      (2):   0xd0a3 (Unknown DPC code)
1.447367 print_debug_deviceinfo      (2):   0xd0a4 (Unknown DPC code)
1.447384 print_debug_deviceinfo      (2):   0xd0a6 (Unknown DPC code)
1.447399 print_debug_deviceinfo      (2):   0xd0a7 (Unknown DPC code)
1.447410 print_debug_deviceinfo      (2):   0xd0a8 (Unknown DPC code)
1.447421 print_debug_deviceinfo      (2):   0xd0a9 (Unknown DPC code)
1.447432 print_debug_deviceinfo      (2):   0xd0aa (Unknown DPC code)
1.447443 print_debug_deviceinfo      (2):   0xd0ab (Unknown DPC code)
1.447454 print_debug_deviceinfo      (2):   0xd0ac (Unknown DPC code)
1.447465 print_debug_deviceinfo      (2):   0xd0ad (Unknown DPC code)
1.447476 print_debug_deviceinfo      (2):   0xd0ae (Unknown DPC code)
1.447487 print_debug_deviceinfo      (2):   0xd0b2 (Unknown DPC code)
1.447498 print_debug_deviceinfo      (2):   0xd0b3 (Unknown DPC code)
1.447509 print_debug_deviceinfo      (2):   0xd0b4 (Unknown DPC code)
1.447519 print_debug_deviceinfo      (2):   0xd0b5 (Unknown DPC code)
1.447531 print_debug_deviceinfo      (2):   0xd0b6 (Unknown DPC code)
1.447541 print_debug_deviceinfo      (2):   0xd0b7 (Unknown DPC code)
1.447552 print_debug_deviceinfo      (2):   0xd0b8 (Unknown DPC code)
1.447563 print_debug_deviceinfo      (2):   0xd0b9 (Unknown DPC code)
1.447574 print_debug_deviceinfo      (2):   0xd0ba (Unknown DPC code)
1.447585 print_debug_deviceinfo      (2):   0xd0bc (Unknown DPC code)
1.447596 print_debug_deviceinfo      (2):   0xd0bd (Unknown DPC code)
1.447607 print_debug_deviceinfo      (2):   0xd0be (Unknown DPC code)
1.447618 print_debug_deviceinfo      (2):   0xd0bf (Unknown DPC code)
1.447629 print_debug_deviceinfo      (2):   0xd0c0 (Unknown DPC code)
1.447640 print_debug_deviceinfo      (2):   0xd0c4 (Unknown DPC code)
1.447651 print_debug_deviceinfo      (2):   0xd0c5 (Unknown DPC code)
1.447662 print_debug_deviceinfo      (2):   0xd0c6 (Unknown DPC code)
1.447673 print_debug_deviceinfo      (2):   0xd0c7 (Unknown DPC code)
1.447684 print_debug_deviceinfo      (2):   0xd0c8 (Unknown DPC code)
1.447695 print_debug_deviceinfo      (2):   0xd0c9 (Unknown DPC code)
1.447705 print_debug_deviceinfo      (2):   0xd0cb (Unknown DPC code)
1.447716 print_debug_deviceinfo      (2):   0xd0cc (Unknown DPC code)
1.447727 print_debug_deviceinfo      (2):   0xd0cd (Unknown DPC code)
1.447738 print_debug_deviceinfo      (2):   0xd0ce (Unknown DPC code)
1.447750 print_debug_deviceinfo      (2):   0xd0cf (Unknown DPC code)
1.447761 print_debug_deviceinfo      (2):   0xd0d0 (Unknown DPC code)
1.447772 print_debug_deviceinfo      (2):   0xd0d1 (Unknown DPC code)
1.447783 print_debug_deviceinfo      (2):   0xd0d2 (Unknown DPC code)
1.447793 print_debug_deviceinfo      (2):   0xd0d3 (Unknown DPC code)
1.447804 print_debug_deviceinfo      (2):   0xd0d4 (Unknown DPC code)
1.447815 print_debug_deviceinfo      (2):   0xd0d5 (Unknown DPC code)
1.447826 print_debug_deviceinfo      (2):   0xd0d6 (Unknown DPC code)
1.447838 print_debug_deviceinfo      (2):   0xd0d7 (Unknown DPC code)
1.447849 print_debug_deviceinfo      (2):   0xd0d8 (Unknown DPC code)
1.447860 print_debug_deviceinfo      (2):   0xd0d9 (Unknown DPC code)
1.447870 print_debug_deviceinfo      (2):   0xd0da (Unknown DPC code)
1.447881 print_debug_deviceinfo      (2):   0xd0db (Unknown DPC code)
1.447892 print_debug_deviceinfo      (2):   0xd0dc (Unknown DPC code)
1.447903 print_debug_deviceinfo      (2):   0xd0dd (Unknown DPC code)
1.447915 print_debug_deviceinfo      (2):   0xd0de (Unknown DPC code)
1.447926 print_debug_deviceinfo      (2):   0xd0e1 (Unknown DPC code)
1.447937 print_debug_deviceinfo      (2):   0xd0e2 (Unknown DPC code)
1.447948 print_debug_deviceinfo      (2):   0xd0e3 (Unknown DPC code)
1.447959 print_debug_deviceinfo      (2):   0xd0e4 (Unknown DPC code)
1.447969 print_debug_deviceinfo      (2):   0xd0e5 (Unknown DPC code)
1.447980 print_debug_deviceinfo      (2):   0xd0e6 (Unknown DPC code)
1.447991 print_debug_deviceinfo      (2):   0xd0e7 (Unknown DPC code)
1.448002 print_debug_deviceinfo      (2):   0xd0e8 (Unknown DPC code)
1.448013 print_debug_deviceinfo      (2):   0xd0e9 (Unknown DPC code)
1.448024 print_debug_deviceinfo      (2):   0xd0ea (Unknown DPC code)
1.448035 print_debug_deviceinfo      (2):   0xd0ec (Unknown DPC code)
1.448046 print_debug_deviceinfo      (2):   0xd0ed (Unknown DPC code)
1.448057 print_debug_deviceinfo      (2):   0xd0ef (Unknown DPC code)
1.448068 print_debug_deviceinfo      (2):   0xd0f0 (Unknown DPC code)
1.448079 print_debug_deviceinfo      (2):   0xd0f1 (Unknown DPC code)
1.448089 print_debug_deviceinfo      (2):   0xd0f2 (Unknown DPC code)
1.448100 print_debug_deviceinfo      (2):   0xd0f3 (Unknown DPC code)
1.448111 print_debug_deviceinfo      (2):   0xd0f4 (Unknown DPC code)
1.448122 print_debug_deviceinfo      (2):   0xd0f5 (Unknown DPC code)
1.448133 print_debug_deviceinfo      (2):   0xd0f6 (Unknown DPC code)
1.448144 print_debug_deviceinfo      (2):   0xd0f7 (Unknown DPC code)
1.448155 print_debug_deviceinfo      (2):   0xd0f8 (Unknown DPC code)
1.448166 print_debug_deviceinfo      (2):   0xd0f9 (Unknown DPC code)
1.448177 print_debug_deviceinfo      (2):   0xd0fa (Unknown DPC code)
1.448188 print_debug_deviceinfo      (2):   0xd0fb (Unknown DPC code)
1.448199 print_debug_deviceinfo      (2):   0xd0fc (Unknown DPC code)
1.448210 print_debug_deviceinfo      (2):   0xd0fd (Unknown DPC code)
1.448221 print_debug_deviceinfo      (2):   0xd0fe (Unknown DPC code)
1.448232 print_debug_deviceinfo      (2):   0xd0ff (Unknown DPC code)
1.448241 print_debug_deviceinfo      (2):   0xd100 (Unknown DPC code)
1.448253 print_debug_deviceinfo      (2):   0xd101 (Unknown DPC code)
1.448266 print_debug_deviceinfo      (2):   0xd102 (Unknown DPC code)
1.448277 print_debug_deviceinfo      (2):   0xd103 (Unknown DPC code)
1.448288 print_debug_deviceinfo      (2):   0xd104 (Unknown DPC code)
1.448299 print_debug_deviceinfo      (2):   0xd105 (Unknown DPC code)
1.448310 print_debug_deviceinfo      (2):   0xd106 (Unknown DPC code)
1.448321 print_debug_deviceinfo      (2):   0xd107 (Unknown DPC code)
1.448332 print_debug_deviceinfo      (2):   0xd108 (Unknown DPC code)
1.448343 print_debug_deviceinfo      (2):   0xd109 (Unknown DPC code)
1.448354 print_debug_deviceinfo      (2):   0xd10a (Unknown DPC code)
1.448365 print_debug_deviceinfo      (2):   0xd10b (Unknown DPC code)
1.448376 print_debug_deviceinfo      (2):   0xd10c (Unknown DPC code)
1.448387 print_debug_deviceinfo      (2):   0xd10d (Unknown DPC code)
1.448398 print_debug_deviceinfo      (2):   0xd10e (Unknown DPC code)
1.448409 print_debug_deviceinfo      (2):   0xd10f (Unknown DPC code)
1.448420 print_debug_deviceinfo      (2):   0xd110 (Unknown DPC code)
1.448450 print_debug_deviceinfo      (2):   0xd111 (Unknown DPC code)
1.448461 print_debug_deviceinfo      (2):   0xd112 (Unknown DPC code)
1.448473 print_debug_deviceinfo      (2):   0xd113 (Unknown DPC code)
1.448484 print_debug_deviceinfo      (2):   0xd114 (Unknown DPC code)
1.448495 print_debug_deviceinfo      (2):   0xd115 (Unknown DPC code)
1.448506 print_debug_deviceinfo      (2):   0xd116 (Unknown DPC code)
1.448516 print_debug_deviceinfo      (2):   0xd117 (Unknown DPC code)
1.448528 print_debug_deviceinfo      (2):   0xd118 (Unknown DPC code)
1.448538 print_debug_deviceinfo      (2):   0xd119 (Unknown DPC code)
1.448550 print_debug_deviceinfo      (2):   0xd11a (Unknown DPC code)
1.448561 print_debug_deviceinfo      (2):   0xd11b (Unknown DPC code)
1.448572 print_debug_deviceinfo      (2):   0xd11c (Unknown DPC code)
1.448583 print_debug_deviceinfo      (2):   0xd11d (Unknown DPC code)
1.448593 print_debug_deviceinfo      (2):   0xd11e (Unknown DPC code)
1.448605 print_debug_deviceinfo      (2):   0xd11f (Unknown DPC code)
1.448616 print_debug_deviceinfo      (2):   0xd120 (Unknown DPC code)
1.448627 print_debug_deviceinfo      (2):   0xd121 (Unknown DPC code)
1.448638 print_debug_deviceinfo      (2):   0xd122 (Unknown DPC code)
1.448649 print_debug_deviceinfo      (2):   0xd123 (Unknown DPC code)
1.448660 print_debug_deviceinfo      (2):   0xd124 (Unknown DPC code)
1.448671 print_debug_deviceinfo      (2):   0xd125 (Unknown DPC code)
1.448682 print_debug_deviceinfo      (2):   0xd126 (Unknown DPC code)
1.448693 print_debug_deviceinfo      (2):   0xd127 (Unknown DPC code)
1.448705 print_debug_deviceinfo      (2):   0xd128 (Unknown DPC code)
1.448716 print_debug_deviceinfo      (2):   0xd12d (Unknown DPC code)
1.448724 print_debug_deviceinfo      (2):   0xd12e (Unknown DPC code)
1.448732 print_debug_deviceinfo      (2):   0xd12f (Unknown DPC code)
1.448740 print_debug_deviceinfo      (2):   0xd130 (Unknown DPC code)
1.448747 print_debug_deviceinfo      (2):   0xd131 (Unknown DPC code)
1.448755 print_debug_deviceinfo      (2):   0xd132 (Unknown DPC code)
1.448763 print_debug_deviceinfo      (2):   0xd133 (Unknown DPC code)
1.448771 print_debug_deviceinfo      (2):   0xd134 (Unknown DPC code)
1.448779 print_debug_deviceinfo      (2):   0xd135 (Unknown DPC code)
1.448794 print_debug_deviceinfo      (2):   0xd136 (Unknown DPC code)
1.448805 print_debug_deviceinfo      (2):   0xd137 (Unknown DPC code)
1.448816 print_debug_deviceinfo      (2):   0xd138 (Unknown DPC code)
1.448827 print_debug_deviceinfo      (2):   0xd139 (Unknown DPC code)
1.448838 print_debug_deviceinfo      (2):   0xd13a (Unknown DPC code)
1.448850 print_debug_deviceinfo      (2):   0xd151 (Unknown DPC code)
1.448860 print_debug_deviceinfo      (2):   0xd152 (Unknown DPC code)
1.448871 print_debug_deviceinfo      (2):   0xd15a (Unknown DPC code)
1.448882 print_debug_deviceinfo      (2):   0xd15c (Unknown DPC code)
1.448893 print_debug_deviceinfo      (2):   0xd15d (Unknown DPC code)
1.448905 print_debug_deviceinfo      (2):   0xd15e (Unknown DPC code)
1.448916 print_debug_deviceinfo      (2):   0xd15f (Unknown DPC code)
1.448927 print_debug_deviceinfo      (2):   0xd160 (Unknown DPC code)
1.448938 print_debug_deviceinfo      (2):   0xd161 (Unknown DPC code)
1.448949 print_debug_deviceinfo      (2):   0xd162 (Unknown DPC code)
1.448960 print_debug_deviceinfo      (2):   0xd163 (Unknown DPC code)
1.448971 print_debug_deviceinfo      (2):   0xd174 (Unknown DPC code)
1.448989 ptp_usb_sendreq             (2): Sending PTP_OC 0x1004 (Get storage IDs) request...
1.449002 gp_port_write               (3): Writing 12 = 0xc bytes to port...
1.449264 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              ............    

1.449305 ptp_usb_getdata             (2): Reading PTP_OC 0x1004 (Get storage IDs) data...
1.449319 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
1.450024 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 02 00 00 00  ................
0010  00 00 01 00 00 00 02 00-                         ........        

1.450077 ptp_usb_getresp             (2): Reading PTP_OC 0x1004 (Get storage IDs) response...
1.450090 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
1.450338 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              ....... ....    

1.450372 ptp                         (2): (storage=0xffffffff, handle=0xffffffff)
1.450382 ptp                         (2): Listing ... 
1.450403 ptp_usb_sendreq             (2): Sending PTP_OC 0x1007 (Get object handles) (0xffffffff,0x0,0xffffffff) request...
1.450420 gp_port_write               (3): Writing 24 = 0x18 bytes to port...
1.450777 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-                         ........        

1.450819 ptp_usb_getdata             (2): Reading PTP_OC 0x1007 (Get object handles) data...
1.450829 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
1.453944 gp_port_read                (3): Read    24 = 0x18 out of 1024 bytes from port: (hexdump of 24 bytes)
0000  18 00 00 00 02 00 07 10-03 00 00 00 02 00 00 00  ................
0010  01 00 00 00 55 55 00 00-                         ....UU..        

1.453987 ptp_usb_getresp             (2): Reading PTP_OC 0x1007 (Get object handles) response...
1.453998 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
1.454311 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              ....... ....    

1.454346 ptp                         (2): adding new objectid 0x00000001 (nrofobs=0,j=0)
1.454362 ptp                         (2): adding new objectid 0x00005555 (nrofobs=1,j=1)
1.454378 camera_init                 (2): Initializing Olympus ... 
1.454390 ptp                         (2): PTP: (Olympus Init) switching to PC mode...
1.454414 ptp_usb_sendreq             (2): Sending PTP_OC 0x1016 (Set device property value) (0xd052) request...
1.454428 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
1.455400 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
0000  10 00 00 00 01 00 16 10-04 00 00 00 52 d0 00 00  ............R...

1.455478 ptp_usb_senddata            (2): Sending PTP_OC 0x1016 (Set device property value) data...
1.455494 gp_port_write               (3): Writing 14 = 0xe bytes to port...
1.459055 gp_port_write               (3): Wrote   14 = 0xe bytes to port: (hexdump of 14 bytes)
0000  0e 00 00 00 02 00 16 10-04 00 00 00 01 00        ..............  

1.459099 ptp_usb_getresp             (2): Reading PTP_OC 0x1016 (Set device property value) response...
1.459110 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
1.479951 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              ....... ....    

1.580113 ptp                         (2): PTP: (Olympus Init) checking events...
1.580128 gp_port_get_timeout         (2): Current port timeout is 20000 milliseconds.
1.580131 gp_port_set_timeout         (2): Setting port timeout to 150 milliseconds.
1.580135 gp_port_check_int           (3): Reading 24 = 0x18 bytes from interrupt endpoint...
1.580141 gp_port_check_int           (3): Read    24 = 0x18 bytes from interrupt endpoint: (hexdump of 24 bytes)
0000  18 00 00 00 04 00 08 c1-ff ff ff ff 84 d0 00 00  ................
0010  07 00 00 00 00 00 00 00-                         ........        

1.580146 gp_port_set_timeout         (2): Setting port timeout to 20000 milliseconds.
1.580150 ptp                         (2): event: nparams=0x3, code=0xC108, trans_id=0xFFFFFFFF, p1=0xD084, p2=0x7, p3=0x0
1.580156 gp_filesystem_list_files    (2): Listing files in /
1.580160 lookup_folder               (2): Lookup folder '/'...
1.580166 lookup_folder               (2): Found! / is 0x55e848e21800
1.580170 gp_filesystem_list_files    (2): Querying folder /...
1.580173 delete_all_files            (2): Delete all files in folder 0x55e848e21800//
1.580182 file_list_func              (2): file_list_func(/)
There is no file in folder '/'.
1.580196 gp_camera_folder_list_folders(2): Listing folders in '/'...
1.580200 gp_filesystem_list_folders  (2): Listing folders in /
1.580202 lookup_folder               (2): Lookup folder '/'...
1.580205 lookup_folder               (2): Found! / is 0x55e848e21800
1.580209 gp_filesystem_list_folders  (2): ... is dirty, getting from camera
1.580226 folder_list_func            (2): folder_list_func(/)
1.580229 delete_all_folders          (2): Internally deleting all folders from '/'...
1.580232 lookup_folder               (2): Lookup folder '/'...
1.580234 lookup_folder               (2): Found! / is 0x55e848e21800
1.580237 recurse_delete_folder       (2): Recurse delete folder 0x55e848e21800//
1.580240 gp_filesystem_list_folders  (2): Folder / contains 0 subfolders.
1.580636 gp_camera_free              (2): Freeing camera...
1.580642 gp_camera_exit              (2): Exiting camera ('Olympus E-M1')...
1.580649 ptp_usb_sendreq             (2): Sending PTP_OC 0x1003 (Close session) request...
1.580652 gp_port_write               (3): Writing 12 = 0xc bytes to port...
1.580856 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              ............    

1.580870 ptp_usb_getresp             (2): Reading PTP_OC 0x1003 (Close session) response...
1.580874 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
1.581439 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              ....... ....    

1.581456 gp_port_close               (2): Closing port...
1.582540 _close_async_interrupts     (2): canceling transfer 0:0x55e848e64bc0 (status 0)
1.582641 _close_async_interrupts     (2): canceling transfer 1:0x55e848e6deb0 (status 0)
1.582729 _close_async_interrupts     (2): canceling transfer 2:0x55e848e77ce0 (status 0)
1.582829 _close_async_interrupts     (2): canceling transfer 3:0x55e848e2ed00 (status 0)
1.582923 _close_async_interrupts     (2): canceling transfer 4:0x55e848e745d0 (status 0)
1.583030 _close_async_interrupts     (2): canceling transfer 5:0x55e848e5c3b0 (status 0)
1.583124 _close_async_interrupts     (2): canceling transfer 6:0x55e848e54390 (status 0)
1.583190 _close_async_interrupts     (2): canceling transfer 7:0x55e848e58310 (status 0)
1.583235 _close_async_interrupts     (2): canceling transfer 8:0x55e848e7adb0 (status 0)
1.583275 _close_async_interrupts     (2): canceling transfer 9:0x55e848e5d010 (status 0)
1.583322 _cb_irq                     (2): 0x55e848e64bc0 with status 3
1.583328 _cb_irq                     (2): Transfer 0x55e848e64bc0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
1.583335 _cb_irq                     (2): 0x55e848e6deb0 with status 3
1.583340 _cb_irq                     (2): Transfer 0x55e848e6deb0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
1.583347 _cb_irq                     (2): 0x55e848e77ce0 with status 3
1.583351 _cb_irq                     (2): Transfer 0x55e848e77ce0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
1.583357 _cb_irq                     (2): 0x55e848e2ed00 with status 3
1.583362 _cb_irq                     (2): Transfer 0x55e848e2ed00 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
1.583370 _cb_irq                     (2): 0x55e848e745d0 with status 3
1.583374 _cb_irq                     (2): Transfer 0x55e848e745d0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
1.583381 _cb_irq                     (2): 0x55e848e5c3b0 with status 3
1.583385 _cb_irq                     (2): Transfer 0x55e848e5c3b0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
1.583392 _cb_irq                     (2): 0x55e848e54390 with status 3
1.583396 _cb_irq                     (2): Transfer 0x55e848e54390 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
1.583403 _cb_irq                     (2): 0x55e848e58310 with status 3
1.583407 _cb_irq                     (2): Transfer 0x55e848e58310 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
1.583414 _cb_irq                     (2): 0x55e848e7adb0 with status 3
1.583418 _cb_irq                     (2): Transfer 0x55e848e7adb0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
1.583424 _cb_irq                     (2): 0x55e848e5d010 with status 3
1.583429 _cb_irq                     (2): Transfer 0x55e848e5d010 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
1.583642 gp_filesystem_reset         (2): resetting filesystem
1.583650 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
1.583654 gp_filesystem_lru_clear     (2): fscache LRU list already empty
1.583658 delete_all_folders          (2): Internally deleting all folders from '/'...
1.583663 lookup_folder               (2): Lookup folder '/'...
1.583668 lookup_folder               (2): Found! / is 0x55e848e21800
1.583672 recurse_delete_folder       (2): Recurse delete folder 0x55e848e21800//
1.583677 delete_all_files            (2): Delete all files in folder 0x55e848e21800//
1.583681 gp_port_free                (2): Freeing port...
1.583686 gp_port_close               (2): Closing port...
1.583826 gp_filesystem_reset         (2): resetting filesystem
1.583833 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
1.583838 gp_filesystem_lru_clear     (2): fscache LRU list already empty
1.583842 delete_all_folders          (2): Internally deleting all folders from '/'...
1.583846 lookup_folder               (2): Lookup folder '/'...
1.583851 lookup_folder               (2): Found! / is 0x55e848e21800
1.583855 recurse_delete_folder       (2): Recurse delete folder 0x55e848e21800//
1.583859 delete_all_files            (2): Delete all files in folder 0x55e848e21800//
mad-marco commented 4 years ago

Thanks for repeating the test, unfortunately it doesn't seem that anyone is currently looking into this issue.

TheCraiggers commented 4 years ago

I have a suspicion from the debug log that the issue is Olympus is straight up not following the PTP standard in all instances. It would be interesting to fire up another program that doesn't use gphoto to see how it behaves.

Sadly, I think that rules out basically everything in the linux world, and I don't have a Mac or a Windows computer. Do you @mad-marco ?

msmeissn commented 4 years ago

it has vendor opcodes and events, which makes this tricky and a bit undocumented.

it seems 0xc102 is the event for object addition. I added it to current libgphoto2 git for testing.

msmeissn commented 4 years ago

(I think you can try testing libgphoto2 GIT master... it will likely work better already.)

TheCraiggers commented 4 years ago

I recompiled from source, and as you say, it is indeed much better. Still can't list files, but capturing and downloading works now.

thecraiggers@io ~/p/gphoto2 (master)> gphoto2 --auto-detect --list-files
Model                          Port                                            
----------------------------------------------------------
Olympus E-M1                   usb:001,017     
There is no file in folder '/'.
thecraiggers@io ~/p/gphoto2 (master)> gphoto2 --auto-detect --capture-image-and-download 
Model                          Port                                            
----------------------------------------------------------
Olympus E-M1                   usb:001,017     
New file is in location /store_00020001/DCIM/100OLYMP/P5210194.JPG on the camera
Saving file as P5210194.JPG
Deleting file /store_00020001/DCIM/100OLYMP/P5210194.JPG on the camera

Awesome! Trying to test --capture-tethered still doesn't work, but this is a great step. Trying to use --debug and capture-tethered is exceedingly noisy. Tons of port timeouts and such. Is that normal, or is that just Olympus being weird?

msmeissn commented 4 years ago

can you get a debugtrace of

gphoto2 --capture-tethered --debug --debug-logfile=tether.log

and one or two shutter button presses?

does gphoto2 --capture-image-and-download -L show a longer filesysstem?

mad-marco commented 4 years ago

Many thanks for looking into this issue for us, it really is very much appreciated! Unfortunately this hasn't worked for me, I recompiled from the libgphoto2 GIT master (check to make sure that the updates are in there) and get the same as before whereby the camera takes a picture and then sits there waiting before returning the error:

gphoto2 --auto-detect --capture-image-and-download Model Port

Olympus E-M1 usb:001,012
ERROR: Could not capture image. ERROR: Could not capture.

I have made another debug file as before and also the other debug that you requested. gphoto2_capture-image_debug2.txt tether.log

mad-marco commented 4 years ago

Sadly, I think that rules out basically everything in the linux world, and I don't have a Mac or a Windows computer. Do you @mad-marco ?

I do have plenty of Windows computers that I can use and Olympus Workspace works fine for remote capture, but lacks any kind of programming interface. The Android app can also do remote capture over wifi which works OK, but the phone acts as the access point rather than a wifi client which won't work for me. I'm using the Raspberry Pi for astrophotography and it would be awesome to be able to capture and store the images on the RPI.

Can I ask which version of firmware you are running on you EM1 mk2 @TheCraiggers? I'm on the latest v3.2

msmeissn commented 4 years ago

@TheCraiggers can you perhaps also attach a successful capture trace?

msmeissn commented 4 years ago

@mad-marco can you check you really updated and installed in the right place? The debug trace youi posted shows things that should have changed after the code changes

mad-marco commented 4 years ago

HI @msmeissn I'm pretty sure that I did. I deleted the gphoto2 and libgphoto2 GIT clone folders before re-cloning and then built from there. I've attached a new capture debug which shows some difference from the previous and show the version libgphoto2 2.5.24.1 I'm certainly no Linux expert, so if there is anything else that I should be doing then please let me know.

gphoto2_capture-image_debug2.txt

msmeissn commented 4 years ago

Less the source directory, but more the target of the installation ,e.g. is "ls -l /usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.24.1/ptp2.so" showing a date from today?

mad-marco commented 4 years ago

OK, now we are cooking it shows a date from May 20 18:49 so should I be manually deleting some folders when compiling and installing a new build? At the moment all I am doing is sudo make uninstall and rm -R the GIT clone folders before redownloading and recompiling.

msmeissn commented 4 years ago

the issue is that it probably installed it somewher eelse than /usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.24.1/ptp2.so

I would guess in /usr/local/lib/libgphoto2/2.5.24.1/ perhaps.

You could copy ptp2.so over from the /usr/local/ lib directory to abiove /usr/lib/arm... directory

(How did you install it on May 20th? The same method might work here too?)

mad-marco commented 4 years ago

@msmeissn I just figured this out at about the same time that libgphoto2 is included in the build of Raspbian that I am working from. The update from the 20th came from when I did an apt-get upgrade a few days ago. I've done as you suggested getting the file from the camlibs folder and tried everything again:

sudo cp ~/build/libgphoto2/camlibs/.libs/ptp2.so /usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.24.1/

This is definitely heading in the right direction, I get a slightly different response to the following commands:

gphoto2 --capture-image ERROR: Could not capture image.
ERROR: Could not capture. New file is in location /store_00010001/DCIM/100OLYMP/P5230003.JPG on the camera New file is in location /store_00010001/DCIM/100OLYMP/P5230003.ORF on the camera

Image is captured to the internal camera card and then hangs for about 1 minute before returning back to the prompt.

gphoto2 --capture-image-and-download New file is in location /store_00010001/DCIM/100OLYMP/P5230006.JPG on the camera Saving file as P5230006.JPG Deleting file /store_00010001/DCIM/100OLYMP/P5230006.JPG on the camera New file is in location /store_00010001/DCIM/100OLYMP/P5230006.ORF on the camera Saving file as P5230006.ORF Deleting file /store_00010001/DCIM/100OLYMP/P5230006.ORF on the camera

Image is transferred over to the RPI as expected and then hangs for about 1 minute before returning back to the prompt.

I have re-done all of the debug files if you get a chance to go through them.

gphoto2_list-files_debug3.txt

gphoto2_capture-image_debug3.txt

tether3.log

msmeissn commented 4 years ago

For filesystem listing ... I have just committed a small change to olympus omd handling into libgphoto2 git, if you could refetch /( rebuild and see if this helps gphoto2 -L ?

mad-marco commented 4 years ago

I have refetched and rebuilt as requested (remembered to copy over the ptp2.so)

gphoto2 --capture-image-and-download -L ERROR: Could not capture image.
ERROR: Could not capture. New file is in location /store_00010001/DCIM/100OLYMP/P5240081.ORF on the camera Saving file as P5240081.ORF Deleting file /store_00010001/DCIM/100OLYMP/P5240081.ORF on the camera There is no file in folder '/store_00010001/DCIM/100OLYMP'.

I have attached a debug, they seem to contain a copy of the image so is quite large I have changed the camera picture mode to the minimum size.

gphoto2_capture-image-and-download_debug4.txt

msmeissn commented 4 years ago

thanks ... my idea so far did not help :/

mad-marco commented 4 years ago

@msmeissn the changes that you just made fixed pretty much everything for me!

--capture-image and --capture-image-and-download work as expected, the command prompt returns once the photos are taken and transferred:

gphoto2 --capture-image New file is in location /store_00010001/DCIM/100OLYMP/P5240088.JPG on the camera

gphoto2 --capture-image-and-download -L New file is in location /store_00010001/DCIM/100OLYMP/P5240092.JPG on the camera Saving file as P5240092.JPG
Deleting file /store_00010001/DCIM/100OLYMP/P5240092.JPG on the camera There are 3 files in folder '/store_00010001/DCIM/100OLYMP'.

1 P5240086.JPG rd 421 KB 1280x960 image/jpeg

2 P5240087.JPG rd 415 KB 1280x960 image/jpeg

3 P5240088.JPG rd 415 KB 1280x960 image/jpeg

At this point the only thing not working that I have tried is --list-files:

gphoto2 --list-files There is no file in folder '/'.

Honestly not something that concerns me personally, but I am happy to carry on working with you to resolve this final issue if you are? Thanks you SO much for everything you have done, this will help me no end with my astrophotography setup. I've attached debug logs if you wanted to take a look at them:

gphoto2_capture-image-and-download_debug6.txt

gphoto2_list-files_debug6.txt

TheCraiggers commented 4 years ago

Sorry, the holiday weekend means I'm away from my desktop and I'm out-of-pocket. I'm still interested in working with you on this!

mad-marco commented 4 years ago

@TheCraiggers not to worry, I think that we've made some really good progress. Pretty much everything is working for me except for --list-files. I'm going to do some more testing today, it would be good if you can also test whenever you have time.

eyedear commented 4 years ago

is there any instruction to compile this for windows via Msys2

tecunited commented 4 years ago

I am using the latest libgphoto2 & gphoto2 installed from Github; I just need to get the capture functionally works for the E-M5MarkIII, is there any workaround or something to do to make it work?

gphoto2         2.5.23.1       gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline
libgphoto2      2.5.25.1       standard camlibs (SKIPPING lumix), gcc, ltdl, EXIF
libgphoto2_port 0.12.0         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking
Camera summary:                                                                
Manufacturer: OLYMPUS
Model: E-M5MarkIII
  Version: 1.00
  Serial Number: BJ9A03134
Vendor Extension ID: 0xfffd (1.0)

Capture Formats: MS Wave Unknown(b980) Defined Type JPEG Unknown(b101)
Display Formats: Undefined Type, Association/Directory, DPOF, MS Wave, Unknown(b980), Defined Type, JPEG, Unknown(b101)

Device Capabilities:
    File Download, File Deletion, No File Upload
    No Image Capture, No Open Capture, No vendor specific capture

Storage Devices Summary:
store_00010001:
    StorageDescription: None
    VolumeLabel: None
    Storage Type: Removable RAM (memory card)
    Filesystemtype: Digital Camera Layout (DCIM)
    Access Capability: Read-Write
    Maximum Capability: 15923150848 (15185 MB)
    Free Space (Bytes): 12224430080 (11658 MB)
    Free Space (Images): -1

Device Property Summary:
Battery Level(0x5001):(read only) (type=0x2) Range [1 - 100, step 1] value: 100% (100)
Date & Time(0x5011):(readwrite) (type=0xffff) '20200602T210608'
Property 0xd405: error 201b on query.
Property 0xd406:(readwrite) (type=0xffff) 'Windows/6.0.5330.0 MTPClassDriver/6.0.5330.0'
Property 0xd407:(read only) (type=0x6) 1
mad-marco commented 4 years ago

I've done a bit more testing on my Raspberry Pi and everything that I have tried is working with the exception of access the file system on the camera. Below are some examples of what I have tried:

Working: gphoto2 --capture-image gphoto2 --capture-image-and-download gphoto2 --show-preview gphoto2 --get-config=exposurecompensation gphoto2 --set-config-value=exposurecompensation=18

Not working: gphoto2 --list-files gphoto2 --storage-info gphoto2 --get-all-files gphoto2 --get-file

emudojo commented 4 years ago

I just tried with my EM1Mk2, and no luck `hertzel@system76-pc:~/projects|⇒ gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0 Capturing preview frames as movie to 'stdout'. Press Ctrl-C to abort. ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100

Error
PTP Timeout

Error
An error occurred in the io-library ('Timeout reading from or writing to the port'): No error description available

`

this is using This version of gphoto2 is using the following software versions and options: gphoto2 2.5.23.1 gcc, popt(m), exif, no cdk, no aa, jpeg, no readline libgphoto2 2.5.25.1 standard camlibs (SKIPPING docupen lumix), gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking

any advise would be welcomed, audio capturing works but I cant pipe video or take pictures, and I'm using the mode with a PC/camera icon when pairing the camera