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
[ "null", "full", "ptmx", "zero" ],
],
[ "regex", "DEVNAME",
[ "null", "full", "ptmx", "zero" ],
],
[ "regex", "DEVNAME",
- [ "^gpio", "^hvc", "^tty" ],
- [ "eq", "SUBSYSTEM",
- [ "tty", "usb-serial" ]
+ [ "eq", "SUBSYSTEM", "usb-serial" ],
+ [ "regex", "DEVNAME",
+ [ "^ttyUSB", "^ttyACM" ]
- [ "regex", "DEVNAME", "^ttyUSB" ],
],
[ "exec", "/sbin/hotplug-call", "tty" ]
],
],
[ "exec", "/sbin/hotplug-call", "tty" ]
],