When I connected the Huawei modem I could see only  3 additional sg0 ,sg1, sdb  entries in   /dev  and there are no USBtty0 ,USBtty1,USBtty2 which supposed to be cerated by Huawei modem .

By default linux will detect HUAWEI modem as usb storage /cd drive . we must switch it to USB serial inorder to use it as modem .

you can do this with usb_modswitch .  If you dont find usb_modswitch in /lib/udev you can install it from here.

/lib/udev/usb_modeswitch –vendor 0x12d1 –product 0x1446 –type option-zerocd

You can create config file in /etc/udev/rule.d/15huawei-1773.rules

SUBSYSTEM==”usb”, SYSFS{idProduct}==”1446″, SYSFS{idVendor}==”12d1″, RUN+=”/lib/udev/usb_modeswitch –vendor 0x12d1 –product 0x1446 –type option-zerocd”

Restart the system and check   lsusb -vvvv | less and note down product id and vendor id information .

You can add this information in /etc/modprobe.d/modprobe.conf.

My /etc/modprobe.d/modprobe.conf  has single line like below

options usbserial vendor=0x12d1 product=0x140c

Now load the usb serial with command  modprobe usbserial

 


0 Comments

Leave a Reply

Your email address will not be published.