So, I've found the gpios the reset/wlan buttons are hooked up to.
Unfortunately they seem to clash with pci gpios.
Reset button is on gpio 30 (Clashes: pci-gnt1).
Wlan button is on gpio 29 (Clashes: pci-req1).

I've _verified_ that these are the buttons, but to be able to
hook them into the polling code I have to override the ltq_pci_data
gpio setting.  Then the buttons work: (I see events in
/dev/input/event0 for each button press) but wireless lan doesn't:
[  119.380000] ath5k: phy0: failed to warm reset the MAC Chip
[  119.384000] ath5k: phy0: can't reset hardware (-5)

It might be possible to enable the wlan button with some hackery,
but reset is more difficult since its direction is output for
pci-gnt1.

-- 
Tobias                                          PGP: http://8ef7ddba.uguu.de
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to