From 50ec0907de15cb6311088b81d0181b10943772bc Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 7 Apr 2014 14:10:50 +0200 Subject: [PATCH] zte: blacklist QMI and net interface in the MF60 The MF60 exposes a QMI+net pair, but they are unusable as the WDS service returns error when e.g. launching a connection. So, fallback to AT+PPP in this device. --- plugins/zte/77-mm-zte-port-types.rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/zte/77-mm-zte-port-types.rules b/plugins/zte/77-mm-zte-port-types.rules index 6fe826ea..f9d62d8c 100644 --- a/plugins/zte/77-mm-zte-port-types.rules +++ b/plugins/zte/77-mm-zte-port-types.rules @@ -192,4 +192,9 @@ ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2003", ENV{.MM_USBIFNUM}=="01", ENV{ # Icera-based devices that use DHCP, not AT%IPDPADDR ATTRS{product}=="K3805-z", ENV{ID_MM_ZTE_ICERA_DHCP}="1" +# MF60 exposes QMI, but it is unusable, fallback to AT+PPP +ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1402", SUBSYSTEM=="usb", KERNEL=="cdc-wdm*", ENV{ID_MM_PORT_IGNORE}="1" +ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1402", SUBSYSTEM=="usbmisc", KERNEL=="cdc-wdm*", ENV{ID_MM_PORT_IGNORE}="1" +ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1402", SUBSYSTEM=="net", ENV{ID_MM_PORT_IGNORE}="1" + LABEL="mm_zte_port_types_end"