From d6530d8b8f95a030c0f3cf9abcb624edf80e7bdd Mon Sep 17 00:00:00 2001 From: commondservice <134219876+commondservice@users.noreply.github.com> Date: Mon, 18 Sep 2023 16:38:56 +0800 Subject: [PATCH] hwdb: Add quirk for teclast x3 plus (G4K3) rotation (#29202) Original info: acpi:KIOX000A:KIOX000A: dmi:bvnTECLAST:bvrG4K3_A1tPAD3.01:bd08/25/2017:br5.12:efr14.4:svnTECLAST:pnX3Plus:pvrDefaultstring:rvnTECLAST:rnX3Plus:rvrDefaultstring:cvnDefaultstring:ct30:cvrDefaultstring:skuG4K3_A1: It seems that teclast x3 plus has another sku G4K2. Not owning that sku, I decide not to cover the change on G4K2. (cherry picked from commit bcf3acea75049fd85d8724126fbd6e24186f954c) Related: RHEL-5950 --- hwdb.d/60-sensor.hwdb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb index c757f83f19..116437e77b 100644 --- a/hwdb.d/60-sensor.hwdb +++ b/hwdb.d/60-sensor.hwdb @@ -960,6 +960,10 @@ sensor:modalias:acpi:KIOX020A*:dmi:*:svnTECLAST:pnF6Pro:* sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnTbooK11:* ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1 +# Teclast X3 Plus (G4K3) +sensor:modalias:acpi:KIOX000A*:dmi:*svnTECLAST:pnX3Plus:*:skuG4K3_A1:* + ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1 + # Teclast X4 2-in-1 (G4M6) sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX4:* ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1