wireless is always disabled
WIFI is always considered disabled with this hardware, making networkmanager unusable.
Version: 1.14.4, 1.14.5-dev
Hardware: Lenovo Ideapad 530S-14ARR
Distro: arch
Kernel: 4.18.16-arch1-1-ARCH
How to reproduce:
- Enable wireless with
rfkill unblock wifi
- Run
nmcli radio
to check wifi enabled state
Expected: WIFI is 'Enabled'
Actual: WIFI is 'Disabled'
The issue is always reproducible on this computer. This makes the wireless unusable with network manager, as it will refuse to list networks or connect. Using wpa_supplicant and dhcpd directly works without issue.
rfkill output with enabled wifi:
ID TYPE DEVICE SOFT HARD
1 wlan ideapad_wlan unblocked blocked
2 bluetooth ideapad_bluetooth unblocked blocked
3 wlan phy0 unblocked unblocked
6 bluetooth hci0 unblocked unblocked
rfkill output with disabled wifi:
ID TYPE DEVICE SOFT HARD
1 wlan ideapad_wlan blocked blocked
2 bluetooth ideapad_bluetooth unblocked blocked
3 wlan phy0 blocked unblocked
6 bluetooth hci0 unblocked unblocked
nmcli radio output:
WIFI-HW WIFI WWAN-HW WWAN
enabled disabled enabled enabled
Relevant log:
okt 25 15:54:00 wall-e NetworkManager[362]: <info> [1540475640.1618] dns-mgr[0x55ff46efb900]: init: dns=default, rc-manager=symlink
okt 25 15:54:00 wall-e NetworkManager[362]: <info> [1540475640.1628] rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:14.3/PNP0C09:00/VPC2004:00/rfkill/rfkill1) (pl>
okt 25 15:54:00 wall-e NetworkManager[362]: <info> [1540475640.1639] manager[0x55ff46ef1030]: rfkill: WiFi hardware radio set enabled
okt 25 15:54:00 wall-e NetworkManager[362]: <info> [1540475640.1639] manager[0x55ff46ef1030]: rfkill: WWAN hardware radio set enabled
okt 25 15:54:00 wall-e NetworkManager[362]: <info> [1540475640.1807] settings: Loaded settings plugin: NMSKeyfilePlugin (internal)
okt 25 15:54:00 wall-e NetworkManager[362]: <info> [1540475640.1816] settings: Loaded settings plugin: NMSIbftPlugin ("/usr/lib/NetworkManager/1.14.4-1/libnm-settings-plugin-ibft.so")
okt 25 15:54:00 wall-e NetworkManager[362]: <info> [1540475640.1828] manager: rfkill: WiFi disabled by radio killswitch; enabled by state file
okt 25 15:54:00 wall-e NetworkManager[362]: <info> [1540475640.1829] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
okt 25 15:54:00 wall-e NetworkManager[362]: <info> [1540475640.1829] manager: Networking is enabled by state file
I am attaching a patch that fixes the issue for me. It just ignores "platform rfkill devices" when determining the killswitch state. ignore-platform-devices.diff