Comment 5 for bug 1057834

Revision history for this message
In , Aleksander Morgado (aleksander-m) wrote :

Originally reported at:
  https://bugzilla.gnome.org/show_bug.cgi?id=685011
Please refer to the original bug report if more details are needed.

The Haier CE81B CDMA modem (VID 0x201e, PID 0x10f8) exposes several TTYs, but only one of them can be used for data connections. If other interface is used, the modem will report a successful connection, but pppd won't be able to setup the IP session:

  NetworkManager[3242]: <info> Activation (ttyUSB2) Stage 4 of 5 (IPv4 Configure Timeout) started...
  NetworkManager[3242]: <info> (ttyUSB2): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
  NetworkManager[3242]: <warn> Activation (ttyUSB2) failed.
  NetworkManager[3242]: <info> Activation (ttyUSB2) Stage 4 of 5 (IPv4 Configure Timeout) complete.
  NetworkManager[3242]: <info> (ttyUSB2): device state change: failed -> disconnected (reason 'none') [120 30 0]

The original reporter made it work by blacklisting if#0 to if#2, while leaving if#3 as the only TTY allowed to be used by ModemManager:

  # Haier CE81B
  ATTRS{idProduct}=="10f8", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_CANDIDATE}="0"
  ATTRS{idProduct}=="10f8", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_CANDIDATE}="0"
  ATTRS{idProduct}=="10f8", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_CANDIDATE}="0"

The contents of the mounted CD drive are also available:
http://www.mediafire.com/download/l39t0qk2kad9l02/setup_package.tar

The suggested fix is to prepare a new "haier" plugin that flags #if3 as 'data'.