Failed to connect using SonyEricsson mobile phone through USB cable

Bug #416126 reported by Viktors Petrovs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
modemmanager (Ubuntu)
Fix Released
Undecided
Alexander Sack

Bug Description

Ubuntu karmic (development branch)
Release: 9.10

Linux 2.6.31-6-generic #25-Ubuntu SMP Fri Aug 14 16:25:04 UTC 2009 i686 GNU/Linux

Modem: SonyEricsson K750 mobile phone
Provider: LMT (Latvia)
PC: Compaq Mini 701en

Description:
Failed to connect after network-manager upgrade to latest version. Before upgrade connection worked without problems.

Symptoms:
Connection process fails after some time when activating dial-up connection from NetworkManager's applet menu.

Last working version:
   network-manager_0.7.1.git.5.272c6a626-0ubuntu1
   -- without modemmanager

Curret version:
   network-manager 0.8~a~git.20090804t185522.4bab334-0ubuntu1
   modemmanager 0.2git.20090806t105932.354a4cb-0ubuntu3

Also tested (http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main):
   network-manager 0.8~a~git.20090817t203502.3e22183-0ubuntu1~nmt2
   modemmanager 0.2.git.20090817t181641.ca767e4-0ubuntu1~nmt2
   See bug #410634 (https://bugs.launchpad.net/bugs/410634)

Adding NetworkManage & modem-manager debug logs acquired using packages from ppa (http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main).

Revision history for this message
Viktors Petrovs (viks77) wrote :
Revision history for this message
Viktors Petrovs (viks77) wrote :

Offtopic: Is there any better way to add more than one file in one post?

Revision history for this message
Viktors Petrovs (viks77) wrote : apport-collect data

Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 9.10
IfupdownConfig:
 auto lo
 iface lo inet loopback
IpRoute:
 192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.100 metric 2
 169.254.0.0/16 dev eth1 scope link metric 1000
 default via 192.168.0.1 dev eth1 proto static
NonfreeKernelModules: wl
Package: network-manager 0.8~a~git.20090817t203502.3e22183-0ubuntu1~nmt2
PackageArchitecture: i386
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-6.25-generic
Uname: Linux 2.6.31-6-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Viktors Petrovs (viks77) wrote :
Revision history for this message
Viktors Petrovs (viks77) wrote :
Revision history for this message
Viktors Petrovs (viks77) wrote :
Revision history for this message
Viktors Petrovs (viks77) wrote :
Revision history for this message
Viktors Petrovs (viks77) wrote :
Revision history for this message
Viktors Petrovs (viks77) wrote :
Revision history for this message
Viktors Petrovs (viks77) wrote :
Revision history for this message
Viktors Petrovs (viks77) wrote :
Revision history for this message
Viktors Petrovs (viks77) wrote :
Revision history for this message
Viktors Petrovs (viks77) wrote :
Revision history for this message
Viktors Petrovs (viks77) wrote :
tags: added: apport-collected
Revision history for this message
Eugene Crosser (crosser) wrote :

You need this patch.
This does not fix the problem, which is wrong overall design of the "chatter" in the modem-manager. But it makes it work.

The problem is that the program tries to get responses from the modem, which is technically a serial device, by bulk reads, and hopes that one read will return one "response". This works sometimes, probably because the line discipline tries to clump consecutive bytes together, and completes the operation when no new bytes arrive for some milliseconds. However, in your case (and mine), PPP frames start to arrive instantly after CONNECT<CR><LF> and are consumed by the chatter as part of the response. So, the connect string is not the last thing in the buffer, and is not "noticed" by the program.

Revision history for this message
Alexander Sack (asac) wrote :

thanks for the patch. landed upstream: f2a3825f9d10ecebc63ce3c8602473cbbb6ab72c

Changed in network-manager (Ubuntu):
assignee: nobody → Alexander Sack (asac)
status: New → Fix Committed
Revision history for this message
Alexander Sack (asac) wrote :

this is modemmanager

affects: network-manager (Ubuntu) → modemmanager (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package modemmanager - 0.2.git.20091003t063318.aa78b5f-0ubuntu1

---------------
modemmanager (0.2.git.20091003t063318.aa78b5f-0ubuntu1) karmic; urgency=low

  New upstream snapshot: 2009-10-03 06:33:18 (GMT)
  + aa78b5f5e5319e04f5b57f928bfab69dd4b93d88
  * fixes
    - LP: #430576 - refuse to connect over Nokia N85, turns off the handset
    - LP: #416126 - various unsolicited messages for mbm cause fail on connect

 -- Alexander Sack <email address hidden> Tue, 06 Oct 2009 01:02:12 +0200

Changed in modemmanager (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.