Mini2440 External Button

hdak
Hi, how can i use external button with 2440's gpios?(under linux)

davef
Download this document from Pengutronix:

OSELAS.BSP-Pengutronix-Mini2440-Quickstart.pdf

Juergen Beisert
hdak,

in a current kernel (for example 2.6.39) they are already registerd as GPIO
based key buttons. I you run a 'cat /dev/input/event0' and press some of
the key buttons you should see some output. These key buttons are
configured to provide the function key codes (F1, F2, F3 and F5)