Skip to contentSkip to conversation

HID: ignore appledisplay devices

PATCH New Ben Jencks 1 participant 1 message Apr 2, 2013 HID

lore
Share & tools
lore

Ben Jencks

author
#0 lore raw

PATCH 2/2 HID: ignore appledisplay devices

The usb/misc/appledisplay driver doesn't use the HID layer, so its devices should be blacklisted in HID. With this patch, supported Apple displays are automatically recognized as backlight devices.

---
Sorry for the resend to linux-usb; this should have gone to linux-input in the first place.

 drivers/hid/hid-core.c |    5 +++++
 1 file changed, 5 insertions(+)
drivers/hid/hid-core.c +5 -0
index ceb3040..26b6158 100644
@@ -1951,6 +1951,11 @@ static const struct hid_device_id hid_ignore_list[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_24) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_AIRCABLE, USB_DEVICE_ID_AIRCABLE1) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ALCOR, USB_DEVICE_ID_ALCOR_USBRS232) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9218) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9219) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x921c) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x921d) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9236) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_LCM)},
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_LCM2)},
 	{ HID_USB_DEVICE(USB_VENDOR_ID_AVERMEDIA, USB_DEVICE_ID_AVER_FM_MR800) },
Signature · 6 lines
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html