Прошу извинить, если не в тему OrangePi+2E, Armbian, ядро Линукс $ uname -a Linux orangepiplus2e 3.4.113-sun8i #8 SMP PREEMPT Sat Feb 9 20:17:57 CET 2019 armv7l armv7l armv7l GNU/Linux Прошу помочь повернуть экран на 90 градусов. Подобная проблема https://www.raspberrypi.org/forums/viewtopic.php?t=8081 но на малинке файлы другие, на OPi не нашел xorg.conf (Section "Device") -Использование xrandr не получилось: Код (C++): root@orangepiplus2e:/usr/share/X11/xorg.conf.d# xrandr --output default --rotate left xrandr: output default cannot use rotation "left" reflection "none" Как я понимаю, где-то в конфигурации запрет изменений. xrandr --listactivemonitors xrandr: Failed to get size of gamma for output default Monitors: 1 0: +default 1280/339x720/190+0+0 default # xrandr -o 0 # xrandr -o 1 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 2 (RRSetScreenConfig) Serial number of failed request: 14 Current serial number in output stream: 14 Содержание некоторых файлов: Код (C++): /etc/X11/xorg.conf.d/01-armbian-defaults.conf\ Section "Monitor" Identifier "Monitor0" Option "DPMS" "false" EndSection Section "ServerFlags" Option /etc/X11/xorg.conf.d/50-fbturbo.conf # 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 "Allwinner A10/A13 FBDEV" Driver "fbturbo" Option "fbdev" "/dev/fb0" Option "SwapbuffersWait" "true" EndSection "BlankTime" "0" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" EndSection ------------ /boot/config-3.4.113-sun8i Automatically generated file; DO NOT EDIT. # Linux/arm 3.4.113 Kernel Configuration ... Userland interfaces ((строка 1630/4048(40%), ряд 23/36 (63%), символ 39284/97192 (40%) # CONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_PSAUX=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_JOYDEV=y CONFIG_INPUT_EVDEV=y # Console display driver support # CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set -------/etc/X11/xorg.conf.d/01-armbian-defaults.conf Section "Monitor" Identifier "Monitor0" Option "DPMS" "false" EndSection -Попытки поиска файла конфигурации экрана: Код (C++): /usr/share/X11/xorg.conf.d# ls -a . 10-quirks.conf 50-synaptics.conf .. 11-evdev-quirks.conf 50-wacom.conf 10-evdev.conf 11-evdev-trackpoint.conf 51-synaptics-quirks.conf ==в них ничего толкового (input class) ----- # find / -name config.txt find: «/run/user/1000/gvfs»: Отказано в доступе /lib/firmware/brcm/config.txt /lib/firmware/rkwifi/config.txt
С этими китайскими железками вряд ли получится стандартным способом что-то сделать, этот функционал обычно просто не реализован. Имеет смысл пытать удачи только на форуме производителя.
@Viktorian, попробуйте добавить в секцию "Device" опцию "Rotate" (и перезагрузите Armbian) Код (Bash): Section "Device" Identifier "Allwinner A10/A13 FBDEV" Driver "fbturbo" Option "fbdev" "/dev/fb0" Option "Rotate" "CW" Option "SwapbuffersWait" "true" supported values are "CW" (clockwise, 90 degrees), "UD" (upside down, 180 degrees) and "CCW" (counter clockwise, 270 degrees)