modem-manager state doesn't match hardware state after suspend (not able to connect)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
modemmanager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
After suspend/resume cycle USB 3G modem is in disconnected state. Modem-manager reports device state just changing between disconnecting and connected:
Sep 27 11:17:02 rantapallo modem-manager[
Sep 27 11:17:02 rantapallo modem-manager[
But I can make modem-manager to reset the complete state just by killing it.
Sep 27 11:17:25 rantapallo modem-manager[
Sep 27 11:17:25 rantapallo modem-manager[
Sep 27 11:17:25 rantapallo modem-manager[
Sep 27 11:17:25 rantapallo modem-manager[
Sep 27 11:17:25 rantapallo modem-manager[
Sep 27 11:17:25 rantapallo modem-manager[
Sep 27 11:17:25 rantapallo NetworkManager[
Sep 27 11:17:25 rantapallo modem-manager[
Sep 27 11:17:25 rantapallo modem-manager[
Sep 27 11:17:25 rantapallo modem-manager[
Sep 27 11:17:25 rantapallo NetworkManager[
Sep 27 11:17:25 rantapallo NetworkManager[
Sep 27 11:17:25 rantapallo NetworkManager[
Sep 27 11:17:25 rantapallo NetworkManager[
Sep 27 11:17:25 rantapallo NetworkManager[
Sep 27 11:17:25 rantapallo dbus[729]: [system] Activating service name='org.
Sep 27 11:17:25 rantapallo modem-manager[
Sep 27 11:17:25 rantapallo modem-manager[
Sep 27 11:17:25 rantapallo dbus[729]: [system] Successfully activated service 'org.freedeskto
Sep 27 11:17:25 rantapallo NetworkManager[
*** plugin loading ***
*** Serial port opening spam ***
Sep 27 11:17:54 rantapallo modem-manager[
Sep 27 11:17:55 rantapallo modem-manager[
Sep 27 11:17:55 rantapallo modem-manager[
Sep 27 11:17:55 rantapallo NetworkManager[
Sep 27 11:17:55 rantapallo modem-manager[
Sep 27 11:17:55 rantapallo modem-manager[
Sep 27 11:17:55 rantapallo modem-manager[
Sep 27 11:17:55 rantapallo modem-manager[
Sep 27 11:17:55 rantapallo modem-manager[
To me it seems that modem-manager would just need to know about suspend/resume and how to close and reopen with completely clean state the modem.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: modemmanager 0.6.0.0.
ProcVersionSign
Uname: Linux 3.8.0-30-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Fri Sep 27 11:19:21 2013
InstallationDate: Installed on 2011-11-02 (695 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
MarkForUpload: True
SourcePackage: modemmanager
UpgradeStatus: Upgraded to raring on 2013-09-18 (8 days ago)
In ModemManager 1.x, the current power state of the modem is not assumed when the modem is enabled; i.e. we always re-check current power status before trying to power-up.