Flip the screen horizontally

Discussion in 'Kernels' started by cyrilf, Feb 19, 2015.

  1. cyrilf

    cyrilf Active Member

    Joined:
    Feb 19, 2015
    Messages:
    168
    Likes Received:
    47
    Hi,

    I'm quite new on UDOO and I have a question about the possibilities to manage the screen with kernel drivers. I have a UDOO board and the compatible touchscreen. My installation is a buildroot Linux with the kernel sources from the official UDOO website.

    I'd like to know how to flip the display and touch events upside down (180°), even the boot logo. The display is basically a Web interface with Qt Embedded QWebView.

    I'v heard about fbcon but I'm not sure if it's what I want and how to use it.

    Edit : I found the driver of the screen in /sys/class/graphics/fb0 but I cannot do an upside down rotation. The only option that seems to work is :

    Code:
    echo 1 > rotate
    Except that it's a stupid flip both vertical and horizontal .... other values just refresh the framebuffer. /sys/class/graphics/fbcon does nothing.

    Thanks in advance !

    Cyril.
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
  3. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Well then!
     

Share This Page