]>
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 | |
18 | # udevadm trigger `dirname $(udevadm info -n "/dev/iio:deviceXXX" -q path)` | |
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 | # | |
28 | # Allowed properties are: | |
29 | # ACCEL_MOUNT_MATRIX=<matrix> | |
30 | # | |
31 | # where <matrix> is a mount-matrix in the format specified in the IIO | |
32 | # subsystem[1]. The default, when unset, is equivalent to: | |
33 | # ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, 1 | |
34 | # eg. the identity matrix. | |
35 | # | |
36 | # [1]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dfc57732ad38f93ae6232a3b4e64fd077383a0f1 | |
37 | ||
38 | # | |
39 | # Sort by brand, model | |
40 | ||
41 | ######################################### | |
42 | # Winbook | |
43 | ######################################### | |
44 | sensor:modalias:acpi:BMA250*:dmi:*svn*WinBook*:*pn*TW100* | |
45 | ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 0 |