Udev Sidenotes

Udev Sidenotes

Debugging

Automatic Debugging

Set udev_log=debug in /etc/udev/udev.conf for a persistent change, run udevadm control --log-priority=debug for a temporary change.

If you are running systemd, you can find the output in journalctl --follow | grep udev

Manual Printing

Add RUN+="/bin/sh -c 'echo \"hello world\" > /dev/kmsg'" to your rules, when the rule is executed you will the message in dmesg or journalctl

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email