]> git.ipfire.org Git - thirdparty/systemd.git/blame - hwdb/60-sensor.hwdb
hwdb: Add information on where to find identifiers
[thirdparty/systemd.git] / hwdb / 60-sensor.hwdb
CommitLineData
1f886b50
BN
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#
50570749
MH
14# The device modalias can be seen in the `modalias` file
15# of the sensor parent, for example:
16# cat /sys/`udevadm info -q path -n /dev/iio:device0`/../modalias
17#
18# The full DMI string of the running machine can be read from
19# /sys/class/dmi/id/modalias
20# That requires a kernel built with CONFIG_DMIID set, which is common.
21# The full DMI string is not needed here and the meaning of individual parts
22# can be seen in the source of the DMIID kernel module
23# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/firmware/dmi-id.c
24#
1f886b50
BN
25# To add local entries, create a new file
26# /etc/udev/hwdb.d/61-sensor-local.hwdb
27# and add your rules there. To load the new rules execute (as root):
28# systemd-hwdb update
d24e70fe 29# udevadm trigger -v -p DEVNAME=/dev/iio:deviceXXX
1f886b50
BN
30# where /dev/iio:deviceXXX is the device in question.
31#
32# If your changes are generally applicable, preferably send them as a pull
33# request to
34# https://github.com/systemd/systemd
35# or create a bug report on https://github.com/systemd/systemd/issues and
36# include your new rules, a description of the device, and the output of
37# udevadm info --export-db
38#
6472f5f9
GB
39# For hwdb format and systemd behavior:
40# https://www.freedesktop.org/software/systemd/man/hwdb.html
41#
1f886b50
BN
42# Allowed properties are:
43# ACCEL_MOUNT_MATRIX=<matrix>
44#
45# where <matrix> is a mount-matrix in the format specified in the IIO
46# subsystem[1]. The default, when unset, is equivalent to:
47# ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, 1
48# eg. the identity matrix.
49#
50# [1]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dfc57732ad38f93ae6232a3b4e64fd077383a0f1
6472f5f9 51#
b141888b
HG
52# Note for devices where the display (LCD panel) is mounted non upright
53# in the device's casing, e.g. mounted upside-down or 90 degree rotated,
54# the ACCEL_MOUNT_MATRIX should be such that the x and y axis matches the
55# x and y axis of the display, not those of the casing, so that desktop
56# environments using the accelerometer data for rotation will e.g.
57# automatically flip their output for an upside-down display when the device
58# is held upright.
1f886b50
BN
59#
60# Sort by brand, model
61
7ab6111f
HG
62#########################################
63# Acer
64#########################################
a2680b6f
GB
65sensor:modalias:acpi:INVN6500*:dmi:*svn*Acer*:*pn*AspireSW5-011*
66 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
67
d8bd96ab
68sensor:modalias:acpi:INVN6500*:dmi:*svn*Acer*:*pn*AspireSW5-012*
69 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
70
7ab6111f
HG
71sensor:modalias:acpi:BMA250E*:dmi:*:svnAcer:pnIconiaW1-810:*
72 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
73
b0488902
HG
74#########################################
75# Archos
76#########################################
77sensor:modalias:acpi:SMO8500*:dmi:*:svnARCHOS:pnARCHOS80Cesium:*
78 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
79
e8e4f5d9
GB
80#########################################
81# AsusTek
82#########################################
7ab6111f
HG
83sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100CHI*
84 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
85
86sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100TA*
87 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
88
dd1d57b0
HG
89sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:pnT200TA*
90 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
91
ff9d955b
FL
92sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:pn*E205SA*
93 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
94
28da8a9f
SDR
95sensor:modalias:acpi:INVN6500*:dmi:*svn*ASUSTeK*:*pn*TP300LA*
96 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
97
d74c1dea
TS
98sensor:modalias:acpi:INVN6500*:dmi:*svn*ASUSTeK*:*pn*TP300LD*
99 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
100
40591b41
PS
101sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LJ*
102 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
103
b391a8d8
GB
104sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP500LB*
105 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
106
ae934a73 107sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LD*
e9ee721a 108 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
ae934a73 109
3a26bc1d
HG
110#########################################
111# Axxo
112#########################################
113sensor:modalias:acpi:SMO8500*:dmi:*:svnStandard:pnWCBT1011:*
114 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
115
7ab6111f
HG
116#########################################
117# Chuwi
118#########################################
119
016d5f6f
HG
120# Chuwi Vi8 (CWI506)
121sensor:modalias:acpi:BMA250E*:dmi:bvnINSYDECorp.:bvrCHUWI.D86JLBNR*:svnInsyde:pni86:*
122 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
123
124# Chuwi Vi8 Plus (CWI519)
7ab6111f
HG
125sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnD2D3_Vi8A1:*
126 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
127
2a2fcbee
HG
128# Chuwi Hi8 Pro
129sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnX1D3_C806N:*
130 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
131
c6111112
SDR
132# Chuwi Hi10 Pro
133sensor:modalias:acpi:BOSC0200*:dmi:*:svn*CHUWIINNOVATIONANDTECHNOLOGY*:pnHi10protablet:*
134 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
135
a2896612
GL
136# Chuwi Hi12
137sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnP02BD6_HI-122LP:*
138 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
139
c70b51a7 140# Chuwi Hi13
141sensor:modalias:acpi:KIOX000A*:dmi:svnChuwi*:pnHi13
142 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
143
7c3bdf54 144# Chuwi HiBook
534ab2ea
VV
145# Chuwi HiBook does not have its product name filled, so we
146# match the entire dmi-alias, assuming that the use of a BOSC0200 +
147# bios-version + bios-date combo is unique
148sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd05/07/2016:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnHampoo:rnCherryTrailCR:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:
312fe35a 149sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd05/28/2016:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnHampoo:rnCherryTrailCR:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:
27c1decf 150 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
7c3bdf54 151
7ab6111f
HG
152#########################################
153# Cube
154#########################################
155
156# Cube iWork8 Air
157sensor:modalias:acpi:KIOX000A*:dmi:*:svncube:pni1-TF:*
158 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
159
53349ea7
DG
160# Cube i7 Stylus
161sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni7Stylus:*
162 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
163
82cb27cf
OM
164# Cube i7 Book (i16)
165sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni16:*
166 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
167
2b3df196
RSA
168# Cube i7 Stylus I8L Model
169sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni8-L:*
170 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
171
839e7ac2
HG
172#########################################
173# Cytrix (Mytrix)
174#########################################
175sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t*
176 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
177
dba601ac
R
178#########################################
179# DEXP
180#########################################
181sensor:modalias:acpi:SMO8500*:dmi:*svn*DEXP*:*pn*DEXPOEM*
182 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
183
ebf482e7
DD
184#########################################
185# Endless
186#########################################
187sensor:modalias:acpi:ACCE0001*:dmi:*svnEndless*:*pnELT-NL3*
188 ACCEL_MOUNT_MATRIX=0, 1, 0; 0, 0, -1; -1, 0, 0
189
fc17f194
DL
190#########################################
191# Eve Technology
192#########################################
193sensor:modalias:acpi:KIOX000A*:dmi:*:svnEVE*:pnEveV:*
194 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
195
7ab6111f
HG
196#########################################
197# GP-electronic
198#########################################
199sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrBYT70A.YNCHENG.WIN.007:*:svnInsyde:pnT701:*
14d89e32 200 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
7ab6111f 201
128e6266
TA
202#########################################
203# HP
204#########################################
205sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8540w*
206sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8560w*
207 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 0, -1; 0, 1, 0
208
7ab6111f 209sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
79f3cd2b 210sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream8Tablet:*
7ab6111f
HG
211 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
212
213#########################################
214# I.T.Works
215#########################################
216
217# The I.T.Works TW891 2-in-1's DMI has the product-name field set, but not
218# the sys-vendor field. This makes the DMI data a bit generic, so we match
219# the whole dmi modalias, except for the BIOS version/date
220sensor: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.:
221 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
222
03994fa2
HG
223# I.T.Works TW701 7" windows tablet, same hw as Trekstor ST70416-6
224sensor:modalias:acpi:BMA250*:dmi:*:bvritWORKS.G.WI71C.JGBMRB*:*:svnInsyde:pni71c:*
225 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
226
839e7ac2
HG
227#########################################
228# iOTA 360
229#########################################
230sensor:modalias:acpi:KIOX000A*:dmi:*svn*iOTA*:*pn*IOTA2210*
231 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
232
7ab6111f
HG
233#########################################
234# Jumper
235#########################################
236
237# EZpad mini 3
238sensor:modalias:acpi:BOSC0200*:dmi:bvnINSYDECorp.:bvrjumperx.T87.KFBNEE*
239 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
240
47628ee1
LB
241# EZpad 6 Pro
242sensor:modalias:acpi:BOSC0200*:dmi:*:svnJumper:pnEZpad:*:rvr.A006:*
243 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
244
d5a21d85
HG
245#########################################
246# Kazam
247#########################################
248sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrVISION.I22K*:svnKAZAM:pnVISION:*
249 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
250
7ab6111f
HG
251#########################################
252# Lamina
253#########################################
254sensor:modalias:acpi:SMO8500*:dmi:*svnLamina*:*pnT701BR.SE*
255 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
256
20d8b122
ML
257sensor:modalias:acpi:KIOX000A*:dmi:*svnLAMINA:pnT-1016BNORD*
258 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
259
586377fc 260#########################################
261# Lenovo
262#########################################
263sensor:modalias:acpi:NCPE0388*:dmi:*:rnLenovoYOGA510-14IKB:*
264 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
265
5cfde7ad
LKS
266sensor:modalias:acpi:BOSC0200:BOSC0200:dmi:*ThinkPadYoga11e3rdGen*
267 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
268
51aa8826 269# Miix3-1030
575cfb62
MS
270sensor:modalias:acpi:BMA250E*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-1030:*
271 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
272
d167ea98
HG
273# IdeaPad Miix 310 note this only is for BIOS version (bvr) 1HCN4?WW, which has
274# a portrait LCD panel, versions with bvr 1HCN3?WW have a landscape panel
275sensor:modalias:acpi:KIOX000A*:dmi:bvnLENOVO:bvr1HCN4?WW:*:svnLENOVO:pn80SG:*
276 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
277
34ee3102 278# IdeaPad Miix 320, different batches use a different sensor
51aa8826 279sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80XF:*
34ee3102 280sensor:modalias:acpi:SMO8840*:dmi:*:svnLENOVO:pn80XF:pvrLenovoMIIX320*
51aa8826 281 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
282
4b650021
PH
283# IdeaPad Miix 510
284sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80XE:*
285 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
286
0a186735
PM
287#########################################
288# LINX
289#########################################
290
291# Linx 1010B
292sensor:modalias:acpi:BOSC0200*:dmi:*:svnLINX*:pnLINX1010B:*
293 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
294
dc6e5724 295# Linx 12X64
e115ca97 296sensor:modalias:acpi:KIOX000A*:dmi:*:svnLINX*:pnLINX12X64:*
dc6e5724 297 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
298
366b21ef
HG
299#########################################
300# MSI
301#########################################
302sensor:modalias:acpi:SMO8500*:dmi:*:svnMicro-StarInternationalCo.,Ltd.:pnS100:*
303 ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1
304
fb5881bf
HG
305#########################################
306# Nuvision (TMax)
307#########################################
308sensor:modalias:acpi:KIOX000A*:dmi:*:svnTMAX:pnTM800W560L:*
309 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
310
3ecb1077
HG
311#########################################
312# Onda
313#########################################
314sensor:modalias:acpi:BMA250E*:dmi:bvnINSYDECorp.:bvrONDA.D89*:svnInsyde:pnONDATablet:*
315sensor:modalias:acpi:BMA250E*:dmi:bvnINSYDECorp.:bvrONDA.W89*:svnInsyde:pnONDATablet:*
316 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
317
7ab6111f
HG
318#########################################
319# Peaq
320#########################################
321sensor:modalias:acpi:SMO8500*:dmi:*:svnPEAQ:pnPEAQPMMC1010MD99187:*
322 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
323
324#########################################
325# Pipo
326#########################################
327sensor:modalias:acpi:KIOX000A*:dmi:*:svnPIPO:pnW2S:*
328 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
329
86f8fd71
HG
330# Pipo W4
331sensor:modalias:acpi:SMO8500*:dmi:*:bvrV8L_WIN32_CHIPHD_*_DX:*:rvnAMICorporation:rnAptioCRB:*
332 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
333
7ab6111f
HG
334#########################################
335# Ployer
336#########################################
337sensor:modalias:acpi:BMA250E*:dmi:*:svnShenzhenPLOYER*:pnMOMO7W:*
338 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
339
340#########################################
341# Point of View
342#########################################
343
344# The Point of View TAB-P800W does not have its product name filled, so we
345# match the entire dmi-alias, assuming that the use of a BMA250E +
346# bios-version + bios-date combo is unique
347sensor: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.:
b870058f 348sensor: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.:
7ab6111f
HG
349 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
350
0611b8f0
HG
351#########################################
352# Teclast
353#########################################
354sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX80Pro:*
355 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
356
04a0ea93
PC
357sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX98PlusII:*
358 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
359
7ab6111f
HG
360#########################################
361# Trekstor
362#########################################
363sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnInsyde:pnST70416-6:*
66500345 364sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnTrekStor:pnSurfTabwintron7.0ST70416-6:*
7ab6111f 365 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
fd2f44a2 366
e672513a
MS
367#########################################
368# Umax
369#########################################
370sensor:modalias:acpi:SMO8500*:dmi:*:svnUMAX:pnVisionBook10WiPlus:*
371 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
372
fd2f44a2
HG
373#########################################
374# Yours
375#########################################
376sensor:modalias:acpi:BMA250E*:dmi:*:svnYOURS:pnY8W81:*
377 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1