From 820a2e996b5cd23da42f0382eb9da5f3c804c71b Mon Sep 17 00:00:00 2001 From: Daniel Stuart Date: Tue, 24 Sep 2019 18:45:44 -0300 Subject: [PATCH] hwdb: Add Chromebook accelerometer orientation quirk Chromebooks have their accelerometer set to a negative orientation. --- hwdb/60-sensor.hwdb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index 97e8dc8aa7e..ab07a4846a6 100644 --- a/hwdb/60-sensor.hwdb +++ b/hwdb/60-sensor.hwdb @@ -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 #########################################