Ok, that fixed something.
WLS button on back makes the Blue LED on front turn on and off.
RST button makes the box reboot.
I didn't notice any changes when using the WPS button but I assume it's just not obvious.
This is the only thing relevant I found in the dmesg.
[ 13.220282] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[ 13.227479] ath: phy0: Enable LNA combining
[ 13.231687] ath: phy0: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[ 13.238907] ath: phy0: random mac address will be used: d2:5f:cd:c7:d6:c8
[ 13.247236] ath: EEPROM regdomain: 0x0
[ 13.247255] ath: EEPROM indicates default country code should be used
[ 13.247270] ath: doing EEPROM country->regdmn map search
[ 13.247301] ath: country maps to regdmn code: 0x3a
[ 13.247318] ath: Country alpha2 being used: US
[ 13.247333] ath: Regpair used: 0x3a
[ 13.261506] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 13.267966] AR928x: initiating buttons
[ 13.271780] AR928x: processing button named wps, code=529, number=6
[ 13.278141] AR928x: processing button named reset, code=408, number=7
[ 13.284626] AR928x: processing button named rfkill, code=247, number=8
[ 13.291513] gpio_keys_polled_probe: starting
[ 13.295850] gpio_keys_button_probe: starting
[ 13.300140] gpio_keys_button_probe: Allocating memory for 3 buttons
[ 13.306463] gpio_keys_button_probe: requesting GPIO 58 for button
[ 13.312595] gpio_keys_button_probe: setting direction to input for GPIO 58
[ 13.319515] gpio_keys_button_probe: requesting GPIO 59 for button
[ 13.325654] gpio_keys_button_probe: setting direction to input for GPIO 59
[ 13.332564] gpio_keys_button_probe: requesting GPIO 60 for button
[ 13.338704] gpio_keys_button_probe: setting direction to input for GPIO 60
[ 13.345653] AR928x: buttons initiated
Edit: Also your post #83 test script works now generating:
Fri Jan 29 18:05:17 2016 user.notice root: button was rfkill and action was pressed
Fri Jan 29 18:05:17 2016 user.notice root: button was rfkill and action was released
Fri Jan 29 18:05:34 2016 user.notice root: button was reset and action was pressed
Fri Jan 29 18:05:35 2016 user.notice root: button was reset and action was released
Fri Jan 29 18:05:44 2016 user.notice root: button was wps and action was pressed
Fri Jan 29 18:05:44 2016 user.notice root: button was wps and action was released
I think I had to disable the other scripts first.
Other test script shows the expected "Resource busy now"
# ./button.sh
sh: write error: Resource busy
sh: write error: Resource busy
[GPIO54] value 1
[GPIO55] value 1
[GPIO56] value 1
sh: write error: Resource busy
sh: write error: Resource busy
sh: write error: Resource busy
sh: write error: Resource busy
sh: write error: Resource busy
sh: write error: Resource busy
[GPIO63] value 1
(Last edited by marked on 29 Jan 2016, 19:09)