hwdb: Also mark lis3lv02d sensors in "HP" laptops as being in the base
authorBastien Nocera <hadess@hadess.net>
Thu, 12 Sep 2019 17:02:35 +0000 (19:02 +0200)
committerMichael Biebl <biebl@debian.org>
Fri, 15 Nov 2019 21:01:17 +0000 (21:01 +0000)
We matched "*Hewlett-Packard*" laptops but not "*HP*" laptops, which
caused a regression for the HP Elite Book 850 G3.

Fixes: 4247938ee13e23eae1afcecbe646de5283b7afc2
Closes: #13543
(cherry picked from commit d7cf4984b0e3255ef9d6872c96a210271b0c949a)
(cherry picked from commit be3be29347817b5f8dfd4f6741a49b07acf630ea)

Gbp-Pq: Name hwdb-Also-mark-lis3lv02d-sensors-in-HP-laptops-as-being-i.patch

hwdb/60-sensor.hwdb

index 1fe3c57adb17b5664b5913c5683c972cbd828c55..82f37e488e1b9805c4a7f96dc2d216fe8bd2961e 100644 (file)
@@ -285,6 +285,7 @@ sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd05/25/201
 # Most HP Laptop using the lis3lv02d device have it in the base,
 # mark these sensors as such.
 sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*
+sensor:modalias:platform:lis3lv02d:dmi:*svn*HP*:*
  ACCEL_LOCATION=base
 
 sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*