Skip to contentSkip to conversation

USB reconnect problem

DISCUSSION Thomas Gufler 1 participant 1 message Apr 14, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I use a Huawei E220 UMTS/HSDPA modem for my internet connection. When I connect the modem before booting everything works fine. I get a /dev/ttyUSB0, /dev/ttyUSB1 and /dev/ttyUSB2 device. But when I remove the device and reconnect it later (without rebooting) only /dev/ttyUSB0 is created and the modem no longer works (at least until the next reboot).

/var/log/message looks like this when the modem is detected during the initial boot:

usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM
modem (1-port)
option 3-2:1.0: GSM modem (1-port) converter detected
usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0 option 3-2:1.1: GSM modem (1-port) converter detected
usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1 option 3-2:1.2: GSM modem (1-port) converter detected
usb 3-2: GSM modem (1-port) converter now attached to ttyUSB2
usbcore: registered new interface driver option drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
usbcore: registered new interface driver libusual

removing:

usb 3-2: USB disconnect, address 2
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 option 3-2:1.0: device disconnected
option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1 option 3-2:1.1: device disconnected
option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2 option 3-2:1.2: device disconnected

and reconnect:

usb 3-2: new full speed USB device using uhci_hcd and address 3
usb 3-2: configuration #1 chosen from 1 choice option 3-2:1.0: GSM modem (1-port) converter detected usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0

This is logs are from a Ubuntu Feisty System (kernel 2.6.20, udev-108)

Any suggestions?

Thomas

-------------------------------------------------------------------------
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-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel