From 2b3df1963c0070f4f092055fd0aa9f5b1e515ce9 Mon Sep 17 00:00:00 2001 From: rubensa Date: Wed, 6 Jun 2018 12:02:35 +0200 Subject: [PATCH] hwdb: add accel mount settings for Cube i7 Stylus I8L Model (#9207) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are different Cube i7 Stylus generations. Those are identified with the printed serial code sticker on motherboard (Printed serial code on casing is not always true) Order of Model (Old - New): W WA WWA WN(I8WN) I8L(With W on casing) I own a I8L generation so the hw identification for my model does not work. # cat /sys/class/dmi/id/sys_vendor Cube # сat /sys/class/dmi/id/product_name i8-L --- hwdb/60-sensor.hwdb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index f7427d62e8..e46a31d166 100644 --- a/hwdb/60-sensor.hwdb +++ b/hwdb/60-sensor.hwdb @@ -148,6 +148,10 @@ 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 +# Cube i7 Stylus I8L Model +sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni8-L:* + ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1 + ######################################### # Cytrix (Mytrix) #########################################