On Fri, May 10, 2002, Thierry Brichler <[EMAIL PROTECTED]> wrote:
> I have a concern involving an usb device (digital camera) and an
> application
> (gphoto2).
> The problem is that this application does not find the usb camera,
> although this seems (I say seems) regularly inserted in the
> /proc/bus/usb filesystem.
> 
> At the moment, I do not know if this is due :
> - to the application itself
> - or to a bad configuration of the usb stuff

Well, it's likely to be a problem in gphoto2 or libusb.

>  The file /proc/bus/usb/001/0xy file is created, with the correct
>  authorizations :
>  
>  $ ls -l /proc/bus/usb/001
>  total 1
>  -rw-r--r--    1 root     root           18 mai  9 21:12 001
>  -rw-r--r--    1 root     root           18 mai  9 21:12 003
>  -rw-------    1 thierry  root           18 mai  9 21:17 005
>  
> At this time, 003 was devoted to the USB mouse, and 005 to the camera.
> A special script in the /etc/hotplug/usb/usbcam does a basic chown $USER
> and chmod 600 on the usb file, when camera is switched on.
> 
> At this step, no camera driver is loaded. This belongs to the gphoto2
> application. 

I assume you're running this application as user thierry?

>  $ gphoto2 --camera "Canon PowerShot S200" -l
>  *** Error ***
>  An error occurred in the io-library ('Bad parameters'): Could not find
>  USB device (vendor 0x4a9, product 0x3065). Make sure this device is
>  connected to the computer.
>  *** Error ('Bad parameters') ***

Could you set the environment variable USB_DEBUG to 9 at try running
that again?

> 3. Questions
>    ---------
>  - Is the usb camera correctly handled at kernel level ?

Looks like it.

>  - Or : which additional tests should I perform to be convinced of this
> ?

Nope, it appears in lsusb, that means the kernel knows about it.

>  - How to check the correct content of /proc/bus/usb/001/0xy ?  

It's fine. As you can see from lsusb which uses it.

JE


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to