Huawai Modem on Ubuntu 10.10
We are talking about this modem here:
# lsusb Bus 003 Device 005: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
It seems that something went wrong. This modem was well supported on 9.04 and 10.04, but there are some problems on 10.10. If the modem is not connected during boot it will not be recognized later.
all credit goes to carsten01 at http://forum.ubuntuusers.de/topic/umts-stick-huawei-e160e-e200-pro7-und-usb-mode/#post-2644288
The modem will be recognized if you enter the following commands after you plugged in the modem:
/sbin/modprobe -r option /sbin/modprobe usbserial vendor=0x12d1 product=0x1003
As we dont want to enter this every time we plug in the modem, carsten01 added the following lines to the file /lib/udev/rules.d/40-usb_modeswitch.rules. Actually the first line is already there, and we just add the other two lines:
# Huawei E220, E230, E270, E870
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", RUN+="/sbin/modprobe -r option"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", RUN+="/sbin/modprobe usbserial vendor=0x12d1 product=0x1003"
Thats all. Thnx to carsten01



