Skip to content

Commit cffdd6d

Browse files
simonmicrodtor
authored andcommitted
Input: goodix - add upside-down quirk for Teclast X98 Pro tablet
The touchscreen on the Teclast x98 Pro is also mounted upside-down in relation to the display orientation. Signed-off-by: Simon Beginn <[email protected]> Signed-off-by: Bastien Nocera <[email protected]> Link: https://lore.kernel.org/r/20201117004253.27A5A27EFD@localhost Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 82e0609 commit cffdd6d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/input/touchscreen/goodix.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,18 @@ static const struct dmi_system_id rotated_screen[] = {
192192
DMI_MATCH(DMI_BIOS_DATE, "12/19/2014"),
193193
},
194194
},
195+
{
196+
.ident = "Teclast X98 Pro",
197+
.matches = {
198+
/*
199+
* Only match BIOS date, because the manufacturers
200+
* BIOS does not report the board name at all
201+
* (sometimes)...
202+
*/
203+
DMI_MATCH(DMI_BOARD_VENDOR, "TECLAST"),
204+
DMI_MATCH(DMI_BIOS_DATE, "10/28/2015"),
205+
},
206+
},
195207
{
196208
.ident = "WinBook TW100",
197209
.matches = {

0 commit comments

Comments
 (0)