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