[libhid-discuss] USB - HID query

Charles Lepple clepple at ghz.cc
Mon Apr 23 12:31:25 UTC 2007


On Apr 23, 2007, at 7:26 AM, Anmol Ranka wrote:

> 1) Within the HID interface I have few collections. In Windows, each
> collection is treated as separate device.
> I want to know that whether in Linux also, each collection is  
> treated as
> separate device or the all collections are treated as same device.

Same interface, technically. The notion of "device" in libhid is  
really only there because libusb requires you to open a device before  
you select an interface.

> 2) How do I detach the device for kernel driver 'usbhid'.

see src/libhid-detach-device.c

> I tried modprobe -r
> usbhid. But I got a error message
> "FATAL: Module usbhid not found".

Not sure... what does "lsmod | grep hid" return?

-- 
Charles Lepple
clepple at ghz.cc





More information about the libhid-discuss mailing list