E188Lucid


Warning you must have some ability to do these procedures. I take no responsibly for any damages to any parties implied or otherwise in the use of these procedures scripts on anything on this website. See all disclaimers on this site's other pages for more information before proceeding.


Some assumptions.

A. You have a USB modem with working  sim card installed and payed connection to your provider ( hopefully you have also tested it it working with another system like Windows XP etc).  

B.  You have superuser access to your system ( test with  sudo su then enter your password ).

C.  You have Linux Ubuntu or understand the difference    between this and your version of Linux.

Programs or hardware used.
minicom,
usb_modeswitch, gedit or vi, lsusb, dmesg, apt-get, sudo su, ls, rmmod, modprobe, nm-applet this is the ( network manager program ) and Firefox/Chrome/Chromium or other browser you prefer to test your link with ( but most modems have a LED for checking connection ..... my E188 goes from green when not connected 
to a blinking dark blue found a transmission tower
 to a solid blue or solid light blue connected : )

Must have superuser to edit some files dont replace the modules file below with yours edit yours instead as it
may have some modules not in my file........... its just there for comparison. Now start by doing a
sudo su
first i looked a lsusb to find the output numbers for the device here is the result
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0489:e00d Foxconn / Hon Hai 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 12d1:1c0b Huawei Technologies Co., Ltd. 
Bus 001 Device 004: ID 04f2:b1b8 Chicony Electronics Co., Ltd 
Bus 001 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. Mass Storage Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

we want to change the line with 12d1:1c0b Huawei to 12d1:1c07 

we can use usb_modeswitch for that install it with 
apt-get install usb_modeswitch or use a hyphen can't remember which it is............

sudo gedit /etc/usb-modeswitch.conf to have the lines in the file at the end of this page ( download it )
also add to /etc/modules this line to get system to run the usbserial module

usbserial vendor=0x12d1 product=0x1c07

result after switching from usb_modeswitch on left and dmesg on right. 
dmesg | grep -e "usbserial" -e "tty"
( click on image for larger ) look at top of dmesg output to see the lines of text  saying "generic converter now attached to ttyUSB1" and ttyUSB2 this is your sign that your system has created the correct devices you can confirm also by looking for them in the /dev dir


Problems and glitches ( still need to run sudo usb_modeswitch after every startup hmmmm must of forgotten something but its ok for me as i just wanted to use it a few times as i borrowed the E220 for another task )

you can also turn off the CDROM (you can turn it on later if you want using Minicom terminal emulator just apt-get minicom then set the device using minicom -D /dev/ttyUSB0 )
AT^U2DIAG=0             (makes the device modem-only in future)
AT^U2DIAG=255           (makes the device fully-featured in future)
(other variations on the parameters will enable different permutations of the device components). ArchLinux (ref below) reckons:
AT^U2DIAG=0 - the device is only Modem
AT^U2DIAG=1 - device is in modem mode + CD ROM
AT^U2DIAG=255 - the device in modem mode + CD ROM + Card Reader
AT^U2DIAG=256 - the device in modem mode + Card Reader

I did the 0 option above and now i get the modem no longer as a sr0 ( cdrom ) and sd0 (Card reader ) THANK THE LORD and thanks for this help command about AT modems from this site http://www.techmind.org/3Gmbb/index.html

My free  Filestore on Google sites may have more modem script files you can use.
Huawei Emulator for Android IDE ( Eclipse ) 
Huawei MF627 modem
Huawei ideos x1 superuser root enable for android mobiles


ċ
modules
(0k)
Stephen P,
Oct 27, 2012, 5:40 PM
ċ
usb-modeswitch.conf
(1k)
Stephen P,
Oct 27, 2012, 5:27 PM
Comments