public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* asus-nb-wmi: set wapf=4 for ASUSTeK COMPUTER INC. X75VBP
@ 2014-04-22 20:39 poma
  0 siblings, 0 replies; only message in thread
From: poma @ 2014-04-22 20:39 UTC (permalink / raw)
  To: Linux Kernel list; +Cc: AceLan Kao, Matthew Garrett, Corentin Chary

[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]


Ahoy!

Need to set wapf to 4 for ASUSTeK COMPUTER INC. X75VBP, so that
the device is enabled.

The corresponding /sys/class/dmi/id/* values via dmesg:
DMI: ASUSTeK COMPUTER INC. X75VBP/X75VBP, BIOS X75VBP.304 06/04/2013

Tested with WAPF values 0, 1 and 4.
The values 1 and 4 have the same effect regarding wireless network
adapter enablement.
A value of 0 has no effect.
The corresponding command line:
Kernel command line: BOOT_IMAGE=/isolinux/vmlinuz0
root=live:LABEL=Fedora-Live-Xfce-x86_64-rawhide- ro rd.live.image
selinux=0 biosdevname=0 asus-nb-wmi.wapf=4

rfkill list - vulgaris:
1: asus-wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: asus-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
4: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

rfkill list - asus-nb-wmi.wapf=1,
              asus-nb-wmi.wapf=4:
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: asus-wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
3: asus-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no

Regardless of the values ​​of the WAPF parameter,
<Fn><F2> key combination does not give any results,
i.e. does not toggles The Internal Wireless LAN ON or OFF.
Also the WLAN LED is always ON, no matter what.


poma



[-- Attachment #2: asus-nb-wmi.wapf4-ASUSTeK-X75VBP.diff --]
[-- Type: text/x-patch, Size: 659 bytes --]

diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
index 563f59e..674793d 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -182,6 +182,15 @@ static struct dmi_system_id asus_quirks[] = {
 	},
 	{
 		.callback = dmi_matched,
+		.ident = "ASUSTeK COMPUTER INC. X75VBP",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "X75VBP"),
+		},
+		.driver_data = &quirk_asus_x401u,
+	},
+	{
+		.callback = dmi_matched,
 		.ident = "ASUSTeK COMPUTER INC. 1015E",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-22 20:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-22 20:39 asus-nb-wmi: set wapf=4 for ASUSTeK COMPUTER INC. X75VBP poma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox