diff mbox

[OpenWrt-Devel] kernel: add references to openwrt alternative button handling

Message ID 1421331855-10284-1-git-send-email-karlp@tweak.net.au
State Accepted
Headers show

Commit Message

Karl Palsson Jan. 15, 2015, 2:24 p.m. UTC
From: Karl Palsson <karlp@remake.is>

Add documentation that makes it easier to find the alternative,
recommended, and default handling for buttons in OpenWrt.

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
---

I was having a hard time discovering buttons, and getting conflicts after
enabling the input-gpio-keys* modules.  zajec on IRC suggested I could submit
patches to improve the docs and hopefully help with discovering
gpio-button-hotplug.

 package/kernel/linux/modules/input.mk | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox

Patch

diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk
index 32adc1e..f42cbae 100644
--- a/package/kernel/linux/modules/input.mk
+++ b/package/kernel/linux/modules/input.mk
@@ -82,6 +82,9 @@  endef
 define KernelPackage/input-gpio-keys/description
  This driver implements support for buttons connected
  to GPIO pins of various CPUs (and some other chips).
+
+ See also gpio-button-hotplug which is an alternative, lower overhead
+ implementation that generates uevents instead of kernel input events.
 endef
 
 $(eval $(call KernelPackage,input-gpio-keys))
@@ -101,6 +104,9 @@  endef
 
 define KernelPackage/input-gpio-keys-polled/description
  Kernel module for support polled GPIO keys input device
+
+ See also gpio-button-hotplug which is an alternative, lower overhead
+ implementation that generates uevents instead of kernel input events.
 endef
 
 $(eval $(call KernelPackage,input-gpio-keys-polled))