USB Modem wont connect after modem hangup -- Huawei E620
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ModemManager |
Invalid
|
Undecided
|
Unassigned | ||
network-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-manager
Running my Huawei USB modem (Bus 002 Device 007: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem) in Lucid Beta 2 amd64 (uname -a = Linux laptop-hostname 2.6.32-19-generic #28-Ubuntu SMP Thu Apr 1 10:39:41 UTC 2010 x86_64 GNU/Linux) and, after the same usb_modeswitch used in Intrepid, connection is fine.
If signal is lost causing modem hangup, reconnection is not possible without unplugging modem, replugging, usb_modeswitch and then reconnect.
Logs:
Apr 19 18:03:42 laptop-hostname pppd[1751]: Sent 91110 bytes, received 298361 bytes.
Apr 19 18:03:42 laptop-hostname pppd[1751]: Modem hangup
Apr 19 18:03:42 laptop-hostname pppd[1751]: Connection terminated.
Apr 19 18:03:42 laptop-hostname NetworkManager: <info> (ttyUSB0): device state change: 8 -> 9 (reason 13)
Apr 19 18:03:42 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) failed.
Apr 19 18:03:42 laptop-hostname NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3 (reason 0)
Apr 19 18:03:42 laptop-hostname NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
Apr 19 18:03:42 laptop-hostname modem-manager: (ttyUSB0) closing serial device...
Apr 19 18:03:42 laptop-hostname modem-manager: Modem /org/freedeskto
Apr 19 18:03:42 laptop-hostname modem-manager: Modem /org/freedeskto
Apr 19 18:03:42 laptop-hostname NetworkManager: SCPlugin-Ifupdown: devices removed (path: /sys/devices/
Apr 19 18:03:44 laptop-hostname NetworkManager: <debug> [1271696624.001843] ensure_killed(): waiting for ppp pid 1751 to exit
Apr 19 18:03:44 laptop-hostname NetworkManager: <debug> [1271696624.003285] ensure_killed(): ppp pid 1751 cleaned up
Apr 19 18:04:19 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) starting connection '3 Internet'
Apr 19 18:04:19 laptop-hostname NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4 (reason 0)
Apr 19 18:04:19 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 19 18:04:19 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Apr 19 18:04:19 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Apr 19 18:04:19 laptop-hostname NetworkManager: <WARN> stage1_
Apr 19 18:04:19 laptop-hostname NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9 (reason 1)
Apr 19 18:04:19 laptop-hostname NetworkManager: <info> Marking connection '3 Internet' invalid.
Apr 19 18:04:19 laptop-hostname modem-manager: Modem /org/freedeskto
Apr 19 18:04:19 laptop-hostname modem-manager: Modem /org/freedeskto
Apr 19 18:04:19 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) failed.
Apr 19 18:04:19 laptop-hostname NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3 (reason 0)
Apr 19 18:04:19 laptop-hostname NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
Apr 19 18:04:31 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) starting connection '3 Internet'
Apr 19 18:04:31 laptop-hostname NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4 (reason 0)
Apr 19 18:04:31 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 19 18:04:31 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Apr 19 18:04:31 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Apr 19 18:04:31 laptop-hostname NetworkManager: <WARN> stage1_
Apr 19 18:04:31 laptop-hostname NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9 (reason 1)
Apr 19 18:04:31 laptop-hostname NetworkManager: <info> Marking connection '3 Internet' invalid.
Apr 19 18:04:31 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) failed.
Apr 19 18:04:31 laptop-hostname NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3 (reason 0)
Apr 19 18:04:31 laptop-hostname NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
Apr 19 18:04:31 laptop-hostname modem-manager: Modem /org/freedeskto
Apr 19 18:04:31 laptop-hostname modem-manager: Modem /org/freedeskto
Apr 19 18:04:44 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) starting connection '3 Internet'
Apr 19 18:04:44 laptop-hostname NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4 (reason 0)
Apr 19 18:04:44 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 19 18:04:44 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Apr 19 18:04:44 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Apr 19 18:04:44 laptop-hostname NetworkManager: <WARN> stage1_
Apr 19 18:04:44 laptop-hostname NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9 (reason 1)
Apr 19 18:04:44 laptop-hostname NetworkManager: <info> Marking connection '3 Internet' invalid.
Apr 19 18:04:44 laptop-hostname modem-manager: Modem /org/freedeskto
Apr 19 18:04:44 laptop-hostname modem-manager: Modem /org/freedeskto
Apr 19 18:04:44 laptop-hostname NetworkManager: <info> Activation (ttyUSB0) failed.
Apr 19 18:04:44 laptop-hostname NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3 (reason 0)
Apr 19 18:04:44 laptop-hostname NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
tags: | added: patch |
Changed in network-manager (Ubuntu): | |
status: | New → Confirmed |
summary: |
- USB Modem wont connect after modem hangup + USB Modem wont connect after modem hangup -- Huawei E620 |
Changed in modemmanager: | |
status: | New → Incomplete |
I have the same problem. This error appears after reconnecting a few times. The error is more frequent if the connection fails once due to GSM network problems. After the error appears the modem does not work again until I kill the "modem-manager".
IMHO following log message is the most important one: prepare_ done(): GSM modem connection failed: (32) Sending command failed: device is not enabled
Apr 19 18:04:44 laptop-hostname NetworkManager: <WARN> stage1_
I have no clue what "device is not enabled" means, but it apparently prevents the modem from being used.