]> git.ipfire.org Git - thirdparty/systemd.git/blame - hwdb/60-sensor.hwdb
build-sys: install udev rule 70-joystick.{rules,hwdb} (#6363)
[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
e8e4f5d9
GB
44#########################################
45# AsusTek
46#########################################
47sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP500LB*
48 ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 0
49
40591b41
PS
50sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LJ*
51 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
52
ebf482e7
DD
53#########################################
54# Endless
55#########################################
56sensor:modalias:acpi:ACCE0001*:dmi:*svnEndless*:*pnELT-NL3*
57 ACCEL_MOUNT_MATRIX=0, 1, 0; 0, 0, -1; -1, 0, 0
58
128e6266
TA
59#########################################
60# HP
61#########################################
62sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8540w*
63sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8560w*
64 ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 0, -1; 0, 1, 0
65
1f886b50
BN
66#########################################
67# Winbook
68#########################################
69sensor:modalias:acpi:BMA250*:dmi:*svn*WinBook*:*pn*TW100*
70 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 0
0c0097a6
JH
71
72#########################################
73# Cytrix (Mytrix)
74#########################################
75sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t*
76 ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
77