]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: add accel sensor entry for Jumper EZpad Go 14129/head
authorJ. Xing <32565133+jlxawk@users.noreply.github.com>
Sat, 23 Nov 2019 23:10:56 +0000 (07:10 +0800)
committerJ. Xing <32565133+jlxawk@users.noreply.github.com>
Sun, 24 Nov 2019 00:54:38 +0000 (08:54 +0800)
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

index af80ab58e24028196aa97a547e5ad37f0c5d020f..5b06e0c7ea24a33d19a0f20ddbcfffd2c64f9f77 100644 (file)
@@ -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
 #########################################