All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND] Input: goodix - Add upside-down quirk for Teclast X98 Pro tablet
@ 2020-11-10 23:21 Simon Beginn
  0 siblings, 0 replies; only message in thread
From: Simon Beginn @ 2020-11-10 23:21 UTC (permalink / raw)
  To: linux-input

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...

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 = {

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-10 23:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 23:21 [PATCH RESEND] Input: goodix - Add upside-down quirk for Teclast X98 Pro tablet Simon Beginn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.