Thank you for your donation!


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


Waveshare 7.9" HDMI Capacitive Touch Screen on Moode 9
#1
I have built a Stealth V3 player, comprising a Raspberry 4b, a set of DC power supply, and a Waveshare 7.9" HDMI screen. This is a small how-to for Moode 9, currently tested on ~pre4 version. I will try to keep this updated after V9 is released. Basically it works for me and maybe it's not optimal, I'm not a guru in RPI hardware detection and firmware options.

Steps:
  • setup the PI image, get ssh working
  • adapt /boot/firmware/cmdline.txt /home/pi/.xinitrc as shown below
  • reboot
  • your console will scroll boot messages
  • and start the GUI after a while (I still have to check if the 2 min I observe until the GUI is available is due to some timeout or the result of loading X11 and Chromium)
sudo vi /boot/firmware/cmdline.txt

Quote:#add this to the end of the line:
video=HDMI-A-1:400x1280M@60,rotate=90

# the full line should look similar to this, but might vary slightly
console=serial0,115200 console=tty1 root=PARTUUID=92517673-02 rootfstype=ext4 fsck.repair=yes rootwait video=HDMI-A-1:400x1280M@60,rotate=90

sudo vi /home/pi/.xinitrc

Quote:# before the "xset" commands, add this:
DISPLAY=:0 xrandr --output HDMI-1 --rotate left

# in the "SCREENSIZE="$(fbset ...." line, swap $2 and $3, so the lines become :
SCREENSIZE="$(fbset -s | awk '$1 == "geometry" { print $3","$2 }')"

The touch screen worked out of the box. However, you may need to press the "Rotate Touch" button a few times until it works correctly. The display modules saves the rotation setting internally.

   
Reply
#2
installed on top of my Teac UD 503 DAC.

   
Reply
#3
(04-21-2024, 06:41 PM)popeye65 Wrote: installed on top of my Teac UD 503 DAC.

Very cool :-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
Hello popey65,

I followed your advice on my Waveshare 7.9" HDMI screen and it worked properly. The only concern that I have is that the display intialisation takes more than one minute... do you have the same result ? (for your information I use a raspberry pi 5).

Thank you in advance for the support you may bring to me ?
Reply
#5
Sorry Popey65, I just saw that you had the same concern as mine in your post Confused ...
Reply
#6
(08-26-2024, 05:56 PM)pkdick Wrote: Sorry Popey65, I just saw that you had the same concern as mine in your post Confused ...

yes it take long to start. Not sure it's a X11 issue or some timeouts and retries. I haven't time to properly investigate this, sorry.
Reply


Forum Jump: