mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-23 23:10:57 +07:00
fa741e87a8
The IIO subsystem exposes a 'label' sysfs file to help userspace better identify its devices [1]. Standardized labels include the sensor type along with its location, including 'accel-base' and 'accel-display'. Most Chrome OS boards have two accelerometers that are indistinguishable except for this label (or a 'location' sysfs file before Linux v6.0), and need different mounting matrix corrections based on their location. Add a udev rule that matches hwdb entries using this label, so we can correct both accelerometers on these devices with hwdb entries. The existing rules and hwdb entries are not modified to keep potential out-of-tree entries working, but new entries in this form will override existing ones. Also add currently standardized labels to parse-hwdb.py. [1] https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio systemd-commit e2f25ae64889ea7fe8a7556ee5fba91bc2a0eab8 Author: Alper Nebi Yasak <alpernebiyasak@gmail.com> Date: Thu Aug 18 17:27:22 2022 +0300 |
||
---|---|---|
.. | ||
50-udev-default.rules | ||
60-autosuspend.rules | ||
60-block.rules | ||
60-cdrom_id.rules | ||
60-drm.rules | ||
60-evdev.rules | ||
60-fido-id.rules | ||
60-input-id.rules | ||
60-persistent-alsa.rules | ||
60-persistent-input.rules | ||
60-persistent-storage-tape.rules | ||
60-persistent-storage.rules | ||
60-persistent-v4l.rules | ||
60-sensor.rules | ||
60-serial.rules | ||
64-btrfs.rules.in | ||
70-camera.rules | ||
70-joystick.rules | ||
70-memory.rules | ||
70-mouse.rules | ||
70-touchpad.rules | ||
75-net-description.rules | ||
75-probe_mtd.rules | ||
78-sound-card.rules | ||
80-drivers.rules | ||
80-net-name-slot.rules | ||
81-net-dhcp.rules | ||
Makefile.am |