can't seem to capture the usb port for the camera control.
BRIAN OBRIEN <[email protected]> Wed, 21 Feb 2024 12:15:13 -0700 (MST)
| Newsgroups | gmane.comp.multimedia.gphoto.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============5132286194449645317==
Content-Type: multipart/alternative;
boundary="=_7bc245d5-8c03-4ab0-a5a9-78c4bbf9d6dc"
--=_7bc245d5-8c03-4ab0-a5a9-78c4bbf9d6dc
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Here are the logs and some other usb information::
brian@CanonPI:~ $ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
USB PTP Class Camera usb:001,004
=========================================================================================
brian@CanonPI:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04a9:32f8 Canon, Inc. Canon Digital Camera
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
~/.gphoto/setting
gphoto2=model=USB PTP Class Camera
gphoto2=port=usb:001,004
brian@CanonPI:/dev/bus/usb/001 $ ls -al
total 0
drwxr-xr-x 2 root root 80 Feb 21 18:57 .
drwxr-xr-x 4 root root 80 Jan 1 1970 ..
crw-rw-r-- 1 root root 189, 0 Feb 21 18:10 001
crw-rw-r-- 1 root root 189, 1 Feb 21 18:10 002
brian@CanonPI:/dev/bus/usb/001 $ cd ../002
brian@CanonPI:/dev/bus/usb/002 $ ls -al
total 0
drwxr-xr-x 2 root root 60 Jan 1 1970 .
drwxr-xr-x 4 root root 80 Jan 1 1970 ..
crw-rw-r-- 1 root root 189, 128 Feb 21 18:10 001
============================================================================================
brian@CanonPI:~ $ gphoto2 --capture-image --debug
0.000507 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000664 main (2): gphoto2 2.5.28.1
0.000757 main (2): gphoto2 has been compiled with the following options:
0.000813 main (2): + gcc (C compiler used)
0.000863 main (2): + popt (mandatory, for handling command-line parameters)
0.000911 main (2): + exif (for displaying EXIF information)
0.000958 main (2): + no cdk (for accessing configuration options)
0.001003 main (2): + no aa (for displaying live previews)
0.001049 main (2): + jpeg (for displaying live previews in JPEG format)
0.001097 main (2): + no readline (for easy navigation in the shell)
0.001145 main (2): libgphoto2 2.5.30
0.001199 main (2): libgphoto2 has been compiled with the following options:
0.001252 main (2): + standard camlib set (ax203 canon digigr8 dimagev directory docupen jl2005a jl2005c kodak_dc240 lumix mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801)
0.001303 main (2): + gcc (C compiler used)
0.001348 main (2): + no ltdl (for portable loading of camlibs)
0.001395 main (2): + EXIF (for special handling of EXIF files)
0.001446 main (2): libgphoto2_port 0.12.1
0.001500 main (2): libgphoto2_port has been compiled with the following options:
0.001548 main (2): + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
0.001594 main (2): + gcc (C compiler used)
0.001639 main (2): + no ltdl (for portable loading of iolibs)
0.001686 main (2): + EXIF (for vusb)
0.001731 main (2): + USB (libusb1, for USB cameras)
0.001777 main (2): + serial (for serial cameras)
0.001822 main (2): + no resmgr (serial port access and locking)
0.001867 main (2): + no ttylock (serial port locking)
0.001912 main (2): + no lockdev (serial port locking)
0.001958 main (2): CAMLIBS env var not set, using compile-time default instead
0.002004 main (2): IOLIBS env var not set, using compile-time default instead
0.002051 main (2): invoked with following arguments:
0.002098 main (2): --capture-image
0.002142 main (2): --debug
0.002251 load_settings (2): Creating gphoto config directory ('/home/brian/.gphoto')
0.002411 load_settings (2): Loading settings from file '/home/brian/.gphoto/settings'.
0.002567 main (2): The user has not specified both a model and a port. Try to figure them out.
0.002635 gp_port_init_localedir (2): localedir has been set to /usr/share/locale (compile-time default)
0.002693 gp_port_info_list_load (2): Using ltdl to load io-drivers from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1'...
0.002994 foreach_func (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/disk'.
0.003825 gp_port_library_list (2): found fstab fsname proc
0.003914 gp_port_library_list (2): found fstab fsname PARTUUID=e7af0455-01
0.004050 gp_port_library_list (2): found fstab fsname PARTUUID=e7af0455-02
0.004380 gp_port_library_list (2): found mtab fsname sysfs
0.004454 gp_port_library_list (2): found mtab fsname proc
0.004515 gp_port_library_list (2): found mtab fsname udev
0.004616 gp_port_library_list (2): found mtab fsname devpts
0.004681 gp_port_library_list (2): found mtab fsname tmpfs
0.004774 gp_port_library_list (2): found mtab fsname /dev/mmcblk0p2
0.004853 gp_port_library_list (2): found mtab fsname securityfs
0.004917 gp_port_library_list (2): found mtab fsname tmpfs
0.005010 gp_port_library_list (2): found mtab fsname tmpfs
0.005105 gp_port_library_list (2): found mtab fsname cgroup2
0.005165 gp_port_library_list (2): found mtab fsname pstore
0.005287 gp_port_library_list (2): found mtab fsname bpf
0.005380 gp_port_library_list (2): found mtab fsname systemd-1
0.005440 gp_port_library_list (2): found mtab fsname mqueue
0.005594 gp_port_library_list (2): found mtab fsname debugfs
0.005707 gp_port_library_list (2): found mtab fsname tracefs
0.005800 gp_port_library_list (2): found mtab fsname fusectl
0.005860 gp_port_library_list (2): found mtab fsname configfs
0.005968 gp_port_library_list (2): found mtab fsname ramfs
0.006052 gp_port_library_list (2): found mtab fsname ramfs
0.006130 gp_port_library_list (2): found mtab fsname ramfs
0.006208 gp_port_library_list (2): found mtab fsname /dev/mmcblk0p1
0.006295 gp_port_library_list (2): found mtab fsname ramfs
0.006375 gp_port_library_list (2): found mtab fsname binfmt_misc
0.006494 gp_port_library_list (2): found mtab fsname sunrpc
0.006626 gp_port_library_list (2): found mtab fsname tmpfs
0.006729 gp_port_library_list (2): found mtab fsname gvfsd-fuse
0.006789 gp_port_library_list (2): found mtab fsname portal
0.007011 foreach_func (2): Loaded '' ('^disk:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/disk'.
0.007075 foreach_func (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/ptpip'.
0.007835 foreach_func (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/ptpip'.
0.007916 foreach_func (2): Loaded '' ('^ptpip:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/ptpip'.
0.007969 foreach_func (2): Loaded 'IP Connection' ('ip:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/ptpip'.
0.008085 foreach_func (2): Loaded '' ('^ip:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/ptpip'.
0.008143 foreach_func (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/serial'.
0.009196 foreach_func (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/serial'.
0.009274 foreach_func (2): Loaded '' ('^serial:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/serial'.
0.009326 foreach_func (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.028939 foreach_func (2): Loaded '' ('^usb:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.029048 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,004') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.029110 foreach_func (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/usbdiskdirect'.
0.030029 foreach_func (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/usbscsi'.
0.030675 gp_port_info_list_count (2): Counting entries (9 available)...
0.030747 gp_port_info_list_count (2): 4 regular entries available.
0.030812 gp_port_init_localedir (2): ignoring late call (localedir value NULL)
0.030869 gp_init_localedir (2): localedir has been set to /usr/share/locale (compile-time default)
0.030943 gp_abilities_list_load_dir (2): Using ltdl to load camera libraries from '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30'...
0.031226 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/ax203'.
0.031289 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/canon'.
0.031341 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/digigr8'.
0.031391 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/dimagev'.
0.031438 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/directory'.
0.031486 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/docupen'.
0.031534 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/jl2005a'.
0.031582 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/jl2005c'.
0.031630 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/kodak_dc240'.
0.031678 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/lumix'.
0.031727 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/mars'.
0.031775 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/pentax'.
0.031823 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/ptp2'.
0.031871 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/ricoh_g3'.
0.031919 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/sierra'.
0.031967 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/sonix'.
0.032143 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/sq905'.
0.032200 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/st2205'.
0.032252 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/topfield'.
0.032301 foreach_func (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/tp6801'.
0.032360 gp_abilities_list_load_dir (2): Found 20 camera drivers.
0.189659 gp_port_info_list_count (2): Counting entries (9 available)...
0.189761 gp_port_info_list_count (2): 4 regular entries available.
0.189781 gp_port_new (2): Creating new device...
0.189809 gp_port_info_list_get_info (2): Getting info of entry 0 (9 available)...
0.190297 gp_port_set_settings (2): Setting settings...
0.190333 gp_port_info_list_get_info (2): Getting info of entry 1 (9 available)...
0.190610 gp_port_set_settings (2): Setting settings...
0.190638 gp_port_info_list_get_info (2): Getting info of entry 2 (9 available)...
0.190902 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.190928 gp_port_set_settings (2): Setting settings...
0.190947 gp_port_info_list_get_info (2): Getting info of entry 3 (9 available)...
0.197668 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.197723 gp_port_set_settings (2): Setting settings...
0.197747 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.197765 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.197784 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.198746 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.199484 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.199535 gp_libusb1_find_device_by_class_lib(2): Found USB class device (class 0x6, subclass, 0x1, protocol 0x1)
0.199562 gp_libusb1_find_device_by_class_lib(2): inep to look for is 81
0.199584 gp_libusb1_find_device_by_class_lib(2): Detected defaults: config 1, interface 0, altsetting 0, idVendor ID 04a9, idProduct 32f8, inep 81, outep 02, intep 83
0.199603 gp_abilities_list_detect_usb(2): Found 'USB PTP Class Camera' (0x6,0x1,0x1)
0.199669 gp_port_free (2): Freeing port...
0.199687 gp_port_close (2): Closing port...
0.200216 gp_camera_set_abilities (2): Setting abilities ('USB PTP Class Camera')...
0.200269 gp_setting_set (2): Setting key 'model' to value 'USB PTP Class Camera' (gphoto2)
0.200291 save_settings (2): Saving 2 setting(s) to file "/home/brian/.gphoto/settings"
0.200664 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,004' (9 entries available)...
0.200696 gp_port_info_list_get_info (2): Getting info of entry 3 (9 available)...
0.200717 gp_camera_set_port_info (2): Setting port info for port 'Universal Serial Bus' at 'usb:001,004'...
0.207347 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.207407 gp_port_set_settings (2): Setting settings...
0.207430 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.207449 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.207471 gp_setting_set (2): Setting key 'port' to value 'usb:001,004' (gphoto2)
0.207491 save_settings (2): Saving 2 setting(s) to file "/home/brian/.gphoto/settings"
0.207870 gp_camera_init (2): Initializing camera...
0.207922 gp_port_set_error [gphoto2-port.c:1177](0): The supplied vendor or product id (0x0,0x0) is not valid.
0.207969 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.207998 gp_libusb1_find_device_by_class_lib(2): Found USB class device (class 0x6, subclass, 0x1, protocol 0x1)
0.208161 gp_libusb1_find_device_by_class_lib(2): inep to look for is 81
0.208185 gp_libusb1_find_device_by_class_lib(2): Detected defaults: config 1, interface 0, altsetting 0, idVendor ID 04a9, idProduct 32f8, inep 81, outep 02, intep 83
0.208204 gp_camera_init (2): Loading '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/ptp2'...
0.210673 gp_port_open (2): Opening USB port...
0.210739 gp_libusb1_open (2): ()
0.210831 gp_libusb1_open (2): claiming interface 0
0.210860 gp_libusb1_open [libusb1.c:422](0): 'libusb_claim_interface (port->pl->dh, port->settings.usb.interface)' failed: Resource busy (-6)
0.210892 gp_port_set_error [gphoto2-port.c:1177](0): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
0.211263 gp_context_error (0): An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
*** Error ***
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-53: 'Could not claim the USB device') ***
0.212240 gp_camera_free (2): Freeing camera...
0.212289 gp_port_free (2): Freeing port...
0.212306 gp_port_close (2): Closing port...
0.213444 gp_port_set_error [gphoto2-port.c:1177](0): Could not release interface 0 (Device or resource busy).
0.213767 gp_filesystem_reset (2): resetting filesystem
0.213796 gp_filesystem_lru_clear (2): Clearing fscache LRU list...
0.213812 gp_filesystem_lru_clear (2): fscache LRU list already empty
0.213829 delete_all_folders (2): Internally deleting all folders from '/'...
0.213847 lookup_folder (2): Lookup folder '/'...
0.213864 lookup_folder (2): Found! / is 0x55ae4a27f0
0.213881 recurse_delete_folder (2): Recurse delete folder 0x55ae4a27f0//
0.213898 delete_all_files (2): Delete all files in folder 0x55ae4a27f0//
--=_7bc245d5-8c03-4ab0-a5a9-78c4bbf9d6dc
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: arial, helvetica, sans-serif; font-s=
ize: 10pt; color: #000000"><div>Here are the logs and some other usb inform=
ation::</div><div><div>brian@CanonPI:~ $ gphoto2 --auto-detect</div><div>Mo=
del &n=
bsp; Port</div><div>-----------------------------------------=
-----------------</div><div>USB PTP Class Camera =
usb:001,004</div><div><br></div><div>=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D</div><div>brian@CanonPI:~ $ lsusb</div><div>Bus 002 Devi=
ce 001: ID 1d6b:0003 Linux Foundation 3.0 root hub</div><div>Bus 001 Device=
004: ID 04a9:32f8 Canon, Inc. Canon Digital Camera</div><div>Bus 001 Devic=
e 002: ID 2109:3431 VIA Labs, Inc. Hub</div><div>Bus 001 Device 001: ID 1d6=
b:0002 Linux Foundation 2.0 root hub</div><div><br></div><div><br></div><di=
v>~/.gphoto/setting</div><div>gphoto2=3Dmodel=3DUSB PTP Class Camera</div><=
div>gphoto2=3Dport=3Dusb:001,004</div><div><br></div><div><br></div><div>br=
ian@CanonPI:/dev/bus/usb/001 $ ls -al</div><div>total 0</div><div>drwxr-xr-=
x 2 root root 80 Feb 21 18:57 .</div><div>drwxr-xr-x 4 r=
oot root 80 Jan 1 1970 ..</div><div>crw-rw-r=
-- 1 root root 189, 0 Feb 21 18:10 001</div><div>crw-rw-r-- 1 root root 189=
, 1 Feb 21 18:10 002</div><div>brian@CanonPI:/dev/bus/usb/001 $ cd ../002</=
div><div>brian@CanonPI:/dev/bus/usb/002 $ ls -al</div><div>total 0</div><di=
v>drwxr-xr-x 2 root root 60 Jan 1 197=
0 .</div><div>drwxr-xr-x 4 root root 80 Jan =
1 1970 ..</div><div>crw-rw-r-- 1 root root 189, 128 Feb 21 18:10 001=
</div><div><br data-mce-bogus=3D"1"></div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D</div><div><br data-mce-bogus=3D"1"></div><div><div=
>brian@CanonPI:~ $ gphoto2 --capture-image --debug</div><div>0.000507 main&=
nbsp; =
(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES=
TO THE MAILING LIST:</div><div>0.000664 main &n=
bsp; (2): gphoto2 2.5.28.1=
</div><div>0.000757 main &n=
bsp; (2): gphoto2 has been compiled with the fo=
llowing options:</div><div>0.000813 main =
(2): + gcc (C compil=
er used)</div><div>0.000863 main &=
nbsp; (2): + popt (mandatory, for =
handling command-line parameters)</div><div>0.000911 main &nbs=
p; (2): =
; + exif (for displaying EXIF information)</div><div>0.000958 main &n=
bsp; =
(2): + no cdk (for accessing configuration options)</div><div>0.00100=
3 main =
(2): + no aa (for displaying live previews)</div><div>=
0.001049 main =
(2): + jpeg (for displaying live previews in JP=
EG format)</div><div>0.001097 main =
(2): + no readline (for ea=
sy navigation in the shell)</div><div>0.001145 main &nb=
sp; (2): libgphoto2=
2.5.30</div><div>0.001199 main &n=
bsp; (2): libgphoto2 has been compiled w=
ith the following options:</div><div>0.001252 main &nbs=
p; (2): + sta=
ndard camlib set (ax203 canon digigr8 dimagev directory docupen jl2005a jl2=
005c kodak_dc240 lumix mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 =
topfield tp6801)</div><div>0.001303 main =
(2): + gcc (C compil=
er used)</div><div>0.001348 main &=
nbsp; (2): + no ltdl (for portable=
loading of camlibs)</div><div>0.001395 main &nb=
sp; (2): + EXIF (for=
special handling of EXIF files)</div><div>0.001446 main  =
; (2): libgp=
hoto2_port 0.12.1</div><div>0.001500 main =
(2): libgphoto2_port has =
been compiled with the following options:</div><div>0.001548 main &nb=
sp; (=
2): + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi</div><div>=
0.001594 main =
(2): + gcc (C compiler used)</div><div>0.001639=
main =
(2): + no ltdl (for portable loading of iolibs)</div><d=
iv>0.001686 main &nb=
sp; (2): + EXIF (for vusb)</div><div>0.001731 ma=
in &nb=
sp; (2): + USB (libusb1, for USB cameras)</div><div>0.001777 m=
ain &n=
bsp; (2): + serial (for serial cameras)</div><div>0.001822 mai=
n &nbs=
p; (2): + no resmgr (serial port access and locking)</div><div=
>0.001867 main  =
; (2): + no ttylock (serial port locking)</div><=
div>0.001912 main &n=
bsp; (2): + no lockdev (serial port locking)</di=
v><div>0.001958 main =
(2): CAMLIBS env var not set, using compile-ti=
me default instead</div><div>0.002004 main  =
; (2): IOLIBS env var not =
set, using compile-time default instead</div><div>0.002051 main  =
; (2)=
: invoked with following arguments:</div><div>0.002098 main &n=
bsp; (2):&nb=
sp; --capture-image</div><div>0.002142 main  =
; (2): =
--debug</div><div>0.002251 load_settings =
(2): Creating gphoto config directory ('/home/brian/.gp=
hoto')</div><div>0.002411 load_settings &=
nbsp; (2): Loading settings from file '/home/brian/.gphoto/set=
tings'.</div><div>0.002567 main &n=
bsp; (2): The user has not specified bot=
h a model and a port. Try to figure them out.</div><div>0.002635 gp_port_in=
it_localedir (2): localedir has been set to /usr/share/=
locale (compile-time default)</div><div>0.002693 gp_port_info_list_load&nbs=
p; (2): Using ltdl to load io-drivers from '/usr/lib/aarch64-=
linux-gnu/libgphoto2_port/0.12.1'...</div><div>0.002994 foreach_func =
(2): Called for filename '=
/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/disk'.</div><div>0.003825=
gp_port_library_list (2): found fstab fsname pr=
oc</div><div>0.003914 gp_port_library_list (2): =
found fstab fsname PARTUUID=3De7af0455-01</div><div>0.004050 gp_port_librar=
y_list (2): found fstab fsname PARTUUID=3De7af04=
55-02</div><div>0.004380 gp_port_library_list (2=
): found mtab fsname sysfs</div><div>0.004454 gp_port_library_list &n=
bsp; (2): found mtab fsname proc</div><div>0.004515 gp_port_l=
ibrary_list (2): found mtab fsname udev</div><di=
v>0.004616 gp_port_library_list (2): found mtab =
fsname devpts</div><div>0.004681 gp_port_library_list &=
nbsp; (2): found mtab fsname tmpfs</div><div>0.004774 gp_port_library_list&=
nbsp; (2): found mtab fsname /dev/mmcblk0p2</div><div>=
0.004853 gp_port_library_list (2): found mtab fs=
name securityfs</div><div>0.004917 gp_port_library_list =
(2): found mtab fsname tmpfs</div><div>0.005010 gp_port_library_lis=
t (2): found mtab fsname tmpfs</div><div>0.00510=
5 gp_port_library_list (2): found mtab fsname cg=
roup2</div><div>0.005165 gp_port_library_list (2=
): found mtab fsname pstore</div><div>0.005287 gp_port_library_list &=
nbsp; (2): found mtab fsname bpf</div><div>0.005380 gp_port_l=
ibrary_list (2): found mtab fsname systemd-1</di=
v><div>0.005440 gp_port_library_list (2): found =
mtab fsname mqueue</div><div>0.005594 gp_port_library_list &nb=
sp; (2): found mtab fsname debugfs</div><div>0.005707 gp_port_librar=
y_list (2): found mtab fsname tracefs</div><div>=
0.005800 gp_port_library_list (2): found mtab fs=
name fusectl</div><div>0.005860 gp_port_library_list &n=
bsp; (2): found mtab fsname configfs</div><div>0.005968 gp_port_library_lis=
t (2): found mtab fsname ramfs</div><div>0.00605=
2 gp_port_library_list (2): found mtab fsname ra=
mfs</div><div>0.006130 gp_port_library_list (2):=
found mtab fsname ramfs</div><div>0.006208 gp_port_library_list &nbs=
p; (2): found mtab fsname /dev/mmcblk0p1</div><div>0.006295 g=
p_port_library_list (2): found mtab fsname ramfs=
</div><div>0.006375 gp_port_library_list (2): fo=
und mtab fsname binfmt_misc</div><div>0.006494 gp_port_library_list &=
nbsp; (2): found mtab fsname sunrpc</div><div>0.006626 gp_por=
t_library_list (2): found mtab fsname tmpfs</div=
><div>0.006729 gp_port_library_list (2): found m=
tab fsname gvfsd-fuse</div><div>0.006789 gp_port_library_list =
(2): found mtab fsname portal</div><div>0.007011 foreach_func=
(2): Loaded '' ('^d=
isk:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/disk'.</div>=
<div>0.007075 foreach_func =
(2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port=
/0.12.1/ptpip'.</div><div>0.007835 foreach_func =
(2): Loaded 'PTP/IP Connection' ('ptpip:') from=
'/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/ptpip'.</div><div>0.007=
916 foreach_func (2)=
: Loaded '' ('^ptpip:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.=
12.1/ptpip'.</div><div>0.007969 foreach_func &nb=
sp; (2): Loaded 'IP Connection' ('ip:') from '/usr/lib=
/aarch64-linux-gnu/libgphoto2_port/0.12.1/ptpip'.</div><div>0.008085 foreac=
h_func (2): Loaded '=
' ('^ip:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/ptpip'.<=
/div><div>0.008143 foreach_func &n=
bsp; (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2=
_port/0.12.1/serial'.</div><div>0.009196 foreach_func &=
nbsp; (2): Loaded 'Serial Port Device' ('serial=
:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/serial'.</div><=
div>0.009274 foreach_func &=
nbsp; (2): Loaded '' ('^serial:') from '/usr/lib/aarch64-linux-gnu/libgphot=
o2_port/0.12.1/serial'.</div><div>0.009326 foreach_func =
(2): Called for filename '/usr/lib/aarc=
h64-linux-gnu/libgphoto2_port/0.12.1/usb1'.</div><div>0.028939 foreach_func=
(2): Loaded '' ('^u=
sb:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/usb1'.</div><=
div>0.029048 foreach_func &=
nbsp; (2): Loaded 'Universal Serial Bus' ('usb:001,004') from '/usr/lib/aar=
ch64-linux-gnu/libgphoto2_port/0.12.1/usb1'.</div><div>0.029110 foreach_fun=
c (2): Called for fi=
lename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.1/usbdiskdirect'.</=
div><div>0.030029 foreach_func &nb=
sp; (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_=
port/0.12.1/usbscsi'.</div><div>0.030675 gp_port_info_list_count &nbs=
p; (2): Counting entries (9 available)...</div><div>0.030747 gp_port_=
info_list_count (2): 4 regular entries available.</div><=
div>0.030812 gp_port_init_localedir (2): ignoring late =
call (localedir value NULL)</div><div>0.030869 gp_init_localedir &nbs=
p; (2): localedir has been set to /usr/share/loc=
ale (compile-time default)</div><div>0.030943 gp_abilities_list_load_dir&nb=
sp; (2): Using ltdl to load camera libraries from '/usr/lib/aarch64-linux-g=
nu/libgphoto2/2.5.30'...</div><div>0.031226 foreach_func  =
; (2): Found '/usr/lib/aarch64-linux-gnu=
/libgphoto2/2.5.30/ax203'.</div><div>0.031289 foreach_func &nb=
sp; (2): Found '/usr/lib/aarch64-linux-g=
nu/libgphoto2/2.5.30/canon'.</div><div>0.031341 foreach_func &=
nbsp; (2): Found '/usr/lib/aarch64-linux=
-gnu/libgphoto2/2.5.30/digigr8'.</div><div>0.031391 foreach_func &nbs=
p; (2): Found '/usr/lib/aarch64-l=
inux-gnu/libgphoto2/2.5.30/dimagev'.</div><div>0.031438 foreach_func =
(2): Found '/usr/lib/aarch=
64-linux-gnu/libgphoto2/2.5.30/directory'.</div><div>0.031486 foreach_func&=
nbsp; (2): Found '/usr/lib=
/aarch64-linux-gnu/libgphoto2/2.5.30/docupen'.</div><div>0.031534 foreach_f=
unc (2): Found '/usr=
/lib/aarch64-linux-gnu/libgphoto2/2.5.30/jl2005a'.</div><div>0.031582 forea=
ch_func (2): Found '=
/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/jl2005c'.</div><div>0.031630 f=
oreach_func (2): Fou=
nd '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/kodak_dc240'.</div><div>0.=
031678 foreach_func =
(2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/lumix'.</div><div>=
0.031727 foreach_func  =
; (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/mars'.</div><div=
>0.031775 foreach_func &nbs=
p; (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/pentax'.</div><=
div>0.031823 foreach_func &=
nbsp; (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/ptp2'.</div>=
<div>0.031871 foreach_func =
(2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/ricoh_g3'.<=
/div><div>0.031919 foreach_func &n=
bsp; (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/sierra=
'.</div><div>0.031967 foreach_func =
(2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/son=
ix'.</div><div>0.032143 foreach_func &nbs=
p; (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30/s=
q905'.</div><div>0.032200 foreach_func &n=
bsp; (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5.30=
/st2205'.</div><div>0.032252 foreach_func =
(2): Found '/usr/lib/aarch64-linux-gnu/libgphoto2/2.5=
.30/topfield'.</div><div>0.032301 foreach_func &=
nbsp; (2): Found '/usr/lib/aarch64-linux-gnu/libgphoto=
2/2.5.30/tp6801'.</div><div>0.032360 gp_abilities_list_load_dir (2): =
Found 20 camera drivers.</div><div>0.189659 gp_port_info_list_count &=
nbsp; (2): Counting entries (9 available)...</div><div>0.189761 gp_po=
rt_info_list_count (2): 4 regular entries available.</di=
v><div>0.189781 gp_port_new =
(2): Creating new device...</div><div>0.189809 gp_port_info_l=
ist_get_info (2): Getting info of entry 0 (9 available)...</div><div>=
0.190297 gp_port_set_settings (2): Setting setti=
ngs...</div><div>0.190333 gp_port_info_list_get_info (2): Getting inf=
o of entry 1 (9 available)...</div><div>0.190610 gp_port_set_settings =
(2): Setting settings...</div><div>0.190638 gp_port_i=
nfo_list_get_info (2): Getting info of entry 2 (9 available)...</div>=
<div>0.190902 gp_port_set_timeout (2): Set=
ting port timeout to 500 milliseconds.</div><div>0.190928 gp_port_set_setti=
ngs (2): Setting settings...</div><div>0.190947 =
gp_port_info_list_get_info (2): Getting info of entry 3 (9 available)=
...</div><div>0.197668 gp_port_set_timeout  =
;(2): Setting port timeout to 5000 milliseconds.</div><div>0.197723 gp_port=
_set_settings (2): Setting settings...</div><div=
>0.197747 gp_libusb1_update (2): (o=
ld int=3D0, conf=3D-1, alt=3D-1) port usb:001,004, (new int=3D0, conf=3D-1,=
alt=3D-1) port usb:001,004</div><div>0.197765 gp_libusb1_update &nbs=
p; (2): lowlevel libusb1 port not yet opened, no=
need for libusb changes</div><div>0.197784 gp_abilities_list_detect_usb(2)=
: Auto-detecting USB cameras...</div><div>0.198746 gp_libusb1_find_device_b=
y_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, =
protocol 0xffffffff)...</div><div>0.199484 gp_libusb1_find_device_by_class_=
lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...<=
/div><div>0.199535 gp_libusb1_find_device_by_class_lib(2): Found USB class =
device (class 0x6, subclass, 0x1, protocol 0x1)</div><div>0.199562 gp_libus=
b1_find_device_by_class_lib(2): inep to look for is 81</div><div>0.199584 g=
p_libusb1_find_device_by_class_lib(2): Detected defaults: config 1, interfa=
ce 0, altsetting 0, idVendor ID 04a9, idProduct 32f8, inep 81, outep 02, in=
tep 83</div><div>0.199603 gp_abilities_list_detect_usb(2): Found 'USB PTP C=
lass Camera' (0x6,0x1,0x1)</div><div>0.199669 gp_port_free &nb=
sp; (2): Freeing port...</div><div>0.199=
687 gp_port_close (2)=
: Closing port...</div><div>0.200216 gp_camera_set_abilities &=
nbsp;(2): Setting abilities ('USB PTP Class Camera')...</div><div>0.200269 =
gp_setting_set (2): Setting=
key 'model' to value 'USB PTP Class Camera' (gphoto2)</div><div>0.200291 s=
ave_settings (2): Sav=
ing 2 setting(s) to file "/home/brian/.gphoto/settings"</div><div>0.200664 =
gp_port_info_list_lookup_path(2): Looking for path 'usb:001,004' (9 entries=
available)...</div><div>0.200696 gp_port_info_list_get_info (2): Get=
ting info of entry 3 (9 available)...</div><div>0.200717 gp_camera_set_port=
_info (2): Setting port info for port 'Universal Serial =
Bus' at 'usb:001,004'...</div><div>0.207347 gp_port_set_timeout  =
; (2): Setting port timeout to 5000 milliseconds.</div>=
<div>0.207407 gp_port_set_settings (2): Setting =
settings...</div><div>0.207430 gp_libusb1_update =
(2): (old int=3D0, conf=3D-1, alt=3D-1) port usb:001,004, (ne=
w int=3D0, conf=3D-1, alt=3D-1) port usb:001,004</div><div>0.207449 gp_libu=
sb1_update (2): lowlevel libusb1 po=
rt not yet opened, no need for libusb changes</div><div>0.207471 gp_setting=
_set (2): Setting key 'port=
' to value 'usb:001,004' (gphoto2)</div><div>0.207491 save_settings &=
nbsp; (2): Saving 2 setting(s) to =
file "/home/brian/.gphoto/settings"</div><div>0.207870 gp_camera_init =
(2): Initializing camera...</div=
><div>0.207922 gp_port_set_error [gphoto2-port.c:1177](0): The supplied ven=
dor or product id (0x0,0x0) is not valid.</div><div>0.207969 gp_libusb1_fin=
d_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1,=
protocol 0x1)...</div><div>0.207998 gp_libusb1_find_device_by_class_lib(2)=
: Found USB class device (class 0x6, subclass, 0x1, protocol 0x1)</div><div=
>0.208161 gp_libusb1_find_device_by_class_lib(2): inep to look for is 81</d=
iv><div>0.208185 gp_libusb1_find_device_by_class_lib(2): Detected defaults:=
config 1, interface 0, altsetting 0, idVendor ID 04a9, idProduct 32f8, ine=
p 81, outep 02, intep 83</div><div>0.208204 gp_camera_init &nb=
sp; (2): Loading '/usr/lib/aarch64-linux-gnu/li=
bgphoto2/2.5.30/ptp2'...</div><div>0.210673 gp_port_open  =
; (2): Opening USB port...</div><div>0.2=
10739 gp_libusb1_open (2): (=
)</div><div>0.210831 gp_libusb1_open &nbs=
p; (2): claiming interface 0</div><div>0.210860 gp_libusb1_open [libu=
sb1.c:422](0): 'libusb_claim_interface (port->pl->dh, port->settin=
gs.usb.interface)' failed: Resource busy (-6)</div><div>0.210892 gp_port_se=
t_error [gphoto2-port.c:1177](0): Could not claim interface 0 (Device or re=
source busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or k=
ernel module (such as sdc2xx, stv680, spca50x) is using the device and you =
have read/write access to the device.</div><div>0.211263 gp_context_error&n=
bsp; (0): An error occurred in the io-li=
brary ('Could not claim the USB device'): Could not claim interface 0 (Devi=
ce or resource busy). Make sure no other program (gvfs-gphoto2-volume-monit=
or) or kernel module (such as sdc2xx, stv680, spca50x) is using the device =
and you have read/write access to the device.</div><div><br></div><div>*** =
Error ***</div><div>An error occurred in the io-library ('Could not claim t=
he USB device'): Could not claim interface 0 (Device or resource busy). Mak=
e sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (suc=
h as sdc2xx, stv680, spca50x) is using the device and you have read/write a=
ccess to the device.</div><div>ERROR: Could not capture image.</div><div>ER=
ROR: Could not capture.</div><div>*** Error (-53: 'Could not claim the USB =
device') ***</div><div><br></div><div>0.212240 gp_camera_free =
(2): Freeing camera...</div><div>0.21228=
9 gp_port_free (2): =
Freeing port...</div><div>0.212306 gp_port_close =
(2): Closing port...</div><div>0.213444 gp_port=
_set_error [gphoto2-port.c:1177](0): Could not release interface 0 (Device =
or resource busy).</div><div>0.213767 gp_filesystem_reset &nbs=
p; (2): resetting filesystem</div><div>0.213796 gp_filesystem_=
lru_clear (2): Clearing fscache LRU list...</div><div>0.=
213812 gp_filesystem_lru_clear (2): fscache LRU list alr=
eady empty</div><div>0.213829 delete_all_folders =
(2): Internally deleting all folders from '/'...</div><div>0.213847=
lookup_folder (2): L=
ookup folder '/'...</div><div>0.213864 lookup_folder &n=
bsp; (2): Found! / is 0x55ae4a27f0</div><div>0.2=
13881 recurse_delete_folder (2): Recurse delete f=
older 0x55ae4a27f0//</div><div>0.213898 delete_all_files  =
; (2): Delete all files in folder 0x55ae4a27f0//</div>=
</div><div><br></div><div><br data-mce-bogus=3D"1"></div><div><br data-mce-=
bogus=3D"1"></div></div></div></body></html>
--=_7bc245d5-8c03-4ab0-a5a9-78c4bbf9d6dc--
--===============5132286194449645317==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============5132286194449645317==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Gphoto-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
--===============5132286194449645317==--