merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 03 Feb 2014 19:32:52 +0200
changeset 1561 c82ece932653
parent 1560 9c09e84a175a (current diff)
parent 1553 342448057aef (diff)
child 1564 828f23c756fc
merged
--- a/udev.rst	Mon Feb 03 11:54:28 2014 +0200
+++ b/udev.rst	Mon Feb 03 19:32:52 2014 +0200
@@ -12,6 +12,15 @@
  * http://reactivated.net/writing_udev_rules.html
  * http://wiki.debian.org/udev
  * https://wiki.archlinux.org/index.php/Udev
+ * http://wiki.gentoo.org/wiki/Udev
+ * http://www.crashcourse.ca/wiki/index.php/Udev
+
+Record udev events.
+===================
+
+This dump udev events to console::
+
+  $ sudo udevadm monitor
 
 View device capability with udev compatible format.
 ===================================================
@@ -25,3 +34,10 @@
 
   $ udevinfo -a -p $(udevinfo -q path -n /dev/sdc)
 
+Debugging udev rule.
+====================
+::
+
+  $ sudo udevadm trigger
+  $ sudo udevadm test $(udevadm info -n /dev/$DEV -q path)
+