8,367
edits
Changes
→The method of server version image rotation display direction
# Add '''extraargs=fbcon=rotate:the direction to rotate''' in '''/boot/orangepiEnv.txt''' This line configuration can set the direction displayed by the server version of the Linux system, where the number after '''fbcon=rotate:''' can be set as:
<ol style="list-style-type: lower-alpha;">
<li><p>0: normal screen (default is landscape)</p></li>
<li><p>1: Turn clockwise 90 degrees</p></li>
<li><p>2: Flip 180 degrees</p></li>
<li><p>3: Turn clockwise 270 degrees</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
|
orangepi@orangepi:~$ '''sudo vim /boot/orangepiEnv.txt'''
overlays=lcd1
'''<span style="color:#FF0000">extraargs=cma=64M fbcon=rotate:3</span>'''|}{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Note that if there is the line extraargs=cma=64M in /boot/orangepiEnv.txt by default, the configuration fbcon=rotate:3 can be added after extraargs=cma=64M (separated by spaces).'''</big>|}</ol>
<ol start="2" style="list-style-type: decimal;">
<li>Then '''<span style="color:#FF0000">restart</span>''' the Linux system and you can see that the direction displayed on the LCD screen has been rotated</li></ol>
<span id="method-of-rotating-display-and-touch-direction-of-desktop-version-image"></span>
=== Method of rotating display and touch direction of desktop version image ===