Huawei E220, an usb hsdpa modem on Linux
July 31st, 2007 by riza
i really working on it actually on fedora core 5 full updated, so it used 2.6.20-1.2320.fc5 kernel right now, and the result is the modem isn't work, at least for now!
This modem come with promo package by IM2 3,5G hsdpa broadband internet access!
Update:
Ok, finally i got it worked well at fedora core 5, here is it:
+ If you have internet connection, just upgrade the kernel to the latest via yum utility, mine is:
[rizahnst@astinet ~]$ uname -r 2.6.20-1.2320.fc5 [rizahnst@astinet ~]$
+ then used this tool, which will make the modem well recognized by the linux:
www.kanoistika.sk/bobovsky/archiv/umts/huaweiAktBbo.c, note that this tool need libusb and libusb-devel installed on your system, just
yum install libusb
and it must be ok.
[rizahnst@astinet ~]$ rpm -qa | grep libusb
libusb-0.1.11-2.2
libusb-devel-0.1.11-2.2
[rizahnst@astinet ~]$
+ reboot with modem plugged to usb, after it booted again, check dmesg and find out some message about modem recognizing from the system, mine just like this:
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
lp0: using parport0 (interrupt-driven).
lp0: console ready
option 1-2:1.0: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
as we can see that it just one single ttyUSB0 and that's not good, we need 3 of them like ttyUSB0, ttyUSB1 and ttyUSB2. Here we need the huaweiAktBbo, just run it and the modem setup correctly to the system.
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 1-2:1.0: device disconnected
usb 1-2: new full speed USB device using ohci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
usb-storage: device ignored
option 1-2:1.0: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
usb-storage: device ignored
option 1-2:1.1: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
usb-storage: device ignored
option 1-2:1.2: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
feel free to leave some comments, will you


