[systemd-bugs] [Bug 86260] New: systemd-rfkill does not consider hard blocking
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 13 10:01:48 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=86260
Bug ID: 86260
Summary: systemd-rfkill does not consider hard blocking
Product: systemd
Version: unspecified
Hardware: All
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: pilo at ayeon.org
QA Contact: systemd-bugs at lists.freedesktop.org
I have the following wlan adapter:
03:00.0 Network controller [0280]: Intel Corporation Ultimate N WiFi Link
5300 [8086:4236]
The kernel locks this via rfkill on boot:
iwlwifi 0000:03:00.0: RF_KILL bit toggled to disable radio.
And rfkill lists the following:
# rfkill list
0: phy0:t Wireless LAN
Soft blocked: no
Hard blocked: yes
...
# pwd
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill0
# cat soft hard
0
1
Wireless does not work in this state.
To fix, I have to run "rfkill unblock wifi" or similar, manually. After
unblock, i get the following output:
# rfkill list
0: phy0:t Wireless LAN
Soft blocked: no
Hard blocked: no
...
# pwd
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill0
# cat soft hard
0
0
According to the source in src/rfkill/rfkill.c only the state in the file
"soft" is saved and restored. But "hard" should also be handled.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141113/e7e18f0b/attachment.html>
More information about the systemd-bugs
mailing list