]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ACCEL_MOUNT_MATRIX for additional Acer Spin model
authorDana Olson <adolson@gmail.com>
Thu, 21 May 2020 20:41:25 +0000 (16:41 -0400)
committerLennart Poettering <lennart@poettering.net>
Sun, 24 May 2020 21:27:26 +0000 (23:27 +0200)
This fixes the broken rotation on the Acer Spin 1 I recently bought (exact model is SP111-34N-P4BZ).
It is possible that all of the SP111 models would use the same matrix, but to be on the safe side, I added a new entry.

hwdb.d/60-sensor.hwdb

index 0763f040f11ff238a7c6c9a12ad3ffc841bf670d..49bb90f58ec0f2d884dbd0ab0950aca5e226a4dc 100644 (file)
@@ -93,6 +93,9 @@ sensor:modalias:acpi:BOSC0200*:dmi:*:svnAcer*:pnSwitchSW312-31:*
 sensor:modalias:acpi:BOSC0200*:dmi:*svn*Acer*:*pn*Spin*SP111-33*
  ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
 
+sensor:modalias:acpi:BOSC0200*:dmi:*svnAcer*:*pnSpinSP111-34*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+
 #########################################
 # Archos
 #########################################