GNOME Bugzilla – Bug 665877
Ericsson F3507g WWAN: network-manager can't power it off
Last modified: 2012-08-13 09:38:49 UTC
I filed this bug on Launchpad ass well (https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/816400) Like in https://bugs.launchpad.net/bugs/756553 described: On a Thinkpad X200 Tablet network-manager can power on the f3507g but is not able to power it off. This is only possible with the hardware flight mode switch. This ist still a problem in network-manager 0.9.1.90, when i uncheck the mobile broadband, it only says "Not activated" (I guess, as i use the german l10n), but i can still find it in the "lsusb" list.
Hi! I can confirm this. OS: Gentoo Linux Kernel: 3.1.5-gentoo Card: Ericsson Business Mobile Networks BV F3507g Mobile Broadband Module Card Firmware: R1D06 Notebook: Thinkpad X200 Tablet Notebook Bios: 3.19 (newest) I am attaching debug log of modemmanager, networkmanager and lsusb. The problem is, that after disabling the f3507g via networkmanager, its still enabled. rfkill confirms this.
Created attachment 204228 [details] network-manager debug log
Created attachment 204229 [details] modem-manager debug log
Created attachment 204230 [details] lsusb log
root@Serenity / $ rfkill list 0: phy0: Wireless LAN Soft blocked: yes Hard blocked: no 1: tpacpi_bluetooth_sw: Bluetooth Soft blocked: no Hard blocked: no 2: tpacpi_wwan_sw: Wireless WAN Soft blocked: no Hard blocked: no 4: hci0: Bluetooth Soft blocked: no Hard blocked: no
Any news on this? :(
NM does not toggle rfkill for modems because there's often better ways of putting them to into low-power mode rather than full rfkill. Obviously rfkill can still be used to power the modem off completely in situations that require it. This gets implemented on a modem-by-modem basis and isn't active for many modems yet because often it causes them to drop off the bus entirely without being rfkilled, and for phones often powers down the phone. For Ericsson devices though, we should likely be sending CFUN=4 to put the device into low-power state, and leave full power down to user-initiated rfkill.
CFUN=4 sounds very good, whould be nice, if this could be implemented :)
Created attachment 220702 [details] [review] Proposed untested patch to solve this bug
The Ericsson plugin is not yet ported to the new codebase; the code you modified will not actually even get compiled as that plugin is disabled in the Makefile.am :-) You really want to get the MM_05 or MM_06 branch and hack the change there, possibly overriding MM_GENERIC_GSM_PROP_POWER_DOWN_CMD as done in the ZTE plugin. Whenever that gets done, I'll include the fix in git master when the Ericsson plugin gets ported.
Review of attachment 220702 [details] [review]: Needs to be hacked for MM_05 or MM_06
Needless to say, I'm the culprit of the confusion for having the plugins/ directory with old & new plugins; just a hint: if the plugin has its own directory under plugins/ then it's ported, otherwise it's not. Sorry for that :-)
Ah,that explains why the other plugins implemented other interfaces. I assumed it was right since it built ok. Will try to do it in those branches.
Created attachment 220734 [details] [review] Patch for MM_05 and MM_06
Review of attachment 220734 [details] [review]: This one looks good now; pushed to MM_05 and MM_06.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
Fixed in commits: 850d78b938e895e3a1628f8ce45a67c7d5cfd2ca (MM_05) 36ef5fa278a932913db77771540c28a1f3296a1d (MM_06)