I am on the latest master snapshot using a Comfast CF-E5. The reset button is supposed to be on GPIO17. I have an IRQ entry of gpio-ath79 17 on my system but when I press the button I can never see any response in the logs, and the device never responds to the key with either a reboot or firstboot. What can I check? It used to work on an older version.
cat /proc/interrupts
CPU0
3: 16348 MIPS 3 ehci_hcd:usb1
4: 0 MIPS 4 19000000.eth
5: 24687 MIPS 5 1a000000.eth
7: 153665 MIPS 7 timer
9: 30 MISC 3 ttyS0
12: 93596 INTC 0 ath9k
17: 0 gpio-ath79 17 keys
ERR: 49
Here is the relevant portion of the DTS file
keys {
compatible = "gpio-keys";
reset {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
cat /sys/kernel/debug/gpio
root@OpenWrt:~# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-31, parent: platform/18040000.gpio, 18040000.gpio:
gpio-0 ( |cf-e5:blue:wlan ) out hi
gpio-1 ( |sysfs ) out hi
gpio-2 ( |cf-e5:blue:rssi0 ) out hi
gpio-3 ( |cf-e5:blue:rssi1 ) out hi
gpio-4 ( |cf-e5:blue:wan ) out hi
gpio-11 ( |sysfs ) out hi
gpio-12 ( |sysfs ) out hi
gpio-14 ( |sysfs ) out hi
gpio-15 ( |cf-e5:blue:rssi2 ) out hi
gpio-16 ( |cf-e5:blue:lan ) out lo
gpio-17 ( |reset ) in hi IRQ