# Re: USB: driver for CM109 chipset

- From: Jiri Kosina \<hidden\>
- Date: 2007-08-27 09:46:12 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2007/08/8908516
- Thread: https://ratatoskr.run/linux-input/2007/08/8908500/t.md

```text
On Sun, 26 Aug 2007, Shaun Jackman wrote:

> In fact, I already tried adding the CM109 to the blacklist. Oddly 
> enough, the usbhid driver still grabs the CM109 HID device. I must be 
> doing something wrong...

Hi,

first, it is now also possible to pass additional quirks to the usbhid 
module using the 'quirks' parameter.

> $ grep -1 CMEDIA drivers/hid/usbhid/hid-quirks.c
> #define USB_VENDOR_ID_CMEDIA            0x0d8c
> #define USB_DEVICE_ID_CMEDIA_CM109      0x000e
> 
> --
>         { USB_VENDOR_ID_CIDC, 0x0103, HID_QUIRK_IGNORE },
>         { USB_VENDOR_ID_CMEDIA, USB_DEVICE_ID_CMEDIA_CM109, HID_QUIRK_IGNORE },
>         { USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_HIDCOM,
> HID_QUIRK_IGNORE },

Adding a HID_QUIRK_IGNORE entry to the blacklist is sufficient. Could you 
please double check that this patched driver really binds to the device?

If so, could you please compile with CONFIG_HID_DEBUG enabled and modprobe 
the usbhid module with 'debug=1' parameter and send me the kernel output?

-- 
Jiri Kosina
```
