]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: add accel mount settings for Cube i7 Stylus I8L Model (#9207)
authorrubensa <rubensa@gmail.com>
Wed, 6 Jun 2018 10:02:35 +0000 (12:02 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 6 Jun 2018 10:02:35 +0000 (12:02 +0200)
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

index f7427d62e86c80b9355413e96c03422c3389c49e..e46a31d1660d96ace840092c2c861add57fb4de7 100644 (file)
@@ -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)
 #########################################