Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2022 12:23:08 +0100
From:      Marco Devesas Campos <devesas.campos@gmail.com>
To:        Fred Finster <fred@thegalacticzoo.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: VCHIQ sound on Raspi4B. Which DTB to include on config.txt file, Any other missing pieces?
Message-ID:  <E025A042-012C-4DA8-964C-90B77687222A@gmail.com>
In-Reply-To: <0ec5a701-908f-fc15-ef8b-401c1553e194@thegalacticzoo.com>
References:  <0ec5a701-908f-fc15-ef8b-401c1553e194@thegalacticzoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

> On 7 Sep 2022, at 06:04, Fred Finster <fred@thegalacticzoo.com> wrote:
>=20
> VCHIQ sound on Raspi4B HDMI audio.  Which DTB to include on config.txt =
file, Any other missing pieces?

stock confit.txt and dtb-s.=20

dmesg should then show

vchiq0: <BCM2835 VCHIQ> mem 0x7e00b840-0x7e00b87b irq 72 on simplebus0
vchiq: local ver 8 (min 3), remote ver 8.
pcm0: <VCHIQ audio> on vchiq0

and=20
  cat /dev/random > /dev/dsp
should play static

If nothing=E2=80=99s playing, flipping the sysctl dev.pcm.0.dest through
 - 0: both hdmi and headphones
 - 1: headphones
 - 2: hdmi
usually brings the audio back to life.

Best,
Marco=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E025A042-012C-4DA8-964C-90B77687222A>