Hi,
I have an Archer C7 v2. It has a reset/WPS button which is protruding from the router. Per default, it resets the router when running OpenWRT.
It is way too easy to push this button when cleaning, dusting, adjusting antenna (it's next to one of the antennas and I often accidentally know over the antenna).
While I think it is a bit... cumbersome to have such a sensitive reset button per default (IMHO it should require some time of holding down, say 5-10 seconds) -
what would be the most correct way to disable the reset button? Better yet, just in case I actually need the reset functionality, disable short presses but actually perform a reboot if it's being held down?
As a quick & dirty workaround editing /etc/rc.button/reset is suggested: Is it possible to disable reset button?
This page is confusing the hell out of me: https://openwrt.org/docs/guide-user/hardware/hardware.button - I suppose I could figure it out by some trial and error.
Is there a luci-app-* for controlling hardware buttons?
# ls -l /sys/firmware/devicetree/base/keys
-r--r--r-- 1 root root 10 Mar 2 21:07 compatible
-r--r--r-- 1 root root 5 Mar 2 21:07 name
drwxr-xr-x 2 root root 0 Mar 2 21:07 reset
drwxr-xr-x 2 root root 0 Mar 2 21:07 rfkill