Comment 226 for bug 868034

I am using the following workaround sucessfully on two different 12.04 desktops & one linux Mint R13 laptop to connect with a huawei E220 Modem on 3G / 2G networks

#Running the following AS ROOT after the first unsuccesfulll connection attempt allows the modem to connect without problems until it is removed from the USB port:

   echo -e "AT+CNMI=2,1,0,2,0\r\nAT\r\n" > /dev/ttyUSB1

Without it I can't get a connection.

   I picked the commad from the C:\Program Files\Mobile Partner\Log\ATRecord.txt file on a Windows XP VM, after noticing that the modem would work properly in ubuntu after connecting first one time inside the XP VM, until the modem gets unplugged. Other AT command combinations don't have the same effect - it needs to be the exact above sequence.