]> git.ipfire.org Git - thirdparty/systemd.git/blob - hwdb/60-sensor.hwdb
hwdb: Add ACCEL_MOUNT_MATRIX for a number of Intel Bay Trail based devices (#6357)
[thirdparty/systemd.git] / hwdb / 60-sensor.hwdb
1 # This file is part of systemd.
2 #
3 # The lookup keys are composed in:
4 # 60-sensor.rules
5 #
6 # Note: The format of the "sensor:" prefix match key is a
7 # contract between the rules file and the hardware data, it might
8 # change in later revisions to support more or better matches, it
9 # is not necessarily expected to be a stable ABI.
10 #
11 # Match string formats:
12 # sensor:modalias:<parent device modalias>:dmi:<dmi string>
13 #
14 # To add local entries, create a new file
15 # /etc/udev/hwdb.d/61-sensor-local.hwdb
16 # and add your rules there. To load the new rules execute (as root):
17 # systemd-hwdb update
18 # udevadm trigger -y `dirname $(udevadm info -n "/dev/iio:deviceXXX" -q path)`
19 # where /dev/iio:deviceXXX is the device in question.
20 #
21 # If your changes are generally applicable, preferably send them as a pull
22 # request to
23 # https://github.com/systemd/systemd
24 # or create a bug report on https://github.com/systemd/systemd/issues and
25 # include your new rules, a description of the device, and the output of
26 # udevadm info --export-db
27 #
28 # For hwdb format and systemd behavior:
29 # https://www.freedesktop.org/software/systemd/man/hwdb.html
30 #
31 # Allowed properties are:
32 # ACCEL_MOUNT_MATRIX=<matrix>
33 #
34 # where <matrix> is a mount-matrix in the format specified in the IIO
35 # subsystem[1]. The default, when unset, is equivalent to:
36 # ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, 1
37 # eg. the identity matrix.
38 #
39 # [1]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dfc57732ad38f93ae6232a3b4e64fd077383a0f1
40 #
41 #
42 # Sort by brand, model
43
44 #########################################
45 # Acer
46 #########################################
47 sensor:modalias:acpi:BMA250E*:dmi:*:svnAcer:pnIconiaW1-810:*
48 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
49
50 #########################################
51 # AsusTek
52 #########################################
53 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100CHI*
54 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
55
56 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100TA*
57 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
58
59 sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP500LB*
60 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 0
61
62 sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LJ*
63 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
64
65 #########################################
66 # Chuwi
67 #########################################
68
69 # Chuwi Vi8 Plus
70 sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnD2D3_Vi8A1:*
71 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
72
73 #########################################
74 # Cube
75 #########################################
76
77 # Cube iWork8 Air
78 sensor:modalias:acpi:KIOX000A*:dmi:*:svncube:pni1-TF:*
79 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
80
81 #########################################
82 # Endless
83 #########################################
84 sensor:modalias:acpi:ACCE0001*:dmi:*svnEndless*:*pnELT-NL3*
85 ACCEL_MOUNT_MATRIX=0, 1, 0; 0, 0, -1; -1, 0, 0
86
87 #########################################
88 # GP-electronic
89 #########################################
90 sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrBYT70A.YNCHENG.WIN.007:*:svnInsyde:pnT701:*
91 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
92
93 #########################################
94 # HP
95 #########################################
96 sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8540w*
97 sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8560w*
98 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 0, -1; 0, 1, 0
99
100 sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
101 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
102
103 #########################################
104 # I.T.Works
105 #########################################
106
107 # The I.T.Works TW891 2-in-1's DMI has the product-name field set, but not
108 # the sys-vendor field. This makes the DMI data a bit generic, so we match
109 # the whole dmi modalias, except for the BIOS version/date
110 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.:
111 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
112
113 #########################################
114 # Jumper
115 #########################################
116
117 # EZpad mini 3
118 sensor:modalias:acpi:BOSC0200*:dmi:bvnINSYDECorp.:bvrjumperx.T87.KFBNEE*
119 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
120
121 #########################################
122 # Lamina
123 #########################################
124 sensor:modalias:acpi:SMO8500*:dmi:*svnLamina*:*pnT701BR.SE*
125 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
126
127 #########################################
128 # Peaq
129 #########################################
130 sensor:modalias:acpi:SMO8500*:dmi:*:svnPEAQ:pnPEAQPMMC1010MD99187:*
131 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
132
133 #########################################
134 # Pipo
135 #########################################
136 sensor:modalias:acpi:KIOX000A*:dmi:*:svnPIPO:pnW2S:*
137 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
138
139 #########################################
140 # Ployer
141 #########################################
142 sensor:modalias:acpi:BMA250E*:dmi:*:svnShenzhenPLOYER*:pnMOMO7W:*
143 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
144
145 #########################################
146 # Point of View
147 #########################################
148
149 # The Point of View TAB-P800W does not have its product name filled, so we
150 # match the entire dmi-alias, assuming that the use of a BMA250E +
151 # bios-version + bios-date combo is unique
152 sensor:modalias:acpi:BMA250E*:dmi:bvnAmericanMegatrendsInc.:bvr3BAIR1013:bd08/22/2014:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnAMICorporation:rnAptioCRB:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
153 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
154
155 #########################################
156 # Trekstor
157 #########################################
158 sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnInsyde:pnST70416-6:*
159 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
160
161 #########################################
162 # Winbook
163 #########################################
164 sensor:modalias:acpi:BMA250*:dmi:*svn*WinBook*:*pn*TW100*
165 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 0
166
167 #########################################
168 # Cytrix (Mytrix)
169 #########################################
170 sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t*
171 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
172