This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:udevfaq [2010-04-15 13:50] Mateusz Korniak udevmonitor -> udevadm monitor |
docs:udevfaq [2010-06-15 21:38] (current) Mateusz Korniak |
||
---|---|---|---|
Line 77: | Line 77: | ||
- 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 from older udev; | - use ''udevmonitor'' (see ''man udevmonitor'') to get even more infomation from older udev; | ||
- | - use ''udevadm monitor'' (see 'man udevadm') to get even more infomation; | + | - 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 can I increase udev logs verbosity ===== | ||
+ | Try (udev-154): | ||
+ | |||
+ | <file>udevadm control --log-priority=debug | ||
+ | </file> | ||
+ | And check results in '/var/log/daemon' | ||
+ | |||
+ | |||
+ | |||
+ | ===== 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]]. | ||