Bug 37892

Summary: Support for system wifi switch on Lenovo ideapad S205
Product: Drivers Reporter: Florian Heyer (heyho)
Component: Platform_x86Assignee: drivers_platform_x86 (drivers_platform_x86)
Status: CLOSED CODE_FIX    
Severity: normal CC: alan, florian, ikepanhc, jlee
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.39 Subsystem:
Regression: No Bisected commit-id:
Attachments: Output of dmidecode on Ideapad S205
acpidump-lenovo-ideapad-s205.dat
0001-acer-wmi-support-Lenovo-ideapad-S205-wifi-switch.patch

Description Florian Heyer 2011-06-19 16:14:14 UTC
Created attachment 62882 [details]
Output of dmidecode on Ideapad S205

Function keys work fine except for the hardware on/off switch for wifi on Lenovo Ideapad S205.

After booting with switch in position "on" wifi is disabled.

Loading module ideapad-laptop doesn't help.

There exists a workaround with module acer-wmi:
One can load the module "acer_wmi". After toggling the hardware switch "rfkill list" shows "hard blocked: no" and one can use wifi.

After that one can unload acer_wmi and with only ideapad_laptop loaded the
wifi switch works as expected powering wifi on/off.
Comment 1 Lee, Chun-Yi 2011-06-20 10:14:03 UTC
Created attachment 62932 [details]
acpidump-lenovo-ideapad-s205.dat
Comment 2 Lee, Chun-Yi 2011-07-30 08:50:27 UTC
Kernel mail loop discussion is here:
http://comments.gmane.org/gmane.linux.drivers.platform.x86.devel/1820
Comment 3 Lee, Chun-Yi 2011-07-30 09:06:20 UTC
Created attachment 67162 [details]
0001-acer-wmi-support-Lenovo-ideapad-S205-wifi-switch.patch

This patch was sand to platform kernel mail for review, will go to v3.1 kernel.
Comment 4 Florian Mickler 2011-08-08 08:09:45 UTC
A patch referencing this bug report has been merged in Linux v3.1-rc1:

commit 15b956a0b5651bbb1217ec374fdd67291dabb2af
Author: Lee, Chun-Yi <joeyli.kernel@gmail.com>
Date:   Sat Jul 30 17:00:45 2011 +0800

    acer-wmi: support Lenovo ideapad S205 wifi switch