Thread (4 messages) 4 messages, 3 authors, 2020-12-08

Re: [PATCH] Input: goodix - Add upside-down quirk for Teclast X98 Pro tablet

From: Bastien Nocera <hadess@hadess.net>
Date: 2020-11-17 15:05:14

On Mon, 2020-11-16 at 19:42 -0500, Simon Beginn wrote:
The touchscreen on the Teclast x98 Pro is also mounted upside-down in
relation to the display orientation. I added it also to the list of
those devices. Verified it works on my device - this has not been
tested with more users than myself...
Looks good to me, thanks.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
quoted hunk ↗ jump to hunk
diff --git a/drivers/input/touchscreen/goodix.c
b/drivers/input/touchscreen/goodix.c
index f8dd416c89b2..7668174b62ed 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -136,6 +136,16 @@ static const struct dmi_system_id
rotated_screen[] = {
                        DMI_MATCH(DMI_BIOS_DATE, "12/19/2014"),
                },
        },
+       {
+               .ident = "Teclast X98 Pro",
+               .matches = {
+                       /* Only match bios date, because the
manufacturers bios
+                        * does not report the board name at all
(sometimes)...
+                        */
+                       DMI_MATCH(DMI_BOARD_VENDOR, "TECLAST"),
+                       DMI_MATCH(DMI_BIOS_DATE, "10/28/2015"),
+               },
+       },
        {
                .ident = "WinBook TW100",
                .matches = {
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help