From 9627fc633f5f651e1a6b2d472cc5b8c5e7e9801a Mon Sep 17 00:00:00 2001 From: "J. Xing" <32565133+jlxawk@users.noreply.github.com> Date: Sun, 24 Nov 2019 07:10:56 +0800 Subject: [PATCH] hwdb: add accel sensor entry for Jumper EZpad Go This commit fix the accelerometer orientation on the Jumper EZpad Go tablet. The tablet does not have its product name filled in dmi table, make the match string a bit generic. Here we assume that the use of a KIOX000A + bios-vendor + chassis-type combo is unique enough to match the currently available product in Jumper's x86 tablet series. For future reference, as in 2019, the tablet has a dmialias of: dmi:bvnAmericanMegatrendsInc.:bvrZB-BI-11.6-SF133AR200-059-J \ :bd05/21/2019:svnjumper:pnEZpad:pvrTobefilledbyO.E.M.:rvnTob \ efilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:c \ vnTobefilledbyO.E.M.:ct31:cvrTobefilledbyO.E.M.: --- hwdb.d/60-sensor.hwdb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb index af80ab58e24..5b06e0c7ea2 100644 --- a/hwdb.d/60-sensor.hwdb +++ b/hwdb.d/60-sensor.hwdb @@ -353,6 +353,10 @@ sensor:modalias:acpi:BOSC0200*:dmi:bvnINSYDECorp.:bvrjumperx.T87.KFBNEE* sensor:modalias:acpi:BOSC0200*:dmi:*:svnJumper:pnEZpad:*:rvr.A006:* ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1 +# EZpad Go +sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:*:svnjumper:pnEZpad:*:ct31:* + ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1 + ######################################### # Kazam ######################################### -- 2.39.2