]> git.ipfire.org Git - thirdparty/systemd.git/blame - hwdb/60-sensor.hwdb
systemctl: don't do ANSI underlining on TERM=linux (#6778)
[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#
1f886b50
BN
41#
42# Sort by brand, model
43
7ab6111f
HG
44#########################################
45# Acer
46#########################################
47sensor:modalias:acpi:BMA250E*:dmi:*:svnAcer:pnIconiaW1-810:*
48 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
49
e8e4f5d9
GB
50#########################################
51# AsusTek
52#########################################
7ab6111f
HG
53sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100CHI*
54 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
55
56sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100TA*
57 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
58
40591b41
PS
59sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LJ*
60 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
61
7ab6111f
HG
62#########################################
63# Chuwi
64#########################################
65
66# Chuwi Vi8 Plus
67sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnD2D3_Vi8A1:*
68 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
69
c70b51a7 70# Chuwi Hi13
71sensor:modalias:acpi:KIOX000A*:dmi:svnChuwi*:pnHi13
72 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
73
7ab6111f
HG
74#########################################
75# Cube
76#########################################
77
78# Cube iWork8 Air
79sensor:modalias:acpi:KIOX000A*:dmi:*:svncube:pni1-TF:*
80 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
81
53349ea7
DG
82# Cube i7 Stylus
83sensor:modalias:acpi:KIOX000A*:dmi:*:svnCube:pni7Stylus:*
84 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
85
ebf482e7
DD
86#########################################
87# Endless
88#########################################
89sensor:modalias:acpi:ACCE0001*:dmi:*svnEndless*:*pnELT-NL3*
90 ACCEL_MOUNT_MATRIX=0, 1, 0; 0, 0, -1; -1, 0, 0
91
7ab6111f
HG
92#########################################
93# GP-electronic
94#########################################
95sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrBYT70A.YNCHENG.WIN.007:*:svnInsyde:pnT701:*
96 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
97
128e6266
TA
98#########################################
99# HP
100#########################################
101sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8540w*
102sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8560w*
103 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 0, -1; 0, 1, 0
104
7ab6111f
HG
105sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
106 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
107
108#########################################
109# I.T.Works
110#########################################
111
112# The I.T.Works TW891 2-in-1's DMI has the product-name field set, but not
113# the sys-vendor field. This makes the DMI data a bit generic, so we match
114# the whole dmi modalias, except for the BIOS version/date
115sensor: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.:
116 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
117
118#########################################
119# Jumper
120#########################################
121
122# EZpad mini 3
123sensor:modalias:acpi:BOSC0200*:dmi:bvnINSYDECorp.:bvrjumperx.T87.KFBNEE*
124 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
125
126#########################################
127# Lamina
128#########################################
129sensor:modalias:acpi:SMO8500*:dmi:*svnLamina*:*pnT701BR.SE*
130 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
131
132#########################################
133# Peaq
134#########################################
135sensor:modalias:acpi:SMO8500*:dmi:*:svnPEAQ:pnPEAQPMMC1010MD99187:*
136 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
137
138#########################################
139# Pipo
140#########################################
141sensor:modalias:acpi:KIOX000A*:dmi:*:svnPIPO:pnW2S:*
142 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
143
144#########################################
145# Ployer
146#########################################
147sensor:modalias:acpi:BMA250E*:dmi:*:svnShenzhenPLOYER*:pnMOMO7W:*
148 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
149
150#########################################
151# Point of View
152#########################################
153
154# The Point of View TAB-P800W does not have its product name filled, so we
155# match the entire dmi-alias, assuming that the use of a BMA250E +
156# bios-version + bios-date combo is unique
157sensor: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.:
158 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
159
160#########################################
161# Trekstor
162#########################################
163sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnInsyde:pnST70416-6:*
164 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
165
0c0097a6
JH
166#########################################
167# Cytrix (Mytrix)
168#########################################
169sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t*
170 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
171