Bug#666568: [acer_wmi] rfkill blocks WLAN on Sony VAIO VPCYA1V9E, regardless of hardware switch
# basic hardware support
severity 666568 important
tags 666568 + patch upstream moreinfo
quit
Hi,
Kalle Olavi Niemitalo wrote:
> On Sony VAIO VPCYA1V9E, the acer-wmi module is automatically
> loaded. It then misdetects an rfkill switch and keeps WLAN
> disabled all the time. I can reenable WLAN by unloading the
> acer-wmi module.
Please test the attached patch, following instructions from [1] or the
following instructions:
0. Prerequisites.
apt-get install git build-essential
1. Get a copy of the kernel history if you don't already have it.
git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
2. Fetch point releases.
cd linux
git remote add -f stable \
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
3. Configure, build, and test 3.2.y.
git checkout stable/linux-3.2.y
cp /boot/config-$(uname -r) .config; # current configuration
# Make sure the acer-wmi is loaded so it doesn't get configured out
# by the next step.
modprobe acer-wmi
make localmodconfig; # optional: minimize configuration
make deb-pkg; # optionally with -j<num> for parallel build
dpkg -i ../<name of package>; # as root
reboot
... test test test ...
4. Hopefully it reproduces the bug. So try the patch:
cd linux
git cherry-pick -x -s 5719b81988f3
make deb-pkg; # maybe with -j4
dpkg -i ../<name of package>
reboot
... test test test ...
Hope that helps,
Jonathan
[1] http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official
or the corresponding page in the debian-kernel-handbook package
From: "Lee, Chun-Yi" <joeyli.kernel@gmail.com>
Date: Fri, 23 Mar 2012 12:36:44 +0800
Subject: acer-wmi: No wifi rfkill on Sony machines
commit 5719b81988f3c24ff694dc3a37e35b35630a3966 upstream.
The wireless rfkill should charged by sony-laptop but not acer-wmi.
So, add Sony's SNY5001 acpi device to blacklist in acer-wmi.
Tested on Sony Vaio
Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Mattia Dongili <malattia@linux.it>
Cc: Dimitris N <ddarlac@gmail.com>
Tested-by: Dimitris N <ddarlac@gmail.com>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
drivers/platform/x86/acer-wmi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 1e5290b5396d..110e4af07640 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -692,6 +692,7 @@ static const struct acpi_device_id norfkill_ids[] = {
{ "VPC2004", 0},
{ "IBM0068", 0},
{ "LEN0068", 0},
+ { "SNY5001", 0}, /* sony-laptop in charge */
{ "", 0},
};
--
1.7.10.rc3
Reply to: