McM
mcm@noway.es
Contact me: noway.es
Contact me

modem Novatel MC950D HSDPA

Integration of Novatel MC950D HSDPA modem

Since kernel version 2.6.20 it is quite easy to integrate it but you must take into account several issues before using it:

When connectin the USB modem, we will have the following information of the device:

mcm@McM:~$ lsusb
Bus 005 Device 003: ID 5986:0100
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 004: ID 1410:5010
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 002: ID 1241:1177 Belkin F8E842-DL Mouse
Bus 004 Device 001: ID 0000:0000

First the operating system (ubuntu in this case) recognizes the device like a cd. In this case, the product and vendor ID is the following:

Bus 002 Device 004: ID 1410:5010

But after a minute if we repeat the operation (lsusb) we have done before we will see the following information:

mcm@McM:~$ lsusb
Bus 005 Device 003: ID 5986:0100
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 012: ID 1410:4400
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 002: ID 1241:1177 Belkin F8E842-DL Mouse
Bus 004 Device 001: ID 0000:0000

We can check that the product information have changed. Now the vendor and product ID of the device is as follows:

Bus 002 Device 012: ID 1410:4400

This is the real interesting thing. Now the device is acting like a modem and no like a cd. If we add the serial module with the product id (product=0x4400)and the vendor ID (0x1410) we will seen the following behaviour:

mcm@McM:~$ sudo modprobe usbserial vendor=0x1410 product=0x4400

[ 492.952000] usbserial_generic 2-1:1.0: generic converter detected
[ 492.952000] usb 2-1: generic converter now attached to ttyUSB0
[ 492.952000] usbserial_generic 2-1:1.1: generic converter detected
[ 492.952000] usb 2-1: generic converter now attached to ttyUSB1
[ 492.952000] usbserial_generic 2-1:1.2: generic converter detected
[ 492.952000] usb 2-1: generic converter now attached to ttyUSB2
[ 492.952000] usbserial_generic 2-1:1.3: generic converter detected
[ 492.956000] usb 2-1: generic converter now attached to ttyUSB3
[ 492.956000] usbcore: registered new interface driver usbserial_generic
[ 492.956000] drivers/usb/serial/usb-serial.c: USB Serial Driver core

The operating system has created tree (in this case four) device in /dev...
We can use ppp and wvdial to use the device like a UMTS modem:

mcm@McM:~$ sudo ln -s /dev/ttyUSB0 /dev/usbmodem0
mcm@McM:~$ sudo wvdial huawei_e220 internet

Here is the wvdial.conf necesary to complete the connection. In this case we have a symbolic reference to /dev/ttyUSB0 and we have use the movistar connection data:

wvdial.conf:

# wvdial for Movistar. Created by McM
# Version 1.1
# File /etc/wvdial.conf

[Dialer Defaults]

Phone = *99***1#

Username = MOVISTAR

Password = MOVISTAR

Stupid Mode = 1

Dial Command = ATDT

[Dialer pin]

Init1 = AT+CPIN=0560

[Dialer huawei_e220]

Modem = /dev/usbmodem0

Baud = 460800

Init2 = ATZ

Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

ISDN = 0

Modem Type = Analog Modem

[Dialer internet]

Init5 = AT+CGDCONT=1,"IP","movistar.es"

Share it!

Twitter Gmail Delicious Google Bookmarks Hotmail Yahoo Mail Share/Bookmark