Issue Details (XML | Word | Printable)

Key: FL-30
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ken VanDine
Reporter: Guilherme Pereira de Freitas
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Foresight Linux

Could not import pictures from Canon sd450 'Could not claim the USB device'

Created: 07/Oct/06 10:19 PM   Updated: 12/Apr/07 11:26 PM
Component/s: None
Affects Version/s: 20061002
Fix Version/s: 1.2
Security Level: Public (Everyone can see this issue)

Time Tracking:
Not Specified

Environment: FL 0.9.8.2 (updateall in Oct 7, 2006). Gnome 2.16.1. Linux localhost.localdomain 2.6.18-3.smp.gcc3.4.x86.i686.cmov #1 SMP Wed Sep 20 10:06:21 CDT 2006 i686 i686 i386 GNU/Linux


 Description  « Hide
When I plug my canon sd450 in the USB port, and try to import pictures with F-Spot, I get an error message 'Could not claim the USB device'. It seems a gphoto2 problem or a USB kernel module problem. 'gphoto2 --auto-detect' worked flawlessly, but:

[guilherme@localhost pics]$ gphoto2 --debug --get-all-files
0.000170 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000540 main(2): gphoto2 2.2.0
0.000713 main(2): gphoto2 has been compiled with the following options:
0.000881 main(2): + gcc (C compiler used)
0.001048 main(2): + popt (for handling command-line parameters)
0.001215 main(2): + exif (for displaying EXIF information)
0.001382 main(2): + no cdk (for accessing configuration options)
0.001549 main(2): + no aa (for displaying live previews)
0.001715 main(2): + jpeg (for displaying live previews in JPEG format)
0.001882 main(2): + readline (for easy navigation in the shell)
0.002054 main(2): libgphoto2 2.2.1
0.002225 main(2): libgphoto2 has been compiled with the following options:
0.002416 main(2): + gcc (C compiler used)
0.002584 main(2): + EXIF (for special handling of EXIF files)
0.002751 main(2): + no /proc/meminfo (adapts cache size to memory available)
0.002921 main(2): libgphoto2_port 0.6.1
0.003094 main(2): libgphoto2_port has been compiled with the following options:
0.003261 main(2): + gcc (C compiler used)
0.003428 main(2): + USB (libusb, for USB cameras)
0.003594 main(2): + serial (for serial cameras)
0.003760 main(2): + no resmgr (serial port access and locking)
0.003927 main(2): + baudboy (serial port locking)
0.004094 main(2): + no ttylock (serial port locking)
0.004260 main(2): + no lockdev (serial port locking)
0.004513 main(2): The user has not specified both a model and a port. Try to figure them out.
0.004703 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.6.1'...
0.005072 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.009871 gphoto2-port/disk(2): found 9 volumes
0.068263 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/hda6') from '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.068544 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/hda7') from '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.068719 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/hda8') from '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.068893 gphoto2-port-info-list(2): Loaded 'Media '/'' ('disk:/') from '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.069065 gphoto2-port-info-list(2): Loaded '' ('^disk:') from '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.069238 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/ptpip'.
0.069691 gphoto2-port-info-list(2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/libgphoto2_port/0.6.1/ptpip'.
0.069874 gphoto2-port-info-list(2): Loaded '' ('^ptpip') from '/usr/lib/libgphoto2_port/0.6.1/ptpip'.
0.070047 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/serial'.
0.070531 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
0.072444 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
0.074042 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'...
0.076198 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'...
0.078128 gphoto2-port-info-list(2): Loaded '' ('^serial') from '/usr/lib/libgphoto2_port/0.6.1/serial'.
0.079457 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/usb'.
0.080825 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:') from '/usr/lib/libgphoto2_port/0.6.1/usb'.
0.081039 gphoto2-port-info-list(2): Loaded '' ('^usb:') from '/usr/lib/libgphoto2_port/0.6.1/usb'.
0.082368 gphoto2-port-info-list(2): Counting entries (10 available)...
0.082605 gphoto2-port-info-list(2): 6 regular entries available.
0.082779 gphoto2-port(2): Creating new device...
0.082964 gphoto2-port-info-list(2): Getting info of entry 0 (10 available)...
0.083848 gphoto2-port(2): Setting settings...
0.084058 gphoto2-port(0): The operation 'update' is not supported by this device
0.084266 gphoto2-port-info-list(2): Getting info of entry 1 (10 available)...
0.084968 gphoto2-port(2): Setting settings...
0.085163 gphoto2-port(0): The operation 'update' is not supported by this device
0.085353 gphoto2-port-info-list(2): Getting info of entry 2 (10 available)...
0.086028 gphoto2-port(2): Setting settings...
0.086220 gphoto2-port(0): The operation 'update' is not supported by this device
0.086932 gphoto2-port-info-list(2): Getting info of entry 3 (10 available)...
0.087757 gphoto2-port(2): Setting settings...
0.087958 gphoto2-port(0): The operation 'update' is not supported by this device
0.204458 gphoto2-port-info-list(2): Getting info of entry 4 (10 available)...
0.205111 gphoto2-port(2): Setting settings...
0.205298 gphoto2-port-info-list(2): Getting info of entry 5 (10 available)...
0.206542 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.206754 gphoto2-port(2): Setting settings...
0.206923 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.207122 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.207303 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x403). Make sure this device is connected to the computer.
0.207481 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x404). Make sure this device is connected to the computer.
0.207657 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer.
0.207835 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.208013 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504a). Make sure this device is connected to the computer.
0.208190 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.208367 gphoto2-port(0): Could not find USB device (vendor 0x8ca, product 0x111). Make sure this device is connected to the computer.
0.208544 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504a). Make sure this device is connected to the computer.
0.208721 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer.
0.208901 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.209078 gphoto2-port(0): Could not find USB device (vendor 0x2770, product 0x9120). Make sure this device is connected to the computer.
0.209255 gphoto2-port(0): Could not find USB device (vendor 0x93a, product 0x10f). Make sure this device is connected to the computer.
0.209432 gphoto2-port(0): Could not find USB device (vendor 0x93a, product 0x10f). Make sure this device is connected to the computer.
0.209609 gphoto2-port(0): Could not find USB device (vendor 0x2770, product 0x913c). Make sure this device is connected to the computer.
0.209786 gphoto2-port(0): Could not find USB device (vendor 0x919, product 0x100). Make sure this device is connected to the computer.
0.209963 gphoto2-port(0): Could not find USB device (vendor 0x93a, product 0x10f). Make sure this device is connected to the computer.
0.210140 gphoto2-port(0): Could not find USB device (vendor 0x4a5, product 0x3003). Make sure this device is connected to the computer.
0.210326 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3047). Make sure this device is connected to the computer.
0.210563 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30c0). Make sure this device is connected to the computer.
0.210740 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x304d). Make sure this device is connected to the computer.
0.210917 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3066). Make sure this device is connected to the computer.
0.211095 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30bf). Make sure this device is connected to the computer.
0.211272 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3075). Make sure this device is connected to the computer.
0.211449 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3075). Make sure this device is connected to the computer.
0.211626 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30ba). Make sure this device is connected to the computer.
0.211804 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30ba). Make sure this device is connected to the computer.
0.211981 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30c1). Make sure this device is connected to the computer.
0.212158 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x310e). Make sure this device is connected to the computer.
0.212335 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b4). Make sure this device is connected to the computer.
0.212511 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b4). Make sure this device is connected to the computer.
0.212684 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x30ff)... found.
0.212901 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.213073 gphoto2-abilities-list.c(2): Found 'Canon Digital IXUS 55 (PTP mode)' (0x4a9,0x30ff)
0.213255 gphoto2-port(2): Freeing port...
0.213431 gphoto2-port(2): Closing port...
0.219080 gphoto2-camera(2): Setting abilities ('Canon Digital IXUS 55 (PTP mode)')...
0.219331 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.219716 setting/gphoto2-setting.c(2): Loading settings from file "/home/guilherme/.gphoto/settings"
0.219926 gphoto2-setting(2): Setting key 'model' to value 'Canon Digital IXUS 55 (PTP mode)' (gphoto2)
0.220102 gphoto2-setting(2): Saving 2 setting(s) to file "/home/guilherme/.gphoto/settings"
0.220507 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.6.1'...
0.220772 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.333455 gphoto2-port/disk(2): found 9 volumes
0.348919 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/hda6') from '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.349193 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/hda7') from '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.349369 gphoto2-port-info-list(2): Loaded 'Media 'Volume (ext3)'' ('disk:/mnt/hda8') from '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.349543 gphoto2-port-info-list(2): Loaded 'Media '/'' ('disk:/') from '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.349717 gphoto2-port-info-list(2): Loaded '' ('^disk:') from '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.349892 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/ptpip'.
0.350471 gphoto2-port-info-list(2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/libgphoto2_port/0.6.1/ptpip'.
0.350661 gphoto2-port-info-list(2): Loaded '' ('^ptpip') from '/usr/lib/libgphoto2_port/0.6.1/ptpip'.
0.350836 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/serial'.
0.351170 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
0.353028 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
0.355331 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'...
0.470048 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'...
0.472096 gphoto2-port-info-list(2): Loaded '' ('^serial') from '/usr/lib/libgphoto2_port/0.6.1/serial'.
0.472349 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/usb'.
0.473612 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:') from '/usr/lib/libgphoto2_port/0.6.1/usb'.
0.473820 gphoto2-port-info-list(2): Loaded '' ('^usb:') from '/usr/lib/libgphoto2_port/0.6.1/usb'.
0.474007 gphoto2-port-info-list(2): Counting entries (10 available)...
0.474180 gphoto2-port-info-list(2): 6 regular entries available.
0.474463 gphoto2-port-info-list(2): Looking for path 'usb:' (10 entries available)...
0.474657 gphoto2-port-info-list(2): Getting info of entry 5 (10 available)...
0.474839 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
0.475941 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.476145 gphoto2-port(2): Setting settings...
0.476316 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.476495 gphoto2-setting(2): Saving 2 setting(s) to file "/home/guilherme/.gphoto/settings"
0.477556 gphoto2-camera(2): Listing files in '/'...
0.478728 gphoto2-camera(2): Initializing camera...
0.478922 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x30ff)... found.
0.479096 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.479269 gphoto2-camera(2): Loading '/usr/lib/libgphoto2/2.2.1/ptp2'...
0.479769 gphoto2-port(2): Opening USB port...
0.480152 gphoto2-port(0): Could not query kernel driver of device.
0.480349 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.480588 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@lists.sourceforge.net>, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug --get-all-files

Please make sure there is sufficient quoting around the arguments.

0.481989 gp-camera(2): Freeing camera...
0.482164 gphoto2-port(2): Freeing port...
0.482504 gphoto2-port(2): Closing port...
0.482703 gphoto2-port(0): Could not release interface 0 (Operation not permitted).
0.482946 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
0.483121 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
0.483290 gphoto2-filesystem(2): Internally deleting all folders from '/'...
[guilherme@localhost pics]$



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Thilo Pfennig added a comment - 12/Apr/07 11:26 PM
This is an old issue. We have other issues like FL-143.

What does not work in FL 1.2 and later should be reported new.