User Tools

Site Tools


docs:udevfaq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
docs:udevfaq [2005-12-28 17:38]
PatrykZawadzki
docs:udevfaq [2010-04-15 14:11]
Mateusz Korniak How to test rule I have just written?
Line 1: Line 1:
 +/* page was renamed from UdevFAQ */
 /* pragma: section-numbers on */ /* pragma: section-numbers on */
  
Line 14: Line 15:
  
 ===== Which kernel version is recommended for proper work of udev/​udev-hotplug?​ ===== ===== Which kernel version is recommended for proper work of udev/​udev-hotplug?​ =====
-//Minimum recommended version is 2.6.12.x// (udev hotplug won't work with the older) ​+//Minimum recommended version is 2.6.12.x// (''​udev''​ ''​hotplug'' ​won't work with the older) ​
  
  
Line 75: Line 76:
  
   - set ''​udev_log''​ to ''​info''​ in ///​etc/​udev/​udev.conf//​ to improve verbosity of ''​udev''; ​   - set ''​udev_log''​ to ''​info''​ in ///​etc/​udev/​udev.conf//​ to improve verbosity of ''​udev''; ​
-  - use ''​udevmonitor''​ (see ''​man udevmonitor''​) to get even more infomation; ​+  - use ''​udevmonitor''​ (see ''​man udevmonitor''​) to get even more infomation ​from older udev;  
 +  - use  ''​udevadm monitor''​ (see 'man udevadm'​) to get even more infomation (udev-151) ​
   - check the //​linux-hotplug//​ list's archive at [[http://​marc.theaimsgroup.com/?​l=linux-hotplug-devel|http://​marc.theaimsgroup.com/?​l=linux-hotplug-devel]]. ​   - check the //​linux-hotplug//​ list's archive at [[http://​marc.theaimsgroup.com/?​l=linux-hotplug-devel|http://​marc.theaimsgroup.com/?​l=linux-hotplug-devel]]. ​
 +
 +
 +===== How to test rule I have just written? =====
 +Reload rules: ​
 +
 +<​file>​udevadm control --reload-rules # (udev-151)
 +</​file>​
 +Trigger event (replug device) or trigger all events: ​
 +
 +<​file>​udevadm trigger ​ --verbose ​
 +</​file>​
 If still unsure, ask your question on PLD [[:​MailingLists|mailing lists]]. ​ If still unsure, ask your question on PLD [[:​MailingLists|mailing lists]]. ​
 +
 +
 + 
 +
 +
 + ​[[:​CategoryUpdateNeeded|CategoryUpdateNeeded]] ​
  
  
docs/udevfaq.txt · Last modified: 2010-06-15 21:38 by Mateusz Korniak