Which drivers are used by usb mouse in linux kernel?

前端 未结 2 648
孤城傲影
孤城傲影 2020-12-08 11:42

I read from LDD3 chapter 14 about hotplug drivers.I need to write a usb mouse driver which load when I plug the hardware. Now, doing some experiment I come to know that ther

2条回答
  •  失恋的感觉
    2020-12-08 12:35

    The device driver is usbhid.

    To prevent it from attaching to your device, add a HID_QUIRK_IGNORE entry to drivers/hid/usbhid/hid-quirks.c, or use the quirks parameter of the usbhid module.

提交回复
热议问题