Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2022 16:38:17 +0100
From:      void <void@f-m.fm>
To:        freebsd-arm@freebsd.org
Subject:   Re: sound on raspberry pi 4
Message-ID:  <Y0126Z3T12dVjPX6@openbsd.local>
In-Reply-To: <CAAdA2WMZnb86_JicibXcXqNbktT1y_A2FZSmi_W2YwcccWd0CA@mail.gmail.com>
References:  <Yw%2Bf4FlUSBRiG7Fm@void.f-m.fm> <fd10cb99-d703-6b67-85c5-ed0d2df58952@klop.ws> <1e9994f4-39f9-5adf-2cb7-03c9981b424e@selasky.org> <e4db8912-8b91-e9b7-74fd-518dc0f0ec75@klop.ws> <fb725e00-213c-fd93-c275-31f31ba53e5e@klop.ws> <9C8C18F4-43BA-4F1E-B683-7BD5AC513C8C@gmail.com> <948CD3ED-F501-431F-BE66-3DD51A8C9EF5@gmail.com> <D004B365-569D-4776-A7A0-BF00E559BD82@gmail.com> <CAAdA2WMZnb86_JicibXcXqNbktT1y_A2FZSmi_W2YwcccWd0CA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 17, 2022 at 03:50:49PM +0300, Odhiambo Washington wrote:

>Just curious. How do I test this?
>I have a Pi3B+ which I have always wanted to run FreeBSD on, but then
>getting FreeBSD Desktop is so much pain.
>How would I test accel video and sound on a Pi without getting stressed
>out? :-)

I have this running on a rpi2b+ (v1.1 board, so 32-bit). I imagine it'd be 
much the same on rpi3b+

FreeBSD generic 13.1-RELEASE FreeBSD 13.1-RELEASE #0 n250148-fc952ac2212-dirty: 
Fri May 13 06:42:16 UTC 2022

generic kernel has this line added
device          vchiq                   # onboard sound

freebsd@generic:~ % sysctl -a | grep vchiq
dev.pcm.0.%parent: vchiq0
dev.vchiq.0.arm_log: 4
dev.vchiq.0.log: 4
dev.vchiq.0.%parent: simplebus0
dev.vchiq.0.%pnpinfo: name=mailbox@7e00b840 compat=brcm,bcm2836-vchiq
dev.vchiq.0.%location: 
dev.vchiq.0.%driver: vchiq
dev.vchiq.0.%desc: BCM2835 VCHIQ
dev.vchiq.%parent: 

the job of this rpi2b+ is internet radio. There's a single speaker attached to
the sound jack on the board. It uses mpv to play streams. Seems to work well.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y0126Z3T12dVjPX6>