[OpenWrt-Devel] [PATCH] [ar71xx] Fix duplicate tickets 14136 and 15282 (Hornet UB GPIO WPS/Reset)
Joshua Judson Rosen
jrosen at harvestai.com
Wed Mar 11 15:10:16 EDT 2015
On 2015-03-11 14:48, Janne Cederberg wrote:
> 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.
Interesting--I don't have a good excuse for why I missed that fact myself,
but thanks a bunch for picking the issue/patch up and running with it!
I'm still doing a bunch of work with the Hornet-UB devices, so I'll
be quite delighted if this makes it into a release :)
--
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list