Hello Josua,

Strange, I didn't find it in 40-usb_modeswitch.rules. I only found in
the 77-mm-zte-port-types.rules, which was not enough, for me, for nm
detect it as a wwan modem. See:

/lib/udev/rules.d # grep 0031 *
69-xserver-xorg-input-wacom.rules:ATTRS{idVendor}=="056a", 
ATTRS{idProduct}=="0031", SYMLINK+="input/tablet-pl500"
77-mm-zte-port-types.rules:ATTRS{idProduct}=="0031", ENV{.MM_USBIFNUM}=="03", 
ENV{ID_MM_ZTE_PORT_TYPE_MODEM}="1"
77-mm-zte-port-types.rules:ATTRS{idProduct}=="0031", ENV{.MM_USBIFNUM}=="01", 
ENV{ID_MM_ZTE_PORT_TYPE_AUX}="1"

 /lib/udev/rules.d # grep  19d2 * | grep 00 | sort -n
40-usb_modeswitch.rules:ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0003", 
RUN+="usb_modeswitch '%b/%k'"
40-usb_modeswitch.rules:ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0013", 
RUN+="usb_modeswitch '%b/%k'"
40-usb_modeswitch.rules:ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0026", 
RUN+="usb_modeswitch '%b/%k'"
40-usb_modeswitch.rules:ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0040", 
RUN+="usb_modeswitch '%b/%k'"
40-usb_modeswitch.rules:ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0053", 
RUN+="usb_modeswitch '%b/%k'"
40-usb_modeswitch.rules:ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0083", 
RUN+="usb_modeswitch '%b/%k'"
40-usb_modeswitch.rules:ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1001", 
RUN+="usb_modeswitch '%b/%k'"
40-usb_modeswitch.rules:ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1007", 
RUN+="usb_modeswitch '%b/%k'"
40-usb_modeswitch.rules:ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1009", 
RUN+="usb_modeswitch '%b/%k'"
40-usb_modeswitch.rules:ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2000", 
RUN+="usb_modeswitch '%b/%k'"

I guess 77-mm-zte-port-types.rules does not call usb_modeswitch, which
seems to be mandatory for NM. The 3g is not mine but from my brother. If
needed, I can send the dmesg info in the next weekend. Anyway, if most
of models are in 40-usb_modeswitch.rules and it only worked after I
added the entry, the vendor/product on it might be necessary.

Please, correct me if I'm wrong. I'm not expert in 3g modems.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/891307

Title:
  usb_modeswitch does not recognize ZTE 19d2:0031 modem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch-data/+bug/891307/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to