tshering, that is an improvement. But when I do that, nickel is turned on its head (180°) and stays that way... still it suggests it could work if one found the right rotate value that nickel needs after pickel displayed an image... I will do some more experimenting
----
It appears, what you write to rotate is the opposite of what you get:
Code:
# cat /sys/class/graphics/fb0/rotate
3
# echo 3 > /sys/class/graphics/fb0/rotate
# cat /sys/class/graphics/fb0/rotate
1
# echo 1 > /sys/class/graphics/fb0/rotate
# cat /sys/class/graphics/fb0/rotate
3
That is strange, but should be easy enough to check for and deal with.
----
This works:
Code:
currentRotation=$(cat /sys/class/graphics/fb0/rotate)
#write to the screen and so on
echo "$currentRotation" > /sys/class/graphics/fb0/rotate
cat /sys/class/graphics/fb0/rotate > /sys/class/graphics/fb0/rotate
#only now revive nickel
I'll add some progress indication in the next beta...