]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: sensor: Remove Lenovo IdeaPad D330 accel mount matrix
authorDavid Santamaría Rogado <howl.nsp@gmail.com>
Wed, 10 Dec 2025 04:18:01 +0000 (05:18 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Dec 2025 05:23:33 +0000 (14:23 +0900)
Reading values from iio-sensor we are getting bad values. This matrix was added because the panel was a vertical one but the normal position is horizontal and the sensor is not bad oriented.

Removing the matrix ensure we have correct orientation values and prevent from misleads where the incorrect values we were getting messed up.

For example mutter actually is setting incorrect screen rotation for devices with panel orientation quirks.

I'm pretty sure that there are more devices where we have incorrectly "corrected" the sensor values when the only problem was the panel orientation.

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

index 12bfc890aa4db61d4bda679f0816a91514c7a495..870ef879bbedf9add0ef5197cba478a92b28d237 100644 (file)
@@ -756,10 +756,6 @@ 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-10IGM (both 81H3 and 81MD product names)
-sensor:modalias:acpi:BOSC0200*:dmi:*:svnLENOVO:*:pvrLenovoideapadD330-10IGM:*
- ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
-
 # IdeaPad Miix 300
 sensor:modalias:acpi:SMO8500*:dmi:bvnLENOVO:*:pvrMIIX300-*:*
  ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1