summary refs log tree commit diff
path: root/drivers/hid/hid-chicony.c
diff options
context:
space:
mode:
authorDaniel Drake <drake@endlessm.com>2017-02-17 07:40:52 -0600
committerJiri Kosina <jkosina@suse.cz>2017-03-06 14:43:16 +0100
commitf2f10b7e722a75c6d75a7f7cd06b0eee3ae20f7c (patch)
tree7da35901f310bbc3e69daeb406a48f6425e3566a /drivers/hid/hid-chicony.c
parent2fa299a917adb2db2d486b9e4a3072865ce70a03 (diff)
downloadlinux-f2f10b7e722a75c6d75a7f7cd06b0eee3ae20f7c.tar.gz
HID: chicony: Add support for another ASUS Zen AiO keyboard
Add support for media keys on the keyboard that comes with the
Asus V221ID and ZN241IC All In One computers.

The keys to support here are WLAN, BRIGHTNESSDOWN and BRIGHTNESSUP.

This device is not visibly branded as Chicony, and the USB Vendor ID
suggests that it is a JESS device. However this seems like the right place
to put it: the usage codes are identical to the currently supported
devices, and this driver already supports the ASUS AIO keyboard AK1D.

Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-chicony.c')
-rw-r--r--drivers/hid/hid-chicony.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-chicony.c b/drivers/hid/hid-chicony.c
index bc3cec199fee..f04ed9aabc3f 100644
--- a/drivers/hid/hid-chicony.c
+++ b/drivers/hid/hid-chicony.c
@@ -86,6 +86,7 @@ static const struct hid_device_id ch_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS2) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_AK1D) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_ACER_SWITCH12) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_JESS, USB_DEVICE_ID_JESS_ZEN_AIO_KBD) },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, ch_devices);