Unmounting HID device.

Hello.

I’m trying to develop a device driver. When I insert the device Linux automatically assigns to the an HID device, when actually its something totally different. This is causing a big problem, as when I populate the dev-id table within my driver it doesn’t probe the device, because Linux has already assigned the device.

Here’s my dmesg:


  486.834092] generic-usb 0003:1770:FF00.0006: hiddev0,hidraw0: USB HID v1.10 Device [YAMMA USB YAMMA USB] on usb-0000:00:1a.0-1.4/input0

As you can see its assigned it to “input0”. I really need to tell Linux not to assign this specific device to anything, only when I load my module.

On 2011-04-30 22:36, phil128 wrote:
> I’m trying to develop a device driver.

I think you should be asking in the programming forum, no?


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)