OpenWRT standard config for RST button on BPI-R3mini

I couldn’t find anything about this in the wiki so I try my luck here.

Does someone know what is the standard setting for the RST button in OpenWRT, if there is any? What is the programm for it and where is the config stored?

If nothing ist set by default, what would be the way to go? I’d like to set short push for restart and long push for factory reset.

on r3mini the rst-button does no hard reset (afair on r3/r4 it does) and is mapped to gpio 2 (afaik there was an offset of 5 in moore pinctrl)

grafik

mapping should be done in bpi-r3mini device tree file

so this key should be visible in sysfs and can be mapped in userspace

1 Like

Thanks @frank-w for all the informations.

I’ll have a try. But if somebody made this happen allready and likes to share a short howto for a beginner, he is likely welcome.