From 86de5e4239df2ea066d69f996e072fb578718a2c Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 18 Nov 2020 17:11:50 +0100 Subject: [PATCH] hwdb: Add accel orientation quirk for Acer Aspire Switch 10 SW3-016 2-in-1 Add a quirk to fix the accelerometer orientation on the Acer Aspire Switch 10 SW3-016 2-in-1. --- hwdb.d/60-sensor.hwdb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb index 57123e6f1b..0f75fd11a8 100644 --- a/hwdb.d/60-sensor.hwdb +++ b/hwdb.d/60-sensor.hwdb @@ -82,6 +82,9 @@ ######################################### # Acer ######################################### +sensor:modalias:acpi:KIOX0009*:dmi:*:svnAcer:pnAspireSW3-016:* + ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, -1 + sensor:modalias:acpi:INVN6500*:dmi:*svn*Acer*:*pn*AspireSW5-011:* ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1