GPhoto for SuSE 8.1 (or equiv)

Bruce Marshall bmarsh
Mon May 17 11:44:00 PDT 2004



> Sorry, I know I'm not supposed to reply to my own post...
> 
> I keep trying and trying....  but I can't even get gphoto2 to pull the
pictures.  It automagically detects the camera and that it is plugged
into USB:
> 
> aiu1411 at gandalf:~/PIX> gphoto2 -P --auto-detect --debug
> <snip>
> 0.576258 gphoto2-port(2): Closing port...
> Model                          Port
> ----------------------------------------------------------
> Mustek MDC 800                 usb:
> 0.576928 gphoto2-filesystem(2): Internally appending folder /...
> <snip>
> 1.274416 gphoto2-camera(2): Listing files in '/'...
> 1.274530 gphoto2-camera(2): Initializing camera...
> 1.274614 gphoto2-port-usb(1): Looking for USB device (vendor 0x55f,
product 0xa800)... found.
> 1.274661 gphoto2-port-usb(1): Detected defaults: config 1, interface
0, altsetting 0, inep 84, outep 01, intep 82
> 1.274705 gphoto2-camera(2): Loading
'/usr/lib/gphoto2/2.1.1dev3/libgphoto2_mustek'...
> 1.275584 gphoto2-port(2): Opening USB port...
> 1.275889 gphoto2-port(0): Could not claim interface 0 (Device or
resource busy). Make sure no other program or kernel module (e.g. dc2xx
or stv680) is using the device and you have read/write access to the device.
> 1.293552 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 or kernel module (e.g. dc2xx or
stv680) 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 or kernel module (e.g. dc2xx or stv680) is using
the device and you have read/write access to the device.
> *** Error ('Could not claim the USB device') ***

3.1.4.

Why do I get the error message "Could not claim the USB device"?

The exact message looks like

*** Error ('Could not claim the USB device') ***

Could not claim interface 0 (Operation not permitted). Make sure no
other program or kernel module (e.g. dc2xx or stv680) is using the 
device and you have read/write access to the device. 
      

You have to make sure that no such kernel module is loaded and that you
have set up the permissions on your USB device correctly, such that you
have (non-root) write access to the camera device. How to set this up,
is described at Section 4.3. 



The above comes from page: 
http://www.gphoto.com/doc/manual/FAQ.html#FAQ-could-not-claim-USB








> 
> I'm learning some, but still pretty befuddled at this point.  Any
pointers would be appreciated.  Many thanks to those who have helped so
far, especially Bruce for the USB link.
> 
> 
> On Tue, 4 Feb 2003 15:39:46 -0500
> Matthew Carpenter <matt at eisgr.com> wrote:
> 
> > Am I wrong here?  The more I'm reading, the more I'm thinking that I am.
> > It actually creates the device file in /proc/usb
> > I will miss the auto-created file "/dev/usb/mdc800" but I should be
able to link to whatever dynamic ### hotplug uses.  I just need to add a
link statement in the usbmap script, right?  I haven't got pictures off
the camera yet, so I won't say definitively yet :)
> > 
> > 
> > 
> > On Tue, 4 Feb 2003 13:26:19 -0500
> > Matthew Carpenter <matt at eisgr.com> wrote:
> > 
> > > Yes, but you can't mount /proc/bus/usb as a drive or use it as a
serial port.
> > > 
> > > The device file I'm looking for would be in /dev
> > > 
> > > 
> > > On Tue, 4 Feb 2003 15:38:38 +0100
> > > Roger Oberholtzer <roger at opq.se> wrote:
> > > 
> > > > Also, the devices do not show up in /dev. They are in /proc/bus/usb.
> > > _______________________________________________
> > > Linux-users mailing list
> > > Linux-users at linux-sxs.org
> > > Unsubscribe/Suspend/Etc ->
http://www.linux-sxs.org/mailman/listinfo/linux-users
> > _______________________________________________
> > Linux-users mailing list
> > Linux-users at linux-sxs.org
> > Unsubscribe/Suspend/Etc ->
http://www.linux-sxs.org/mailman/listinfo/linux-users
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc ->
http://www.linux-sxs.org/mailman/listinfo/linux-users
> 
> 

-- 
+++  Bruce Marshall   bmarsh at bmarsh.com   Bellaire, MI  +++


More information about the Linux-users mailing list