diff options
author | Dustin Gathmann <dzsoftware@posteo.org> | 2020-05-21 01:22:53 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-23 17:39:35 +0200 |
commit | 4a9d6320afec39859be0eb7aaa7f06565b0ce750 (patch) | |
tree | c59c34b604e8a74ee1abac21cfa59af0c92482e8 /target/linux/mpc85xx | |
parent | 284cd7d18e4305f20304289144a887b984eb34a4 (diff) | |
download | upstream-4a9d6320afec39859be0eb7aaa7f06565b0ce750.tar.gz upstream-4a9d6320afec39859be0eb7aaa7f06565b0ce750.tar.bz2 upstream-4a9d6320afec39859be0eb7aaa7f06565b0ce750.zip |
lantiq/xrx200: fix WLAN button actions for Fritzbox 3370
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 0ee30adb46a87583badd85b69e4ccd7942786374)
Diffstat (limited to 'target/linux/mpc85xx')
0 files changed, 0 insertions, 0 deletions