projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ec499e
)
procd: Fix USB cellular modems hotplug events
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 7 Jun 2014 11:54:13 +0000
(11:54 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 7 Jun 2014 11:54:13 +0000
(11:54 +0000)
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 <mreeve@tenxnetworks.com>
SVN-Revision: 41039
package/system/procd/files/hotplug.json
patch
|
blob
|
history
diff --git
a/package/system/procd/files/hotplug.json
b/package/system/procd/files/hotplug.json
index b3121789e0ace21917ba3989ad7f34c59fac8f1e..57fc40e54493c25d531b099f1ac38c24561bb896 100644
(file)
--- a/
package/system/procd/files/hotplug.json
+++ b/
package/system/procd/files/hotplug.json
@@
-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" ]
],