04-11-2025, 02:10 PM
(This post was last modified: 04-11-2025, 02:22 PM by TheOldPresbyope.
Edit Reason: add postsripts
)
Erm...
In .xinitrc we find this clause
If
1) we modify this to include the possibility of HDMI_SCN_ORIENT having the value "inverted" upon which rotating "inverted"
2) modify the webUI Peripherals screen to allow selection of "Inverted" as an HDMI screen orientation
Then we get what we want for the displayed HDMI output. I have no idea how to deal with the touchscreen input however.
@BjoernStefan
You can test my proposal from the command line on your moOde player. Execute the following command
This worked for me on a Pi 5B based moOde 9.3.0 player here with an attached HDMI display (using HDMI port 0, closest to the USB-C power socket). Again, I have no idea how to deal with the touch screen input.
The setting won't persist through a reboot, of course.
Regards,
Kent
PS - As written, my suggested command should work for Pi models which have only a single HDMI port and with Pi 4B/5B models (which have two HDMI ports) if the display is connected to port 0.
PPS - changes to the kernel settings will affect only the orientation of the text console. Once the moOde local display is enabled, we have to change X-window settings instead.
In .xinitrc we find this clause
Code:
if [ $DSI_SCN_TYPE = 'none' ]; then
if [ $HDMI_SCN_ORIENT = "portrait" ]; then
SCREEN_RES=$(echo $SCREEN_RES | awk -F"," '{print $2","$1}')
DISPLAY=:0 xrandr --output HDMI-1 --rotate left
fi
If
1) we modify this to include the possibility of HDMI_SCN_ORIENT having the value "inverted" upon which rotating "inverted"
2) modify the webUI Peripherals screen to allow selection of "Inverted" as an HDMI screen orientation
Then we get what we want for the displayed HDMI output. I have no idea how to deal with the touchscreen input however.
@BjoernStefan
You can test my proposal from the command line on your moOde player. Execute the following command
Code:
DISPLAY=:0 xrandr --output HDMI-1 --rotate inverted
This worked for me on a Pi 5B based moOde 9.3.0 player here with an attached HDMI display (using HDMI port 0, closest to the USB-C power socket). Again, I have no idea how to deal with the touch screen input.
The setting won't persist through a reboot, of course.
Regards,
Kent
PS - As written, my suggested command should work for Pi models which have only a single HDMI port and with Pi 4B/5B models (which have two HDMI ports) if the display is connected to port 0.
PPS - changes to the kernel settings will affect only the orientation of the text console. Once the moOde local display is enabled, we have to change X-window settings instead.