diff options
author | Phil Dibowitz <phil@ipom.com> | 2007-07-30 06:00:48 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-08-02 07:48:03 -0400 |
commit | 9fdcfed8ebc4f5273179f8ff00ab83a6403016de (patch) | |
tree | f201309f2cd01d8bb40ae19306f3719c61449929 | |
parent | 2dea64b4aace953924848ac9ab05217da20a7932 (diff) |
USB HID: Add all Logitech Harmonies to blacklist
This patch adds the entire range of Logitech's ProductIDs that are reserved
for their Harmony remotes. The in-kernel HID driver can't do anything with
these, and now there is a GPL user-space application that can handle them:
http://www.sf.net/projects/harmonycontrol
Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/hid/usbhid/hid-quirks.c | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c index 2b7e2de77413..09743c521e20 100644 --- a/drivers/hid/usbhid/hid-quirks.c +++ b/drivers/hid/usbhid/hid-quirks.c | |||
@@ -197,6 +197,70 @@ | |||
197 | 197 | ||
198 | #define USB_VENDOR_ID_LOGITECH 0x046d | 198 | #define USB_VENDOR_ID_LOGITECH 0x046d |
199 | #define USB_DEVICE_ID_LOGITECH_RECEIVER 0xc101 | 199 | #define USB_DEVICE_ID_LOGITECH_RECEIVER 0xc101 |
200 | #define USB_DEVICE_ID_LOGITECH_HARMONY 0xc110 | ||
201 | #define USB_DEVICE_ID_LOGITECH_HARMONY_2 0xc111 | ||
202 | #define USB_DEVICE_ID_LOGITECH_HARMONY_3 0xc112 | ||
203 | #define USB_DEVICE_ID_LOGITECH_HARMONY_4 0xc113 | ||
204 | #define USB_DEVICE_ID_LOGITECH_HARMONY_5 0xc114 | ||
205 | #define USB_DEVICE_ID_LOGITECH_HARMONY_6 0xc115 | ||
206 | #define USB_DEVICE_ID_LOGITECH_HARMONY_7 0xc116 | ||
207 | #define USB_DEVICE_ID_LOGITECH_HARMONY_8 0xc117 | ||
208 | #define USB_DEVICE_ID_LOGITECH_HARMONY_9 0xc118 | ||
209 | #define USB_DEVICE_ID_LOGITECH_HARMONY_10 0xc119 | ||
210 | #define USB_DEVICE_ID_LOGITECH_HARMONY_11 0xc11a | ||
211 | #define USB_DEVICE_ID_LOGITECH_HARMONY_12 0xc11b | ||
212 | #define USB_DEVICE_ID_LOGITECH_HARMONY_13 0xc11c | ||
213 | #define USB_DEVICE_ID_LOGITECH_HARMONY_14 0xc11d | ||
214 | #define USB_DEVICE_ID_LOGITECH_HARMONY_15 0xc11e | ||
215 | #define USB_DEVICE_ID_LOGITECH_HARMONY_16 0xc11f | ||
216 | #define USB_DEVICE_ID_LOGITECH_HARMONY_17 0xc120 | ||
217 | #define USB_DEVICE_ID_LOGITECH_HARMONY_18 0xc121 | ||
218 | #define USB_DEVICE_ID_LOGITECH_HARMONY_19 0xc122 | ||
219 | #define USB_DEVICE_ID_LOGITECH_HARMONY_20 0xc123 | ||
220 | #define USB_DEVICE_ID_LOGITECH_HARMONY_21 0xc124 | ||
221 | #define USB_DEVICE_ID_LOGITECH_HARMONY_22 0xc125 | ||
222 | #define USB_DEVICE_ID_LOGITECH_HARMONY_23 0xc126 | ||
223 | #define USB_DEVICE_ID_LOGITECH_HARMONY_24 0xc127 | ||
224 | #define USB_DEVICE_ID_LOGITECH_HARMONY_25 0xc128 | ||
225 | #define USB_DEVICE_ID_LOGITECH_HARMONY_26 0xc129 | ||
226 | #define USB_DEVICE_ID_LOGITECH_HARMONY_27 0xc12a | ||
227 | #define USB_DEVICE_ID_LOGITECH_HARMONY_28 0xc12b | ||
228 | #define USB_DEVICE_ID_LOGITECH_HARMONY_29 0xc12c | ||
229 | #define USB_DEVICE_ID_LOGITECH_HARMONY_30 0xc12d | ||
230 | #define USB_DEVICE_ID_LOGITECH_HARMONY_31 0xc12e | ||
231 | #define USB_DEVICE_ID_LOGITECH_HARMONY_32 0xc12f | ||
232 | #define USB_DEVICE_ID_LOGITECH_HARMONY_33 0xc130 | ||
233 | #define USB_DEVICE_ID_LOGITECH_HARMONY_34 0xc131 | ||
234 | #define USB_DEVICE_ID_LOGITECH_HARMONY_35 0xc132 | ||
235 | #define USB_DEVICE_ID_LOGITECH_HARMONY_36 0xc133 | ||
236 | #define USB_DEVICE_ID_LOGITECH_HARMONY_37 0xc134 | ||
237 | #define USB_DEVICE_ID_LOGITECH_HARMONY_38 0xc135 | ||
238 | #define USB_DEVICE_ID_LOGITECH_HARMONY_39 0xc136 | ||
239 | #define USB_DEVICE_ID_LOGITECH_HARMONY_40 0xc137 | ||
240 | #define USB_DEVICE_ID_LOGITECH_HARMONY_41 0xc138 | ||
241 | #define USB_DEVICE_ID_LOGITECH_HARMONY_42 0xc139 | ||
242 | #define USB_DEVICE_ID_LOGITECH_HARMONY_43 0xc13a | ||
243 | #define USB_DEVICE_ID_LOGITECH_HARMONY_44 0xc13b | ||
244 | #define USB_DEVICE_ID_LOGITECH_HARMONY_45 0xc13c | ||
245 | #define USB_DEVICE_ID_LOGITECH_HARMONY_46 0xc13d | ||
246 | #define USB_DEVICE_ID_LOGITECH_HARMONY_47 0xc13e | ||
247 | #define USB_DEVICE_ID_LOGITECH_HARMONY_48 0xc13f | ||
248 | #define USB_DEVICE_ID_LOGITECH_HARMONY_49 0xc140 | ||
249 | #define USB_DEVICE_ID_LOGITECH_HARMONY_50 0xc141 | ||
250 | #define USB_DEVICE_ID_LOGITECH_HARMONY_51 0xc142 | ||
251 | #define USB_DEVICE_ID_LOGITECH_HARMONY_52 0xc143 | ||
252 | #define USB_DEVICE_ID_LOGITECH_HARMONY_53 0xc144 | ||
253 | #define USB_DEVICE_ID_LOGITECH_HARMONY_54 0xc145 | ||
254 | #define USB_DEVICE_ID_LOGITECH_HARMONY_55 0xc146 | ||
255 | #define USB_DEVICE_ID_LOGITECH_HARMONY_56 0xc147 | ||
256 | #define USB_DEVICE_ID_LOGITECH_HARMONY_57 0xc148 | ||
257 | #define USB_DEVICE_ID_LOGITECH_HARMONY_58 0xc149 | ||
258 | #define USB_DEVICE_ID_LOGITECH_HARMONY_59 0xc14a | ||
259 | #define USB_DEVICE_ID_LOGITECH_HARMONY_60 0xc14b | ||
260 | #define USB_DEVICE_ID_LOGITECH_HARMONY_61 0xc14c | ||
261 | #define USB_DEVICE_ID_LOGITECH_HARMONY_62 0xc14d | ||
262 | #define USB_DEVICE_ID_LOGITECH_HARMONY_63 0xc14e | ||
263 | #define USB_DEVICE_ID_LOGITECH_HARMONY_64 0xc14f | ||
200 | #define USB_DEVICE_ID_LOGITECH_WHEEL 0xc294 | 264 | #define USB_DEVICE_ID_LOGITECH_WHEEL 0xc294 |
201 | #define USB_DEVICE_ID_LOGITECH_KBD 0xc311 | 265 | #define USB_DEVICE_ID_LOGITECH_KBD 0xc311 |
202 | #define USB_DEVICE_ID_S510_RECEIVER 0xc50c | 266 | #define USB_DEVICE_ID_S510_RECEIVER 0xc50c |
@@ -220,6 +284,9 @@ | |||
220 | #define USB_DEVICE_ID_NCR_FIRST 0x0300 | 284 | #define USB_DEVICE_ID_NCR_FIRST 0x0300 |
221 | #define USB_DEVICE_ID_NCR_LAST 0x03ff | 285 | #define USB_DEVICE_ID_NCR_LAST 0x03ff |
222 | 286 | ||
287 | #define USB_VENDOR_ID_NATIONAL_SEMICONDUCTOR 0x0400 | ||
288 | #define USB_DEVICE_ID_N_S_HARMONY 0xc359 | ||
289 | |||
223 | #define USB_VENDOR_ID_NEC 0x073e | 290 | #define USB_VENDOR_ID_NEC 0x073e |
224 | #define USB_DEVICE_ID_NEC_USB_GAME_PAD 0x0301 | 291 | #define USB_DEVICE_ID_NEC_USB_GAME_PAD 0x0301 |
225 | 292 | ||
@@ -461,6 +528,71 @@ static const struct hid_blacklist { | |||
461 | 528 | ||
462 | { USB_VENDOR_ID_DELL, USB_DEVICE_ID_DELL_W7658, HID_QUIRK_RESET_LEDS }, | 529 | { USB_VENDOR_ID_DELL, USB_DEVICE_ID_DELL_W7658, HID_QUIRK_RESET_LEDS }, |
463 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_KBD, HID_QUIRK_RESET_LEDS }, | 530 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_KBD, HID_QUIRK_RESET_LEDS }, |
531 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY, HID_QUIRK_IGNORE }, | ||
532 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_2, HID_QUIRK_IGNORE }, | ||
533 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_3, HID_QUIRK_IGNORE }, | ||
534 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_4, HID_QUIRK_IGNORE }, | ||
535 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_5, HID_QUIRK_IGNORE }, | ||
536 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_6, HID_QUIRK_IGNORE }, | ||
537 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_7, HID_QUIRK_IGNORE }, | ||
538 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_8, HID_QUIRK_IGNORE }, | ||
539 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_9, HID_QUIRK_IGNORE }, | ||
540 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_10, HID_QUIRK_IGNORE }, | ||
541 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_11, HID_QUIRK_IGNORE }, | ||
542 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_12, HID_QUIRK_IGNORE }, | ||
543 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_13, HID_QUIRK_IGNORE }, | ||
544 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_14, HID_QUIRK_IGNORE }, | ||
545 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_15, HID_QUIRK_IGNORE }, | ||
546 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_16, HID_QUIRK_IGNORE }, | ||
547 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_17, HID_QUIRK_IGNORE }, | ||
548 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_18, HID_QUIRK_IGNORE }, | ||
549 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_19, HID_QUIRK_IGNORE }, | ||
550 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_20, HID_QUIRK_IGNORE }, | ||
551 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_21, HID_QUIRK_IGNORE }, | ||
552 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_22, HID_QUIRK_IGNORE }, | ||
553 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_23, HID_QUIRK_IGNORE }, | ||
554 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_24, HID_QUIRK_IGNORE }, | ||
555 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_25, HID_QUIRK_IGNORE }, | ||
556 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_26, HID_QUIRK_IGNORE }, | ||
557 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_27, HID_QUIRK_IGNORE }, | ||
558 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_28, HID_QUIRK_IGNORE }, | ||
559 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_29, HID_QUIRK_IGNORE }, | ||
560 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_30, HID_QUIRK_IGNORE }, | ||
561 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_31, HID_QUIRK_IGNORE }, | ||
562 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_32, HID_QUIRK_IGNORE }, | ||
563 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_33, HID_QUIRK_IGNORE }, | ||
564 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_34, HID_QUIRK_IGNORE }, | ||
565 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_35, HID_QUIRK_IGNORE }, | ||
566 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_36, HID_QUIRK_IGNORE }, | ||
567 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_37, HID_QUIRK_IGNORE }, | ||
568 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_38, HID_QUIRK_IGNORE }, | ||
569 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_39, HID_QUIRK_IGNORE }, | ||
570 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_40, HID_QUIRK_IGNORE }, | ||
571 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_41, HID_QUIRK_IGNORE }, | ||
572 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_42, HID_QUIRK_IGNORE }, | ||
573 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_43, HID_QUIRK_IGNORE }, | ||
574 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_44, HID_QUIRK_IGNORE }, | ||
575 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_45, HID_QUIRK_IGNORE }, | ||
576 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_46, HID_QUIRK_IGNORE }, | ||
577 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_47, HID_QUIRK_IGNORE }, | ||
578 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_48, HID_QUIRK_IGNORE }, | ||
579 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_49, HID_QUIRK_IGNORE }, | ||
580 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_50, HID_QUIRK_IGNORE }, | ||
581 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_51, HID_QUIRK_IGNORE }, | ||
582 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_52, HID_QUIRK_IGNORE }, | ||
583 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_53, HID_QUIRK_IGNORE }, | ||
584 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_54, HID_QUIRK_IGNORE }, | ||
585 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_55, HID_QUIRK_IGNORE }, | ||
586 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_56, HID_QUIRK_IGNORE }, | ||
587 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_57, HID_QUIRK_IGNORE }, | ||
588 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_58, HID_QUIRK_IGNORE }, | ||
589 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_59, HID_QUIRK_IGNORE }, | ||
590 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_60, HID_QUIRK_IGNORE }, | ||
591 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_61, HID_QUIRK_IGNORE }, | ||
592 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_62, HID_QUIRK_IGNORE }, | ||
593 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_63, HID_QUIRK_IGNORE }, | ||
594 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_64, HID_QUIRK_IGNORE }, | ||
595 | { USB_VENDOR_ID_NATIONAL_SEMICONDUCTOR, USB_DEVICE_ID_N_S_HARMONY, HID_QUIRK_IGNORE }, | ||
464 | 596 | ||
465 | { 0, 0 } | 597 | { 0, 0 } |
466 | }; | 598 | }; |