On Thu, 30 Jun 2005, Timor Raiman wrote:

> Hi,
> how can I find out whether support for a particular USB device is in the 
> kernel?
> 
> 2.6.11 isn't recognizing it automatically and it isn't recognized by
> lsusb. I wonder if 2.6.13 might recognize it, but I'd rather find that
> out before actually compiling the thing.

You mean 2.6.12.  2.6.13 doesn't exist yet.

> I've been trying to find out where (in the kernel) could be the list
> of devices that a driver wants to handle.... all I found was that that
> list eventually get's publicized in /lib/modules/.../modules.usbmap by
> depmod,

That's right.

>  but I'm still buffled as to where that info originates... must
> be somewhere in the source tree or in some config files.

In the source code.  For USB Mass Storage devices it comes from the 
source file drivers/usb/storage/unusual_devs.h.

> What I'm actually working with here is the Sigma SD10 digital SLR. The
> authoritative source for linux digital camera support,
> http://www.teaser.fr/~hfiguiere/linux/digicam.html, lists the Sigma
> SD10 as a would be mass-storage device. Not sure how Hubert got his
> information, but  it looks like it's either not working, or just needs
> the usb_storage driver budged so it knows it is a standard usb mass
> storage device.
> 
> Just for reference, I have:
> Vendor id: 1003
> Device id: 0100
> 
> But, interface class id is : 255 -- not 008 as for simple usb storage devices.

That means it is vendor-specific.  The camera might still use a standard 
protocol, or it might not -- vendors can do whatever they like.

> Given the report in
> http://www.teaser.fr/~hfiguiere/linux/digicam.html,  is it possible
> that this is still a usb_storage device?

The report says that it is.

>  And if so, where in the
> kernel source should I look to find out whether it has been added or
> possibly to add it in my self?

Look in the file I mentioned above.  As of 2.6.12-git10 the camera isn't
listed.  And you won't be able to add an entry for the camera yourself
unless you know (or can guess) how it operates.

Alan Stern



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to