[au/HUAWEI DATA07] not recognized as CDMA2000 1x modem

Bug #1071492 reported by Nobuto Murata on 2012-10-25
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
modemmanager (Ubuntu)
Medium
Unassigned
Nominated for Precise by Jonathan Davies
Quantal
Medium
Unassigned
Raring
Medium
Unassigned

Bug Description

au DATA07 / HUAWEI DATA07 is not recognized as a CDMA2000 1x modem.

====================
Oct 25 01:32:23 fmv modem-manager[774]: <debug> [mm-serial-parsers.c:448] mm_serial_parser_v1_parse(): Got failure code 100: Unknown error
Oct 25 01:32:23 fmv modem-manager[774]: <warn> [mm-plugin-base.c:856] real_handle_probe_response(): Couldn't probe for capabilities, probably not a GSM or CDMA modem
====================
full debug output of modem-manager is attached in the comment #2.

au(by KDDI) is a mobile carrier who has CDMA2000 1x EV-DO network.
au DATA07 / HUAWEI DATA07 is a USB modem for their network.
http://www.au.kddi.com/seihin/ichiran/data/data07/index.html
http://www.huaweidevice.jp/products/data07/support.html
# from the specification above,
# DATA07 seems capable of up to CDMA2000 1x EV-DO MC-Rev.A.

usb-modeswitch-data already has the rule for it and properly changes device ID from 12d1:1446 to 12d1:1506(modem).

/lib/udev/rules.d/40-usb_modeswitch.rules
====================
# Huawei, newer modems
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", RUN+="usb_modeswitch '%b/%k'"
====================

In contrast to modem-manager, wvdial can dialup with the modem.
output of wvidalconf command is attached in the comment #3.
generated wvdial.conf is attached in the comment 4.

ProblemType: BugDistroRelease: Ubuntu 12.10
Package: modemmanager 0.6.0.0.really-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Fri Oct 26 05:49:16 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20120926)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ja_JP.UTF-8
 SHELL=/bin/bashSourcePackage: modemmanager
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.init.modemmanager.conf: 2012-10-25T01:29:18.298965

Nobuto Murata (nobuto) wrote :
Changed in modemmanager (Ubuntu):
status: New → Incomplete
Nobuto Murata (nobuto) wrote :
Nobuto Murata (nobuto) wrote :

output of wvdialconf command.

Nobuto Murata (nobuto) wrote :

generated /etc/wvdial.conf.

description: updated
Changed in modemmanager (Ubuntu):
status: Incomplete → New

The patch attached adds an additional check for CDMA capabilities in ATI replies, which should trigger the detection of this modem as a CDMA modem.

Are you able to apply this patch (in a 0.6 release) and retry?

Thanks.

Nobuto Murata (nobuto) wrote :

Thank you for the patch. But unfortunately I cannot build it.

I patched the debdiff below to the quantal package 0.6.0.0.really-0ubuntu1.
http://paste.ubuntu.com/1314819/

Then I faced the error:
====================
mm-plugin-base.c:458:19: error: 'MM_PLUGIN_BASE_PORT_CAP_IS707A' undeclared here (not in a function)
====================

full build log is available here:
https://launchpadlibrarian.net/121565915/buildlog_ubuntu-quantal-i386.modemmanager_0.6.0.0.really-0ubuntu1ppa1_FAILEDTOBUILD.txt.gz

Are there any missing piece that I should do?

Sorry, should have compiled the patch here before sending it :-)

I uploaded a newer version of the patch that should compile correctly.

The attachment "Patch for the issue (v2)" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Nobuto Murata (nobuto) wrote :

I will attach debug log of modemmanager with your patch.
Indeed the patch changes output of the modem and it will be shown up in NetworkManager applet, but it's as Offline state.

I will also check debug log of NetworkManager.

Nobuto Murata (nobuto) wrote :

logs with --log-level=DEBUG of NetworkManager and modemmanager.

When plugged-in.

Nobuto Murata (nobuto) wrote :

log after clicking "Enable Mobile Broadband" on indicator of NetworkManager.

Nobuto Murata (nobuto) wrote :

Note to after-clicking-enable-mobile.log:
Though "Mobile Broadband" entry remains "not enabled", I have clicked "au(KDDI) connection" on Oct 31 00:26:12. but taking no effect on indicator status.

Seems to work correctly for me with the patch (in fact I'm uploading this to Raring now). Do you mean that the modem can't successfully connect to the au(KDDI) network? I unfortunately can't really test this -- I'm in Canada, so I won't be able to connect to the japanese network.

Changed in modemmanager (Ubuntu Quantal):
status: New → In Progress
importance: Undecided → Medium
Changed in modemmanager (Ubuntu Raring):
importance: Undecided → Medium
status: New → In Progress

Jonathan, you nominated this to be SRUed to Precise. Is this really required? Can you do the necessary paperwork (updating the bug description) for the SRU process?

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package modemmanager - 0.6.0.0.really-0ubuntu2

---------------
modemmanager (0.6.0.0.really-0ubuntu2) raring; urgency=low

  * debian/patches/handle_data07_capabilities_probing.patch: properly handle
    probing for the Huawei Data07 modem. (LP: #1071492)
 -- Mathieu Trudel-Lapierre <email address hidden> Tue, 20 Nov 2012 17:26:04 -0500

Changed in modemmanager (Ubuntu Raring):
status: In Progress → Fix Released
Nobuto Murata (nobuto) wrote :

Hi Mathieu,

I tested the patch a while ago, then it enabled the "Mobile Broadband" section shown up.
But unfortunately the section was grayout and I still cannot dialup to the au(KDDI) network.
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1071492/+attachment/3418366/+files/nm-indicator.png

I will test again against raring.

Mathieu: could you get some nice debug logs for a full session with this modem?

Nobuto Murata (nobuto) wrote :

I tried modemmanager 0.6.0.0.really-0ubuntu2 on raring daily build.

It sounds like my problem can be divided into two parts.
1. not recognized as CDMA2000 1x modem.
2. even if it has been recognized properly, I still cannot connect with it.

1st part seems resolved by 0.6.0.0.really-0ubuntu2 including handle_data07_capabilities_probing.patch.
2nd part was turned out that actually a crash of modem-manager. So I filed it as a separate bug #1083659.

Marius B. Kotsbak (mariusko) wrote :

Aleksander, could you please add the patch upstream, as it is now also needed to progress on bug #1083659 ?

Pushed both to MM_06 and git master.

Marius B. Kotsbak (mariusko) wrote :

Nobuto MURATA: then you should be able to test the upstream PPA again tomorrow.

Rolf Leggewie (r0lf) wrote :

quantal has seen the end of its life and is no longer receiving any updates. Marking the quantal task for this ticket as "Won't Fix".

Changed in modemmanager (Ubuntu Quantal):
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers