]> git.ipfire.org Git - thirdparty/systemd.git/blame - hwdb/60-sensor.hwdb
meson: do not install RPM macros if rpmmacrosdir is set to no (#7430)
[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
d74c1dea
TS
69sensor:modalias:acpi:INVN6500*:dmi:*svn*ASUSTeK*:*pn*TP300LD*
70 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
71
40591b41
PS
72sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LJ*
73 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
74
7ab6111f
HG
75#########################################
76# Chuwi
77#########################################
78
79# Chuwi Vi8 Plus
80sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnD2D3_Vi8A1:*
81 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
82
2a2fcbee
HG
83# Chuwi Hi8 Pro
84sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnX1D3_C806N:*
85 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
86
c70b51a7 87# Chuwi Hi13
88sensor:modalias:acpi:KIOX000A*:dmi:svnChuwi*:pnHi13
89 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
90
7ab6111f
HG
91#########################################
92# Cube
93#########################################
94
95# Cube iWork8 Air
96sensor:modalias:acpi:KIOX000A*:dmi:*:svncube:pni1-TF:*
97 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
98
53349ea7
DG
99# Cube i7 Stylus
100sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni7Stylus:*
101 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
102
ebf482e7
DD
103#########################################
104# Endless
105#########################################
106sensor:modalias:acpi:ACCE0001*:dmi:*svnEndless*:*pnELT-NL3*
107 ACCEL_MOUNT_MATRIX=0, 1, 0; 0, 0, -1; -1, 0, 0
108
7ab6111f
HG
109#########################################
110# GP-electronic
111#########################################
112sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrBYT70A.YNCHENG.WIN.007:*:svnInsyde:pnT701:*
14d89e32 113 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
7ab6111f 114
128e6266
TA
115#########################################
116# HP
117#########################################
118sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8540w*
119sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8560w*
120 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 0, -1; 0, 1, 0
121
7ab6111f 122sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
79f3cd2b 123sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream8Tablet:*
7ab6111f
HG
124 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
125
126#########################################
127# I.T.Works
128#########################################
129
130# The I.T.Works TW891 2-in-1's DMI has the product-name field set, but not
131# the sys-vendor field. This makes the DMI data a bit generic, so we match
132# the whole dmi modalias, except for the BIOS version/date
133sensor: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.:
134 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
135
136#########################################
137# Jumper
138#########################################
139
140# EZpad mini 3
141sensor:modalias:acpi:BOSC0200*:dmi:bvnINSYDECorp.:bvrjumperx.T87.KFBNEE*
142 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
143
144#########################################
145# Lamina
146#########################################
147sensor:modalias:acpi:SMO8500*:dmi:*svnLamina*:*pnT701BR.SE*
148 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
149
20d8b122
ML
150sensor:modalias:acpi:KIOX000A*:dmi:*svnLAMINA:pnT-1016BNORD*
151 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
152
586377fc 153#########################################
154# Lenovo
155#########################################
156sensor:modalias:acpi:NCPE0388*:dmi:*:rnLenovoYOGA510-14IKB:*
157 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
158
5cfde7ad
LKS
159sensor:modalias:acpi:BOSC0200:BOSC0200:dmi:*ThinkPadYoga11e3rdGen*
160 ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
161
7ab6111f
HG
162#########################################
163# Peaq
164#########################################
165sensor:modalias:acpi:SMO8500*:dmi:*:svnPEAQ:pnPEAQPMMC1010MD99187:*
166 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
167
168#########################################
169# Pipo
170#########################################
171sensor:modalias:acpi:KIOX000A*:dmi:*:svnPIPO:pnW2S:*
172 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
173
174#########################################
175# Ployer
176#########################################
177sensor:modalias:acpi:BMA250E*:dmi:*:svnShenzhenPLOYER*:pnMOMO7W:*
178 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
179
180#########################################
181# Point of View
182#########################################
183
184# The Point of View TAB-P800W does not have its product name filled, so we
185# match the entire dmi-alias, assuming that the use of a BMA250E +
186# bios-version + bios-date combo is unique
187sensor: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.:
188 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
189
190#########################################
191# Trekstor
192#########################################
193sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnInsyde:pnST70416-6:*
194 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
195
0c0097a6
JH
196#########################################
197# Cytrix (Mytrix)
198#########################################
199sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t*
200 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1