1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/target/linux/ar71xx
John Crispin fd82ffec00 ar71xx: Hornet UB GPIO WPS/Reset
This problem has existed at least since Attitude Adjustment and
is also present in trunk. Basically on the Hornet-UB board the
functionality of RESET and WPS have "switched places".

There are two tickets about the issue at dev.openwrt.org,
The solution suggested on them both is incomplete though
and introduces the following proglem:

Patching as suggested on #14136/#15282 will result in a situation
where simply pressing the RESET button on the bottom will cause
FACTORY RESET to be run. This is due to GPIO high/low state being
incorrect as a result of the above change and virtually the RESET
button is in the pressed-down state the entire time. When it is
then physically pressed, that causes the opposite, release, to be
triggered and since to the board it seemed that the button was
pressed long before it was released, the FACTORY RESET results.

The attached patch works as expected. I have verified both the
incorrect functionality as well as after fixing the issue as
described in the patch and flashing the resulting firmware to a
Hornet-UB board.

Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>

SVN-Revision: 44692
2015-03-12 10:06:42 +00:00
..
base-files ar71xx: fix switched WLAN LEDs on TP-LINK Archer C5/C7 2015-03-11 15:55:06 +00:00
files ar71xx: Hornet UB GPIO WPS/Reset 2015-03-12 10:06:42 +00:00
generic ar71xx: add support for compex wpj558 2015-03-06 14:41:57 +00:00
image ar71xx: improve WD's My Net Wi-fi Range Extender image creation 2015-03-11 15:56:34 +00:00
mikrotik ar71xx: added support for TL-WA830RE V2 2014-07-13 07:12:22 +00:00
nand Netgear R6100 support 2014-11-26 08:28:22 +00:00
patches-3.14 ar71xx: rename wrt160nl's trx partition parser 2015-03-11 15:56:15 +00:00
patches-3.18 ar71xx: rename wrt160nl's trx partition parser 2015-03-11 15:56:15 +00:00
base-files.mk
config-3.14 ar71xx: rename wrt160nl's trx partition parser 2015-03-11 15:56:15 +00:00
config-3.18 ar71xx: rename wrt160nl's trx partition parser 2015-03-11 15:56:15 +00:00
Makefile ar71xx: make v3.18 default 2015-02-17 14:33:29 +00:00
modules.mk ar71xx: always enable hw ecc support for the ar934x-nfc module 2013-11-01 18:33:18 +00:00