NetworkManager does not detect Motorola A1200 phone

Bug #368723 reported by Chertykov Denis
8
Affects Status Importance Assigned to Milestone
modemmanager (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: network-manager

lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

LANG=C apt-cache policy network-manager
network-manager:
  Installed: 0.7.1~rc4.1.cf199a964-0ubuntu2
  Candidate: 0.7.1~rc4.1.cf199a964-0ubuntu2
  Version table:
 *** 0.7.1~rc4.1.cf199a964-0ubuntu2 0
        500 http://ru.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

NM should recognise Motorola A1200 (phone in Modem mode) but it does not.

When connected via USB, the device is bound to /dev/ttyACM0 and I can succesfully connect to the Internet using wvdial.

Revision history for this message
Chertykov Denis (chertykov) wrote :
Revision history for this message
Chertykov Denis (chertykov) wrote :
Revision history for this message
Jae Stutzman (jaebird) wrote :

I have a Motorola E2 ROKR, which has the same lsusb output as reporter. It also does not work with Jaunty's NM. BTW, this worked fine under Intrepid with my setup.

Revision history for this message
Chertykov Denis (chertykov) wrote : Re: [Bug 368723] Re: NetworkManager does not detect Motorola A1200 phone

I have a bit more investigated the bug and found the following:

1. run udevadm control --log-priority=debug
2. plug the phone (A1200) to usb
3. look at syslog

Part of my syslog:

May 4 12:52:40 lena-laptop udevd-event[7116]: LINK
'serial/by-id/usb-Motorola_Motorola_USB_Modem-if00'
/lib/udev/rules.d/60-persistent-serial.rules:17
May 4 12:52:40 lena-laptop udevd-event[7116]:
mknod(/dev/.tmp-char-166:0, 020600, (166,0))
May 4 12:52:40 lena-laptop udevd-event[7116]:
chmod(/dev/.tmp-char-166:0, 020600)
May 4 12:52:40 lena-laptop udevd-event[7116]:
chown(/dev/.tmp-char-166:0, 0, 0)
May 4 12:52:40 lena-laptop udevd-event[7116]: IMPORT 'nm-modem-probe
--vid 0x22b8 --pid 0x3802 --usb-interface 00 --driver cdc_acm --delay
3000 --export /dev/.tmp-char-166:0'
/lib/udev/rules.d/77-nm-probe-modem-capabilities.rules:20
May 4 12:52:40 lena-laptop udevd-event[7116]: 'nm-modem-probe --vid
0x22b8 --pid 0x3802 --usb-interface 00 --driver cdc_acm --delay 3000
--export /dev/.tmp-char-166:0'
May 4 12:52:40 lena-laptop udevd-event[7116]:
'/lib/udev/nm-modem-probe' (stderr) 'error writing command: 5'
-------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 4 12:52:46 lena-laptop last message repeated 19 times
May 4 12:52:46 lena-laptop udevd-event[7116]:
'/lib/udev/nm-modem-probe' (stdout) 'ID_NM_MODEM_PROBED=1'

IMHO the problem is here: '/lib/udev/nm-modem-probe' (stderr) 'error
writing command: 5'

Revision history for this message
Chertykov Denis (chertykov) wrote :

udevadm control --log-priority=debug

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

please run

/lib/udev/nm-modem-probe --verbose --export on your /dev/ttyACM0 (and 1,2 etc)

and give us the output.

Revision history for this message
Jae Stutzman (jaebird) wrote :

This is my Motorola E2

Revision history for this message
Jae Stutzman (jaebird) wrote :

related syslog snippet when connecting:

nm-system-settings: SCPlugin-Ifupdown: device added (udi: /org/freedesktop/Hal/devices/usb_device_22b8_3802_noserial_if0_serial_unknown_0, iface: (null)): iface not found
NetworkManager: <info> (ttyACM0): found serial port (udev: hal:GSM)
NetworkManager: <info> (ttyACM0): ignoring due to lack of probed mobile broadband capabilties

also a little spelling: "capabilities" :)

Revision history for this message
Chertykov Denis (chertykov) wrote :

I'm already trying nm-modem-probe and I think that it's work right.

Revision history for this message
Chertykov Denis (chertykov) wrote :

Also,
As I understand, this is a problem:
NetworkManager: <info> (ttyACM0): found serial port (udev: hal:GSM)

Must be (udev:GSM hal:GSM)

Revision history for this message
/lexis (lexis-tikh) wrote :

As I see the bug is not planned to be resolved :-(
Do you have any tips where its location and how to resolve? May be I try to see...

Changed in network-manager (Ubuntu):
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release the Karmic Koala. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
lexis (tikhvinsky) wrote :

I have Ubuntu Karmic test branch installed at my laptop that is updated regularry. Is it enough to test on it instead of the Live CD?

Revision history for this message
Stefan Nagy (stefan-nagy) wrote :

I can confirm that this bug is still present in Karmic. I can use my Motorola A1200 as a modem with 'Gnome PPP' without any problems.

After connecting my Motorola A1200 I get this in syslog:

Apr 14 22:39:16 rosa kernel: [ 148.696068] usb 3-1: new full speed USB device using uhci_hcd and address 3
Apr 14 22:39:16 rosa kernel: [ 148.871248] usb 3-1: configuration #1 chosen from 1 choice
Apr 14 22:39:16 rosa kernel: [ 148.944272] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
Apr 14 22:39:16 rosa kernel: [ 148.947154] usbcore: registered new interface driver cdc_acm
Apr 14 22:39:16 rosa kernel: [ 148.947970] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Apr 14 22:39:16 rosa modem-manager: (ttyACM0) opening serial device...
Apr 14 22:39:16 rosa modem-manager: (ttyACM0): probe requested by plugin 'MotoC'
Apr 14 22:39:19 rosa modem-manager: Got failure code 100: Unknown error
Apr 14 22:39:19 rosa modem-manager: (ttyACM0) closing serial device...

Seems like It has something to do with modem-manager, so I attach the a debug-log & add modemmanager to the affected packages. Please tell me if you need more information.

affects: network-manager (Ubuntu) → modemmanager (Ubuntu)
Changed in modemmanager (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Stefan Nagy (stefan-nagy) wrote :

Nothing changed in Lucid.

Seems like modem-manager tries to send an AT-command which isn't supported by the Motorola A1200: 'ATI' - with which it tries to request identification information.

I sent the 'AT+CLAC'-command to the phone to get a list of all available AT commands. I attach this list - maybe it helps...

Revision history for this message
hector (mailbox-deandreis) wrote :

I,ve the same problem on kubuntu 10.04. the same syslog
At this moment the modem "don't work" also with kppp.

Revision history for this message
Dan Williams (dcbw) wrote :

This should be long fixed in ModemManager 0.4 or later; I just tried a ROKR E2 and it's correctly detected as a GSM phone. It has been fixed since:

commit b1992f903b27f2a0b8190daaedcbe76790180c3c
Date: Mon Jan 18 23:22:02 2010 -0800

If you need further debugging, do the following:

mv /usr/sbin/modem-manager /
killall -TERM modem-manager
modem-manager --debug
<plug in your phone and wait for it to fail>
Ctl+C to kill modem-manager
mv /modem-manager /usr/sbin/

and then get the debug logs from MM, then post them to http://bugzilla.gnome.org .

Changed in modemmanager (Ubuntu):
status: Confirmed → 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.