]> git.ipfire.org Git - thirdparty/systemd.git/blame - hwdb/60-sensor.hwdb
Merge pull request #8258 from keszybz/log-issues
[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
baf5e653 18# udevadm trigger -y `dirname $(udevadm info -n "/dev/iio:deviceXXX" -q path)`
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#########################################
d8bd96ab
54sensor:modalias:acpi:INVN6500*:dmi:*svn*Acer*:*pn*AspireSW5-012*
55 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
56
7ab6111f
HG
57sensor:modalias:acpi:BMA250E*:dmi:*:svnAcer:pnIconiaW1-810:*
58 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
59
e8e4f5d9
GB
60#########################################
61# AsusTek
62#########################################
7ab6111f
HG
63sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100CHI*
64 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
65
66sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100TA*
67 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
68
dd1d57b0
HG
69sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:pnT200TA*
70 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
71
28da8a9f
SDR
72sensor:modalias:acpi:INVN6500*:dmi:*svn*ASUSTeK*:*pn*TP300LA*
73 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
74
d74c1dea
TS
75sensor:modalias:acpi:INVN6500*:dmi:*svn*ASUSTeK*:*pn*TP300LD*
76 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
77
40591b41
PS
78sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LJ*
79 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
80
b391a8d8
GB
81sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP500LB*
82 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
83
3a26bc1d
HG
84#########################################
85# Axxo
86#########################################
87sensor:modalias:acpi:SMO8500*:dmi:*:svnStandard:pnWCBT1011:*
88 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
89
7ab6111f
HG
90#########################################
91# Chuwi
92#########################################
93
016d5f6f
HG
94# Chuwi Vi8 (CWI506)
95sensor:modalias:acpi:BMA250E*:dmi:bvnINSYDECorp.:bvrCHUWI.D86JLBNR*:svnInsyde:pni86:*
96 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
97
98# Chuwi Vi8 Plus (CWI519)
7ab6111f
HG
99sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnD2D3_Vi8A1:*
100 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
101
2a2fcbee
HG
102# Chuwi Hi8 Pro
103sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnX1D3_C806N:*
104 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
105
c6111112
SDR
106# Chuwi Hi10 Pro
107sensor:modalias:acpi:BOSC0200*:dmi:*:svn*CHUWIINNOVATIONANDTECHNOLOGY*:pnHi10protablet:*
108 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
109
c70b51a7 110# Chuwi Hi13
111sensor:modalias:acpi:KIOX000A*:dmi:svnChuwi*:pnHi13
112 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
113
7c3bdf54 114# Chuwi HiBook
534ab2ea
VV
115# Chuwi HiBook does not have its product name filled, so we
116# match the entire dmi-alias, assuming that the use of a BOSC0200 +
117# bios-version + bios-date combo is unique
118sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd05/07/2016:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnHampoo:rnCherryTrailCR:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:
27c1decf 119 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
7c3bdf54 120
7ab6111f
HG
121#########################################
122# Cube
123#########################################
124
125# Cube iWork8 Air
126sensor:modalias:acpi:KIOX000A*:dmi:*:svncube:pni1-TF:*
127 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
128
53349ea7
DG
129# Cube i7 Stylus
130sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni7Stylus:*
131 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
132
82cb27cf
OM
133# Cube i7 Book (i16)
134sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni16:*
135 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
136
ebf482e7
DD
137#########################################
138# Endless
139#########################################
140sensor:modalias:acpi:ACCE0001*:dmi:*svnEndless*:*pnELT-NL3*
141 ACCEL_MOUNT_MATRIX=0, 1, 0; 0, 0, -1; -1, 0, 0
142
7ab6111f
HG
143#########################################
144# GP-electronic
145#########################################
146sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrBYT70A.YNCHENG.WIN.007:*:svnInsyde:pnT701:*
14d89e32 147 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
7ab6111f 148
128e6266
TA
149#########################################
150# HP
151#########################################
152sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8540w*
153sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8560w*
154 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 0, -1; 0, 1, 0
155
7ab6111f 156sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
79f3cd2b 157sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream8Tablet:*
7ab6111f
HG
158 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
159
160#########################################
161# I.T.Works
162#########################################
163
164# The I.T.Works TW891 2-in-1's DMI has the product-name field set, but not
165# the sys-vendor field. This makes the DMI data a bit generic, so we match
166# the whole dmi modalias, except for the BIOS version/date
167sensor: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.:
168 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
169
170#########################################
171# Jumper
172#########################################
173
174# EZpad mini 3
175sensor:modalias:acpi:BOSC0200*:dmi:bvnINSYDECorp.:bvrjumperx.T87.KFBNEE*
176 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
177
47628ee1
LB
178# EZpad 6 Pro
179sensor:modalias:acpi:BOSC0200*:dmi:*:svnJumper:pnEZpad:*:rvr.A006:*
180 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
181
7ab6111f
HG
182#########################################
183# Lamina
184#########################################
185sensor:modalias:acpi:SMO8500*:dmi:*svnLamina*:*pnT701BR.SE*
186 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
187
20d8b122
ML
188sensor:modalias:acpi:KIOX000A*:dmi:*svnLAMINA:pnT-1016BNORD*
189 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
190
586377fc 191#########################################
192# Lenovo
193#########################################
194sensor:modalias:acpi:NCPE0388*:dmi:*:rnLenovoYOGA510-14IKB:*
195 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
196
5cfde7ad
LKS
197sensor:modalias:acpi:BOSC0200:BOSC0200:dmi:*ThinkPadYoga11e3rdGen*
198 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
199
51aa8826 200# Miix3-1030
575cfb62
MS
201sensor:modalias:acpi:BMA250E*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-1030:*
202 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
203
51aa8826 204# IdeaPad Miix 320
205sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80XF:*
206 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
207
7ab6111f
HG
208#########################################
209# Peaq
210#########################################
211sensor:modalias:acpi:SMO8500*:dmi:*:svnPEAQ:pnPEAQPMMC1010MD99187:*
212 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
213
214#########################################
215# Pipo
216#########################################
217sensor:modalias:acpi:KIOX000A*:dmi:*:svnPIPO:pnW2S:*
218 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
219
220#########################################
221# Ployer
222#########################################
223sensor:modalias:acpi:BMA250E*:dmi:*:svnShenzhenPLOYER*:pnMOMO7W:*
224 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
225
226#########################################
227# Point of View
228#########################################
229
230# The Point of View TAB-P800W does not have its product name filled, so we
231# match the entire dmi-alias, assuming that the use of a BMA250E +
232# bios-version + bios-date combo is unique
233sensor: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.:
234 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
235
0611b8f0
HG
236#########################################
237# Teclast
238#########################################
239sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX80Pro:*
240 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
241
04a0ea93
PC
242sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX98PlusII:*
243 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
244
7ab6111f
HG
245#########################################
246# Trekstor
247#########################################
248sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnInsyde:pnST70416-6:*
66500345 249sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnTrekStor:pnSurfTabwintron7.0ST70416-6:*
7ab6111f
HG
250 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
251
0c0097a6
JH
252#########################################
253# Cytrix (Mytrix)
254#########################################
255sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t*
256 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1