[Q] Status value of reset button


I’m getting confused about the status value of the reset button (lo, hi) in the /sys/kernel/debug/gpio file

With the new Mango MT300N-V2 the default value of the reset button is “hi” and change to “lo” while being pressed. On the other hand with the AR150 minirouter it seems the values are assigned the other way around.

Am I right? Could someone confirm this ?

actually hi or lo can both refer to pressed or released.

So you need to find out the actual value.

Thanks for the fast reply @alzhao

Actually for the switch, the left position is referred in all devices to the “hi” value of the related GPIO. That’s why I thought it will be the same with the reset button.