Hello, I am using a Huawei E220 3G/HSDPA modem. As advised here, to raise the speed I upgraded the kernel to 2.6.21.
Now the modem works faster, and also it is detected automatically - in 2.6.18 I had to use modprobe. However, I still have a problem. The modem only works 100% if it's connected when the machine boots up and stays connected. Unfortunately, sometimes when I boot up the modem is put into a strange state where the signal indicator does not flash, and while the modem responds a connection is never established. I am not sure if the kernel or the BIOS is at fault here - how do I check? This state is resolved by reconnecting the modem - but the driver dos not always work when reconnecting! The device /dev/ttyUSB0 is visible but does note respond. And if the modem was not connected on boot-up, attaching it later never works, the device does not become available. I have looked into /var/log/messages . On bootup the relevant content is: Jun 16 01:07:19 localhost kernel: usbcore: registered new interface driver usbserial Jun 16 01:07:19 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic Jun 16 01:07:19 localhost kernel: usbserial_generic 1-1:1.0: generic converter detected Jun 16 01:07:19 localhost kernel: usb 1-1: generic converter now attached to ttyUSB0 Jun 16 01:07:19 localhost kernel: usbserial_generic 1-1:1.1: generic converter detected Jun 16 01:07:19 localhost kernel: usb 1-1: generic converter now attached to ttyUSB1 Jun 16 01:07:19 localhost kernel: usbserial_generic 1-1:1.2: generic converter detected Jun 16 01:07:19 localhost kernel: usb 1-1: generic converter now attached to ttyUSB2 Jun 16 01:07:19 localhost kernel: usbcore: registered new interface driver usbserial_generic Jun 16 01:07:19 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core Jun 16 01:07:19 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port) Jun 16 01:07:19 localhost kernel: usbcore: registered new interface driver option Jun 16 01:07:19 localhost kernel: drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1 On a reconnect after which the modem DOES work, the content is: Jun 16 01:23:58 localhost kernel: usb 3-1: USB disconnect, address 2 Jun 16 01:23:58 localhost kernel: generic ttyUSB0: generic converter now disconnected from ttyUSB0 Jun 16 01:23:58 localhost kernel: usbserial_generic 3-1:1.0: device disconnected Jun 16 01:23:58 localhost kernel: generic ttyUSB1: generic converter now disconnected from ttyUSB1 Jun 16 01:23:58 localhost kernel: usbserial_generic 3-1:1.1: device disconnected Jun 16 01:23:58 localhost kernel: generic ttyUSB2: generic converter now disconnected from ttyUSB2 Jun 16 01:23:58 localhost kernel: usbserial_generic 3-1:1.2: device disconnected Jun 16 01:24:18 localhost kernel: usb 3-1: new full speed USB device using ohci_hcd and address 3 Jun 16 01:24:18 localhost kernel: usb 3-1: configuration #1 chosen from 1 choice Jun 16 01:24:18 localhost kernel: usb-storage: device ignored Jun 16 01:24:18 localhost kernel: usbserial_generic 3-1:1.0: GSM modem (1-port) converter detected Jun 16 01:24:18 localhost kernel: usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0 Jun 16 01:24:18 localhost kernel: usb-storage: device ignored Jun 16 01:24:18 localhost kernel: usbserial_generic 3-1:1.1: GSM modem (1-port) converter detected Jun 16 01:24:18 localhost kernel: usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1 Jun 16 01:24:18 localhost kernel: usb-storage: device ignored Jun 16 01:24:18 localhost kernel: usbserial_generic 3-1:1.2: GSM modem (1-port) converter detected Jun 16 01:24:18 localhost kernel: usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2 On a reconnect after which the modem DOES NOT work (the device is available but does not respont), the content is: Jun 16 01:11:05 localhost kernel: usb 1-1: USB disconnect, address 3 Jun 16 01:11:05 localhost kernel: generic ttyUSB0: generic converter now disconnected from ttyUSB0 Jun 16 01:11:05 localhost kernel: usbserial_generic 1-1:1.0: device disconnected Jun 16 01:11:05 localhost kernel: generic ttyUSB1: generic converter now disconnected from ttyUSB1 Jun 16 01:11:05 localhost kernel: usbserial_generic 1-1:1.1: device disconnected Jun 16 01:11:05 localhost kernel: generic ttyUSB2: generic converter now disconnected from ttyUSB2 Jun 16 01:11:05 localhost kernel: usbserial_generic 1-1:1.2: device disconnected Jun 16 01:11:30 localhost kernel: usb 1-1: new full speed USB device using ohci_hcd and address 5 Jun 16 01:11:30 localhost kernel: usb 1-1: configuration #1 chosen from 1 choice Jun 16 01:11:30 localhost kernel: usb-storage: device ignored Jun 16 01:11:30 localhost kernel: usbserial_generic 1-1:1.0: GSM modem (1-port) converter detected Jun 16 01:11:30 localhost kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0 (Note the absence of ttyUSB1 and ttyUSB2) If the modem was not connected at boot-up and I try to connect it later, nothing is added to /var/log/messages. My questions are: - If this is a result of some misconfiguration, what should I change? - If this may be a bug, how can I help investigate? - Also, how do I find out of the strange modem state that sometimes happens on bootup is actually the result of a Linux problem? I have the log for one case like this, and messages from another driver (saa7130, for my tv tuner) have got into /var/log/messages between loading of usbserial and attaching of /dev/ttyUSBn devices; can this be relevant? -- Yours, Mikhail Ramendik ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users