Skip to contentSkip to conversation

dell-wireless: new driver for dell wireless button for Windows 8

PATCH Applied Alex Hung 2 participants 2 messages Nov 12, 2014 – Nov 14, 2014 x86 platform drivers

lore
Share & tools
lore

Alex Hung

author
#0 lore raw

PATCH v2 1/1 dell-wireless: new driver for dell wireless button for Windows 8

This is for Dell's new ACPI device for radio switches with ACPI ID "DELLABCE". This device is Dell's solution for Microsoft Windows 8's new requirement for wireless hotkeys.

When wireless hotkey is pressed, BIOS issues a Notify(RBTN, 0x80) which is tanslated to a keycode KEY_RFKILL to userspace.

---
 drivers/platform/x86/Kconfig         |  12 +++
 drivers/platform/x86/Makefile        |   1 +
 drivers/platform/x86/dell-wireless.c | 159 +++++++++++++++++++++++++++++++++++
 3 files changed, 172 insertions(+)
 create mode 100644 drivers/platform/x86/dell-wireless.c
drivers/platform/x86/Kconfig +12 -0
index 4dcfb71..c500dc2 100644
@@ -228,6 +228,18 @@ config HP_WIRELESS
 	 To compile this driver as a module, choose M here: the module will
 	 be called hp-wireless.
 
+config DELL_WIRELESS
+	tristate "DELL wireless button"
+	depends on ACPI
+	depends on INPUT
+	help
+	 This driver provides supports for new DELL wireless button for Windows
+         8. On such systems the driver should load automatically (via ACPI
+         alias).
+
+	 To compile this driver as a module, choose M here: the module will
+	 be called dell-wireless.
+
 config HP_WMI
 	tristate "HP WMI extras"
 	depends on ACPI_WMI
drivers/platform/x86/Makefile +1 -0
index f82232b..5e360a5 100644
@@ -14,6 +14,7 @@ obj-$(CONFIG_DELL_LAPTOP)	+= dell-laptop.o
 obj-$(CONFIG_DELL_WMI)		+= dell-wmi.o
 obj-$(CONFIG_DELL_WMI_AIO)	+= dell-wmi-aio.o
 obj-$(CONFIG_DELL_SMO8800)	+= dell-smo8800.o
+obj-$(CONFIG_DELL_WIRELESS)	+= dell-wireless.o
 obj-$(CONFIG_ACER_WMI)		+= acer-wmi.o
 obj-$(CONFIG_ACERHDF)		+= acerhdf.o
 obj-$(CONFIG_HP_ACCEL)		+= hp_accel.o
drivers/platform/x86/dell-wireless.c new file +159 -0

159 lines not on this page · raw message

Signature · 1 line
1.9.1
Applied
#1 lore raw
Quoted 8 lines · Alex Hung

This is for Dell's new ACPI device for radio switches with ACPI ID "DELLABCE". This device is Dell's solution for Microsoft Windows 8's new requirement for wireless hotkeys.

When wireless hotkey is pressed, BIOS issues a Notify(RBTN, 0x80) which is tanslated to a keycode KEY_RFKILL to userspace.

Queued, thanks Alex.

Signature · 2 lines
Darren Hart
Intel Open Source Technology Center