Skip to contentSkip to conversation

intel-hid: new hid event driver for hotkeys

PATCH In review Alex Hung 3 participants 4 messages Dec 18, 2015 x86 platform drivers

lore
Share & tools
lore

Alex Hung

author
#0 lore raw

PATCH v2 1/1 intel-hid: new hid event driver for hotkeys

This driver supports various HID events including hotkeys. Dell XPS 13 9350 requires it for the wireless hotkey.

---
 MAINTAINERS                      |   6 +
 drivers/platform/x86/Kconfig     |  11 ++
 drivers/platform/x86/Makefile    |   1 +
 drivers/platform/x86/intel-hid.c | 289 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 307 insertions(+)
 create mode 100644 drivers/platform/x86/intel-hid.c
MAINTAINERS +6 -0
index 6889a6d..9fbd357 100644
@@ -5502,6 +5502,12 @@ T:	git git://git.code.sf.net/p/intel-sas/isci
 S:	Supported
 F:	drivers/scsi/isci/
 
+INTEL HID EVENT DRIVER
+M:	Alex Hung <[email protected]>
+L:	[email protected]
+S:	Maintained
+F:	drivers/platform/x86/intel-hid.c
+
 INTEL IDLE DRIVER
 M:	Len Brown <[email protected]>
 L:	[email protected]
drivers/platform/x86/Kconfig +11 -0
index 1089eaa..c9400c6 100644
@@ -731,6 +731,17 @@ config ACPI_CMPC
 	  keys as input device, backlight device, tablet and accelerometer
 	  devices.
 
+config INTEL_HID_EVENT
+	tristate "INTEL HID Event"
+	depends on ACPI
+	depends on INPUT
+	help
+	 This driver provides support for the Intel HID Event hotkey interface.
+	 Some aptops require this driver for hotkey support.
+
+	 To compile this driver as a module, choose M here: the module will
+	 be called intel_hid.
+
 config INTEL_SCU_IPC
 	bool "Intel SCU IPC Support"
 	depends on X86_INTEL_MID
drivers/platform/x86/Makefile +1 -0
index 3ca78a3..c7766a4 100644
@@ -41,6 +41,7 @@ obj-$(CONFIG_ACPI_TOSHIBA)	+= toshiba_acpi.o
 obj-$(CONFIG_TOSHIBA_BT_RFKILL)	+= toshiba_bluetooth.o
 obj-$(CONFIG_TOSHIBA_HAPS)	+= toshiba_haps.o
 obj-$(CONFIG_TOSHIBA_WMI)	+= toshiba-wmi.o
+obj-$(CONFIG_INTEL_HID_EVENT)	+= intel-hid.o
 obj-$(CONFIG_INTEL_SCU_IPC)	+= intel_scu_ipc.o
 obj-$(CONFIG_INTEL_SCU_IPC_UTIL) += intel_scu_ipcutil.o
 obj-$(CONFIG_INTEL_MFLD_THERMAL) += intel_mid_thermal.o
drivers/platform/x86/intel-hid.c new file +289 -0

289 lines not on this page · raw message

Signature · 1 line
2.5.0
#1 lore raw
Quoted 3 lines · Alex Hung

This driver supports various HID events including hotkeys. Dell XPS 13 9350 requires it for the wireless hotkey.

Still:

with the single character nitpick:

drivers/platform/x86/Kconfig config ACPI_CMPC · line 740

Quoted 7 lines
drivers/platform/x86/Kconfig +7 -0
+config INTEL_HID_EVENT
+       tristate "INTEL HID Event"
+       depends on ACPI
+       depends on INPUT
+       help
+        This driver provides support for the Intel HID Event hotkey interface.
+        Some aptops require this driver for hotkey support.

laptops

--Andy

#2 lore raw
Quoted 19 lines · Andy Lutomirski
Quoted 3 lines · Alex Hung

This driver supports various HID events including hotkeys. Dell XPS 13 9350 requires it for the wireless hotkey.

Still:

with the single character nitpick:

drivers/platform/x86/Kconfig config ACPI_CMPC · line 740

Quoted 7 lines
drivers/platform/x86/Kconfig +7 -0
+config INTEL_HID_EVENT
+       tristate "INTEL HID Event"
+       depends on ACPI
+       depends on INPUT
+       help
+        This driver provides support for the Intel HID Event hotkey interface.
+        Some aptops require this driver for hotkey support.
Quoted 1 line

laptops

Thanks,

I'll correct.

Signature · 2 lines
Darren Hart
Intel Open Source Technology Center