Skip to contentSkip to conversation

HID: add ASUS AIO keyboard model AK1D

PATCH In review [email protected] 2 participants 2 messages Jul 23, 2012 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: add ASUS AIO keyboard model AK1D

From: Cyrus Lien <[email protected]>

Add Asus All-In-One PC keyboard model AK1D.

---
 drivers/hid/hid-chicony.c |    1 +
 drivers/hid/hid-ids.h     |    1 +
 2 files changed, 2 insertions(+)
drivers/hid/hid-chicony.c +1 -0
index b99af34..a2abb8e 100644
@@ -60,6 +60,7 @@ static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi,
 static const struct hid_device_id ch_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_TACTICAL_PAD) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS2) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_AK1D) },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, ch_devices);
drivers/hid/hid-ids.h +1 -0
index 3203923..dcfeb3c 100644
@@ -208,6 +208,7 @@
 #define USB_DEVICE_ID_CHICONY_MULTI_TOUCH	0xb19d
 #define USB_DEVICE_ID_CHICONY_WIRELESS	0x0618
 #define USB_DEVICE_ID_CHICONY_WIRELESS2	0x1123
+#define USB_DEVICE_ID_CHICONY_AK1D	0x1125
 
 #define USB_VENDOR_ID_CHUNGHWAT		0x2247
 #define USB_DEVICE_ID_CHUNGHWAT_MULTITOUCH	0x0001
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 29 lines · On Mon, 23 Jul 2012, [email protected] wrote:

From: Cyrus Lien <[email protected]>

Add Asus All-In-One PC keyboard model AK1D.

---
 drivers/hid/hid-chicony.c |    1 +
 drivers/hid/hid-ids.h     |    1 +
 2 files changed, 2 insertions(+)
drivers/hid/hid-chicony.c +1 -0
index b99af34..a2abb8e 100644
@@ -60,6 +60,7 @@ static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi,
 static const struct hid_device_id ch_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_TACTICAL_PAD) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS2) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_AK1D) },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, ch_devices);
drivers/hid/hid-ids.h +0 -0
index 3203923..dcfeb3c 100644

drivers/hid/hid-ids.h line 214

Quoted 7 lines
drivers/hid/hid-ids.h +1 -0
@@ -208,6 +208,7 @@
 #define USB_DEVICE_ID_CHICONY_MULTI_TOUCH	0xb19d
 #define USB_DEVICE_ID_CHICONY_WIRELESS	0x0618
 #define USB_DEVICE_ID_CHICONY_WIRELESS2	0x1123
+#define USB_DEVICE_ID_CHICONY_AK1D	0x1125
 
 #define USB_VENDOR_ID_CHUNGHWAT		0x2247
 #define USB_DEVICE_ID_CHUNGHWAT_MULTITOUCH	0x0001

Seems like you are missing update to hid_have_special_driver[].

Signature · 2 lines
Jiri Kosina
SUSE Labs