Skip to contentSkip to conversation

asus-laptop: add wimax and wwan support

PATCH In review Corentin Chary 2 participants 2 messages Nov 14, 2010 – Nov 24, 2010

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

PATCH 1/1 asus-laptop: add wimax and wwan support

Asus UL30A has a 3G chip, but the radio is disabled by default. The DSDT also reference a WIMAX device, which is not present on this model.

This patch adds two new files: wwan and wimax to control WWAN and WIMAX devices. It does not use rfkill, because like WLED and BLED, we don't know yet that the two ACPI functions will always control the radio, they may control only the leds on some hardware.

We may add rfkill switchs later.

---
 .../ABI/testing/sysfs-platform-asus-laptop         |   16 +++-
 drivers/platform/x86/asus-laptop.c                 |   96 +++++++++++++++++++-
 2 files changed, 110 insertions(+), 2 deletions(-)
Documentation/ABI/testing/sysfs-platform-asus-laptop +15 -1
index 1d77539..41ff8ae 100644
@@ -47,6 +47,20 @@ Date:		January 2007
 KernelVersion:	2.6.20
 Contact:	"Corentin Chary" <[email protected]>
 Description:
-		Control the bluetooth device. 1 means on, 0 means off.
+		Control the wlan device. 1 means on, 0 means off.
 		This may control the led, the device or both.
 Users:		Lapsus
+
+What:		/sys/devices/platform/asus_laptop/wimax
+Date:		October 2010
+KernelVersion:	2.6.37
+Contact:	"Corentin Chary" <[email protected]>
+Description:
+		Control the wimax device. 1 means on, 0 means off.
+
+What:		/sys/devices/platform/asus_laptop/wwan
+Date:		October 2010
+KernelVersion:	2.6.37
+Contact:	"Corentin Chary" <[email protected]>
+Description:
+		Control the wwan (3G) device. 1 means on, 0 means off.
drivers/platform/x86/asus-laptop.c +96 -1

157 lines not on this page · raw message

Signature · 1 line
1.7.3.2