[beagleboard] I/O control on Beagleboard

Hi all,
What would be best (=most reliable) way to control i/o lines with Beagle in Ubuntu?

Does anybody have examples to read and write i/o pin at external connector on Beagle?

Thank you in advance.

-Petri-

If you are referring to the omap's gpio pins, then you should take a
look at Documentation/gpio.txt in the linux kernel tree. The kernel
exposes gpio pins in /sys/class/gpio (iirc).

- Ben

Here is a good link for GPIOs:
http://blog.makezine.com/archive/2009/02/blinking_leds_with_the_beagle_board.html

If you want to edit the files in /sys/class/gpio/ as a normal user you will need to chmod export, unexport, the gpioX/value, and possibly the gpioX/direction files.

Hope this helps.
– Andruk