Thread: Aura H2O AutoShelf beta
View Single Post
Old 01-18-2015, 05:14 AM   #6
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
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...

Last edited by frostschutz; 01-18-2015 at 05:34 AM.
frostschutz is offline   Reply With Quote