On Monday 31 January 2005 8:59 am, Alan Stern wrote:
> On Mon, 31 Jan 2005, David Brownell wrote:
> 
> > On Monday 31 January 2005 7:41 am, Alan Stern wrote:
> > > On Sun, 30 Jan 2005, David Brownell wrote:
> > > 
> > > >     Note that if the kernel HID driver is bound to a device, lsusb
> > > >     can't show its descriptors.  You can workaround this by removing the
> > > >     "usbhid" module before running lsusb against that device.
> > > 
> > > Why is this?
> > 
> > It's just the HID descriptors; because usbfs rejects calls to that
> > interface if another driver claimed the interface.
> 
> Aren't the HID descriptors included in the configuration descriptor?  

No, the request is "fetch HID descriptors for interface N".

UTSL!  :)

- Dave


> Why  
> do you need to talk to an interface to read the config descriptor?  Can't 
> you get the information just by reading the device file in usbfs, with no 
> ioctls at all?
> 
> Alan Stern
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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