<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd-rfkill does not consider hard blocking"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86260">86260</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemd-rfkill does not consider hard blocking
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pilo@ayeon.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>