Skip to contentSkip to conversation

ideapad_laptop: rfkill quirk

DISCUSSION Stephan Mueller 1 participant 1 message Oct 26, 2014 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

Hi,

I am working on a Lenovo Yoga Pro 3. This device does not have any physical rfkill switch. In addition, it has a Broadcomm 4352 wireless device.

I am using the proprietary Broadcomm wireless device driver as there is currently no open source driver available.

After booting the Broadcomm wireless driver is not loaded. ifconfig -a does not display any wireless device. The status of rfkill is as follows:

rfkill list all
0: ideapad_wlan: Wireless LAN
Soft blocked: yes
Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes

You see, that there is a woreless LAN device reported with a hardware rfkill switch.

When insmoding the Broadcomm driver, the rfkill status is:

rfkill list all
0: ideapad_wlan: Wireless LAN
Soft blocked: yes
Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
7: phy1: Wireless LAN
Soft blocked: yes
Hard blocked: no
8: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no

Now, after calling rfkill unblock all, the soft blocked status is no, but the hard blocked is still yes for the ideapad_wlan. This implies that the NetworkManager keeps the Broadcomm phy1 device disabled. When I rmmod the ideapad_laptop device driver, only phy1 and hci0 are left and NetworkManager activates them to work normally.

When insmoding the ideapad_laptop again, I see the hard blocked setting for both ideapad_* devices is "no", which implies that I still have network connection.

I am wondering why is there an ideapad wlan rfkill hardware switch found after boot, but after rmmod and insmod it is not found any more.

Thanks

Signature · 2 lines
Ciao
Stephan