Skip to contentSkip to conversation

topstar-laptop: add new driver for hotkeys support on Topstar N01

PATCH Superseded Herton Ronaldo Krzesinski 2 participants 2 messages Sep 9, 2009

Subsystems (3)

v3 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 topstar-laptop: add new driver for hotkeys support on Topstar N01

This adds Topstar Laptop Extras ACPI driver. It enables hotkeys functionality with Topstar N01 netbook. Besides hotkeys there are other functions exposed by its ACPI firmware, but for now only hotkeys reporting on Topstar N01 is supported. Topstar is a chinese manufacturer, its website can be currently reached at
http://www.topstardigital.cn/

---
 drivers/platform/x86/Kconfig          |    9 +
 drivers/platform/x86/Makefile         |    1 +
 drivers/platform/x86/topstar-laptop.c |  299 +++++++++++++++++++++++++++++++++
 3 files changed, 309 insertions(+), 0 deletions(-)
 create mode 100644 drivers/platform/x86/topstar-laptop.c

v3 addresses last comments on the patch previously posted and adds missing MODULE_DEVICE_TABLE entry.

drivers/platform/x86/Kconfig +9 -0
index 77c6097..4831562 100644
@@ -396,6 +396,15 @@ config ACPI_ASUS
 	  NOTE: This driver is deprecated and will probably be removed soon,
 	  use asus-laptop instead.
 
+config TOPSTAR_LAPTOP
+	tristate "Topstar Laptop Extras"
+	depends on ACPI
+	depends on INPUT
+	---help---
+	  This driver adds support for hotkeys found on Topstar laptops.
+
+	  If you have a Topstar laptop, say Y or M here.
+
 config ACPI_TOSHIBA
 	tristate "Toshiba Laptop Extras"
 	depends on ACPI
drivers/platform/x86/Makefile +1 -0
index 641b8bf..d1c1621 100644
@@ -19,4 +19,5 @@ obj-$(CONFIG_PANASONIC_LAPTOP)	+= panasonic-laptop.o
 obj-$(CONFIG_INTEL_MENLOW)	+= intel_menlow.o
 obj-$(CONFIG_ACPI_WMI)		+= wmi.o
 obj-$(CONFIG_ACPI_ASUS)		+= asus_acpi.o
+obj-$(CONFIG_TOPSTAR_LAPTOP)	+= topstar-laptop.o
 obj-$(CONFIG_ACPI_TOSHIBA)	+= toshiba_acpi.o
drivers/platform/x86/topstar-laptop.c new file +299 -0

299 lines not on this page · raw message

Signature · 1 line
1.6.4.2
#1 lore raw
Quoted 9 lines · Herton Ronaldo Krzesinski

This adds Topstar Laptop Extras ACPI driver. It enables hotkeys functionality with Topstar N01 netbook. Besides hotkeys there are other functions exposed by its ACPI firmware, but for now only hotkeys reporting on Topstar N01 is supported. Topstar is a chinese manufacturer, its website can be currently reached at
http://www.topstardigital.cn/

Seems good,
Maybe you'll want to make a patch to add yourself to the MAINTAINERS file. You should also CC Len Brown, so he will add your patch in the linux-acpi tree.

Signature · 2 lines
Corentin Chary
http://xf.iksaif.net