openwrt-owl/target/linux/ar71xx/files
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
..
arch/mips ar71xx: Hornet UB GPIO WPS/Reset 2015-03-12 10:06:42 +00:00
drivers ar71xx: generalize cybertan partition parser 2015-03-11 15:56:27 +00:00
include/linux ar71xx: rb91x-nand: rewrite to use GPIO API 2014-02-23 07:19:32 +00:00
net/dsa ar71xx: the ar7240 dsa driver is no longer used, remove it. 2010-10-21 18:42:28 +00:00