View Single Post
Old 07-01-2015, 07:24 PM   #27
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,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
@fastrobot: sorry, it seems I inadvertently abducted your thread, I was referring to my own program earlier (which I wrote because your fbswitch inspired me to do so)

Quote:
Originally Posted by frostschutz View Post
Thanks for your fbswitch, it inspired me to finally try to talk to the framebuffer directly instead of going through pickel showpic.
It's odd, I thought my workaround worked, but it actually stops working after a reboot.

If you write to /sys/class/graphics/fb0/rotate, the value you write is flipped.

And then the PUT/GET_VINFO syscalls flip too!

But if you never wrote to /sys/class/graphics/fb0/rotate at least once, PUT/GET_VINFO doesn't flip!

Huuuh?

Now how to hunt for the rotate flippery flag that's hidden somewhere in the bowels of this ... module ... thing.
frostschutz is offline   Reply With Quote