HID: rmi: Support the Fujitsu R726 Pad dock using hid-rmi
authorAndrew Duggan <aduggan@synaptics.com>
Sat, 18 Nov 2017 01:21:30 +0000 (17:21 -0800)
committerJiri Kosina <jkosina@suse.cz>
Tue, 23 Jan 2018 14:20:40 +0000 (15:20 +0100)
The Fujitsu R726 Pad has an optional USB keyboard dock which contains
a Synaptics touchpad. The dock identifies itself as a
Primax Rezel Tablet Keyboard.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/hid-quirks.c
drivers/hid/hid-rmi.c

index 5da3d6256d25353054060dbc8dfbb91ec62ca563..93452a1f26ee45f298eda455bc1881d12f1f88e2 100644 (file)
 #define USB_VENDOR_ID_PRIMAX   0x0461
 #define USB_DEVICE_ID_PRIMAX_MOUSE_4D22        0x4d22
 #define USB_DEVICE_ID_PRIMAX_KEYBOARD  0x4e05
+#define USB_DEVICE_ID_PRIMAX_REZEL     0x4e72
 
 
 #define USB_VENDOR_ID_RISO_KAGAKU      0x1294  /* Riso Kagaku Corp. */
index 20e68a7ac79fb1f73d04d2033a9d6f326b98021e..273f7cde6e60790ef58a13487d9d3c15d04e8ed8 100644 (file)
@@ -561,6 +561,7 @@ static const struct hid_device_id hid_have_special_driver[] = {
 #if IS_ENABLED(CONFIG_HID_RMI)
        { HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_X1_COVER) },
        { HID_USB_DEVICE(USB_VENDOR_ID_RAZER, USB_DEVICE_ID_RAZER_BLADE_14) },
+       { HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_REZEL) },
 #endif
 #if IS_ENABLED(CONFIG_HID_ROCCAT)
        { HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_ARVO) },
index 0f43c4292685fcd4bcde4eeeb6268d17a31fe89e..c6c05df3e8d207616745ada7ba7c1191ccfede03 100644 (file)
@@ -731,6 +731,7 @@ static const struct hid_device_id rmi_id[] = {
        { HID_USB_DEVICE(USB_VENDOR_ID_RAZER, USB_DEVICE_ID_RAZER_BLADE_14),
                .driver_data = RMI_DEVICE_HAS_PHYS_BUTTONS },
        { HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_X1_COVER) },
+       { HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_REZEL) },
        { HID_DEVICE(HID_BUS_ANY, HID_GROUP_RMI, HID_ANY_ID, HID_ANY_ID) },
        { }
 };