Bug 701567 - RFE: make network manager control the soft rfkill switch for WWAN devices
Summary: RFE: make network manager control the soft rfkill switch for WWAN devices
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-03 08:58 UTC by Hans de Goede
Modified: 2012-08-07 15:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 15:58:30 UTC
Type: ---


Attachments (Terms of Use)

Description Hans de Goede 2011-05-03 08:58:41 UTC
Hi,

As discussed in bug 599002, I would like to see the NM wwan on/off toggle also toggle the soft rfkill (block) for wwan devies, like the same functionality which was recently added for wlan devices.

Here are some interesting tid-bits form bug 599002:

(In reply to comment #1)
> Note that for wwan, rfkill just means whether the device is powered, not
> whether it is enabled.
>  When WWAN is rfkilled, it drops off the USB bus
> completely because its power is cut.  When WWAN is not rfkilled, the card is
> available but is not necessarily powered up fully.

I understand what you're saying here, but this is not true for WWAN integrated
into laptops, at least not the WWAN in my Dell latitude E6400...

Directly after boot, hw rfkill switch at radio(s) on position:
[hans@localhost ~]$ rfkill list
0: dell-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: dell-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: dell-wwan: Wireless WAN
        Soft blocked: no
        Hard blocked: no
3: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
4: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
[hans@localhost ~]$ lsusb | grep Huawei
Bus 002 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

Status leds for bluetooth, wwan and wlan all 3 on

***

hw rfkill switch moved to radio(s) off position:
[hans@localhost ~]$ rfkill list
0: dell-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes
1: dell-bluetooth: Bluetooth
        Soft blocked: yes
        Hard blocked: yes
2: dell-wwan: Wireless WAN
        Soft blocked: yes
        Hard blocked: yes
3: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes
[hans@localhost ~]$ lsusb | grep Huawei
Bus 002 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

Status leds for bluetooth, wwan and wlan all 3 off

Notice that the "hci0: Bluetooth" rfkill entry is gone, because the (internal)
bluetooth device actually
gets unplugged from the usb bus, as you described for wwan, but the wwan card
does not get unplugged.

***

hw rfkill switch back at radio(s) on position, do a soft rfkill of the wwan:
[hans@localhost ~]$ rfkill block wwan
result:
[hans@localhost ~]$ rfkill list
0: dell-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: dell-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: dell-wwan: Wireless WAN
        Soft blocked: yes
        Hard blocked: no
3: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
5: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
[hans@localhost ~]$ lsusb | grep Huawei
Bus 002 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

Status leds for bluetooth, wlan on, for wwan off

This is the status which I would like to get in through NetworkManager / the
gnome-shell
NetworkManager "applet".

Thanks & Regards,

Hans

Comment 1 Fedora End Of Life 2012-08-07 15:58:32 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.