Hello
I'm using Yocto dizzy build and it works like a charm for everything else. When I check out the GPIOs on sysfs, I don't see the "direction" control
[code]
# ls /sys/class/gpio/
export gpiochip128 gpiochip192 gpiochip64 unexport
gpiochip0 gpiochip160 gpiochip32 gpiochip96
[/code]
[code]
# ls /sys/class/gpio/gpiochip128/
base device label ngpio power subsystem uevent
[/code]
So the question is two-fold:
(1) What is the mapping of GPIO numbers to pins for Rev. C1?
(2) Why is there no direction setting?
Thanks.
There is some information on wandboard forums with the answer to this same question:
Wandboard Discussion Forums • View topic - WB Quad "direction" control on GPIO missing?
I’m also adding the information in this thread in case is useful to other users:
You first need to export GPIO pin, for example:
echo 91 > /sys/class/gpio/export
Then you'll see /sys/class/gpio/gpio91/ and there will be direction and value assigned to the pin.
Please review the following link for further information on the Wandboard external GPIOs. The external GPIOs are the same on revisions A, B and C1.