From fd2f44a2f9638e17f3ce564e6e00a4d5b7e5dbeb Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 9 Mar 2018 14:55:11 +0100 Subject: [PATCH] hwdb: Add accelerometer orientation quirk for the Yours Y8W81 tablet Add an accelerometer orientation quirk for the Yours Y8W81 8" tablet. For future reference: this tablet has the same case and mostly the same internals as the Chuwi Vi8. Both seem to be from an ODM called inet-tek. Both are labelled: "INET-I86M-REVxx" on the PCB, with the Chuwi Vi8 being REV03 (and having a ALC5640 audio codec) and the Yours Y8W81 being REV21 (and having a ALC5651 audio codec). --- hwdb/60-sensor.hwdb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index c05a949894..1f27b65d17 100644 --- a/hwdb/60-sensor.hwdb +++ b/hwdb/60-sensor.hwdb @@ -277,3 +277,9 @@ sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX98PlusII:* sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnInsyde:pnST70416-6:* sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnTrekStor:pnSurfTabwintron7.0ST70416-6:* ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1 + +######################################### +# Yours +######################################### +sensor:modalias:acpi:BMA250E*:dmi:*:svnYOURS:pnY8W81:* + ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 -- 2.25.1