eudev/rules
Boian Bonev 152456e741
udev: hwdb: Add rules to match cros-ec-accel by 'location' sysfs file
The cros-ec-accel devices report their mounting location by the 'label'
sysfs file only since Linux v6.0. With earlier kernels, a nonstandard
'location' file reports this, but slightly differently (lid instead of
display) [1].

Add udev rules to import the correct hwdb entries based on this
'location' file for cros-ec-accel devices, so that the base-mounted
accel matrix has the correct value for older kernels as well.

[1] https://kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio-cros-ec

systemd-commit ac3c031e3862e3d74e64b108e0bafcaefa71c792
Author: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Date:   Thu Aug 18 19:56:13 2022 +0300
2022-09-22 01:29:51 +03:00
..
50-udev-default.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
60-autosuspend.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
60-block.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
60-cdrom_id.rules rules: update 2017-09-03 13:20:33 -04:00
60-drm.rules rules: update 2017-09-03 13:20:33 -04:00
60-evdev.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
60-fido-id.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
60-input-id.rules rules: update 2018-02-20 07:36:20 -05:00
60-persistent-alsa.rules move imported udev into place 2012-04-04 05:05:07 +02:00
60-persistent-input.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
60-persistent-storage-tape.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
60-persistent-storage.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
60-persistent-v4l.rules udev: move all unconditionally installed rules to rules/ 2012-04-14 20:10:03 +02:00
60-sensor.rules udev: hwdb: Add rules to match cros-ec-accel by 'location' sysfs file 2022-09-22 01:29:51 +03:00
60-serial.rules rules: merge tty and serial rules file 2015-03-18 15:55:48 -04:00
64-btrfs.rules.in Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
70-camera.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
70-joystick.rules rules: update 2018-02-20 07:36:20 -05:00
70-memory.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
70-mouse.rules hwdb: add rule and first entry for PS/2 mice 2014-12-29 11:42:46 -05:00
70-touchpad.rules rules: update 2016-11-23 20:00:48 -05:00
75-net-description.rules rules: bring up to date with upstream 2013-07-30 08:48:51 -04:00
75-probe_mtd.rules Permit users to disable module loading support 2012-11-23 01:55:28 -05:00
78-sound-card.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
80-drivers.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
80-net-name-slot.rules 80-net-name-slot.rules: restored for issue #117. 2015-06-02 10:10:45 -04:00
81-net-dhcp.rules Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00
Makefile.am Merge suitable rules changes from systemd 2022-05-26 19:31:43 +03:00