]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Unify pn81H3 and cvrLenovoideapadD330-10IGM
authorhowl <howl.nsp@gmail.com>
Tue, 4 May 2021 09:20:23 +0000 (11:20 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 6 May 2021 09:13:48 +0000 (11:13 +0200)
D330-10IGM has been added due the fact that 81H3 and 81MD product name belongs to the same product version. So the fact is that now that we know 81MD has the same transformation matrix that the 81H3 we can just use the product version and get rid the product name.

Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>
hwdb.d/60-sensor.hwdb

index 1c061b3e90d75fbf96db39b3326bbde820dcaaec..0573e28807db79ec0b947faedc510fa1eee47314 100644 (file)
@@ -505,8 +505,7 @@ sensor:modalias:acpi:BMA250E*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-1030:*
 sensor:modalias:acpi:SMO8500*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-830:*
  ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
 
-# IdeaPad D330 and D330-10IGM
-sensor:modalias:acpi:BOSC0200*:dmi:*:svnLENOVO:pn81H3:*
+# IdeaPad D330-10IGM (both 81H3 and 81MD product numbers)
 sensor:modalias:acpi:BOSC0200*:dmi:*:svnLENOVO:*:cvrLenovoideapadD330-10IGM:*
  ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1