]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add accel orientation quirk for Acer Aspire Switch 10 SW3-016 2-in-1 17658/head
authorHans de Goede <hdegoede@redhat.com>
Wed, 18 Nov 2020 16:11:50 +0000 (17:11 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 18 Nov 2020 20:23:35 +0000 (21:23 +0100)
Add a quirk to fix the accelerometer orientation on the
Acer Aspire Switch 10 SW3-016 2-in-1.

hwdb.d/60-sensor.hwdb

index 57123e6f1b5e77bfbdf2df86994ee826a4ebe2c2..0f75fd11a8621c2e7ac1864f1315496831d53d69 100644 (file)
@@ -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