From 839e7ac2def994deabf276d81fb0065089ce702a Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 9 Mar 2018 14:50:04 +0100 Subject: [PATCH 1/6] hwdb: 60-sensors: Fix alphabetic sorting by vendor name The Cytrix entry was added at the end instead of sorted alphabetically by vendor name. --- hwdb/60-sensor.hwdb | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index 8385efd28da..63b9bb021d6 100644 --- a/hwdb/60-sensor.hwdb +++ b/hwdb/60-sensor.hwdb @@ -141,6 +141,12 @@ sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni7Stylus:* sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni16:* ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1 +######################################### +# Cytrix (Mytrix) +######################################### +sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t* + ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1 + ######################################### # Endless ######################################### @@ -180,6 +186,12 @@ sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream8Tablet:* sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:*:svnTobefilledbyO.E.M.:pnTW891:pvrTobefilledbyO.E.M.:rvnTobefilledbyO.E.M.:rnTW891:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1 +######################################### +# iOTA 360 +######################################### +sensor:modalias:acpi:KIOX000A*:dmi:*svn*iOTA*:*pn*IOTA2210* + ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 + ######################################### # Jumper ######################################### @@ -261,16 +273,3 @@ 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 - -######################################### -# Cytrix (Mytrix) -######################################### -sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t* - ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1 - -######################################### -# iOTA 360 -######################################### -sensor:modalias:acpi:KIOX000A*:dmi:*svn*iOTA*:*pn*IOTA2210* - ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 - From 03994fa2277cacaf4e3121c335f8537ddf98cca6 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 18 Feb 2018 21:42:43 +0100 Subject: [PATCH 2/6] hwdb: Add accelerometer orientation entry for the I.T.Works TW701 tablet Add accelerometer orientation entry for the I.T.Works TW701 7" windows tablet, note this is the same hardware/PCB as the Trekstor ST70416-6 for which we already have the same quirk. --- hwdb/60-sensor.hwdb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index 63b9bb021d6..c05a949894b 100644 --- a/hwdb/60-sensor.hwdb +++ b/hwdb/60-sensor.hwdb @@ -186,6 +186,10 @@ sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream8Tablet:* sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:*:svnTobefilledbyO.E.M.:pnTW891:pvrTobefilledbyO.E.M.:rvnTobefilledbyO.E.M.:rnTW891:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1 +# I.T.Works TW701 7" windows tablet, same hw as Trekstor ST70416-6 +sensor:modalias:acpi:BMA250*:dmi:*:bvritWORKS.G.WI71C.JGBMRB*:*:svnInsyde:pni71c:* + ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1 + ######################################### # iOTA 360 ######################################### From fd2f44a2f9638e17f3ce564e6e00a4d5b7e5dbeb Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 9 Mar 2018 14:55:11 +0100 Subject: [PATCH 3/6] 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 c05a949894b..1f27b65d174 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 From 366b21efedac20e450dd00302a73d474faea75f6 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 30 Mar 2018 17:10:21 +0200 Subject: [PATCH 4/6] hwdb: Add accelerometer orientation quirk for the MSI S100 2-in-1 Add an accelerometer orientation quirk for the MSI S100 2-in-1. --- hwdb/60-sensor.hwdb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index 1f27b65d174..a7821024855 100644 --- a/hwdb/60-sensor.hwdb +++ b/hwdb/60-sensor.hwdb @@ -234,6 +234,12 @@ sensor:modalias:acpi:BMA250E*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-1030:* sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80XF:* ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 +######################################### +# MSI +######################################### +sensor:modalias:acpi:SMO8500*:dmi:*:svnMicro-StarInternationalCo.,Ltd.:pnS100:* + ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1 + ######################################### # Peaq ######################################### From d167ea9886a71fb707abc4b0c06b72a84bc4d47f Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 30 Mar 2018 20:00:27 +0200 Subject: [PATCH 5/6] hwdb: Add accelerometer orientation quirk for the Lenovo Ideapad Miix 310 Add an accelerometer orientation quirk for the Lenovo Ideapad Miix 310. Note this quirk is limited to the production batches which ship with a portrait panel, rather then with a landscape panel (recognized by the different BIOS version these 2 variants use). --- hwdb/60-sensor.hwdb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index a7821024855..53cb3eee3a4 100644 --- a/hwdb/60-sensor.hwdb +++ b/hwdb/60-sensor.hwdb @@ -230,6 +230,11 @@ sensor:modalias:acpi:BOSC0200:BOSC0200:dmi:*ThinkPadYoga11e3rdGen* sensor:modalias:acpi:BMA250E*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-1030:* ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 +# IdeaPad Miix 310 note this only is for BIOS version (bvr) 1HCN4?WW, which has +# a portrait LCD panel, versions with bvr 1HCN3?WW have a landscape panel +sensor:modalias:acpi:KIOX000A*:dmi:bvnLENOVO:bvr1HCN4?WW:*:svnLENOVO:pn80SG:* + ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1 + # IdeaPad Miix 320 sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80XF:* ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 From 86f8fd7141553bae5598bacb7271027f12b3f482 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 30 Mar 2018 23:39:29 +0200 Subject: [PATCH 6/6] hwdb: Add accelerometer orientation quirk for the Pipo W4 tablet Add an accelerometer orientation quirk for the Pipo W4 tablet. --- hwdb/60-sensor.hwdb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index 53cb3eee3a4..3c1125dc4e1 100644 --- a/hwdb/60-sensor.hwdb +++ b/hwdb/60-sensor.hwdb @@ -257,6 +257,10 @@ sensor:modalias:acpi:SMO8500*:dmi:*:svnPEAQ:pnPEAQPMMC1010MD99187:* sensor:modalias:acpi:KIOX000A*:dmi:*:svnPIPO:pnW2S:* ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1 +# Pipo W4 +sensor:modalias:acpi:SMO8500*:dmi:*:bvrV8L_WIN32_CHIPHD_*_DX:*:rvnAMICorporation:rnAptioCRB:* + ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 + ######################################### # Ployer #########################################