--- plugins/ofono.rules | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/plugins/ofono.rules b/plugins/ofono.rules index 30a1b7e..c7fac57 100644 --- a/plugins/ofono.rules +++ b/plugins/ofono.rules @@ -15,6 +15,15 @@ KERNEL=="shrm0", ENV{OFONO_DRIVER}="u8500" LABEL="ofono_isi_end" +SUBSYSTEM!="tty", GOTO="ofono_tty_end" +KERNEL!="ttyUSB[0-9]*", GOTO="ofono_tty_end" + +# ZTE +ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0017", ENV{ID_USB_INTERFACE_NUM}=="02", ENV{OFONO_LABEL}="modem" +ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0017", ENV{ID_USB_INTERFACE_NUM}=="01", ENV{OFONO_LABEL}="aux" + +LABEL="ofono_tty_end" + SUBSYSTEM!="usb", GOTO="ofono_end" ENV{DEVTYPE}!="usb_device", GOTO="ofono_end" -- 1.7.1