linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Gufler <tom.gufler@tirol.com>
To: linux-hotplug@vger.kernel.org
Subject: USB reconnect problem
Date: Sat, 14 Apr 2007 15:34:55 +0000	[thread overview]
Message-ID: <4620F49F.5070309@tirol.com> (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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

                 reply	other threads:[~2007-04-14 15:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4620F49F.5070309@tirol.com \
    --to=tom.gufler@tirol.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).