]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Fix accel orientation quirk for Medion Akoya E2215T MD60198
authorHans de Goede <hdegoede@redhat.com>
Thu, 7 May 2020 21:16:21 +0000 (23:16 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 8 May 2020 09:23:55 +0000 (11:23 +0200)
Commit 3d864658ea01 ("hwdb: assume all Medion Akoya E-models have the
same matrix"), unified the entries for most Medion Akoya E* modes,
including the entry for the Medion Akoya E2215T MD60198.

But the accelerometer on the E2215T has an ACPI-id of KIOX000A, rather
then KIOX010A as the other models have, so that commit broke the
ACCEL_MOUNT_MATRIX for the E2215T.

Add a separate match for the E2215T so that it gets the correct
ACCEL_MOUNT_MATRIX again.

hwdb.d/60-sensor.hwdb

index 3e53e93601614b3f3e836c8e02587b85c16bb401..1a664db4ab77dea7f0da2416cafe63757d10c6cb 100644 (file)
@@ -469,6 +469,7 @@ sensor:modalias:acpi:SMO8500*:dmi:*:svnMEDION:pnAkoyaE2212TMD99720:*
  ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
 
 # Medion Akoya E2215T MD60198
+sensor:modalias:acpi:KIOX000A*:dmi:*svnMEDION:pnE2215TMD60198:*
 # Medion Akoya E3216 MD60900
 # Medion Akoya E3221 MD61237
 # Medion Akoya E2292 MD63390