aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/system/procd/files/hotplug.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/system/procd/files/hotplug.json b/package/system/procd/files/hotplug.json
index b3121789e0..57fc40e544 100644
--- 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" ]
],