Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Waveshare DSI 7.9 Touch display on Moode 9
#8
Hi everyone,

Thanks @felix1024 for the wonderful hints on display configuration Smile


just used a slightly altered version of these settings to successfully configure and use a Waveshare 4inch 480 x 800 HMDI display in landscape mode (the display is by standard in portrait mode!). I use Moode on a Raspberry Pi 5, the display is attached via the HDMI port right beside of the USB C port.

I used in cmdline.txt the following code at the end of the line to shape the boot messages/ command line:

Code:
video=HDMI-A-1:480x800@60,rotate=90


And in .xinitrc I added the following lines:

Code:
#somewhere in the beginning before the browser commands are executed and before screensize is set
DISPLAY=:0 xrandr --output HDMI-1 --rotate left
fbset --geometry 800 480 800 480 16

#after the already present SCREENSIZE line
SCREENSIZE="800,480"


Remark:
  • all other attempts to set/rotate the screen via config.txt did not work (apparently this cannot be done in bookworm anymore)
  • I did not setup the touchscreen so far since I do not have the GPIO connections made yet
Cheers
Reply


Messages In This Thread
RE: Waveshare DSI 7.9 Touch display on Moode 9 - by glosolich - 10-03-2024, 05:32 AM

Forum Jump: