aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKees Bakker <kees.bakker@xs4all.nl>2010-07-13 16:50:51 -0400
committerJiri Kosina <jkosina@suse.cz>2010-07-13 17:44:10 -0400
commit540010812179a16d3d00fb8363bb06ee83af25b8 (patch)
treea3a229f2fb61584c531cb6db78657bc589a92d5b
parent1c5474a65bf15a4cb162dfff86d6d0b5a08a740c (diff)
HID: Add support for Conceptronic CLLRCMCE
There is only one extra button for Conceptronic that wasn't yet present. The button has code 0xffbc0027 and the description is "Toggle between display ratios". So I picked KEY_MODE for this button. Signed-off-by: Kees Bakker <kees.bakker@xs4all.nl> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/Kconfig5
-rw-r--r--drivers/hid/hid-core.c1
-rw-r--r--drivers/hid/hid-ids.h3
-rw-r--r--drivers/hid/hid-topseed.c5
4 files changed, 12 insertions, 2 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 434099369058..9d0a65deb200 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -417,10 +417,11 @@ config SMARTJOYPLUS_FF
417 enable force feedback support for it. 417 enable force feedback support for it.
418 418
419config HID_TOPSEED 419config HID_TOPSEED
420 tristate "TopSeed Cyberlink remote control support" 420 tristate "TopSeed Cyberlink, BTC Emprex, Conceptronic remote control support"
421 depends on USB_HID 421 depends on USB_HID
422 ---help--- 422 ---help---
423 Say Y if you have a TopSeed Cyberlink or BTC Emprex remote control. 423 Say Y if you have a TopSeed Cyberlink or BTC Emprex or Conceptronic
424 CLLRCMCE remote control.
424 425
425config HID_THRUSTMASTER 426config HID_THRUSTMASTER
426 tristate "ThrustMaster devices support" 427 tristate "ThrustMaster devices support"
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 866e54ec5fb2..74acfc50f533 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1375,6 +1375,7 @@ static const struct hid_device_id hid_blacklist[] = {
1375 { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb653) }, 1375 { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb653) },
1376 { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) }, 1376 { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) },
1377 { HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED, USB_DEVICE_ID_TOPSEED_CYBERLINK) }, 1377 { HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED, USB_DEVICE_ID_TOPSEED_CYBERLINK) },
1378 { HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED2, USB_DEVICE_ID_TOPSEED2_RF_COMBO) },
1378 { HID_USB_DEVICE(USB_VENDOR_ID_TWINHAN, USB_DEVICE_ID_TWINHAN_IR_REMOTE) }, 1379 { HID_USB_DEVICE(USB_VENDOR_ID_TWINHAN, USB_DEVICE_ID_TWINHAN_IR_REMOTE) },
1379 { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_SMARTJOY_PLUS) }, 1380 { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_SMARTJOY_PLUS) },
1380 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_GRAPHIRE_BLUETOOTH) }, 1381 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_GRAPHIRE_BLUETOOTH) },
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 31601eef25dd..6408d3b76886 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -472,6 +472,9 @@
472 472
473#define USB_VENDOR_ID_THRUSTMASTER 0x044f 473#define USB_VENDOR_ID_THRUSTMASTER 0x044f
474 474
475#define USB_VENDOR_ID_TOPSEED2 0x1784
476#define USB_DEVICE_ID_TOPSEED2_RF_COMBO 0x0004
477
475#define USB_VENDOR_ID_TOUCHPACK 0x1bfd 478#define USB_VENDOR_ID_TOUCHPACK 0x1bfd
476#define USB_DEVICE_ID_TOUCHPACK_RTS 0x1688 479#define USB_DEVICE_ID_TOUCHPACK_RTS 0x1688
477 480
diff --git a/drivers/hid/hid-topseed.c b/drivers/hid/hid-topseed.c
index 2eebdcc57bcf..5771f851f856 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);