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