systemd/0966-hwdb-fix-Asus-T300FA-rotation-matrix-31973.patch
Jan Macku 5e4e586032 systemd-252-41
Resolves: RHEL-36276,RHEL-45020,RHEL-50672,RHEL-5950
2024-08-16 09:00:42 +02:00

29 lines
963 B
Diff

From 47a40b94b95f59894d3e52ad6ca20191414ad978 Mon Sep 17 00:00:00 2001
From: Luxiter <113431831+Luxiter@users.noreply.github.com>
Date: Tue, 26 Mar 2024 18:32:03 +0100
Subject: [PATCH] hwdb: fix Asus T300FA rotation matrix (#31973)
Closes #31972.
(cherry picked from commit 33243f7374c71a552a5292e7cef1d9564aa38264)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index ce800da5e4..75f7b26479 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -182,6 +182,9 @@ sensor:modalias:acpi:BOSC0200*:dmi:*svn*ASUSTeK*:*pn*TP412UA:*
sensor:modalias:acpi:BOSC0200*:dmi:*svn*ASUSTeK*:pn*BR1100FKA:*
ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, -1
+sensor:modalias:acpi:BMA250E*:dmi:*:*svn*ASUSTeK*:pnT300FA:*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+
#########################################
# Axxo
#########################################