hwdb: sensor: correct D330 respecting panel mount
The matrix before was setting accel values to follow normal device orientation, but the accel values must match the panel orientation that in these devices is 90 degrees CCW. Indicate how the panel is mounted in the comment. Could be interesting to do it also for other devices because when desktop enviroments do it right the user could be unaware of the panel mounting and could think monitor-sensor output is bogus.
This commit is contained in:
@@ -763,10 +763,10 @@ 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)
|
||||
# ACPI in_mount_matrix is 0, -1, 0; 1, 0, 0; 0, 0, 1, but the correct one is identity matrix.
|
||||
# IdeaPad D330-10IGM (81H3) and (81MD) product names
|
||||
# Panel mounted at -90º. ACPI in_mount_matrix 0, -1, 0; 1, 0, 0; 0, 0, 1
|
||||
sensor:modalias:acpi:BOSC0200*:dmi:*:svnLENOVO:*:pvrLenovoideapadD330-10IGM:*
|
||||
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, 1
|
||||
ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
|
||||
|
||||
# IdeaPad Miix 300
|
||||
sensor:modalias:acpi:SMO8500*:dmi:bvnLENOVO:*:pvrMIIX300-*:*
|
||||
|
||||
Reference in New Issue
Block a user