aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2010-08-04 09:27:54 -0400
committerJiri Kosina <jkosina@suse.cz>2010-08-04 09:27:54 -0400
commit9929ffed889b4861b52ba648a44fa4add945c4d1 (patch)
tree3cca02ae6b6616cc9a204b762aab349fcfa3aefe /drivers/hid
parentfc73697bd5bf4efe8b5b2b78ec09e00f967cd055 (diff)
parentd5e0a06f17a0ffb0eb08a5bd7b18f00af70d9a12 (diff)
Merge branch 'upstream-fixes' into for-linus
Conflicts: drivers/hid/hid-ids.h
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/Kconfig5
-rw-r--r--drivers/hid/hid-core.c2
-rw-r--r--drivers/hid/hid-ids.h10
-rw-r--r--drivers/hid/hid-topseed.c5
-rw-r--r--drivers/hid/hid-wacom.c2
5 files changed, 16 insertions, 8 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index d51f0144a3b..f54050c2e38 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -423,10 +423,11 @@ config SMARTJOYPLUS_FF
423 enable force feedback support for it. 423 enable force feedback support for it.
424 424
425config HID_TOPSEED 425config HID_TOPSEED
426 tristate "TopSeed Cyberlink remote control support" 426 tristate "TopSeed Cyberlink, BTC Emprex, Conceptronic remote control support"
427 depends on USB_HID 427 depends on USB_HID
428 ---help--- 428 ---help---
429 Say Y if you have a TopSeed Cyberlink or BTC Emprex remote control. 429 Say Y if you have a TopSeed Cyberlink or BTC Emprex or Conceptronic
430 CLLRCMCE remote control.
430 431
431config HID_THRUSTMASTER 432config HID_THRUSTMASTER
432 tristate "ThrustMaster devices support" 433 tristate "ThrustMaster devices support"
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index a204d092e2d..be7ee330e48 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1376,10 +1376,10 @@ static const struct hid_device_id hid_blacklist[] = {
1376 { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb653) }, 1376 { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb653) },
1377 { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) }, 1377 { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) },
1378 { HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED, USB_DEVICE_ID_TOPSEED_CYBERLINK) }, 1378 { HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED, USB_DEVICE_ID_TOPSEED_CYBERLINK) },
1379 { HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED2, USB_DEVICE_ID_TOPSEED2_RF_COMBO) },
1379 { HID_USB_DEVICE(USB_VENDOR_ID_TWINHAN, USB_DEVICE_ID_TWINHAN_IR_REMOTE) }, 1380 { HID_USB_DEVICE(USB_VENDOR_ID_TWINHAN, USB_DEVICE_ID_TWINHAN_IR_REMOTE) },
1380 { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_SMARTJOY_PLUS) }, 1381 { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_SMARTJOY_PLUS) },
1381 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_GRAPHIRE_BLUETOOTH) }, 1382 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_GRAPHIRE_BLUETOOTH) },
1382 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH) },
1383 { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) }, 1383 { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
1384 { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) }, 1384 { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
1385 { HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) }, 1385 { HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 7f0e40bdb47..066d219b7f1 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -479,12 +479,15 @@
479 479
480#define USB_VENDOR_ID_THRUSTMASTER 0x044f 480#define USB_VENDOR_ID_THRUSTMASTER 0x044f
481 481
482#define USB_VENDOR_ID_TOPMAX 0x0663
483#define USB_DEVICE_ID_TOPMAX_COBRAPAD 0x0103
484
485#define USB_VENDOR_ID_TOPSEED 0x0766 482#define USB_VENDOR_ID_TOPSEED 0x0766
486#define USB_DEVICE_ID_TOPSEED_CYBERLINK 0x0204 483#define USB_DEVICE_ID_TOPSEED_CYBERLINK 0x0204
487 484
485#define USB_VENDOR_ID_TOPSEED2 0x1784
486#define USB_DEVICE_ID_TOPSEED2_RF_COMBO 0x0004
487
488#define USB_VENDOR_ID_TOPMAX 0x0663
489#define USB_DEVICE_ID_TOPMAX_COBRAPAD 0x0103
490
488#define USB_VENDOR_ID_TOUCHPACK 0x1bfd 491#define USB_VENDOR_ID_TOUCHPACK 0x1bfd
489#define USB_DEVICE_ID_TOUCHPACK_RTS 0x1688 492#define USB_DEVICE_ID_TOUCHPACK_RTS 0x1688
490 493
@@ -507,7 +510,6 @@
507 510
508#define USB_VENDOR_ID_WACOM 0x056a 511#define USB_VENDOR_ID_WACOM 0x056a
509#define USB_DEVICE_ID_WACOM_GRAPHIRE_BLUETOOTH 0x81 512#define USB_DEVICE_ID_WACOM_GRAPHIRE_BLUETOOTH 0x81
510#define USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH 0xbd
511 513
512#define USB_VENDOR_ID_WISEGROUP 0x0925 514#define USB_VENDOR_ID_WISEGROUP 0x0925
513#define USB_DEVICE_ID_SMARTJOY_PLUS 0x0005 515#define USB_DEVICE_ID_SMARTJOY_PLUS 0x0005
diff --git a/drivers/hid/hid-topseed.c b/drivers/hid/hid-topseed.c
index 2eebdcc57bc..5771f851f85 100644
--- a/drivers/hid/hid-topseed.c
+++ b/drivers/hid/hid-topseed.c
@@ -6,6 +6,9 @@
6 * 6 *
7 * Modified to also support BTC "Emprex 3009URF III Vista MCE Remote" by 7 * Modified to also support BTC "Emprex 3009URF III Vista MCE Remote" by
8 * Wayne Thomas 2010. 8 * Wayne Thomas 2010.
9 *
10 * Modified to support Conceptronic CLLRCMCE by
11 * Kees Bakker 2010.
9 */ 12 */
10 13
11/* 14/*
@@ -34,6 +37,7 @@ static int ts_input_mapping(struct hid_device *hdev, struct hid_input *hi,
34 case 0x00d: ts_map_key_clear(KEY_MEDIA); break; 37 case 0x00d: ts_map_key_clear(KEY_MEDIA); break;
35 case 0x024: ts_map_key_clear(KEY_MENU); break; 38 case 0x024: ts_map_key_clear(KEY_MENU); break;
36 case 0x025: ts_map_key_clear(KEY_TV); break; 39 case 0x025: ts_map_key_clear(KEY_TV); break;
40 case 0x027: ts_map_key_clear(KEY_MODE); break;
37 case 0x031: ts_map_key_clear(KEY_AUDIO); break; 41 case 0x031: ts_map_key_clear(KEY_AUDIO); break;
38 case 0x032: ts_map_key_clear(KEY_TEXT); break; 42 case 0x032: ts_map_key_clear(KEY_TEXT); break;
39 case 0x033: ts_map_key_clear(KEY_CHANNEL); break; 43 case 0x033: ts_map_key_clear(KEY_CHANNEL); break;
@@ -60,6 +64,7 @@ static int ts_input_mapping(struct hid_device *hdev, struct hid_input *hi,
60static const struct hid_device_id ts_devices[] = { 64static const struct hid_device_id ts_devices[] = {
61 { HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED, USB_DEVICE_ID_TOPSEED_CYBERLINK) }, 65 { HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED, USB_DEVICE_ID_TOPSEED_CYBERLINK) },
62 { HID_USB_DEVICE(USB_VENDOR_ID_BTC, USB_DEVICE_ID_BTC_EMPREX_REMOTE) }, 66 { HID_USB_DEVICE(USB_VENDOR_ID_BTC, USB_DEVICE_ID_BTC_EMPREX_REMOTE) },
67 { HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED2, USB_DEVICE_ID_TOPSEED2_RF_COMBO) },
63 { } 68 { }
64}; 69};
65MODULE_DEVICE_TABLE(hid, ts_devices); 70MODULE_DEVICE_TABLE(hid, ts_devices);
diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c
index 1e051f1171e..807dcd1555a 100644
--- a/drivers/hid/hid-wacom.c
+++ b/drivers/hid/hid-wacom.c
@@ -436,7 +436,7 @@ static void wacom_remove(struct hid_device *hdev)
436 436
437static const struct hid_device_id wacom_devices[] = { 437static const struct hid_device_id wacom_devices[] = {
438 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_GRAPHIRE_BLUETOOTH) }, 438 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_GRAPHIRE_BLUETOOTH) },
439 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH) }, 439
440 { } 440 { }
441}; 441};
442MODULE_DEVICE_TABLE(hid, wacom_devices); 442MODULE_DEVICE_TABLE(hid, wacom_devices);