]> git.ipfire.org Git - thirdparty/systemd.git/blob - hwdb.d/60-sensor.hwdb
Merge pull request #24939 from msizanoen1/journal-realtime-enforce-consistency
[thirdparty/systemd.git] / hwdb.d / 60-sensor.hwdb
1 # This file is part of systemd.
2 #
3 # The lookup keys are composed in:
4 # 60-sensor.rules
5 #
6 # Match string formats:
7 # sensor:<label>:modalias:<parent modalias pattern>:dmi:<dmi pattern>
8 # sensor:modalias:<parent modalias pattern>:dmi:<dmi pattern>
9 #
10 # The device modalias can be seen in the `modalias` file of the sensor parent,
11 # and the device label can be seen in the `label` file of the sensor,
12 # for example:
13 # cat /sys/`udevadm info -q path -n /dev/iio:device0`/label
14 # cat /sys/`udevadm info -q path -n /dev/iio:device0`/../modalias
15 #
16 # The full DMI string of the running machine can be read from
17 # /sys/class/dmi/id/modalias
18 # That requires a kernel built with CONFIG_DMIID set, which is common.
19 # The full DMI string is not needed here and the meaning of individual parts
20 # can be seen in the source of the DMIID kernel module
21 # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/firmware/dmi-id.c
22 #
23 # To add local entries, create a new file
24 # /etc/udev/hwdb.d/61-sensor-local.hwdb
25 # and add your rules there. To load the new rules execute (as root):
26 # systemd-hwdb update
27 # udevadm trigger -v -p DEVNAME=/dev/iio:deviceXXX
28 # where /dev/iio:deviceXXX is the device in question.
29 #
30 # If your changes are generally applicable, preferably send them as a pull
31 # request to
32 # https://github.com/systemd/systemd
33 # or create a bug report on https://github.com/systemd/systemd/issues and
34 # include your new rules, a description of the device, and the output of
35 # udevadm info --export-db
36 #
37 # For hwdb format and systemd behavior:
38 # https://www.freedesktop.org/software/systemd/man/hwdb.html
39 #
40 # Allowed properties are:
41 # ACCEL_MOUNT_MATRIX=<matrix>
42 # PROXIMITY_NEAR_LEVEL=<value>
43 #
44 # where <matrix> is a mount-matrix in the format specified in the IIO
45 # subsystem[1]. The default, when unset, is equivalent to:
46 # ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, 1
47 # eg. the identity matrix,
48 # and <value> is an integer value above or equal to which an object is
49 # considered close by a proximity sensor:
50 # PROXIMITY_NEAR_LEVEL=100
51 #
52 # [1]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dfc57732ad38f93ae6232a3b4e64fd077383a0f1
53 #
54 # Note for devices where the display (LCD panel) is mounted non upright
55 # in the device's casing, e.g. mounted upside-down or 90 degree rotated,
56 # the ACCEL_MOUNT_MATRIX should be such that the x and y axis matches the
57 # x and y axis of the display, not those of the casing, so that desktop
58 # environments using the accelerometer data for rotation will e.g.
59 # automatically flip their output for an upside-down display when the device
60 # is held upright.
61 #
62 # ACCEL_LOCATION=<location>
63 #
64 # where <location> is the location of the sensor. This value could be 'base'
65 # or 'display'. The default, when unset, is equivalent to:
66 # ACCEL_LOCATION=display
67 #
68 # A note about setting ACCEL_MOUNT_MATRIX for ACCEL_LOCATION=base sensors,
69 # on 360 degree hinges style 2-in-1s with 2 sensors (one in the display and
70 # 1 in the base). Userspace will use both sensors to calculate the angle between
71 # the 2 halves and the angle is defined as being 0 when the device is folded
72 # as a regular clamshell laptop with its lid closed. This means that the
73 # base-accelerometer's mount-matrix must be such, that after applying
74 # the mount-matrices to both sensors, the base-accelerometer's readings must
75 # be identical to the display-accelerometer's readings (when the lid is
76 # closed).
77 #
78 # Sort by brand, model
79
80 #########################################
81 # Acer
82 #########################################
83 sensor:modalias:acpi:KIOX0009*:dmi:*:svnAcer:pnAspireSW3-016:*
84 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, -1
85
86 sensor:modalias:acpi:INVN6500*:dmi:*svn*Acer*:*pn*AspireSW5-011:*
87 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
88
89 sensor:modalias:acpi:INVN6500*:dmi:*svn*Acer*:*pn*AspireSW5-012:*
90 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
91
92 sensor:modalias:acpi:BOSC0200*:dmi:*svnAcer*:*TP-SW5-017-17BU:*
93 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, -1
94
95 sensor:modalias:acpi:BOSC0200*:dmi:*:svnAcer:pnSW5-017:*
96 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
97
98 sensor:modalias:acpi:BMA250E*:dmi:*:svnAcer:pnIconiaW1-810:*
99 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
100
101 sensor:modalias:acpi:SMO8500:*:dmi:*Acer*:pnOneS1002:*
102 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
103
104 sensor:modalias:acpi:KIOX0009*:dmi:*:svnAcer:pnOneS1003:*
105 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
106
107 sensor:modalias:acpi:BOSC0200*:dmi:*:svnAcer*:pnSwitchSW312-31:*
108 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
109
110 sensor:modalias:acpi:BOSC0200*:dmi:*svn*Acer*:*pn*Spin*SP111-32:*
111 sensor:modalias:acpi:BOSC0200*:dmi:*svn*Acer*:*pn*Spin*SP111-33:*
112 sensor:modalias:acpi:BOSC0200*:dmi:*svnAcer*:*pnSpinSP111-34:*
113 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
114
115 #########################################
116 # Aquarius
117 #########################################
118
119 # Aquarius NS483
120 sensor:modalias:acpi:MXC6655*:dmi:*:svnAquarius*:pnNS483:*
121 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
122
123 #########################################
124 # Archos
125 #########################################
126 sensor:modalias:acpi:SMO8500*:dmi:*:svnARCHOS:pnARCHOS80Cesium:*
127 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
128
129 #########################################
130 # AsusTek
131 #########################################
132 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100CHI:*
133 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
134
135 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:pnT300CHI:*
136 ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1
137
138 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnM80TA:*
139 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100TA:*
140 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100TAF:*
141 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100TAM:*
142 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:pnT200TA:*
143 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
144
145 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnTP201SA:*
146 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:pn*E205SA:*
147 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
148
149 sensor:modalias:acpi:INVN6500*:dmi:*svn*ASUSTeK*:*pn*TP300LA:*
150 sensor:modalias:acpi:INVN6500*:dmi:*svn*ASUSTeK*:*pn*TP300LD:*
151 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
152
153 sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pn*Q551LN:*
154 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
155
156 sensor:modalias:acpi:KXJ2109*:dmi:*:svnASUSTeK*:pnME176C:*
157 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
158
159 sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LJ:*
160 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
161
162 sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP500LAB:*
163 sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP500LB:*
164 sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP550LA:*
165 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
166
167 sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LD:*
168 sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LAB:*
169 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
170
171 sensor:modalias:acpi:BOSC0200*:dmi:*svn*ASUSTeK*:*pn*TP412UA:*
172 ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1
173
174 #########################################
175 # Axxo
176 #########################################
177 sensor:modalias:acpi:SMO8500*:dmi:*:svnStandard:pnWCBT1011::*
178 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
179
180 #########################################
181 # AYANEO
182 #########################################
183
184 # AYANEO AIR
185 sensor:modalias:acpi:BMI0160*:dmi:*:svnAYANEO:pnAIR*:*
186 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
187
188 # AYANEO NEXT
189 sensor:modalias:acpi:BMI0160*:dmi:*:svnAYANEO:pn*NEXT*:*
190 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
191
192 #########################################
193 # Chuwi
194 #########################################
195
196 # Chuwi Vi8 (CWI506)
197 sensor:modalias:acpi:BMA250E*:dmi:bvnINSYDECorp.:bvrCHUWI.D86JLBNR*:svnInsyde:pni86:*
198 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
199
200 # Chuwi Vi8 Plus (CWI519)
201 sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnD2D3_Vi8A1:*
202 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
203
204 # Chuwi Vi10 (CWI505)
205 sensor:modalias:acpi:BMA250E*:dmi:bvnINSYDECorp.:bvrG1D_S165*:svnilife:pnS165:*
206 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
207
208 # Chuwi Hi8 (CWI509)
209 sensor:modalias:acpi:BMA250E*:dmi:*svnilife*:pnS806:*
210 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
211
212 # Chuwi Hi8 Pro (CWI513)
213 sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnX1D3_C806N:*
214 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
215
216 # Chuwi Hi10 (CWI515)
217 sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:*:svnDefaultstring:pnDefaultstring:*
218 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
219
220 # Chuwi Hi10 (CWI1515)
221 sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvrP02A_C106.60E:*:svnDefaultstring:pnDefaultstring:*
222 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
223
224 # Chuwi Hi10 Plus (CWI527)
225 sensor:modalias:acpi:BOSC0200*:dmi:*:svnCHUWIINNOVATIONANDTECHNOLOGY*:pnHi10plustablet:*
226 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
227
228 # Chuwi Hi10 Pro (CWI529)
229 sensor:modalias:acpi:BOSC0200*:dmi:*:svn*CHUWIINNOVATIONANDTECHNOLOGY*:pnHi10protablet:*
230 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
231
232 # Chuwi Hi10 X
233 sensor:modalias:acpi:MXC6655*:dmi:*:svnCHUWIInnovationAndTechnology*:pnHi10X:*
234 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
235
236 # Chuwi Hi10 Go
237 sensor:modalias:acpi:MXC6655*:dmi:*:svnCHUWIINNOVATIONLIMITED:pnHi10Go:*
238 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0,-1, 0; 0, 0, 1
239
240 # Chuwi Hi12
241 sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnP02BD6_HI-122LP:*
242 sensor:modalias:acpi:BOSC0200*:dmi:*:svnDefaultstring:pnDefaultstring:*
243 sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnE4D6_HI-122LP:*
244 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
245
246 # Chuwi Hi13
247 sensor:modalias:acpi:KIOX000A*:dmi:*:svnChuwi*:pnHi13:*
248 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
249
250 # Chuwi Hi13 (CWI534) with BMA250 sensor
251 # Note this sets the norm matrix, since the matrix which the kernel reads
252 # from the ACPI tables is actually wrong on these models
253 sensor:modalias:acpi:BOSC0200*:dmi:*:svnChuwi*:pnHi13:*
254 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, 1
255
256 # Chuwi HiBook
257 # Chuwi HiBook does not have its product name filled, so we
258 # match the entire dmi-alias, assuming that the use of a BOSC0200 +
259 # bios-version + bios-date combo is unique
260 # '*' in ":*svn" is there because kernels >= 5.8 have inserted a br field there
261 sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd05/07/2016:*svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnHampoo:rnCherryTrailCR:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
262 sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd05/28/2016:*svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnHampoo:rnCherryTrailCR:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
263 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
264
265 # Chuwi HiBook Pro (CWI526)
266 sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo*:pnP1D6_C109K:*
267 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
268
269 # Chuwi CoreBook
270 # Chuwi CoreBook does not have its product name filled, so we
271 # match the entire dmi-alias
272 # '*' in ":*svn" is there because kernels >= 5.8 have inserted a br field there
273 sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvrY13D_KB133.103:bd06/01/2018:*svnHampoo:pnDefaultstring:pvrV100:rvnHampoo:rnY13D_KB133:rvrV100:cvnDefaultstring:ct9:cvrDefaultstring:*
274 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
275
276 # Chuwi SurBook Mini (CWI540)
277 sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo*:pnC3W6_AP108_4GB:*
278 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
279
280 #########################################
281 # Connect
282 #########################################
283 sensor:modalias:acpi:KIOX000A*:dmi:*:svnConnect:pnTablet9:*
284 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
285
286 #########################################
287 # CSL Computer
288 #########################################
289 # CSL Panther Tab HD
290 sensor:modalias:acpi:KIOX000A*:dmi:*:svnCSL*Computer*:pnCSL*Panther*Tab*HD:*
291 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
292
293 #########################################
294 # Cube
295 #########################################
296
297 # Cube iWork8 Air
298 sensor:modalias:acpi:KIOX000A*:dmi:*:svncube:pni1-TF:*
299 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
300
301 # Cube i7
302 sensor:modalias:acpi:SMO8500*:dmi:*:svncube:pni7:*
303 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
304
305 # Cube i7 Stylus, i7 Stylus I8L Model, i7 Book (i16) and Mix Plus (i18B)
306 sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni7Stylus:*
307 sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni8-L:*
308 sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni16:*
309 sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni18B:*
310 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
311
312 # Cube iWork 10 Flagship
313 sensor:modalias:acpi:BOSC0200*:dmi:*:svnCube:pnI15-TC:*
314 sensor:modalias:acpi:BOSC0200*:dmi:*:svnALLDOCUBE:pnI15-TG:*
315 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
316
317 # Cube iWork 11 Stylus
318 sensor:modalias:acpi:KIOX000A*:dmi:*:svncube:pni8-T:*
319 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
320
321 # Cube KNote 5
322 sensor:modalias:acpi:KIOX000A*:dmi:*:svnALLDOCUBE:pni1102:*
323 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
324
325 #########################################
326 # Cyberbook
327 #########################################
328
329 # Cyberbook T116
330 sensor:modalias:acpi:KIOX000A*:dmi:*:rvnDefaultstring:rnCherryTrailCR:*:sku20170531:*
331 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
332
333 #########################################
334 # Cytrix (Mytrix)
335 #########################################
336 sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t:*
337 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
338
339 #########################################
340 # Dell
341 #########################################
342 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:pnVostro5581:*
343 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0A36:*
344 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0A3E:*
345 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B09:*
346 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B0B:*
347 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B0D:*
348 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B11:*
349 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C00:*
350 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C02:*
351 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C40:*
352 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C41:*
353 sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C42:*
354 ACCEL_LOCATION=base
355
356 # Dell Venue 8 Pro 3845
357 sensor:modalias:acpi:INVN6500*:dmi:*svnDellInc.*:pnVenue8Pro3845:*
358 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
359
360 # Dell Venue 10 Pro 5055
361 sensor:modalias:acpi:INVN6500*:dmi:*svnDell*:pnVenue10Pro5055:*
362 ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1
363
364 #########################################
365 # DERE
366 #########################################
367
368 # DBook D10 / Juno Tablet
369 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrJP2V*:svnDefaultstring:*
370 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
371
372 #########################################
373 # DEXP
374 #########################################
375 sensor:modalias:acpi:SMO8500*:dmi:*svn*DEXP*:*pn*DEXPOEM:*
376 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
377
378 #########################################
379 # Digibras
380 #########################################
381
382 # Digibras F10-30
383 sensor:modalias:acpi:SMO8500*:dmi:*:svnDigibras:pnF10-30:*
384 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
385
386 #########################################
387 # DIGMA
388 #########################################
389
390 # Digma CITI E203
391 sensor:modalias:acpi:BOSC0200*:dmi:*:svnDigma:pnCITIE203ES2010EW:*
392 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
393
394 #########################################
395 # Endless
396 #########################################
397 sensor:modalias:acpi:ACCE0001*:dmi:*svnEndless*:*pnELT-NL3:*
398 ACCEL_MOUNT_MATRIX=0, 1, 0; 0, 0, -1; -1, 0, 0
399
400 #########################################
401 # Estar
402 #########################################
403 sensor:modalias:acpi:SMO8500*:dmi:*:svnEstar:pneSTARBEAUTYHDIntelQuadcore:*
404 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
405
406 #########################################
407 # Eve Technology
408 #########################################
409 sensor:modalias:acpi:KIOX000A*:dmi:*:svnEVE*:pnEveV:*
410 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
411
412 #########################################
413 # Geo Computers
414 #########################################
415
416 # Geoflex
417 sensor:modalias:acpi:KIOX010A*:dmi:*:svnGEO*:pnGeoFlex*:*
418 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
419
420 #########################################
421 # Glavey
422 #########################################
423
424 # Glavey TM800A550L
425 sensor:modalias:acpi:KXCJ9000*:dmi:*:bvrZY-8-BI-PX4S70VTR400-X423B-005-D:*:rvnAMICorporation:rnAptioCRB:*
426 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
427
428 #########################################
429 # Google Chromebooks
430 #########################################
431
432 # CrOS EC & kernel drivers internally correct for per-board sensor orientations,
433 # but they return values in the inverse direction (Android & W3C specs vs HID).
434 sensor:modalias:platform:cros-ec-accel:*
435 sensor:modalias:platform:cros-ec-accel-legacy:*
436 sensor:accel-display:modalias:platform:cros-ec-accel:*
437 sensor:accel-display:modalias:platform:cros-ec-accel-legacy:*
438 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
439
440 # Base accel reports the same as display when lid angle is 180 degrees (vs 0),
441 # so it needs an additional 180 degree rotation around the X axis.
442 sensor:accel-base:modalias:platform:cros-ec-accel:*
443 sensor:accel-base:modalias:platform:cros-ec-accel-legacy:*
444 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
445
446 #########################################
447 # GP-electronic
448 #########################################
449 sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrBYT70A.YNCHENG.WIN.007:*:svnInsyde:pnT701:*
450 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
451
452 #########################################
453 # GPD
454 #########################################
455
456 # GPD win (version 1, with the X5-Z8750 CPU)
457 # Note we match all dmi fields including the BIOS date checking for all known
458 # BIOS dates, since the strings are unfortunately very generic.
459 # Out of a sample set of 15 similar boards only the GPDwin has board_vendor=AMI
460 # and no other devices have both board_name *and* product_name set to
461 # "Default string". So combined with the sensor modalias and BIOS date this
462 # should be unique enough to identify the GPDwin
463 # '*' in ":*svn" is there because kernels >= 5.8 have inserted a br field there
464 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd10/25/2016:*svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
465 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd11/18/2016:*svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
466 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd12/23/2016:*svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
467 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd12/26/2016:*svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
468 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd02/21/2017:*svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
469 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd03/20/2017:*svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
470 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd05/25/2017:*svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnAMICorporation:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
471 ACCEL_LOCATION=base
472
473 # GPD Pocket 3
474 sensor:modalias:acpi:MXC6655*:dmi:*:svnGPD:pnG1621-02:*
475 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
476
477 #########################################
478 # Hometech
479 ########################################
480
481 # Nobody bothered to use Linux on any device of this manufacturer
482 # so current marks might be too general and need fixes.
483 # These values are based on Wi101 model.
484 sensor:modalias:acpi:BMA250E*:dmi:*:svnInsyde*:pni101c:*
485 ACCEL_MOUNT_MATRIX=0,1,0;-1,0,0;-1,0,0
486
487 #########################################
488 # HP
489 #########################################
490
491 # Most HP Laptop using the lis3lv02d device have it in the base,
492 # mark these sensors as such.
493 sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*
494 sensor:modalias:platform:lis3lv02d:dmi:*svn*HP*:*
495 ACCEL_LOCATION=base
496
497 sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
498 sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream8Tablet:*
499 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
500
501 # HP Pavilion X2 10-n000nd
502 sensor:modalias:i2c:bmc150_accel:dmi:*:svnHewlett-Packard:pnHPPavilionx2Detachable:*:rn815D:*
503 # HP Pavilion X2 10-k010nr
504 sensor:modalias:i2c:bmc150_accel:dmi:*:svnHewlett-Packard:pnHPPavilionx2DetachablePC10:*
505 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
506
507 # HP Pro Tablet 408 G1
508 sensor:modalias:i2c:bmc150_accel:dmi:*:svnHewlett-Packard:pnHPProTablet408:*:rn8048:*
509 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
510
511 #########################################
512 # I.T.Works
513 #########################################
514
515 # The I.T.Works TW891 2-in-1's DMI has the product-name field set, but not
516 # the sys-vendor field. This makes the DMI data a bit generic, so we match
517 # the whole dmi modalias, except for the BIOS version/date
518 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.:*
519 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
520
521 # I.T.Works TW701 7" windows tablet, same hw as Trekstor ST70416-6
522 sensor:modalias:acpi:BMA250*:dmi:*:bvritWORKS.G.WI71C.JGBMRB*:*:svnInsyde:pni71c:*
523 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
524
525 #########################################
526 # Irbis
527 #########################################
528
529 #TW90
530 sensor:modalias:acpi:BOSC0200*:dmi:*:svnIRBIS:pnTW90:*
531 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
532
533 # NB111
534 sensor:modalias:acpi:KIOX010A*:dmi:*svn*IRBIS*:*pn*NB111:*
535 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
536
537 #TW118
538 sensor:modalias:acpi:BOSC0200*:dmi:*:svnIRBIS:pnTW118:*
539 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
540
541 #########################################
542 # iOTA 360
543 #########################################
544 sensor:modalias:acpi:KIOX000A*:dmi:*svn*iOTA*:*pn*IOTA2210:*
545 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
546
547 #########################################
548 # Jumper
549 #########################################
550
551 # EZpad mini 3
552 sensor:modalias:acpi:BOSC0200*:dmi:bvnINSYDECorp.:bvrjumperx.T87.KFBNEE:*
553 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
554
555 # EZpad 6 Pro
556 sensor:modalias:acpi:BOSC0200*:dmi:*:svnJumper:pnEZpad:*:rvr.A006:*
557 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
558
559 # EZpad 7
560 sensor:modalias:acpi:KIOX0009*:dmi:*:bvrJumper12x.WJ2012.bsBKRCP*:svnJumper:pnEZpad:*
561 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
562
563 # EZpad Go
564 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:*:svnjumper:pnEZpad:*:ct31:*
565 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
566
567 #########################################
568 # Kazam
569 #########################################
570 sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrVISION.I22K*:svnKAZAM:pnVISION:*
571 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
572
573 #########################################
574 # KD / Kurio
575 #########################################
576 sensor:modalias:acpi:SMO8500*:dmi:*:svnKDInteractive:pnKurioSmart:*:rnKDM960BCP:*
577 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
578
579 #########################################
580 # Lamina
581 #########################################
582 sensor:modalias:acpi:SMO8500*:dmi:*svnLamina*:*pnT701BR.SE:*
583 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
584
585 sensor:modalias:acpi:KIOX000A*:dmi:*svnLAMINA:pnT-1016BNORD:*
586 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
587
588 #########################################
589 # Lenovo
590 #########################################
591 sensor:modalias:acpi:NCPE0388*:dmi:*:rnLenovoYOGA510-14IKB:*
592 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
593
594 sensor:modalias:acpi:BOSC0200*:dmi:*ThinkPadYoga11e3rdGen:*
595 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, -1
596
597 sensor:modalias:acpi:BOSC0200*:dmi:*:svnLENOVO:*pvrThinkPadYoga11e4thGen:*
598 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, -1
599
600 # Lenovo ThinkPad Yoga 11e 5th Gen (20LN-S14900)
601 sensor:modalias:acpi:BOSC0200*:dmi:*pvrThinkPadYoga11e5thGen:*
602 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
603
604 # Miix3-1030
605 sensor:modalias:acpi:BMA250E*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-1030:*
606 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
607
608 # Miix3-830
609 sensor:modalias:acpi:SMO8500*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-830:*
610 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
611
612 # IdeaPad D330-10IGM (both 81H3 and 81MD product names)
613 sensor:modalias:acpi:BOSC0200*:dmi:*:svnLENOVO:*:pvrLenovoideapadD330-10IGM:*
614 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
615
616 # IdeaPad Miix 300
617 sensor:modalias:acpi:SMO8500*:dmi:bvnLENOVO:*:pvrMIIX300-*:*
618 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
619
620 # IdeaPad Miix 310 note this only is for BIOS version (bvr) 1HCN4?WW and 1HCN2?WW, which has
621 # a portrait LCD panel, versions with bvr 1HCN3?WW have a landscape panel
622 sensor:modalias:acpi:KIOX000A*:dmi:bvnLENOVO:bvr1HCN4?WW:*:svnLENOVO:pn80SG:*
623 sensor:modalias:acpi:KIOX000A*:dmi:bvnLENOVO:bvr1HCN2?WW:*:svnLENOVO:pn80SG:*
624 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
625
626 # IdeaPad Miix 320, different batches use a different sensor
627 sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80XF:*
628 sensor:modalias:acpi:SMO8840*:dmi:*:svnLENOVO:pn80XF:pvrLenovoMIIX320:*
629 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
630
631 # IdeaPad Miix 510, multiple expressions match different internal names
632 # pn80U1 matches IdeaPad Miix510-12ISK
633 sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80XE:*
634 sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80U1:*
635 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
636
637 # Yoga 300-11IBR, display sensor
638 sensor:modalias:acpi:DUAL250E*:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:*
639 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
640 ACCEL_LOCATION=display
641
642 # Yoga 300-11IBR, base sensor
643 sensor:modalias:i2c:bmc150_accel:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:*
644 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, -1
645 ACCEL_LOCATION=base
646
647 #########################################
648 # LINX
649 #########################################
650
651 # Linx 1010B
652 sensor:modalias:acpi:BOSC0200*:dmi:*:svnLINX*:pnLINX1010B:*
653 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
654
655 # Linx 12X64, 12V64 and Vision 8
656 sensor:modalias:acpi:KIOX000A*:dmi:*:svnLINX*:pnLINX12*64:*
657 sensor:modalias:acpi:KIOX000A*:dmi:*:svnLINX:pnVISION004:*
658 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
659
660 #########################################
661 # Mediacom
662 #########################################
663 # Mediacom Winpad 7.0 W700
664 sensor:modalias:acpi:BMA250*:dmi:*svnMEDIACOM*:pnWinPad7W10-WPW700:*
665 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
666
667 #########################################
668 # Medion
669 #########################################
670 # Medion Akoya E2228T MD61900
671 sensor:modalias:acpi:KIOX020A*:dmi:*:svnMEDION:pnE2228TMD61900:*
672 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
673 ACCEL_LOCATION=base
674
675 # Medion Akoya E1239T MD60568
676 sensor:modalias:acpi:KIOX0009*:dmi:*:svnMEDION:pnE1239TMD60568:*
677 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
678
679 # Medion Akoya E2212T MD99720
680 sensor:modalias:acpi:SMO8500*:dmi:*:svnMEDION:pnAkoyaE2212TMD99720:*
681 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
682
683 # Medion Akoya E2215T MD60198
684 sensor:modalias:acpi:KIOX000A*:dmi:*svnMEDION:pnE2215TMD60198:*
685 # Medion Akoya E3216 MD60900
686 # Medion Akoya E3221 MD61237
687 # Medion Akoya E2292 MD63390
688 # Medion Akoya E2293 MD61130
689 # Medion Akoya E2293 MD61144
690 # Medion Akoya E3222 MD62450
691 # and presumably all other Akoya Exxxx
692 sensor:modalias:acpi:KIOX010A*:dmi:*:svnMEDION:pnE*:*
693 # Medion Akoya E3222 MD62450
694 sensor:modalias:acpi:KIOX010A*:dmi:*:svnMEDION:pnMEDION*:*
695 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
696 ACCEL_LOCATION=display
697
698 # Same as above, but for base sensor
699 sensor:modalias:acpi:KIOX020A*:dmi:*:svnMEDION:pnE*:*
700 sensor:modalias:acpi:KIOX020A*:dmi:*:svnMEDION:pnMEDION*:*
701 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
702 ACCEL_LOCATION=base
703
704 #########################################
705 # MPMAN
706 #########################################
707
708 # MPMAN Converter 9, same hw as the I.T.Works TW891 2-in-1
709 sensor:modalias:acpi:SMO8500*:dmi:*:svnMPMAN:pnConverter9:*
710 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
711
712 # MPMAN MPWIN895C
713 sensor:modalias:acpi:BMA250E*:dmi:*:svnMPMAN:pnMPWIN8900CL:*
714 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
715
716 #########################################
717 # MSI
718 #########################################
719 sensor:modalias:acpi:SMO8500*:dmi:*:svnMicro-StarInternationalCo.,Ltd.:pnS100:*
720 ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1
721
722 #########################################
723 # MYRIA
724 #########################################
725
726 # MY8307
727 sensor:modalias:acpi:BOSC0200*:dmi:*:svnCompletElectroServ:pnMY8307:*
728 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
729
730 # MY8312
731 sensor:modalias:acpi:KIOX010A*:dmi:*:svnCompletElectroServSA:pnMY8312:*
732 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
733
734 #########################################
735 # Nuvision (TMax)
736 #########################################
737
738 # Nuvision/TMAX 8" Windows signature edition. TM800W560L
739 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTMAX:pnTM800W560L:*
740 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
741
742 # Nuvision Solo 10 Draw. TM101W610L
743 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTMAX:pnTM101W610L:*
744 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
745
746 # Nuvision Encite Split 11. NES11-C432SSA
747 sensor:modalias:acpi:BOSC0200*:dmi:*:svnNuvision:pnNES11:*
748 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
749
750 #########################################
751 # Odys
752 #########################################
753 sensor:modalias:acpi:BOSC0200*:dmi:bvnINSYDECorp.:bvrODYS.FUSIONWIN12:*
754 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
755
756 #########################################
757 # Onda
758 #########################################
759 sensor:modalias:acpi:BOSC0200*:dmi:*:svnONDA:pnV80PLUS:*
760 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
761
762 sensor:modalias:acpi:BMA250E*:dmi:bvnINSYDECorp.:bvrONDA.D89*:svnInsyde:pnONDATablet:*
763 sensor:modalias:acpi:BMA250E*:dmi:bvnINSYDECorp.:bvrONDA.D86*:svnONDA:pnV820wDualOS:*
764 sensor:modalias:acpi:BMA250E*:dmi:bvnINSYDECorp.:bvrONDA.W89*:svnInsyde:pnONDATablet:*
765 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
766
767 # Onda v975w, generic DMI strings, match entire dmi modalias inc. bios-date
768 # '*' in ":*svn" is there because kernels >= 5.8 have inserted a br field there
769 sensor:modalias:acpi:SMO8500*:dmi:bvnAmericanMegatrendsInc.:bvr5.6.5:bd07/25/2014:*svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnAMICorporation:rnAptioCRB:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:*
770 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
771
772 #########################################
773 # One-netbook
774 #########################################
775
776 # One-netbook OneMix 2s
777 # OneMix 2s has no product name filled, matching entire dmi-alias
778 # '*' in ":*svn" is there because kernels >= 5.8 have inserted a br field there
779 sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvr5.12:bd10/26/2018:*svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnDefaultstring:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
780 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
781
782 # One-netbook OneMix 3 Pro
783 sensor:modalias:acpi:BOSC0200*:dmi:*svnONE-NETBOOKTECHNOLOGYCO*:pnOne-Mix3Pro:*
784 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
785
786 # One-netbook OneMix 3s
787 # OneMix 3s has no product name filled, matching entire dmi-alias
788 # '*' in ":*svn" is there because kernels >= 5.8 have inserted a br field there
789 sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvr5.12:bd07/17/2019:*svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnDefaultstring:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:*
790 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
791
792 # One-Netbook OneXPlayer Mini (and maybe others)
793 sensor:modalias:acpi:BMI0160*:dmi:*:rnONEXPLAYER:rvrV01:*
794 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
795
796 #########################################
797 # Peaq
798 #########################################
799 sensor:modalias:acpi:SMO8500*:dmi:*:svnPEAQ:pnPEAQPMMC1010MD99187:*
800 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
801
802 #########################################
803 # Pipo
804 #########################################
805 sensor:modalias:acpi:KIOX000A*:dmi:*:svnPIPO:pnW2S:*
806 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
807
808 # Pipo W2Pro
809 sensor:modalias:acpi:KIOX0008*:dmi:*svnPIPO:pnW2pro:*
810 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
811
812 # Pipo W4
813 sensor:modalias:acpi:SMO8500*:dmi:*:bvrV8L_WIN32_CHIPHD_*_DX:*:rvnAMICorporation:rnAptioCRB:*
814 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
815
816 #########################################
817 # Ployer
818 #########################################
819 sensor:modalias:acpi:BMA250E*:dmi:*:svnShenzhenPLOYER*:pnMOMO7W:*
820 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
821
822 #########################################
823 # Point of View
824 #########################################
825
826 # The Point of View TAB-P800W does not have its product name filled, so we
827 # match the entire dmi-alias, assuming that the use of a BMA250E +
828 # bios-version + bios-date combo is unique
829 # '*' in ":*svn" is there because kernels >= 5.8 have inserted a br field there
830 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.:*
831 sensor:modalias:acpi:BMA250E*:dmi:bvnAmericanMegatrendsInc.:bvr3BAIR1014:bd10/24/2014:*svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnAMICorporation:rnAptioCRB:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:*
832 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
833
834 # Point of View TAB-P1005W-232 (v2.0)
835 sensor:modalias:acpi:KIOX000A*:dmi:*:rvnPOV:rnI102A:*
836 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
837
838 # Point of View TAB-P1006W-232-3G (v1.0)
839 sensor:modalias:i2c:bmc150_accel:dmi:bvnINSYDECorp.:*:svnInsyde:pnBayTrail:*:rvn105B:rn0E57:*
840 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
841
842 ##########################################
843 # Positivo
844 #########################################
845
846 # Positivo Duo K116R
847 sensor:modalias:acpi:KIOX010A*:dmi:bvn*:bvr*:svnPositivoTecnologiaSA:pn*:pvr*:rvnPositivoTecnologiaSA:rnK116R*
848 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
849 ACCEL_LOCATION=display
850
851 ########################################
852 # Predia
853 #########################################
854
855 # Predia Basic tablet, most DMI strings are generic, match on BIOS version
856 sensor:modalias:acpi:BOSC0200*:dmi:bvnINSYDECorp.:bvrMx.WT107.KUBNGEA*svnInsyde:pnCherryTrail:*
857 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
858
859 #########################################
860 # Prowise
861 #########################################
862 sensor:modalias:acpi:SMO8500*:dmi:*:svnProwise:pnPT301:*
863 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
864
865 #########################################
866 # Reeder
867 #########################################
868
869 # A8iW-Rev.A
870 sensor:modalias:acpi:SMO8500*:dmi:*:rvnReeder:rnA8iW-Rev.A:*
871 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
872
873 #########################################
874 # Schneider
875 #########################################
876
877 # SCT101CTM
878 sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvrSCH12i.WJ210Z.KtBJRCA03:*
879 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
880
881 #########################################
882 # Teclast
883 #########################################
884 # Teclast F5
885 sensor:modalias:acpi:KIOX010A*:dmi:*:svnTECLAST:pnF5:*
886 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
887
888 # Teclast F6 Pro (2 sensors)
889 sensor:modalias:acpi:KIOX010A*:dmi:*:svnTECLAST:pnF6Pro:*
890 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
891 ACCEL_LOCATION=display
892
893 sensor:modalias:acpi:KIOX020A*:dmi:*:svnTECLAST:pnF6Pro:*
894 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
895 ACCEL_LOCATION=base
896
897 # Teclast Tbook 11 (E5A6)
898 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnTbooK11:*
899 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
900
901 # Teclast X4 2-in-1 (G4M6)
902 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX4:*
903 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
904
905 # Teclast X80 Plus (H5C5)
906 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnDefaultstring:*
907 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
908
909 # Teclast X80 Pro (E3E6)
910 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX80Pro:*
911 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
912
913 # Teclast X89 (E7ED), "tPAD" is too generic also match on BIOS date
914 sensor:modalias:acpi:SMO8500*:dmi:*bd12/19/2014:*:rvnTECLAST:rntPAD:*
915 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
916
917 # Teclast X98 Air 3G (C5J6), "tPAD" is too generic also match on newest BIOS date
918 sensor:modalias:acpi:SMO8500*:dmi:*bd05/05/2015:*:rvnTECLAST:rntPAD:*
919 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
920
921 # Teclast X98 Plus I (A5C6), generic DMI strings, match entire dmi modalias inc. bios-date
922 # '*' in ":*svn" is there because kernels >= 5.8 have inserted a br field there
923 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.011:bd11/03/2015:*svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnAMICorporation:rnCherryTrailCR:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:*
924 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
925
926 # Teclast X98 Plus II
927 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX98PlusII:*
928 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
929
930 #########################################
931 # Thundersoft
932 #########################################
933
934 # Thundersoft TST168 tablet, generic DMI strings, match entire dmi modalias inc. bios-date
935 # '*' in ":*svn" is there because kernels >= 5.8 have inserted a br field there
936 sensor:modalias:acpi:BMA250E*:dmi:bvnAmericanMegatrendsInc.:bvr5.6.5:bd04/15/2014:*svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnAMICorporation:rnAptioCRB:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:*
937 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
938
939 #########################################
940 # Toshiba
941 #########################################
942
943 # Toshiba Encore WT8-B tablet
944 sensor:modalias:acpi:INVN6500*:dmi:*:svnTOSHIBA:pnTOSHIBAENCORE2WT8-B:*
945 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
946
947 # Toshiba Encore WT10A tablet
948 sensor:modalias:acpi:INVN6500*:dmi:*:svnTOSHIBA:pnTOSHIBAWT10-A-103:*
949 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
950
951 #########################################
952 # Trekstor
953 #########################################
954 sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnInsyde:pnST70416-6:*
955 sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnTrekStor:pnSurfTabwintron7.0ST70416-6:*
956 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
957
958 # SurfTab Wintron 10.1 ST10432-3, generic DMI string, use partial BIOS version match
959 sensor:modalias:acpi:SMO8500*:dmi:*:bvrWintron.R25M.02.0*:*:svnInsyde:pnBayTrail:*
960 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
961
962 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTrekStor:pnSurfTabtwin10.1:*
963 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
964
965 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTREKSTOR*:pnPrimetabS11B:*
966 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTREKSTOR:pnPrimetabT13B:*
967 sensor:modalias:acpi:BOSC0200*:dmi:*:svnTrekStor*:pnSurfTabtwin11.6:*
968 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
969
970 # alternative version of Trekstor's SurfTab Twin 11.6
971 sensor:modalias:acpi:BOSC0200*:dmi:*:bvrTP15-VT5.2.1.3:*:svnTrekStor*:pnSurfTabtwin11.6:*
972 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
973
974 sensor:modalias:acpi:KIOX010A*:dmi:*:svnTREKSTOR:pnPrimebookC11B:*
975 sensor:modalias:acpi:KIOX010A*:dmi:*:svnTREKSTOR:pnPRIMEBOOKC11B:*
976 sensor:modalias:acpi:KIOX010A*:dmi:*:svnTREKSTOR:pnYourbookC11B:*
977 sensor:modalias:acpi:KIOX010A*:dmi:*:svnTREKSTOR:pnYOURBOOKC11B:*
978 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
979 ACCEL_LOCATION=display
980
981 sensor:modalias:acpi:KIOX020A*:dmi:*:svnTREKSTOR:pnPrimebookC11B:*
982 sensor:modalias:acpi:KIOX020A*:dmi:*:svnTREKSTOR:pnPRIMEBOOKC11B:*
983 sensor:modalias:acpi:KIOX020A*:dmi:*:svnTREKSTOR:pnYourbookC11B:*
984 sensor:modalias:acpi:KIOX020A*:dmi:*:svnTREKSTOR:pnYOURBOOKC11B:*
985 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
986 ACCEL_LOCATION=base
987
988 #########################################
989 # Umax
990 #########################################
991 sensor:modalias:acpi:KIOX000A*:dmi:*:svnUMAX:pnVisionBook10WiPro:*
992 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
993
994 sensor:modalias:acpi:SMO8500*:dmi:*:svnUMAX:pnVisionBook10WiPlus:*
995 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
996
997 sensor:modalias:acpi:MXC6655*:dmi:*:svnUMAX:pnVisionbook12WrTab:*
998 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
999
1000 #########################################
1001 # Voyo
1002 #########################################
1003 # Voyo Winpad A15
1004 # The Winpad A15 does not have its product name filled, so we
1005 # match the entire dmi-alias, assuming that the use of a SMO8500 +
1006 # bios-version + bios-date combo is unique
1007 # '*' in ":*svn" is there because kernels >= 5.8 have inserted a br field there
1008 sensor:modalias:acpi:SMO8500*:dmi:bvnAmericanMegatrendsInc.:bvr5.6.5:bd11/20/2014:*svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnAMICorporation:rnAptioCRB:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:*
1009 ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, -1
1010
1011 #########################################
1012 # Wortmann
1013 #########################################
1014 sensor:modalias:acpi:KIOX000A*:dmi:*:svnWortmann_AG:pnTERRA_PAD_1061:*
1015 ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, -1
1016
1017 #########################################
1018 # Yours
1019 #########################################
1020 sensor:modalias:acpi:BMA250E*:dmi:*:svnYOURS:pnY8W81:*
1021 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1