Dustin Gathmann 4a9d6320af 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)
2020-07-23 17:39:35 +02:00
..
2018-02-20 19:25:17 +01:00
2018-08-16 21:20:57 +02:00
2018-08-16 21:20:57 +02:00
2018-11-26 12:30:33 +01:00
2018-11-26 12:30:33 +01:00
2018-11-26 12:30:33 +01:00
2018-08-16 21:20:57 +02:00