I am having trouble getting my gphoto snap to detect any cameras. It looks like inside the snapd environment it is unable to fully load all of the required dynamic libs.
Here is the snapcraft.yaml
name: gphoto2
version: latest
version-script: |
gphoto2 --version | head -n 1 | sed 's|gphoto2 ||'
summary: The gphoto2 command-line tool for accessing and controlling digital cameras.
description: |
gPhoto2 is a free, redistributable, ready to use set of digital camera
software applications for Unix-like systems, written by a whole team of
dedicated volunteers around the world. It supports more than 2500 cameras
gPhoto2 runs on a large range of UNIX-like operating system, including Linux,
FreeBSD, NetBSD, MacOS X, etc. gPhoto is provided by major Linux
distributions like Debian GNU/Linux, Ubuntu, Gentoo, Fedora, openSUSE,
Mandriva, etc.
libgphoto2 is freely available and distributed under the terms of the GNU
LGPL.; the other gphoto programs are freely available and distributed under
the terms of the GNU GPL.
Newer libgphoto2 versions also support Media Transfer Protocol (MTP) based
media players since their communications protocol is based on the Picture
Transfer Protocol (PTP).
grade: stable
confinement: classic
apps:
gphoto2:
environment:
PATH: $PATH:$SNAP/bin
LD_LIBRARY_PATH: $SNAP/lib/$SNAPCRAFT_ARCH_TRIPLET:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET:$LD_LIBRARY_PATH
command: usr/bin/gphoto2
plugs: [camera, raw-usb]
parts:
gphoto2:
plugin: nil
stage-packages:
- to amd64: ["gphoto2:amd64"]
- to armhf: ["gphoto2:armhf"]
root@orangepizero:~# /snap/bin/gphoto2 --auto-detect
Model Port
----------------------------------------------------------
root@orangepizero:~# /usr/bin/gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Canon EOS 100D usb:003,007
With debug
root@orangepizero:~# /snap/bin/gphoto2 --auto-detect --debug
0.000027 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000210 main (2): gphoto2 2.5.9
0.000252 main (2): gphoto2 has been compiled with the following options:
0.000280 main (2): + gcc (C compiler used)
0.000302 main (2): + popt (mandatory, for handling command-line parameters)
0.000323 main (2): + exif (for displaying EXIF information)
0.000346 main (2): + no cdk (for accessing configuration options)
0.000367 main (2): + aa (for displaying live previews)
0.000388 main (2): + jpeg (for displaying live previews in JPEG format)
0.000410 main (2): + readline (for easy navigation in the shell)
0.000468 main (2): libgphoto2 2.5.9
0.000505 main (2): libgphoto2 has been compiled with the following options:
0.000527 main (2): + all camlibs
0.000547 main (2): + gcc (C compiler used)
0.000568 main (2): + ltdl (for portable loading of camlibs)
0.000589 main (2): + EXIF (for special handling of EXIF files)
0.000610 main (2): libgphoto2_port 0.12.0
0.000737 main (2): libgphoto2_port has been compiled with the following options:
0.000770 main (2): + gcc (C compiler used)
0.000791 main (2): + ltdl (for portable loading of camlibs)
0.000812 main (2): + USB (libusb1, for USB cameras)
0.000832 main (2): + serial (for serial cameras)
0.000853 main (2): + no resmgr (serial port access and locking)
0.000873 main (2): + no ttylock (serial port locking)
0.000896 main (2): + no lockdev (serial port locking)
0.000933 main (2): CAMLIBS env var not set, using compile-time default instead
0.000959 main (2): IOLIBS env var not set, using compile-time default instead
0.000981 main (2): invoked with following arguments:
0.001002 main (2): --auto-detect
0.001023 main (2): --debug
0.001120 load_settings (2): Creating gphoto config directory ('/root/snap/gphoto2/x5/.gphoto')
0.001254 verify_settings (2): Can't open settings file '/root/snap/gphoto2/x5/.gphoto/settings' for reading.
0.001284 load_settings (2): Loading settings from file '/root/snap/gphoto2/x5/.gphoto/settings'.
0.001327 load_settings (2): Can't open settings file '/root/snap/gphoto2/x5/.gphoto/settings' for reading.
0.001355 load_settings (2): Creating gphoto config directory ('/root/snap/gphoto2/x5/.gphoto')
0.001405 verify_settings (2): Can't open settings file '/root/snap/gphoto2/x5/.gphoto/settings' for reading.
0.001431 load_settings (2): Loading settings from file '/root/snap/gphoto2/x5/.gphoto/settings'.
0.001477 load_settings (2): Can't open settings file '/root/snap/gphoto2/x5/.gphoto/settings' for reading.
0.002138 gp_port_info_list_load (2): Using ltdl to load io-drivers from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0'...
0.002348 gp_port_info_list_load [gphoto2-port-info-list.c:288](0): No iolibs found in '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0'
0.002392 gp_port_info_list_count [gphoto2-port-info-list.c:307](0): Invalid parameters: 'list' is NULL/FALSE.
0.002460 gp_abilities_list_load_dir (2): Using ltdl to load camera libraries from '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.9'...
0.002549 gp_abilities_list_load_dir (2): Found 0 camera drivers.
0.003407 gp_abilities_list_detect [gphoto2-abilities-list.c:407](0): Invalid parameters: 'list && info_list && l' is NULL/FALSE.
Model Port
----------------------------------------------------------
0.003504 gp_camera_free (2): Freeing camera...
0.003530 gp_port_free (2): Freeing port...
0.003557 gp_filesystem_reset (2): resetting filesystem
0.003578 gp_filesystem_lru_clear (2): Clearing fscache LRU list...
0.003598 gp_filesystem_lru_clear (2): fscache LRU list already empty
0.003620 delete_all_folders (2): Internally deleting all folders from '/'...
0.003643 lookup_folder (2): Lookup folder '/'...
0.003665 lookup_folder (2): Found! / is 0x6092e0
0.003687 recurse_delete_folder (2): Recurse delete folder 0x6092e0//
root@orangepizero:~# /usr/bin/gphoto2 --auto-detect --debug
0.001434 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.001746 main (2): gphoto2 2.5.11
0.001884 main (2): gphoto2 has been compiled with the following options:
0.001986 main (2): + gcc (C compiler used)
0.002070 main (2): + popt (mandatory, for handling command-line parameters)
0.002152 main (2): + exif (for displaying EXIF information)
0.002231 main (2): + cdk (for accessing configuration options)
0.002309 main (2): + aa (for displaying live previews)
0.002389 main (2): + jpeg (for displaying live previews in JPEG format)
0.002469 main (2): + readline (for easy navigation in the shell)
0.002672 main (2): libgphoto2 2.5.12
0.002814 main (2): libgphoto2 has been compiled with the following options:
0.002939 main (2): + all camlibs
0.003039 main (2): + gcc (C compiler used)
0.003116 main (2): + ltdl (for portable loading of camlibs)
0.003193 main (2): + EXIF (for special handling of EXIF files)
0.003276 main (2): libgphoto2_port 0.12.0
0.003383 main (2): libgphoto2_port has been compiled with the following options:
0.003467 main (2): + gcc (C compiler used)
0.003543 main (2): + ltdl (for portable loading of camlibs)
0.003627 main (2): + USB (libusb1, for USB cameras)
0.003704 main (2): + serial (for serial cameras)
0.003781 main (2): + no resmgr (serial port access and locking)
0.003859 main (2): + no ttylock (serial port locking)
0.003935 main (2): + no lockdev (serial port locking)
0.004015 main (2): CAMLIBS env var not set, using compile-time default instead
0.004101 main (2): IOLIBS env var not set, using compile-time default instead
0.004184 main (2): invoked with following arguments:
0.004263 main (2): --auto-detect
0.004336 main (2): --debug
0.005028 load_settings (2): Creating gphoto config directory ('/root/.gphoto')
0.005706 verify_settings (2): Can't open settings file '/root/.gphoto/settings' for reading.
0.005825 load_settings (2): Loading settings from file '/root/.gphoto/settings'.
0.005971 load_settings (2): Can't open settings file '/root/.gphoto/settings' for reading.
0.006077 load_settings (2): Creating gphoto config directory ('/root/.gphoto')
0.006244 verify_settings (2): Can't open settings file '/root/.gphoto/settings' for reading.
0.006340 load_settings (2): Loading settings from file '/root/.gphoto/settings'.
0.006474 load_settings (2): Can't open settings file '/root/.gphoto/settings' for reading.
0.009367 gp_port_info_list_load (2): Using ltdl to load io-drivers from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0'...
0.010813 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/disk'.
0.014348 gp_port_library_list (2): found fstab fsname UUID=10cd9eef-d0df-424c-9498-55f403128f3b
0.014640 gp_port_library_list (2): found fstab fsname tmpfs
0.015679 gp_port_library_list (2): found mtab fsname sysfs
0.015848 gp_port_library_list (2): found mtab fsname proc
0.015980 gp_port_library_list (2): found mtab fsname udev
0.016229 gp_port_library_list (2): found mtab fsname devpts
0.016364 gp_port_library_list (2): found mtab fsname tmpfs
0.016602 gp_port_library_list (2): found mtab fsname /dev/mmcblk0p1
0.016792 gp_port_library_list (2): found mtab fsname tmpfs
0.017030 gp_port_library_list (2): found mtab fsname tmpfs
0.017414 gp_port_library_list (2): found mtab fsname tmpfs
0.017715 gp_port_library_list (2): found mtab fsname cgroup
0.017854 gp_port_library_list (2): found mtab fsname cgroup
0.017978 gp_port_library_list (2): found mtab fsname cgroup
0.018098 gp_port_library_list (2): found mtab fsname cgroup
0.018675 gp_port_library_list (2): found mtab fsname cgroup
0.018808 gp_port_library_list (2): found mtab fsname cgroup
0.018930 gp_port_library_list (2): found mtab fsname cgroup
0.019048 gp_port_library_list (2): found mtab fsname cgroup
0.019166 gp_port_library_list (2): found mtab fsname cgroup
0.019284 gp_port_library_list (2): found mtab fsname cgroup
0.019403 gp_port_library_list (2): found mtab fsname cgroup
0.019520 gp_port_library_list (2): found mtab fsname mqueue
0.019635 gp_port_library_list (2): found mtab fsname debugfs
0.020113 gp_port_library_list (2): found mtab fsname systemd-1
0.020507 gp_port_library_list (2): found mtab fsname configfs
0.020975 gp_port_library_list (2): found mtab fsname tmpfs
0.021454 gp_port_library_list (2): found mtab fsname /dev/loop0
0.021694 gp_port_library_list (2): found mtab fsname /dev/loop3
0.022163 gp_port_library_list (2): found mtab fsname /dev/mmcblk0p1
0.022742 gp_port_library_list (2): found mtab fsname /dev/zram0
0.022964 gp_port_library_list (2): found mtab fsname tracefs
0.023276 gp_port_library_list (2): found mtab fsname tmpfs
0.023529 gp_port_library_list (2): found mtab fsname /dev/loop4
0.023742 gp_port_library_list (2): found mtab fsname /dev/loop5
0.023951 gp_port_library_list (2): found mtab fsname tmpfs
0.024199 gp_port_library_list (2): found mtab fsname nsfs
0.024402 gp_port_library_list (2): found mtab fsname /dev/loop2
0.029614 foreach_func (2): Loaded '' ('^disk:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/disk'.
0.029772 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'.
0.032499 foreach_func (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'.
0.032556 foreach_func (2): Loaded '' ('^ptpip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'.
0.032590 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.033793 foreach_func (2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.033846 foreach_func (2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.033876 foreach_func (2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.033904 foreach_func (2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.033932 foreach_func (2): Loaded 'Serial Port 4' ('serial:/dev/ttyS4') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.033959 foreach_func (2): Loaded 'Serial Port 5' ('serial:/dev/ttyS5') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.033986 foreach_func (2): Loaded 'Serial Port 6' ('serial:/dev/ttyS6') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.034012 foreach_func (2): Loaded 'Serial Port 7' ('serial:/dev/ttyS7') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.034038 foreach_func (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.034063 foreach_func (2): Loaded '' ('^serial:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.034087 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'.
0.055097 foreach_func (2): Loaded '' ('^usb:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'.
0.055176 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'.
0.055209 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usbdiskdirect'.
0.056233 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usbscsi'.
0.057099 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/vusb'.
0.057864 gp_port_library_type (2): ()
0.057915 foreach_func (2): '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/vusb' already loaded
0.058068 gp_port_info_list_count (2): Counting entries (15 available)...
0.058104 gp_port_info_list_count (2): 11 regular entries available.
0.058127 gp_port_info_list_count (2): Counting entries (15 available)...
0.058150 gp_port_info_list_count (2): 11 regular entries available.
0.058203 gp_abilities_list_load_dir (2): Using ltdl to load camera libraries from '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12'...
0.059110 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/adc65'.
0.059151 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/agfa_cl20'.
0.059176 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/aox'.
0.059198 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/ax203'.
0.059219 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/barbie'.
0.059241 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/canon'.
0.059263 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/casio_qv'.
0.059286 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/clicksmart310'.
0.059307 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/digigr8'.
0.059329 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/digita'.
0.059350 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/dimagev'.
0.059372 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/dimera3500'.
0.059395 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/directory'.
0.059417 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/enigma13'.
0.059440 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/fuji'.
0.059462 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/gsmart300'.
0.059483 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/hp215'.
0.059505 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/iclick'.
0.059527 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/jamcam'.
0.059550 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/jd11'.
0.059572 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/jl2005a'.
0.059593 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/jl2005c'.
0.059615 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/kodak_dc120'.
0.059639 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/kodak_dc210'.
0.059661 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/kodak_dc240'.
0.059684 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/kodak_dc3200'.
0.059706 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/kodak_ez200'.
0.059727 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/konica'.
0.059749 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/konica_qm150'.
0.059771 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/largan'.
0.059793 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/lg_gsm'.
0.059815 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/mars'.
0.059836 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/mustek'.
0.059859 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/panasonic_coolshot'.
0.059882 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/panasonic_dc1000'.
0.059905 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/panasonic_dc1580'.
0.059928 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/panasonic_l859'.
0.059951 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/pccam300'.
0.059975 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/pccam600'.
0.059999 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/pentax'.
0.060022 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/polaroid_pdc320'.
0.060046 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/polaroid_pdc640'.
0.060068 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/polaroid_pdc700'.
0.060092 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/ptp2'.
0.060113 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/ricoh'.
0.060135 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/ricoh_g3'.
0.060157 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/samsung'.
0.060181 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/sierra'.
0.060203 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/sipix_blink2'.
0.060225 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/sipix_web2'.
0.060248 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/smal'.
0.060269 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/sonix'.
0.060291 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/sony_dscf1'.
0.060314 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/sony_dscf55'.
0.060337 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/soundvision'.
0.060360 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/spca50x'.
0.060381 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/sq905'.
0.060403 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/st2205'.
0.060425 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/stv0674'.
0.060447 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/stv0680'.
0.060469 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/sx330z'.
0.060490 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/topfield'.
0.060512 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/toshiba_pdrm11'.
0.060534 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.12/tp6801'.
0.060574 gp_abilities_list_load_dir (2): Found 64 camera drivers.
0.239261 gp_port_info_list_count (2): Counting entries (15 available)...
0.239393 gp_port_info_list_count (2): 11 regular entries available.
0.239431 gp_port_new (2): Creating new device...
0.239508 gp_port_info_list_get_info (2): Getting info of entry 0 (15 available)...
0.240523 gp_port_set_settings (2): Setting settings...
0.240595 gp_port_info_list_get_info (2): Getting info of entry 1 (15 available)...
0.241530 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.241580 gp_port_set_settings (2): Setting settings...
0.241609 gp_port_info_list_get_info (2): Getting info of entry 2 (15 available)...
0.242276 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.242316 gp_port_set_settings (2): Setting settings...
0.242341 gp_port_info_list_get_info (2): Getting info of entry 3 (15 available)...
0.242933 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.242965 gp_port_set_settings (2): Setting settings...
0.242989 gp_port_info_list_get_info (2): Getting info of entry 4 (15 available)...
0.243552 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.243585 gp_port_set_settings (2): Setting settings...
0.243610 gp_port_info_list_get_info (2): Getting info of entry 5 (15 available)...
0.244170 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.244204 gp_port_set_settings (2): Setting settings...
0.244228 gp_port_info_list_get_info (2): Getting info of entry 6 (15 available)...
0.244834 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.244870 gp_port_set_settings (2): Setting settings...
0.244895 gp_port_info_list_get_info (2): Getting info of entry 7 (15 available)...
0.245644 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.245691 gp_port_set_settings (2): Setting settings...
0.245722 gp_port_info_list_get_info (2): Getting info of entry 8 (15 available)...
0.246407 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.246450 gp_port_set_settings (2): Setting settings...
0.246476 gp_port_info_list_get_info (2): Getting info of entry 9 (15 available)...
0.247136 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.247173 gp_port_set_settings (2): Setting settings...
0.247199 gp_port_info_list_get_info (2): Getting info of entry 10 (15 available)...
0.266274 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.266340 gp_port_set_settings (2): Setting settings...
0.266378 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:, (new int=0, conf=-1, alt=-1) port usb:
0.266406 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.266433 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.267905 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.267963 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.267998 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.268024 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.268051 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.268075 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.268099 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.268122 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.269302 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.269430 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.269471 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.269505 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.269538 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.269569 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.269600 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.269630 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.269715 gp_port_free (2): Freeing port...
0.269741 gp_port_close (2): Closing port...
Model Port
----------------------------------------------------------
0.273023 gp_camera_free (2): Freeing camera...
0.273080 gp_port_free (2): Freeing port...
0.273110 gp_filesystem_reset (2): resetting filesystem
0.273130 gp_filesystem_lru_clear (2): Clearing fscache LRU list...
0.273219 gp_filesystem_lru_clear (2): fscache LRU list already empty
0.273245 delete_all_folders (2): Internally deleting all folders from '/'...
0.273268 lookup_folder (2): Lookup folder '/'...
0.273290 lookup_folder (2): Found! / is 0xa9db38
0.273312 recurse_delete_folder (2): Recurse delete folder 0xa9db38//