Cannot Claim USB

Peter Hollenbeck <[email protected]>
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <CAKUAP4D_vYma66bgxT4k1YiQVmq+xm9NqBiQwsOo_ohO=HoU-g@mail.gmail.com>
Two RaspberryPi computers, one model A and one model B.
The rpi SD cards are clones.
Two Nikon Coolpix 4300 cameras.

The model B works. The model A gives "cannot claim USB".

Debug output attached.

Any help would be appreciated.
Thanks,
Peter

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Gphoto-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
rpiBcam3.log (application/octet-stream, 16.3 KB)
0.000742 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.001094 main(2): gphoto2 2.5.4
0.001299 main(2): gphoto2 has been compiled with the following options:
0.001396 main(2):  + gcc (C compiler used)
0.001472 main(2):  + popt (mandatory, for handling command-line parameters)
0.001548 main(2):  + exif (for displaying EXIF information)
0.001618 main(2):  + cdk (for accessing configuration options)
0.001691 main(2):  + aa (for displaying live previews)
0.001764 main(2):  + jpeg (for displaying live previews in JPEG format)
0.001837 main(2):  + readline (for easy navigation in the shell)
0.001983 main(2): libgphoto2 2.5.4
0.002109 main(2): libgphoto2 has been compiled with the following options:
0.002305 main(2):  + all camlibs
0.002389 main(2):  + gcc (C compiler used)
0.002463 main(2):  + ltdl (for portable loading of camlibs)
0.002536 main(2):  + EXIF (for special handling of EXIF files)
0.002634 main(2): libgphoto2_port 0.10.0
0.002747 main(2): libgphoto2_port has been compiled with the following options:
0.002831 main(2):  + gcc (C compiler used)
0.002909 main(2):  + ltdl (for portable loading of camlibs)
0.002981 main(2):  + USB (libusb1, for USB cameras)
0.003054 main(2):  + serial (for serial cameras)
0.003124 main(2):  + no resmgr (serial port access and locking)
0.003198 main(2):  + no ttylock (serial port locking)
0.003271 main(2):  + no lockdev (serial port locking)
0.003340 main(2): CAMLIBS env var not set, using compile-time default instead
0.003413 main(2): IOLIBS env var not set, using compile-time default instead
0.003483 main(2): invoked with following arguments:
0.003556 main(2):   -L
0.003623 main(2):   --debug
0.003694 main(2):   --debug-logfile=rpiBcam3.log
0.004049 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.004739 setting/gphoto2-setting.c(2): Loading settings from file "/root/.gphoto/settings"
0.006401 main(2): The user has not specified both a model and a port. Try to figure them out.
0.006668 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0'...
0.007742 gphoto2-port-info-list(2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/disk'.
0.010608 gphoto2-port/disk(2): found fstab fsname proc
0.010853 gphoto2-port/disk(2): found fstab fsname /dev/mmcblk0p1
0.011100 gphoto2-port/disk(2): found fstab fsname /dev/mmcblk0p2
0.011955 gphoto2-port/disk(2): found mtab fsname /dev/root
0.012185 gphoto2-port/disk(2): found mtab fsname devtmpfs
0.012313 gphoto2-port/disk(2): found mtab fsname sysfs
0.012431 gphoto2-port/disk(2): found mtab fsname proc
0.012545 gphoto2-port/disk(2): found mtab fsname tmpfs
0.012747 gphoto2-port/disk(2): found mtab fsname devpts
0.012873 gphoto2-port/disk(2): found mtab fsname tmpfs
0.013064 gphoto2-port/disk(2): found mtab fsname tmpfs
0.013266 gphoto2-port/disk(2): found mtab fsname tmpfs
0.013498 gphoto2-port/disk(2): found mtab fsname cgroup
0.013624 gphoto2-port/disk(2): found mtab fsname cgroup
0.013738 gphoto2-port/disk(2): found mtab fsname cgroup
0.013849 gphoto2-port/disk(2): found mtab fsname cgroup
0.013959 gphoto2-port/disk(2): found mtab fsname cgroup
0.014247 gphoto2-port/disk(2): found mtab fsname cgroup
0.014383 gphoto2-port/disk(2): found mtab fsname cgroup
0.014500 gphoto2-port/disk(2): found mtab fsname systemd-1
0.014615 gphoto2-port/disk(2): found mtab fsname debugfs
0.014836 gphoto2-port/disk(2): found mtab fsname mqueue
0.014960 gphoto2-port/disk(2): found mtab fsname configfs
0.015176 gphoto2-port/disk(2): found mtab fsname fusectl
0.015300 gphoto2-port/disk(2): found mtab fsname /dev/mmcblk0p1
0.015477 gphoto2-port/disk(2): found mtab fsname tmpfs
0.015684 gphoto2-port/disk(2): found mtab fsname gvfsd-fuse
0.016327 gphoto2-port-info-list(2): Could not load port driver list: 'Unspecified error'.
0.016489 gphoto2-port-info-list(2): Loaded '' ('^disk:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/disk'.
0.016610 gphoto2-port-info-list(2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/ptpip'.
0.018459 gphoto2-port-info-list(2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/ptpip'.
0.018759 gphoto2-port-info-list(2): Loaded '' ('^ptpip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/ptpip'.
0.018911 gphoto2-port-info-list(2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/serial'.
0.021322 gphoto2-port-info-list(2): Loaded '' ('^serial:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/serial'.
0.021514 gphoto2-port-info-list(2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/usb1'.
0.044210 gphoto2-port-info-list(2): Loaded '' ('^usb:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/usb1'.
0.044432 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:001,004') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/usb1'.
0.044556 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:001,003') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/usb1'.
0.044676 gphoto2-port-info-list(2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/usbdiskdirect'.
0.046587 gphoto2-port-info-list(2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.10.0/usbscsi'.
0.048588 gphoto2-port-info-list(2): Counting entries (7 available)...
0.048914 gphoto2-port-info-list(2): 3 regular entries available.
0.049101 gphoto2-abilities-list(2): Using ltdl to load camera libraries from '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4'...
0.051320 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/adc65'.
0.051550 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/agfa_cl20'.
0.051653 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/aox'.
0.051740 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/ax203'.
0.051827 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/barbie'.
0.051912 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/canon'.
0.051994 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/casio_qv'.
0.052080 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/clicksmart310'.
0.052166 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/digigr8'.
0.052247 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/digita'.
0.052330 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/dimagev'.
0.052416 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/dimera3500'.
0.052501 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/directory'.
0.052586 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/enigma13'.
0.052671 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/fuji'.
0.052756 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/gsmart300'.
0.052841 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/hp215'.
0.052926 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/iclick'.
0.053011 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/jamcam'.
0.053095 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/jd11'.
0.053181 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/jl2005a'.
0.053265 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/jl2005c'.
0.053348 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/kodak_dc120'.
0.053434 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/kodak_dc210'.
0.053519 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/kodak_dc240'.
0.053603 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/kodak_dc3200'.
0.053793 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/kodak_ez200'.
0.053888 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/konica'.
0.053973 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/konica_qm150'.
0.054058 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/largan'.
0.054144 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/lg_gsm'.
0.054229 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/mars'.
0.054313 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/mustek'.
0.054400 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/panasonic_coolshot'.
0.054484 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/panasonic_dc1000'.
0.054571 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/panasonic_dc1580'.
0.054656 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/panasonic_l859'.
0.054739 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/pccam300'.
0.054822 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/pccam600'.
0.054908 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/pentax'.
0.054991 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/polaroid_pdc320'.
0.055075 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/polaroid_pdc640'.
0.055158 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/polaroid_pdc700'.
0.055240 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/ptp2'.
0.055324 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/ricoh'.
0.055409 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/ricoh_g3'.
0.055491 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/samsung'.
0.055576 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/sierra'.
0.055661 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/sipix_blink2'.
0.055743 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/sipix_web2'.
0.055829 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/smal'.
0.055913 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/sonix'.
0.055996 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/sony_dscf1'.
0.056081 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/sony_dscf55'.
0.056166 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/soundvision'.
0.056246 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/spca50x'.
0.056365 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/sq905'.
0.056461 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/st2205'.
0.056549 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/stv0674'.
0.056635 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/stv0680'.
0.056721 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/sx330z'.
0.056807 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/topfield'.
0.056891 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/toshiba_pdrm11'.
0.056976 gphoto2-abilities-list(2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/tp6801'.
0.057154 gp-abilities-list(2): Found 64 camera drivers.
1.044196 gphoto2-port-info-list(2): Counting entries (7 available)...
1.044447 gphoto2-port-info-list(2): 3 regular entries available.
1.044567 gphoto2-port(2): Creating new device...
1.044845 gphoto2-port-info-list(2): Getting info of entry 0 (7 available)...
1.046305 gphoto2-port(2): Setting settings...
1.046545 gphoto2-port-info-list(2): Getting info of entry 1 (7 available)...
1.081634 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
1.081846 gphoto2-port(2): Setting settings...
1.081969 libusb1(2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:001,004, (new int=0, conf=-1, alt=-1) port usb:001,004
1.082057 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
1.098087 gphoto2-port-usb(1): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
1.098735 libusb1(1): Looking for USB device (vendor 0x4b0, product 0x10f)... found.
1.099602 libusb1(1): Detected defaults: config 1, interface 0, altsetting 0, inep 83, outep 04, intep 81, class 06, subclass 01
1.099745 gphoto2-abilities-list.c(2): Found 'Nikon Coolpix 4300 (PTP mode)' (0x4b0,0x10f)
1.099914 gphoto2-port-info-list(2): Getting info of entry 2 (7 available)...
1.136304 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
1.136514 gphoto2-port(2): Setting settings...
1.136637 libusb1(2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:001,003, (new int=0, conf=-1, alt=-1) port usb:001,003
1.136723 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
1.147197 gphoto2-port-usb(1): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
1.155145 gphoto2-port-usb(1): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
1.155830 gphoto2-port(2): Freeing port...
1.155986 gphoto2-port(2): Closing port...
1.158242 gphoto2-camera(2): Setting abilities ('Nikon Coolpix 4300 (PTP mode)')...
1.158442 gphoto2-setting(2): Setting key 'model' to value 'Nikon Coolpix 4300 (PTP mode)' (gphoto2)
1.158561 gphoto2-setting(2): Saving 2 setting(s) to file "/root/.gphoto/settings"
1.170360 gphoto2-port-info-list(2): Looking for path 'usb:001,004' (7 entries available)...
1.170715 gphoto2-port-info-list(2): Getting info of entry 1 (7 available)...
1.170850 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:001,004'...
1.195814 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
1.196024 gphoto2-port(2): Setting settings...
1.196147 libusb1(2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:001,004, (new int=0, conf=-1, alt=-1) port usb:001,004
1.196256 gphoto2-setting(2): Setting key 'port' to value 'usb:001,004' (gphoto2)
1.196364 gphoto2-setting(2): Saving 2 setting(s) to file "/root/.gphoto/settings"
1.197869 foreach(2): Executing action 'List Files' for folder '/'.
1.198105 gphoto2-camera(2): Listing files in '/'...
1.198214 gphoto2-camera(2): Initializing camera...
1.208819 libusb1(1): Looking for USB device (vendor 0x4b0, product 0x10f)... found.
1.209709 libusb1(1): Detected defaults: config 1, interface 0, altsetting 0, inep 83, outep 04, intep 81, class 06, subclass 01
1.209846 gphoto2-camera(2): Loading '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.4/ptp2'...
1.226222 gphoto2-port(2): Opening USB port...
1.226515 libusb1(2): gp_port_usb_open()
1.227067 libusb1(2): claiming interface 0
1.227429 gphoto2-port(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.
1.228764 context(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.
1.236778 gp-camera(2): Freeing camera...
1.237012 gphoto2-port(2): Freeing port...
1.237131 gphoto2-port(2): Closing port...
1.237378 gphoto2-port(0): Could not release interface 0 (Device or resource busy).
1.249752 gphoto2-filesystem(2): resetting filesystem
1.249937 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
1.250120 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
1.250211 gphoto2-filesystem(2): Internally deleting all folders from '/'...
1.250349 gphoto2-filesystem(2): Lookup folder '/'...
1.250480 gphoto2-filesystem(2): Found! / is 0x1f68b18
1.250568 gphoto2-filesystem(2): Recurse delete folder 0x1f68b18//
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.