[ "null", "full", "ptmx", "zero" ],
],
[ "regex", "DEVNAME",
- [ "^gpio", "^hvc", "^tty" ],
+ [ "^gpio", "^hvc" ],
],
],
[
[ "exec", "/etc/rc.button/%BUTTON%" ]
],
[ "if",
- [ "or",
- [ "eq", "SUBSYSTEM",
- [ "net", "input", "usb", "ieee1394", "block", "atm", "zaptel", "button" ],
- ],
- [ "and",
- [ "eq", "SUBSYSTEM", "tty" ],
- [ "regex", "DEVNAME", "^ttyUSB" ],
- ]
+ [ "eq", "SUBSYSTEM",
+ [ "net", "input", "usb", "usbmisc", "ieee1394", "block", "atm", "zaptel", "tty", "button" ]
],
[ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ]
],
+ [ "if",
+ [ "and",
+ [ "eq", "SUBSYSTEM", "usb-serial" ],
+ [ "regex", "DEVNAME",
+ [ "^ttyUSB", "^ttyACM" ]
+ ],
+ ],
+ [ "exec", "/sbin/hotplug-call", "tty" ]
+ ],
]