meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:udev [2019/10/16 08:56] โ [Getting info] niziak | linux:udev [2023/12/13 16:31] (current) โ niziak | ||
---|---|---|---|
Line 6: | Line 6: | ||
=== Testing rules === | === Testing rules === | ||
<code bash> | <code bash> | ||
+ | |||
+ | NOTE: This program is for debugging only, it does not run any program specified by a RUN key. It may show incorrect results, because some values may be different, or not available at a simulation run. | ||
==== Getting info ==== | ==== Getting info ==== | ||
Line 24: | Line 26: | ||
</ | </ | ||
+ | <code bash> | ||
+ | udevadm control --log-priority=debug | ||
+ | |||
+ | </ | ||
==== Rules ==== | ==== Rules ==== | ||
Line 95: | Line 101: | ||
'' | '' | ||
+ | Define symlink name in device tree (add property '' | ||
+ | < | ||
+ | &pwm4 { | ||
+ | pinctrl-names = " | ||
+ | pinctrl-0 = <& | ||
+ | status = " | ||
+ | symlink = " | ||
+ | }; | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ATTR{device/ | ||
+ | </ | ||
+ | |||
+ | See: | ||
+ | - [[https:// | ||
+ | - [[https:// | ||
+ | - [[https:// | ||
=== Triggering systemd === | === Triggering systemd === | ||
Line 102: | Line 126: | ||
SUBSYSTEM==" | SUBSYSTEM==" | ||
</ | </ | ||
+ | |||
+ | More info about systemd interactions: | ||
=== Prevent ModemManager === | === Prevent ModemManager === |