Enable Huawei E173 USB modem in linux

If the modem is not detected, do the following:

  • Execute 'lsusb' and have a look at the information related to the Huawei modem:
    Bus 003 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd.
  • Add the following line to /lib/udev/rules.d/40-usb_modeswitch.rules (make sure to replace the idVendor number and idProduct with the numbers obtained from 'lsusb', in the example 12d1:1436
    ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1436", RUN+="usb_modeswitch '%b/%k'"
  • Add in /etc/modules:
    usbserial
  • Restart the computer

Disable CD-ROM and/or SD storage in Huawei E173 USB modem

The Huawei USB modem also emulates a CD-ROM and have a SD card reader. In particular, the CD-Rom feature can be quite annoying when you only want to use the modem, here's the procedure to enable/disable the different features:

  • Use a terminal program (like minicom in Linux, Putty in Windows) to connect to the modem. Type the following commands to enable/disable features in Huawei device:
  • To enable modem and SD card reader (no CD-ROM):
    AT^U2DIAG=256
  • Enable only modem:
    AT^U2DIAG=0
  • Enable modem and CD-ROM (no SD card reader):
    AT^U2DIAG=1
  • Enable everything:
    AT^U2DIAG=255