[Pkg-phototools-devel] Bug#593847: gphoto2 could not claim the USB device

James Stuckey jhstuckey at gmail.com
Sat Aug 21 14:50:25 UTC 2010


Package: gphoto2
Version: 2.4.5
Severity: important

While trying to gphoto2 --get-all-raw-data as I usually do, I received
this error instead of the pictures from the camera.

ciao,
J. Stuckey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20100821/18017dc1/attachment-0001.htm>
-------------- next part --------------
0.000021 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000063 main(2): gphoto2 2.4.5
0.000071 main(2): gphoto2 has been compiled with the following options:
0.000078 main(2):  + gcc (C compiler used)
0.000083 main(2):  + popt (mandatory, for handling command-line parameters)
0.000089 main(2):  + exif (for displaying EXIF information)
0.000094 main(2):  + cdk (for accessing configuration options)
0.000100 main(2):  + aa (for displaying live previews)
0.000106 main(2):  + jpeg (for displaying live previews in JPEG format)
0.000111 main(2):  + readline (for easy navigation in the shell)
0.000119 main(2): libgphoto2 2.4.6
0.000126 main(2): libgphoto2 has been compiled with the following options:
0.000133 main(2):  + gcc (C compiler used)
0.000139 main(2):  + ltdl (for portable loading of camlibs)
0.000145 main(2):  + EXIF (for special handling of EXIF files)
0.000151 main(2): libgphoto2_port 0.8.0
0.000158 main(2): libgphoto2_port has been compiled with the following options:
0.000164 main(2):  + gcc (C compiler used)
0.000170 main(2):  + ltdl (for portable loading of camlibs)
0.000175 main(2):  + USB (libusb, for USB cameras)
0.000181 main(2):  + serial (for serial cameras)
0.000187 main(2):  + no resmgr (serial port access and locking)
0.000192 main(2):  + no baudboy (serial port locking)
0.000198 main(2):  + no ttylock (serial port locking)
0.000203 main(2):  + no lockdev (serial port locking)
0.000209 main(2): CAMLIBS env var not set, using compile-time default instead
0.000215 main(2): IOLIBS env var not set, using compile-time default instead
0.000231 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.000273 setting/gphoto2-setting.c(2): Loading settings from file "/home/stuckey/.gphoto/settings"
0.000339 main(2): The user has not specified both a model and a port. Try to figure them out.
0.000353 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.8.0'...
0.000435 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.001121 gphoto2-port/disk(2): libhal: The name org.freedesktop.Hal was not provided by any .service files
0.001177 gphoto2-port-info-list(2): Could not load port driver list: 'libhal error'.
0.001187 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.001252 gphoto2-port-info-list(2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.001263 gphoto2-port-info-list(2): Loaded '' ('^ptpip') from '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.001271 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.001398 gphoto2-port-info-list(2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.001408 gphoto2-port-info-list(2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.001416 gphoto2-port-info-list(2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.001424 gphoto2-port-info-list(2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.001431 gphoto2-port-info-list(2): Loaded '' ('^serial') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.001439 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.253314 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:') from '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.253337 gphoto2-port-info-list(2): Loaded '' ('^usb:') from '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.253356 gphoto2-port-info-list(2): Counting entries (9 available)...
0.253365 gphoto2-port-info-list(2): 6 regular entries available.
0.254121 gphoto2-abilities-list(2): Using ltdl to load camera libraries from '/usr/lib/libgphoto2/2.4.6'...
0.254964 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/adc65'.
0.254978 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/agfa_cl20'.
0.254985 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/aox'.
0.254991 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/barbie'.
0.255011 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/canon'.
0.255017 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/casio_qv'.
0.255023 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/clicksmart310'.
0.255029 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/digigr8'.
0.255035 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/digita'.
0.255041 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/dimagev'.
0.255047 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/dimera3500'.
0.255053 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/directory'.
0.255059 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/enigma13'.
0.255065 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/fuji'.
0.255071 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/gsmart300'.
0.255077 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/hp215'.
0.255083 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/iclick'.
0.255088 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/jamcam'.
0.255094 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/jd11'.
0.255100 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/jl2005a'.
0.255106 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/kodak_dc120'.
0.255112 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/kodak_dc210'.
0.255118 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/kodak_dc240'.
0.255124 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/kodak_dc3200'.
0.255130 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/kodak_ez200'.
0.255136 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/konica'.
0.255142 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/konica_qm150'.
0.255148 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/largan'.
0.255153 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/lg_gsm'.
0.255159 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/mars'.
0.255165 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/mustek'.
0.255171 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/panasonic_coolshot'.
0.255177 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/panasonic_dc1000'.
0.255183 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/panasonic_dc1580'.
0.255189 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/panasonic_l859'.
0.255195 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/pccam300'.
0.255201 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/pccam600'.
0.255207 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/polaroid_pdc320'.
0.255213 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/polaroid_pdc640'.
0.255219 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/polaroid_pdc700'.
0.255225 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/ptp2'.
0.255230 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/ricoh'.
0.255236 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/ricoh_g3'.
0.255242 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/samsung'.
0.255248 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/sierra'.
0.255254 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/sipix_blink2'.
0.255260 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/sipix_web2'.
0.255266 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/smal'.
0.255272 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/sonix'.
0.255277 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/sony_dscf1'.
0.255283 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/sony_dscf55'.
0.255289 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/soundvision'.
0.255295 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/spca50x'.
0.255301 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/sq905'.
0.255314 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/stv0674'.
0.255321 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/stv0680'.
0.255326 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/sx330z'.
0.255332 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/topfield'.
0.255338 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.6/toshiba_pdrm11'.
0.255348 gp-abilities-list(2): Found 59 camera drivers.
0.262604 gphoto2-port-info-list(2): Counting entries (9 available)...
0.262627 gphoto2-port-info-list(2): 6 regular entries available.
0.262634 gphoto2-port(2): Creating new device...
0.262644 gphoto2-port-info-list(2): Getting info of entry 0 (9 available)...
0.262701 gphoto2-port(2): Setting settings...
0.262710 gphoto2-port-info-list(2): Getting info of entry 1 (9 available)...
0.262773 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.262783 gphoto2-port(2): Setting settings...
0.262790 gphoto2-port-info-list(2): Getting info of entry 2 (9 available)...
0.262845 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.262855 gphoto2-port(2): Setting settings...
0.262862 gphoto2-port-info-list(2): Getting info of entry 3 (9 available)...
0.262917 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.262926 gphoto2-port(2): Setting settings...
0.262933 gphoto2-port-info-list(2): Getting info of entry 4 (9 available)...
0.262988 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.262997 gphoto2-port(2): Setting settings...
0.263005 gphoto2-port-info-list(2): Getting info of entry 5 (9 available)...
0.263376 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.263386 gphoto2-port(2): Setting settings...
0.263393 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.263400 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.263413 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.263423 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x403). Make sure this device is connected to the computer.
0.263431 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x404). Make sure this device is connected to the computer.
0.263440 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer.
0.263449 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.263457 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504a). Make sure this device is connected to the computer.
0.263466 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.263475 gphoto2-port(0): Could not find USB device (vendor 0x8ca, product 0x111). Make sure this device is connected to the computer.
0.263483 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504a). Make sure this device is connected to the computer.
0.263492 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer.
0.263500 gphoto2-port(0): Could not find USB device (vendor 0x979, product 0x224). Make sure this device is connected to the computer.
0.263509 gphoto2-port(0): Could not find USB device (vendor 0x5ac, product 0x1290). Make sure this device is connected to the computer.
0.263517 gphoto2-port(0): Could not find USB device (vendor 0x5ac, product 0x1292). Make sure this device is connected to the computer.
0.263526 gphoto2-port(0): Could not find USB device (vendor 0x5ac, product 0x1293). Make sure this device is connected to the computer.
0.263535 gphoto2-port(0): Could not find USB device (vendor 0xe79, product 0x120a). Make sure this device is connected to the computer.
0.263543 gphoto2-port(0): Could not find USB device (vendor 0xe79, product 0x1301). Make sure this device is connected to the computer.
0.263552 gphoto2-port(0): Could not find USB device (vendor 0xe79, product 0x1331). Make sure this device is connected to the computer.
0.263574 gphoto2-port(0): Could not find USB device (vendor 0xe79, product 0x1333). Make sure this device is connected to the computer.
0.263583 gphoto2-port(0): Could not find USB device (vendor 0xe79, product 0x1307). Make sure this device is connected to the computer.
0.263592 gphoto2-port(0): Could not find USB device (vendor 0xe79, product 0x1313). Make sure this device is connected to the computer.
0.263600 gphoto2-port(0): Could not find USB device (vendor 0xe79, product 0x130d). Make sure this device is connected to the computer.
0.263609 gphoto2-port(0): Could not find USB device (vendor 0xe79, product 0x1207). Make sure this device is connected to the computer.
0.263617 gphoto2-port(0): Could not find USB device (vendor 0xe79, product 0x1208). Make sure this device is connected to the computer.
0.263626 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.263634 gphoto2-port(0): Could not find USB device (vendor 0x2770, product 0x9120). Make sure this device is connected to the computer.
0.263643 gphoto2-port(0): Could not find USB device (vendor 0x93a, product 0x10f). Make sure this device is connected to the computer.
0.263651 gphoto2-port(0): Could not find USB device (vendor 0x93a, product 0x10f). Make sure this device is connected to the computer.
0.263660 gphoto2-port(0): Could not find USB device (vendor 0x2770, product 0x913c). Make sure this device is connected to the computer.
0.263668 gphoto2-port(0): Could not find USB device (vendor 0x919, product 0x100). Make sure this device is connected to the computer.
0.263677 gphoto2-port(0): Could not find USB device (vendor 0x93a, product 0x10f). Make sure this device is connected to the computer.
0.263686 gphoto2-port(0): Could not find USB device (vendor 0x4a5, product 0x3003). Make sure this device is connected to the computer.
0.263694 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3047). Make sure this device is connected to the computer.
0.263703 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30c0). Make sure this device is connected to the computer.
0.263711 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x304d). Make sure this device is connected to the computer.
0.263720 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3066). Make sure this device is connected to the computer.
0.263728 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30bf). Make sure this device is connected to the computer.
0.263737 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3075). Make sure this device is connected to the computer.
0.263745 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30ba). Make sure this device is connected to the computer.
0.263754 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x310e). Make sure this device is connected to the computer.
0.263762 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b4). Make sure this device is connected to the computer.
0.263769 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x30ff)... found.
0.263776 gphoto2-port-usb(2): inep to look for is 81
0.263781 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.263788 gphoto2-abilities-list.c(2): Found 'Canon Digital IXUS 55 (PTP mode)' (0x4a9,0x30ff)
0.263797 gphoto2-port(2): Freeing port...
0.263805 gphoto2-port(2): Closing port...
0.263833 gphoto2-camera(2): Setting abilities ('Canon Digital IXUS 55 (PTP mode)')...
0.263844 gphoto2-setting(2): Setting key 'model' to value 'Canon Digital IXUS 55 (PTP mode)' (gphoto2)
0.263851 gphoto2-setting(2): Saving 2 setting(s) to file "/home/stuckey/.gphoto/settings"
0.263907 gphoto2-port-info-list(2): Looking for path 'usb:' (9 entries available)...
0.263918 gphoto2-port-info-list(2): Getting info of entry 5 (9 available)...
0.263933 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
0.264251 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.264262 gphoto2-port(2): Setting settings...
0.264268 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.264275 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.264282 gphoto2-setting(2): Saving 2 setting(s) to file "/home/stuckey/.gphoto/settings"
0.265364 gphoto2-camera(2): Listing files in '/'...
0.265379 gphoto2-camera(2): Initializing camera...
0.265388 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x30ff)... found.
0.265395 gphoto2-port-usb(2): inep to look for is 81
0.265401 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.265408 gphoto2-camera(2): Loading '/usr/lib/libgphoto2/2.4.6/ptp2'...
0.265554 gphoto2-port(2): Opening USB port...
0.265563 libusb(2): gp_port_usb_open()
0.265593 gphoto2-port(0): Could not query kernel driver of device.
0.265600 libusb(2): claiming interface 0
0.265612 gphoto2-port(0): Could not claim interface 0 (Operation not permitted). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
0.265640 context(0): An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Operation not permitted). Make sure no other program 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 (Operation not permitted). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
*** Error (-53: 'Could not claim the USB device') ***       

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel at lists.sourceforge.net>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --get-all-raw-data --debug

Please make sure there is sufficient quoting around the arguments.

0.265827 gp-camera(2): Freeing camera...
0.265836 gphoto2-port(2): Freeing port...
0.265842 gphoto2-port(2): Closing port...
0.265854 gphoto2-port(0): Could not release interface 0 (Operation not permitted).
0.265880 gphoto2-filesystem(2): resetting filesystem
0.265888 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
0.265893 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
0.265900 gphoto2-filesystem(2): Internally deleting all folders from '/'...
0.265907 gphoto2-filesystem(2): Lookup folder '/'...
0.265913 gphoto2-filesystem(2): Found! / is 0x1b333e0
0.265920 gphoto2-filesystem(2): Recurse delete folder 0x1b333e0


More information about the Pkg-phototools-devel mailing list