Connect external button to mini2440

Weez
Hello everyone!

I need to connect a external button to the mini2440. I've found some
interesting tutorials about the buttons mounted on the board, but
unfortunately I have not found nothing about external buttons.

Let's say I want the external button to act as the User Button 1. Where
should I plug in the wires into the GPIO connector to make it work? Will I
have to change the program or the external button will now simulate the
original one?

I was searching the web for hours, but I haven't found the answer for my
question. :/

Thanks in advance!

Weez.

luc
Put it in parallel with the one on the board...

kind regards 
luc

davef
Go here:

http://www.ptxdist.org/oselas/bsp/pengutronix/mini2440_bsp_en.html

and download:

OSELAS.BSP-Pengutronix-Mini2440-Quickstart.pdf

and you'll find out how use external GPIO

Weez
Thank you Luc!

Do you know which pins on the GPIO are representing the button 1? Where
should I plug in?

Sorry for my silly questions, but I am definitely more a sysadmin, than a
electronic engineer... :)

Weez.

davef
Download the schematic on the downloads page.

ugo71
Hey, i try to configure the gpio ports and i follow your advices but i've a
linux on my mini2440 and in the directory sys/class i have no directory
named gpio so i can't configure them.

davef
Possibly because you haven't configure the kernel to include them.

Which linux do you have on your mini2440?

Andre
@ugo71 this guide would show you how to compile the kernel with GPIO
www.youtube.com/watch?v=OzrxEIAHdxo

ugo71
Thx for your answers i'm gonna follow this tuto.