mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
4a9d6320af
The WLAN button actions are reversed, i.e. pressing the button emits a
'released' action, and vice versa.
This can easily be checked by adding
logger -t button_action "$BUTTON $ACTION"
as the second line of /etc/rc.button/rfkill, and using logread to read
the events (assuming the preceding patch has been applied).
Defining the GPIO as ACTIVE_LOW corrects this behavior.
Signed-off-by: Dustin Gathmann <dzsoftware@posteo.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
ase | ||
base-files | ||
falcon | ||
files/firmware/lantiq | ||
files-4.14/arch/mips/boot/dts | ||
image | ||
patches-4.14 | ||
xrx200 | ||
xway | ||
xway_legacy | ||
config-4.14 | ||
Makefile | ||
modules.mk |