]>
Commit | Line | Data |
---|---|---|
1 | # do not edit this file, it will be overwritten on update | |
2 | ||
3 | ACTION=="remove", GOTO="sensor_end" | |
4 | ||
5 | # device matching the sensor's name and the machine's DMI data for IIO devices | |
6 | SUBSYSTEM=="iio", KERNEL=="iio*", SUBSYSTEMS=="usb|i2c|platform", \ | |
7 | IMPORT{builtin}="hwdb 'sensor:modalias:$attr{modalias}:$attr{[dmi/id]modalias}'", \ | |
8 | GOTO="sensor_end" | |
9 | ||
10 | SUBSYSTEM=="input", ENV{ID_INPUT_ACCELEROMETER}=="1", SUBSYSTEMS=="acpi", \ | |
11 | IMPORT{builtin}="hwdb 'sensor:modalias:acpi:$attr{hid}:$attr{[dmi/id]modalias}'", \ | |
12 | GOTO="sensor_end" | |
13 | ||
14 | SUBSYSTEM=="input", ENV{ID_INPUT_ACCELEROMETER}=="1", SUBSYSTEMS=="platform", \ | |
15 | IMPORT{builtin}="hwdb 'sensor:modalias:platform:$id:$attr{[dmi/id]modalias}'", \ | |
16 | GOTO="sensor_end" | |
17 | ||
18 | LABEL="sensor_end" |