This is useful for seeing what devices are detected by the system.

Signed-off-by: Philip Prindeville <phil...@redfish-solutions.com>
---

Index: package/base-files/files/etc/hotplug2-common.rules
===================================================================
--- package/base-files/files/etc/hotplug2-common.rules  (revision 20749)
+++ package/base-files/files/etc/hotplug2-common.rules  (working copy)
@@ -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


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to