[use I2C pins on header expansion]

Hello

First of all, thank you for your time to read this.

I'm a newbie on Beagle's developpment and I don't know how to check if
my I2C peripherals around the Beagle work fine.

Right now, the beagle boots with xubuntu but I'm trying to send some
basic commands through I2C line (with header expansion pins) under
Terminal

This looks like something like this :

Command Effect
echo $PORT > /sys/class/gpio/export Open a GPIO port for writing
echo $PORT > /sys/class/gpio/unexport Release the GPIO port
echo "high" > /sys/class/gpio$PORT/direction Take the port high
echo "low" > /sys/class/gpio$PORT/direction Take the port low

I would like to know how can you manage to send i2c commands (with an
C file to compile for example)

Thanks.