Attaching a Nokia E73 doesn't allow tethering

Asked by Todd Oberly

Also see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/591840.

I am experiencing the very same error connecting a Nokia E73 (branded, T-Mobile USA) to a stock Ubuntu 10.04 LTS installation with kernel 2.6.32-24-generic on a 32-bit (AMD Athlon XP) system with USB 1.1 only. I originally tried appending to the original bug, but as no one seemed to notice, am now opening a new ticket instead. The original ticket was more a configuration issue than a bug, so I opted to make this a question.

Connecting the phone causes the ttyACM0 device to appear, but setserial cannot read the port (I assume it should?):

$ sudo setserial /dev/ttyACM0
Cannot get serial info: Invalid argument

wvdialconf finds the port and tried to communicate, but cannot:

ttyACM0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyACM0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyACM0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.

and this is what dmesg shows:

[1148.210033] usb 2-2.1: new full speed USB device using uhci_hcd and address 3
[ 1148.346250] usb 2-2.1: configuration #1 chosen from 1 choice
[ 1148.508731] cdc_acm 2-2.1:1.1: ttyACM0: USB ACM device
[ 1148.520508] usbcore: registered new interface driver cdc_acm
[ 1148.520817] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1148.549164] NET: Registered protocol family 35
[ 1148.562018] cdc_phonet: probe of 2-2.1:1.12 failed with error -22
[ 1148.562059] usbcore: registered new interface driver cdc_phonet
[ 1148.562671] usbcore: registered new interface driver cdc_ether
[ 1148.576645] usb 2-2.1: bad CDC descriptors
[ 1148.576708] usbcore: registered new interface driver rndis_host
[ 1148.657749] cfg80211: Calling CRDA to update world regulatory domain
[ 1148.692727] usb 2-2.1: bad CDC descriptors
[ 1148.692820] usbcore: registered new interface driver rndis_wlan
[ 1148.748737] cfg80211: World regulatory domain updated:
[ 1148.748746] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1148.748751] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1148.748756] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1148.748761] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1148.748765] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1148.748769] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

Additionally, the Network Manager menu never shows any Mobile Broadband connections that I go ahead and configure anyway. But perhaps this hinges on proper communication with the port? I've never used Network Manager and don't know.

The big problem is that unlike Ralf's fix, modemmanager was *always* installed...although I did try reinstalling it over itself. The only other difference between my setup and his would appear to be my additional use of Gnome PPP to support a dialup connection.

There are more processes going on here than I am used to troubleshooting, and so would appreciate your feedback. What else would you like to know? Thanks!!!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Todd Oberly
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Does it appear as a different ttyACM number instead?

Try this:
https://help.ubuntu.com/community/BluetoothDialup

Revision history for this message
Todd Oberly (tao-pa) said :
#2

No, it certainly looks like it should be /dev/ttyACM0. With the phone disconnected

ls -1 /dev | wc -w

gives me 209 entries, and with the phone connected, the result is 211. The two added entries are /dev/ttyACM0 and /dev/serial. Serial contains

serial/by-id:
total 0
drwxr-xr-x 2 root root 60 2010-10-04 22:13 .
drwxr-xr-x 4 root root 80 2010-10-04 22:13 ..
lrwxrwxrwx 1 root root 13 2010-10-04 22:13 usb-Nokia_E73_352002030082503-if01 -> ../../ttyACM0

serial/by-path:
total 0
drwxr-xr-x 2 root root 60 2010-10-04 22:13 .
drwxr-xr-x 4 root root 80 2010-10-04 22:13 ..
lrwxrwxrwx 1 root root 13 2010-10-04 22:13 pci-0000:00:11.3-usb-0:2.1:1.1 -> ../../ttyACM0

I also tried experimenting with fileschanged and gamin, to see if these would point to any missing files/packages or permission issues, but it was of no help.

Revision history for this message
Todd Oberly (tao-pa) said :
#3

foo

Revision history for this message
Todd Oberly (tao-pa) said :
#4

I just manged to solve this problem. In short, I had never used tethering successfully at all, until last night, when I installed Windows XP and Nokia's Ovi Suite. It worked successfully on the first try. Today when testing tethering with Ubuntu once again...tethering magically started working, and I am posting this message while tethered with 3G! My only guess is that Ovi Suite needed to install a driver on the phone first, or flip a hidden switch, to enable tethering. Most people do it the other way around first (Windows or Mac first, and later Linux), which is why this is an uncommon problem. And the kernel errors that had me worried

[ 1148.562018] cdc_phonet: probe of 2-2.1:1.12 failed with error -22
[ 1148.576645] usb 2-2.1: bad CDC descriptors
[ 1148.692727] usb 2-2.1: bad CDC descriptors

never went away, so I don't know what they mean! Some more information on this issue is also available at http://www.betavine.net/bvportal/auth/forums/index.html?threadId=ff8080812af676c6012b8d2ee37714e5&postId=ff8080812af676c6012b9c7b57724d9e#ff8080812af676c6012b9c7b57724d9e .

Hopefully this post will prevent another Linux user from fighting with Nokia tethering for over a week. :)

Revision history for this message
Fabián Rodríguez (magicfab) said :
#5

Thanks for sharing, Todd. Could you please add that same information to the bug report ?