How to do N2 HDMI screen rotation

Post Reply
Posts: 10
Joined: Thu Jun 06, 2019 11:49 am
languages_spoken: english
ODROIDs: ux4 n2
Has thanked: 1 time
Been thanked: 0

How to do N2 HDMI screen rotation

Post by potato1992 »

I have a 7 inch 1024x600 waveshare touch sreen with VID and PID as 0x0eef:0x0005, working perfect with N2 ubuntu.
I wondered if there is anyway I could rotate the screen by 90/180/270, since I could not do it in the display settings menu (only one option "no rotation" could be selected).
I see one topic:

But there is no /etc/X11/xorg.conf file in my system.....
Anyone knows how could I achieve it?

User avatar
Site Admin
Posts: 36468
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
Has thanked: 1451 times
Been thanked: 991 times

Re: How to do N2 HDMI screen rotation

Post by odroid »

If you use Ubuntu 18.04, you need to create a xconf file under /usr/share/X11/xorg.conf.d/

sudo nano /usr/share/X11/xorg.conf.d/99-odroidn2.conf

And paste the following items and save it.

Code: Select all

# This is a minimal sample config file, which can be copied to
# /etc/X11/xorg.conf in order to make the Xorg server pick up
# and load xf86-video-fbturbo driver installed in the system.
# When troubleshooting, check /var/log/Xorg.0.log for the debugging
# output and error messages.
# Run "man fbturbo" to get additional information about the extra
# configuration options for tuning the driver.

Section "Device"
        Identifier      "FBTURBO"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb0"
        Option          "Rotate" "CCW"
        Option          "SwapbuffersWait" "true"
        Option          "alpha_swap" "true"
And restart the desktop.

Code: Select all

sudo service lightdm restart
You will get portrait display rotated by 270 degree (CCW).

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests