diff options
author | Jiri Kosina <jkosina@suse.cz> | 2017-01-05 14:25:59 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-01-05 14:28:32 +0100 |
commit | 08f9572671c8047e7234cbf150869aa3c3d59a97 (patch) | |
tree | 33046ab4e068b0d314582013229ee794e6879f82 /drivers/hid/hid-core.c | |
parent | 143fca77cce906d35f7a60ccef648e888df589f2 (diff) | |
download | talos-op-linux-08f9572671c8047e7234cbf150869aa3c3d59a97.tar.gz talos-op-linux-08f9572671c8047e7234cbf150869aa3c3d59a97.zip |
HID: ignore Petzl USB headlamp
This headlamp contains a dummy HID descriptor which pretends to be
a mouse-like device, but can't be used as a mouse at all.
Reported-by: Lukas Ocilka <lukas.ocilka@suse.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-core.c')
-rw-r--r-- | drivers/hid/hid-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index cff060b56da9..ea36b557d5ee 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2496,6 +2496,7 @@ static const struct hid_device_id hid_ignore_list[] = { { HID_USB_DEVICE(USB_VENDOR_ID_PANJIT, 0x0002) }, { HID_USB_DEVICE(USB_VENDOR_ID_PANJIT, 0x0003) }, { HID_USB_DEVICE(USB_VENDOR_ID_PANJIT, 0x0004) }, + { HID_USB_DEVICE(USB_VENDOR_ID_PETZL, USB_DEVICE_ID_PETZL_HEADLAMP) }, { HID_USB_DEVICE(USB_VENDOR_ID_PHILIPS, USB_DEVICE_ID_PHILIPS_IEEE802154_DONGLE) }, { HID_USB_DEVICE(USB_VENDOR_ID_POWERCOM, USB_DEVICE_ID_POWERCOM_UPS) }, #if IS_ENABLED(CONFIG_MOUSE_SYNAPTICS_USB) |