#15282: Alfa Hornet-UB board WPS and RESET button GPIO reversed
-------------------------+----------------------------------
Reporter: lsoltero@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: kernel | Version: Trunk
Resolution: | Keywords: Hornet-UB reset wps
-------------------------+----------------------------------
Comment (by janne.cederberg@…):
This ticket is a duplicate of #14136. My accident attached the patch twice
and didn't find how to remove one.
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.
--
Ticket URL: <https://dev.openwrt.org/ticket/15282#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets