PLDWWW: Docs/UdevFAQ

Mateusz Korniak "Mateusz Korniak" at pld-linux.org
Thu Apr 15 14:11:07 CEST 2010


Author: Mateusz Korniak   Date: Thu Apr 15 12:11:07 2010 GMT
Module: PLDWWW   URL: http://www.pld-linux.org/Docs/UdevFAQ?action=diff&rev2=16&rev1=15
---- Log message:
How to test rule I have just written?

---- Page affected: Docs/UdevFAQ

---- Diffs:

================================================================
The comment on the change is:
How to test rule I have just written?

  
   1. set `udev_log` to `info` in ''/etc/udev/udev.conf'' to improve verbosity of `udev`;
   1. use `udevmonitor` (see `man udevmonitor`) to get even more infomation from older udev;
-  1. use  `udevadm monitor` (see 'man udevadm') to get even more infomation;
+  1. use  `udevadm monitor` (see 'man udevadm') to get even more infomation (udev-151) ;
   1. check the ''linux-hotplug'' list's archive at http://marc.theaimsgroup.com/?l=linux-hotplug-devel.
+ 
+ == How to test rule I have just written? ==
+ Reload rules:
+ {{{
+ udevadm control --reload-rules # (udev-151)
+ }}}
+ Trigger event (replug device) or trigger all events:
+ {{{
+ udevadm trigger  --verbose 
+ }}}
  
  If still unsure, ask your question on PLD [:MailingLists:mailing lists].
  ----


More information about the pld-cvs-commit mailing list