HID: huion: Handle tablets with UC-Logic vendor ID
authorNikolai Kondrashov <spbnick@gmail.com>
Wed, 23 Jul 2014 16:31:57 +0000 (19:31 +0300)
committerJiri Kosina <jkosina@suse.cz>
Tue, 29 Jul 2014 09:21:25 +0000 (11:21 +0200)
Add handling of Huion tablets with UC-Logic vendor ID, but the same
product ID to hid-huion driver. A Huion H580 was seen using it.

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-huion.c

index 6c811c1fbf55dd08342e9172c5cf35c6c7440f0b..438b54e147bbad853a508e7c0197ceeb4c9300b7 100644 (file)
@@ -243,6 +243,7 @@ static int huion_raw_event(struct hid_device *hdev, struct hid_report *report,
 
 static const struct hid_device_id huion_devices[] = {
        { HID_USB_DEVICE(USB_VENDOR_ID_HUION, USB_DEVICE_ID_HUION_TABLET) },
+       { HID_USB_DEVICE(USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_HUION_TABLET) },
        { }
 };
 MODULE_DEVICE_TABLE(hid, huion_devices);