Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orange Pi Lite2: cannot rotate screen 90/270. (180 works?)

Featured Replies

I cannot get the screen to rotate 90 or 270 degrees. Inverting it works like it should, but not "sideways".

 

uname -a:

Linux orangepilite2 5.4.20-sunxi64 #20.02.1 SMP Mon Feb 17 02:37:37 CET 2020 aarch64 GNU/Linux

xrandr --version:

xrandr program version 1.5.0

xrandr

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
HDMI-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00*
800x600 60.32 56.25
848x480 60.00
640x480 59.94

/etc/X11/xorg.conf.d/01-armbian-defaults.conf:

Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "false"
Option "Rotate" "right"
EndSection

Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection

Screen is in "normal" orientation regardless of the rotate right option in the xorg conf.

xrandr -o inverted

works like it should and is noted in the xrandr output. Similarly with "normal". "right" and "left" however, do nothing. Or more precisely, they turn the display black for 1-2 seconds and then it returns to "normal" and displays the normal xrandr output, no "right" or "left" after resolution.

echo <number> sudo tee /sys/class/graphics/fbcon/rotate_all

works perfectly for all rotations on the console however. But of course it does not rotate X.

 

EDIT:

xrandr --output HDMI-1 --mode 848x480

works perfectly and sets the resolution like it should.

xrandr --output HDMI-1 --mode 848x480 --rotate right

does not. It blanks the display for 2 seconds, resets rotation to normal and resolution to 1024x7688, regardless of what they were before.

Edited by Anna Vahtera
added more

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.