Meefik's Blog

Freedom and Open Source

Screen rotation in framebuffer mode

05 Sep 2014 | android linuxdeploy

Below is a solution for turning the screen correctly in frame buffer mode. That is, to rotate the picture by 90 degrees (landscape orientation) and the touch screen driver handled this rotation correctly. The solution is tested on Samsung Galaxy S2 (i9100), touchscreen MXT224 (you can find out the touchscreen model by using the command: cat /sys/devices/virtual/sec/sec_touchscreen/tsp_touchtype), Ubuntu 13.04 Raring Ringtail and Debian 7.0 Wheezy.

What does work?

To do this, follow these steps: