[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:41:43 EDT 2015
On 2015-03-11 15:20, Janne Cederberg wrote:
> I have a flash image built based on Barrier Breaker's trunk as of
> today + this patch...in case you Josh or someone else is interested.
Thanks.
For the time being, we actually just use the swapped names. It works...;
it's just that it'll be a point of confusion whenever someone
else inherits these projects from me; so I'm eagerly awaiting
the point when I can just raise my baseline OpenWrt release
and fix my configs so that the names inside match the labels
on the buttons :)
--
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."
> 2015-03-11 21:10 GMT+02:00 Joshua Judson Rosen <jrosen at harvestai.com>:
>> 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