I
I
ilnile2014-02-01 20:54:25
linux
ilnile, 2014-02-01 20:54:25

How to rotate screen 90' on Cubian platform?

Tell me how to competently rotate the screen 90 'on the Cubian platform?
I started tinkering with xorg.conf settings, but there is no such file in this OS assembly, but there is a 99-sunxifb.conf file,
here is its contents

Section "Device"
  Identifier "Sunxi FBDEV"
  Driver "fbturbo"
  Option "fbdev"  "/dev/fb0"
  Option "Rotate"  "CW"                         #rotation support for screen in driver.  can do cw, etc
  Option "ShadowFB" "on"
  Option "HWCursor" "true"
  Option "DRI2" "true"
  Option "DRI2HWOverlay" "true"
EndSection

Section "Screen"
  Identifier  "Sunxi Screen"
  Device    "Sunxi FBDEV"
EndSection

After these settings, the screen rotates, but the cursor (mouse) remains the same and positioning too.
I have been working in linux not so long ago and have not yet delved into all the subtleties. By poking and googling, I realized that it is still necessary to position the input device
Section "InputDevice"
    Identifier "touchscreen"    //---  не понятно на что влияет и откуда брать
    Option "Device" "/dev/input/event2"   //--- в моем случае event3
    Driver "mtev"           //---какой драйвер обрабатывает мышь в Cubieboard2 также не могу понять / найти
    Option "Rotation" "1"   //--- ед. что понятно
EndSection

So how do you rotate the screen?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question