]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add HP laptop accelerometer location quirk
authorHans de Goede <hdegoede@redhat.com>
Wed, 28 Aug 2019 07:28:30 +0000 (09:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 28 Aug 2019 13:32:40 +0000 (15:32 +0200)
Add another HP laptop to the list of HP laptops with their
accelerometer in the base.

While at it also fixup the indentation of a neighboring quirk.

hwdb/60-sensor.hwdb

index 7927ef76b632530b6eb67debad4e1761b6268c51..3976d9a76a56a124a1316260f8927f2dec43bf07 100644 (file)
@@ -294,9 +294,12 @@ sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*
 sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pnHPProBook4535s*
  ACCEL_LOCATION=base
 
+sensor:modalias:platform:lis3lv02d:dmi:*:svnHewlett-Packard:pnHPENVY17NotebookPC:*
+ ACCEL_LOCATION=base
+
 sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
 sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream8Tablet:*
 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+ ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
 
 # HP Pavillion X2 10-n000nd
 sensor:modalias:i2c:bmc150_accel:dmi:*:svnHewlett-Packard:pnHPPavilionx2Detachable:*:rn815D:*