Our Colibri is running on the Toradex Image 2.7
We want to read the current state of an output pin to toggle it.
Reading an input value works fine but reading output values always returns 0 (on low_active returns 1).
Setting the output values works(LED)
Testing this on other environments worked as expected(RPI).
We tried GPIO1_IO2,6,7 on the eval board.
After export and set direction:
echo 1 > /sys/class/gpio/gpio7/value
cat /sys/class/gpio/gpio7/value #returns 0