Comment 57 for bug 430011

Rodolfo Pilas (rodolfo) wrote :

Huawei error SOLVED!

File /etc/udev/rules.d/usb_modeswitch.rules said:

########################################################
# Huawei E220 (aka "Vodafone EasyBox II", aka "T-Mobile wnw Box Micro")
# Huawei E230
# Huawei E270
# Huawei E870
# [...]
SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", SYSFS{idProduct}=="1003", RUN+="/usr/sbin/usb_modeswitch --default-vendor 0x12d1 --default-product 0x1003 --detach-storage-only "

and these options are DEPRECATED by usb_modeswitch

You must change it to:

SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", SYSFS{idProduct}=="1003", RUN+="/usr/sbin/usb_modeswitch --default-vendor 0x12d1 --default-product 0x1003 --huawei-mode "

and my Huawei E270 works like a charm.

Kernel: 2.6.31-16-generic
Ubuntu 9.10 Keramic