hello...
if hwlevel screen would be supported on fbtft it would be easy to do many stuff like rotating the gui... and playing hd videos... will see later if it will be available.
Therefore there is a solution to rotate the Gui (startx) you have to modify the xorg.config file
edit your x11 config file with gedit, it's present on \etc\x11\xorg.conf
you could play with the file by adding/removing this lines :
- Code: Select all
Option "rotate" "CW"
Option "SwapAxes" "True"
Option "InvertY" "True"
Option "InvertX" "True"
don't use all the line at the same time.
you can create a copy of your config file and indicate to startx what config file to load by this command
- Code: Select all
startx -- -config /etc/X11/yournewcfgfile
...
Rotation on demand does not work under the gui interface
you have to edit /sys/class/graphics/fbcon/rotate value to rotate the screen on demand
you could try
echo 1 > /sys/class/graphics/fbcon/rotate
echo 0 > /sys/class/graphics/fbcon/rotate
cheers