summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-uclogic-params.c
diff options
context:
space:
mode:
authorCristian Klein <cristian.klein@elastisys.com>2020-12-27 16:08:15 +0300
committerJiri Kosina <jkosina@suse.cz>2021-01-08 16:05:48 +0300
commitf7271b2a697d2549db7aa60e0a8e0afeb852faa5 (patch)
tree2673e89fee071f9ebeb0543c486de76f295883c2 /drivers/hid/hid-uclogic-params.c
parentde925e2fbb44eed8a2a7ce166b485fed5eae01aa (diff)
downloadlinux-f7271b2a697d2549db7aa60e0a8e0afeb852faa5.tar.xz
HID: uclogic: Improve support for Trust Panora
After more discussions with the [libinput project][1], it has been determined that the uclogic driver provides better support for this tablet. Fortunately, the Trust Panora is physically and logically identical with the UGEE G5, despite having a different USB vendor and product ID. [1]: https://gitlab.freedesktop.org/libinput/libinput/-/issues/482 Signed-off-by: Cristian Klein <cristian.klein@elastisys.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-uclogic-params.c')
-rw-r--r--drivers/hid/hid-uclogic-params.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-uclogic-params.c b/drivers/hid/hid-uclogic-params.c
index d26d8cd98efc..50e462d49d49 100644
--- a/drivers/hid/hid-uclogic-params.c
+++ b/drivers/hid/hid-uclogic-params.c
@@ -1045,6 +1045,8 @@ int uclogic_params_init(struct uclogic_params *params,
uclogic_params_init_with_pen_unused(&p);
}
break;
+ case VID_PID(USB_VENDOR_ID_TRUST,
+ USB_DEVICE_ID_TRUST_PANORA_TABLET):
case VID_PID(USB_VENDOR_ID_UGEE,
USB_DEVICE_ID_UGEE_TABLET_G5):
/* Ignore non-pen interfaces */