summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli2010-04-10 18:35:14 +0000
committerFlorian Fainelli2010-04-10 18:35:14 +0000
commit0deef22ba65293199725e47ecaee5e3da30a5ae2 (patch)
tree44112374d53219149d160537105a06079176d616
parent9592134d12d0f355c8f70536062e078f6cd2164a (diff)
downloadarchive-0deef22ba65293199725e47ecaee5e3da30a5ae2.tar.gz
[package] add debugging entry to hotplug config
This is useful for seeing what devices are detected by the system. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> SVN-Revision: 20785
-rw-r--r--package/base-files/files/etc/hotplug2-common.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules
index bb76667bb9..96a473116a 100644
--- a/package/base-files/files/etc/hotplug2-common.rules
+++ b/package/base-files/files/etc/hotplug2-common.rules
@@ -1,4 +1,10 @@
+# uncomment me to log hotplug events
+# DEVPATH is set {
+# nothrottle
+# exec logger -s -t hotplug -p daemon.info "name=%DEVICENAME%, path=%DEVPATH%"
+# }
+
DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio|hvc) {
nothrottle
makedev /dev/%DEVICENAME% 0666