Huawei usb 3g modem reset – linux

A small memo to manage usb reset for Huawei usb 3g modem: Get a persistant udev device: Edit: /etc/udev/rules.d/99-usb-modem.rules SUBSYSTEM==”tty”, ATTRS{idVendor}==”12d1″, ATTRS{idProduct}==”1003″, SYMLINK+=”usbmodem” Reset the usb bus (quite rude but it is the only way i found to refresh the stack succesfully each time) and issue a ‘AT’ reset. #!/bin/sh # Reset USB bus for

Read More