Pre-requisites:
An existing installation of
Huawei Mobile Partner or a recent version of the standalone Huawei drivers.
After the initial installation from the virtual CD-ROM, when the modem is plugged in it appears in XP's device manager as a 'Windows Mobile-based Internet Sharing Device' under Network adapters. The name is slightly different in Windows 7 (can someone please post a screenshot or the name?). The hardware ID of this device is:
USB\Vid_12d1&Pid_14db&Rev_0102
While in this mode, the modem is controlled through a web interface on
http://192.168.1.1/.
The serial port can be enabled by visiting
http://192.168.1.1/html/switchProjectMode.html.
After doing this, the network device disappears and two unknown devices appear with the following hardware IDs:
USB\Vid_12d1&Pid_1442&MI_00
USB\Vid_12d1&Pid_1442&MI_01
Windows does not know which driver to install for these devices, but fortunately the driver is provided by Mobile Partner and just needs slight modification.
This procedure only needs to be performed once.
Assuming a default installation of Mobile Partner, locate the file
ewser2k.inf and open it in Notepad or Wordpad.
On English systems the file will be located at
C:\Program Files\Mobile Partner\Driver\Driver\X86 on 32-bit systems and
C:\Program Files (x86)\Mobile Partner\Driver\Driver\X64 on 64-bit systems.
Near the start of the file you should see a section named
[QcomSerialPort].
We need to add the following lines:
Code:
%QcomDevice01% = QportInstall01, USB\VID_12d1&PID_1442&MI_00
%QcomDevice00% = QportInstall00, USB\VID_12d1&PID_1442&MI_01
...so that Windows knows which driver to use for these devices.
A good place would be in between PID_143E and PID_1448, so the modified portion of the file should look like this:
Code:
...
[QcomSerialPort]
...
%QcomDevice01% = QportInstall01, USB\VID_12d1&PID_143E&MI_02
%QcomDevice01% = QportInstall01, USB\VID_12d1&PID_1442&MI_00
%QcomDevice00% = QportInstall00, USB\VID_12d1&PID_1442&MI_01
%QcomDevice01% = QportInstall01, USB\VID_12d1&PID_1448&MI_01
Now right-click on each unknown device in turn and tell Windows you will select the driver and point at the location where you found ewser2k.inf as above.
After doing this, the devices should now appear as a 3G PC UI Interface and a 3G Application Interface under Ports.
MDMA is able to detect the modem in this state and can be used to check signal strength and send USSD commands, but in order to connect to the internet (establish a dial-up connection), we need to go deeper and enable the modem interface.
You can download
Terminal and open the 3G PC UI Interface, COM3 in this example, and send the following AT commands:
Code:
AT^U2DIAG=0
AT+CFUN=4
AT+CFUN=6
This enables the modem interface and resets the modem so that it will appear.
Alternatively, you can use MDMA with the
/hwstorage:0 command line switch to send the ^U2DIAG command and reset the modem automatically.
Hopefully the modem will now be recognized and the drivers automatically installed. The hardware IDs should now have changed to:
usbcdcacm\Vid_12d1&Pid_1c05&MI_00
usbcdcacm\Vid_12d1&Pid_1c05&MI_01
usbcdcacm\Vid_12d1&Pid_1c05&MI_02
Returning to HiLink mode:
To return the modem to HiLink mode you can either use
Terminal again and open the 3G PC UI Interface, this time COM7 in the example above, and send the following AT commands:
Code:
AT^U2DIAG=119
AT+CFUN=4
AT+CFUN=6
...or run MDMA with the
/hwstorage:119 command line switch. Otherwise, simply unplug the modem and plug it in again.
Tested on Huawei E303, hardware version CH2E303SM, firmware version 22.157.46.00.00.
ZAIDI INGIA HAPA:
Huawei HiLink modems (E303, E3131, etc.) - Page 2