On Sat, 14 Jul 2007, Haines Brown wrote:

> My basic problem is that my kernel is unable to see my camera when it
> is connected, although it can see other USB devices. I assume there is
> no driver specific to a camera other than the lib provided by gphoto2,
> and so how can the modules work for all USB devices except one?

"unable to see" isn't specific enough.  There are lots of steps 
involved, each with its own opportunity for something to go wrong.

For instance, with your old kernel did you use the gphoto2 library to
access the camera?  If you did, then the only module needed by the
camera is usbcore.

>   $ lsmod | grep usb
>   usb_storage            71840  0 
>   usblp                  12768  0 
>   scsi_mod              124168  6 usb_storage,sbp2,sd_mod,libata,
>                                   aic79xx,scsi_transport_spi
>   ide_core              110504  4 usb_storage,ide_cd,amd74xx,generic
>   usbcore               112644  5 usb_storage,usblp,ohci_hcd,ehci_hcd
> 
> It was suggested I recompile my kernel with the line 
> 
>   # CONFIG_USB_DEBUG is not set 
> 
> changed to, I suppose, 
> 
>   CONFIG_USB_DEBUG=y
> 
> Does this simply provide debug information in kernlog when the kernel
> fails to see my camera?

It provides debug information in the kernel log whenever something 
significant happens.  It might reveal, for example, that the kernel 
really _does_ see your camera but something goes wrong during an 
initialization procedure.

> If this reveals that the kernel USB support is buggy, what can I do
> about it? If a bug, there might be a patch. How would I know? If such
> a patch exists, I suppose I'd simply recompile my kernel with it.

The best way to find the answers to these questions is to post the 
debugging log.

> Or I could upgrade the kernel. However, I gather doing so would give
> rise to dependency problems. Debian Etch uses kernel 2.6.18, and if I
> compile and install, say, 2.6.22 (current stable), won't I experience
> such problems?

Probably not.  But I am not at all familiar with Debian.  The most
reliable way to find out is to try it and see what happens.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to