Skip to contentSkip to conversation

acer-wmi: No wifi rfkill on Sony machines

PATCH New Lee, Chun-Yi 3 participants 3 messages Mar 23, 2012 – Apr 10, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acer-wmi: No wifi rfkill on Sony machines

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 <[email protected]>
Cc Matthew Garrett <[email protected]>
Cc Mattia Dongili <[email protected]>
Cc Dimitris N <[email protected]>
---
 drivers/platform/x86/acer-wmi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/platform/x86/acer-wmi.c +1 -0
index 1e5290b..110e4af 100644
@@ -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},
 };
 
Signature · 1 line
1.6.0.2
#1 lore raw

PATCH 1/1 acer-wmi: No wifi rfkill on Sony machines

From: Lee, Chun-Yi <[email protected]>
Date: Fri, 23 Mar 2012 12:36:44 +0800

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

Addresses http://bugs.debian.org/666568

---
Hi Greg,

Please consider this patch for the 3.0, 3.2, and 3.3-stable series.

Without this patch, on affected machines wireless simply doesn't work unless you unload the acer-wmi driver, regardless of the state of the physical WIRELESS switch. "rfkill list" reports sony-wifi unblocked and acer-wireless soft blocked. "rfkill unblock 2" has no effect.

Kalle (cc-ed) tried the patch on top of 3.2.y and wifi started working again on his Sony VAIO VPCYA1V9E. More details are at
<http://bugs.debian.org/666568>.

Thanks,
Jonathan

 drivers/platform/x86/acer-wmi.c |    1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/acer-wmi.c +1 -0
index db9b25abeb66..2080b223c74a 100644
@@ -689,6 +689,7 @@ static const struct acpi_device_id norfkill_ids[] = {
 	{ "VPC2004", 0},
 	{ "IBM0068", 0},
 	{ "LEN0068", 0},
+	{ "SNY5001", 0},	/* sony-laptop in charge */
 	{ "", 0},
 };
 
Signature · 1 line
1.7.10.rc3
#2 lore raw
Quoted 19 lines · Jonathan Nieder

From: Lee, Chun-Yi <[email protected]>
Date: Fri, 23 Mar 2012 12:36:44 +0800

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

Addresses http://bugs.debian.org/666568

Quoted 4 lines

---
Hi Greg,

Please consider this patch for the 3.0, 3.2, and 3.3-stable series.

Now applied, thanks for letting me know.

greg k-h