]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add Chromebook accelerometer orientation quirk 13645/head
authorDaniel Stuart <daniel.stuart@pucpr.edu.br>
Tue, 24 Sep 2019 21:45:44 +0000 (18:45 -0300)
committerDaniel Stuart <daniel.stuart@pucpr.edu.br>
Tue, 24 Sep 2019 21:45:44 +0000 (18:45 -0300)
Chromebooks have their accelerometer set to a negative orientation.

hwdb/60-sensor.hwdb

index 97e8dc8aa7e6bf041a5a580bbc0efee6226b8eb1..ab07a4846a6167acd1dd108fb6d80b0adc411f5c 100644 (file)
@@ -252,6 +252,12 @@ sensor:modalias:acpi:ACCE0001*:dmi:*svnEndless*:*pnELT-NL3*
 sensor:modalias:acpi:KIOX000A*:dmi:*:svnEVE*:pnEveV:*
  ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
 
+#########################################
+# Google Chromebooks
+#########################################
+sensor:modalias:platform:cros-ec-accel:dmi:*:svnGOOGLE*
+ ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
+
 #########################################
 # GP-electronic
 #########################################