]> git.ipfire.org Git - thirdparty/systemd.git/commit
rules: add rule to generate unique symlinks for gpio devices
authorGero Schwäricke <gero.schwaericke@sevenlab.de>
Fri, 7 Nov 2025 15:09:17 +0000 (16:09 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 10 Nov 2025 14:22:08 +0000 (23:22 +0900)
commit032ea7ca12034fe3181eab913f3be2fab71a1870
treeee02d7abb22c5a1fa903283abf3a1acdb92d0d4d
parent9485379850b6aa4c678cc09907d08dc37dac695c
rules: add rule to generate unique symlinks for gpio devices

Regular generated paths make it hard to identify individual GPIO
devices. This is a challenge when using multiple USB-to-GPIO adapters
like Diolan DLN2.

The unique symlinks from this rule can be used, e.g., with gpiod tools.
rules.d/60-gpiochip.rules [new file with mode: 0644]
rules.d/meson.build