Author: nbd Date: 2014-06-07 13:54:13 +0200 (Sat, 07 Jun 2014) New Revision: 41039
Modified: trunk/package/system/procd/files/hotplug.json Log: procd: Fix USB cellular modems hotplug events Without this patch, /etc/hotplug.d/tty/30-3g won't be called when you insert or remove a USB-serial cellular modem. (see Ticket #14117) Signed-off-by: Matthew Reeve <[email protected]> Modified: trunk/package/system/procd/files/hotplug.json =================================================================== --- trunk/package/system/procd/files/hotplug.json 2014-06-07 10:35:34 UTC (rev 41038) +++ trunk/package/system/procd/files/hotplug.json 2014-06-07 11:54:13 UTC (rev 41039) @@ -13,7 +13,7 @@ [ "null", "full", "ptmx", "zero" ], ], [ "regex", "DEVNAME", - [ "^gpio", "^hvc", "^tty" ], + [ "^gpio", "^hvc" ], ], ], [ @@ -76,10 +76,10 @@ ], [ "if", [ "and", - [ "eq", "SUBSYSTEM", - [ "tty", "usb-serial" ] + [ "eq", "SUBSYSTEM", "usb-serial" ], + [ "regex", "DEVNAME", + [ "^ttyUSB", "^ttyACM" ] ], - [ "regex", "DEVNAME", "^ttyUSB" ], ], [ "exec", "/sbin/hotplug-call", "tty" ] ], _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
