Huawei eg162 in ubuntu, and AT commands

On the last post, I have been able to connect linux with the Chinese HuaWei eg162 gprs modem, but i still had the following problems:
The modem only worked when I booted the computer while it was plugged in.
Impossible to make it work while hotplugged.
I couldn't connect directly send AT commands through it.
> after spending some time on the web and trying some drivers from vodafone
https://forge.betavine.net/frs/?group_id=12&release_id=243 (should be working for e220 and others, but no success for me).
I came across to this blog post, which was the solution:
http://www.mohdshakir.net/scripts/bash/huawei-e220-dialer
Basically, it states that the problems comes from the uhci module (universal host controller interface) which is in charge of recognizing USB devices.
just type these two lines, to reload the uhci module and start it over again

sudo modprobe -r uhci_hcd
sudo modprobe uhci_hcd

then wait for a few seconds and try again, your modem should be recognized again.

Commentaires