← Back to team overview

touch-packages team mailing list archive

[Bug 1057834] Re: Haier CE81B is not detected on 12.04

 

Launchpad has imported 7 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=85001.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-10-14T14:16:52+00:00 Aleksander Morgado 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'.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1057834/comments/5

------------------------------------------------------------------------
On 2014-10-14T14:41:34+00:00 Aleksander Morgado wrote:

Created attachment 107829
Patch.

This new plugin just creates a generic broadband modem but tags #if3 as
being the primary+data port, so that it takes predenced over any other
tty grabbed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1057834/comments/6

------------------------------------------------------------------------
On 2014-10-14T14:43:29+00:00 Aleksander Morgado wrote:

Dan; you requested the mounted CD contents as well to the reporter, is
there anything else from there that can be included in the plugin?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1057834/comments/7

------------------------------------------------------------------------
On 2014-10-14T15:32:04+00:00 Dcbw-y wrote:

INF files say:

%VENDORMDM% = Modem2, USB\VID_201E&PID_10F8&MI_03
%VENDORDIAG%  = QportInstall00, USB\VID_201E&PID_10F8&MI_00
%VENDORAT%  = QportInstall00, USB\VID_201E&PID_10F8&MI_02
%VENDORNMEA%  = QportInstall00, USB\VID_201E&PID_10F8&MI_01

so yeah #3 should be primary + data like you say.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1057834/comments/8

------------------------------------------------------------------------
On 2014-10-14T15:52:00+00:00 Dcbw-y wrote:

Trawling through the connection manager, we get some interesting stuff.
BM == BROADMOBI I thnk.

AT+BMSPN?
+BMSPN:
AT+CIMI
%02X
AT^SYSINFO
^SYSINFO:
%i,%i,%i,%i,%i,%i,%i
AT+COPS=?
+COPS:
AT+COPS=
no network service
AT+BMMODPREF
+BMMODPREF: 
AT+BMMODPREF=%d
AT+CSQ
AT^HDRCSQ
^HDRCSQ:
AT+CREG?
+CREG:
+CREG: %d,%d
AT+CGREG?
+BMMODPREF:
at+bmbtt
+BMBTT: 
AT+BMCGMR=%s
+BMSWVER:
AT+BMSWVER
AT+CIMI
AT+BMDEVMEID
+BMDEVMEID:
AT+CGMM
AT+BMCGMR
+BMCGMR:
AT+CGDCONT=1,"IP","%s"
-%d dBm
not known or not detectable
AT+BMDEVESN
+BMDEVESN:
AT+BMUIMID
+BMUIMID:
AT+BMEUIMID
+BMEUIMID:
AT+CPIN?
RUIM
AT^PREFMODE?
^PREFMODE:
AT+CSQ
AT^HDRCSQ
^HDRCSQ:
AT+BMREST
AT+BMRFINFO
00000000
(A)(dB)
(N)(dB)
255.00
 dBm

Messaging seems to be done with the proprietary Qualcomm messaging
commands like AT$QCPMS, AT$QCNMI, AT$QCMGD, AT$QCMGR, AT$QCMGL, but we
also have AT+BMCGMR.

There might be some PIN operation support too with the regular 3GPP PIN
commands.

So if the modem works fine with regular CDMA commands and DIAG then
great, otherwise if somebody cares enough some other support could be
added later.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1057834/comments/9

------------------------------------------------------------------------
On 2014-10-14T16:11:07+00:00 Dcbw-y wrote:

Send a kernel patch to add the device IDs to option too.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1057834/comments/10

------------------------------------------------------------------------
On 2014-10-15T08:11:11+00:00 Aleksander Morgado wrote:

(In reply to Dan Williams from comment #5)
> Send a kernel patch to add the device IDs to option too.

For reference, this is the patch in the option driver:
http://permalink.gmane.org/gmane.linux.usb.general/116296

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1057834/comments/11


** Changed in: modemmanager
       Status: Unknown => In Progress

** Changed in: modemmanager
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to modemmanager in Ubuntu.
https://bugs.launchpad.net/bugs/1057834

Title:
  Haier CE81B is not detected on 12.04

Status in ModemManager (with NetworkManager support):
  In Progress
Status in “modemmanager” package in Ubuntu:
  Triaged

Bug description:
  I have reported this bug under https://bugzilla.gnome.org/show_bug.cgi?id=685011
  However, I'm not sure to report only to gnome people.
  I hope this problem will be fixed on upcoming 12.10.

  Problem:
  Modem Haier CE81B EVDO is not working.
  ModemManager failed to scan the right TTYUSB.

  Solution:
  1. Add udev blacklist for modem manager rule (attached)
  2. Type command: sudo modprobe usbserial vendor=0x201e product=0x10f8

To manage notifications about this bug go to:
https://bugs.launchpad.net/modemmanager/+bug/1057834/+subscriptions