mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
rules: Allow quirks for platform IIO accelerometers
Chromebooks have IIO accelerometers with modalias as platform:cros-ec-accel. This commit allows these devices to use systemd orientation quirk.
This commit is contained in:
parent
a007d6fc2a
commit
9832839c47
@ -3,7 +3,7 @@
|
||||
ACTION=="remove", GOTO="sensor_end"
|
||||
|
||||
# device matching the sensor's name and the machine's DMI data for IIO devices
|
||||
SUBSYSTEM=="iio", KERNEL=="iio*", SUBSYSTEMS=="usb|i2c", \
|
||||
SUBSYSTEM=="iio", KERNEL=="iio*", SUBSYSTEMS=="usb|i2c|platform", \
|
||||
IMPORT{builtin}="hwdb 'sensor:modalias:$attr{modalias}:$attr{[dmi/id]modalias}'", \
|
||||
GOTO="sensor_end"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user