Bug 84171 - ideapad-laptop module blocks radios (wifi and bluetooth) and fn keys do not work at all
Summary: ideapad-laptop module blocks radios (wifi and bluetooth) and fn keys do not w...
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Modules (show other bugs)
Hardware: Intel Linux
: P1 blocking
Assignee: other_modules
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-09 12:33 UTC by Stefan Djordjevic
Modified: 2016-02-15 21:40 UTC (History)
2 users (show)

See Also:
Kernel Version: Linux ideapad 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (65.59 KB, text/plain)
2014-11-23 10:50 UTC, Xavier Chantry
Details
blacklist g50 in ideapad for hw rfkill (1.00 KB, patch)
2014-11-23 17:56 UTC, Xavier Chantry
Details | Diff

Description Stefan Djordjevic 2014-09-09 12:33:28 UTC
Operating system is Linux Mint 17 Cinnamon 64bit on Lenovo IdeaPad g50-30. Wifi works only when ideapad-laptop module is unloaded, and fn keys are not working at all (volume and brghtness control, radio turn on/off control..).
Tried to load another module as a fix, but that didn't worked at all, same behaviour as with default module. Linux is only system installed on computer.
Comment 1 Xavier Chantry 2014-11-23 10:48:12 UTC
Using debian testing (3.16 kernel), wifi is also broken with ideapad-laptop but everything works perfectly fine without that module.

Here is what I get when the module is loaded, two additional entries in rfkill: ideapad_wlan and ideapad_bluetooth. And they are always hard blocked no matter what I do. Clicking on fn+f5 only triggers soft blocked.

# rfkill list   
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
3: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: yes
4: ideapad_bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: yes

Without the module I only have the first two entries and everything works perfectly.

# rfkill list
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

# uname -a
Linux lenovo-g50 3.16.0-4-amd64 #1 SMP Debian 3.16.7-2 (2014-11-06) x86_64 GNU/Linux
Comment 2 Xavier Chantry 2014-11-23 10:50:18 UTC
Created attachment 158531 [details]
dmesg
Comment 3 Xavier Chantry 2014-11-23 10:55:39 UTC
The dmesg shows boot from 0 to 537s with the module blacklisted, then a suspend/resume until 542s, loading of ideapad at 4048s which blocked the wifi, and unloading at 4228s which unblocked it.

Couldn't we simply blacklist this laptop model in ideapad module ?
Comment 4 Xavier Chantry 2014-11-23 10:58:30 UTC
There is also bug 56381 for another lenovo laptop using ath9k, but the symptoms are very similar.
Comment 5 Xavier Chantry 2014-11-23 17:56:47 UTC
Created attachment 158541 [details]
blacklist g50 in ideapad for hw rfkill

Fwiw here is a patch that allows to load ideapad-laptop on g50 and still use the wifi. The only benefit is that fn+f7 can enable/disable wifi.
I am not sure what's the right approach, maybe ideapad-laptop should be blacklisted in an udev rule for that laptop instead ?

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