Re: help testing a vchiq patch

Mark Johnston <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <aohl1OUnk8DcucIe@nuc>
On Thu, Aug 20, 2026 at 03:49:56PM -0700, Bakul Shah wrote:
> On pi4 /dev/sndstat doesn't show any extra devices.
> Any audio comes out on the mini jack (as before).
> 
> # cat /dev/sndstat
> Installed devices:
> pcm0: <VCHIQ audio> (play) default
> No devices installed from userspace.
> 
> Also, sound device permission bits are wrong.

This is due to a recent change in main:
https://cgit.freebsd.org/src/commit/?id=a6aa95eba6ee2dd199d6cb8063dbaccd8a6f7512

> 
> # ls -l /dev/dsp* /dev/mixer* /dev/sndstat
> crw-rw----  1 root audio 0x6e Aug 20 15:26 /dev/dsp0
> crw-rw----  1 root audio 0x6d Aug 20 14:59 /dev/mixer0
> crw-r-----  1 root audio  0x6 Aug 20 15:00 /dev/sndstat
> 
> Compare with x86-64 machines:

... which I presume are running an older build.

> # ls -l /dev/dsp* /dev/mixer* /dev/sndstat
> crw-rw-rw-  1 root wheel 0x4b Aug  4 19:43 /dev/dsp0
> crw-rw-rw-  1 root wheel 0x4d Aug  4 19:43 /dev/dsp1
> crw-rw-rw-  1 root wheel 0x4f Aug  4 19:43 /dev/dsp2
> crw-rw-rw-  1 root wheel 0x51 Aug  4 19:43 /dev/dsp3
> crw-rw-rw-  1 root wheel 0x53 Aug  4 19:43 /dev/dsp4
> crw-rw-rw-  1 root wheel 0x4a Aug  4 19:43 /dev/mixer0
> crw-rw-rw-  1 root wheel 0x4c Aug  4 19:43 /dev/mixer1
> crw-rw-rw-  1 root wheel 0x4e Aug  4 19:43 /dev/mixer2
> crw-rw-rw-  1 root wheel 0x50 Aug  4 19:43 /dev/mixer3
> crw-rw-rw-  1 root wheel 0x52 Aug  4 19:43 /dev/mixer4
> crw-r--r--  1 root wheel  0x7 Aug  4 19:43 /dev/sndstat
> 
> 
> > On Aug 17, 2026, at 7:59 AM, Mark Johnston <[email protected]> wrote:
> > 
> > Hi,
> > 
> > I wonder if anyone running FreeBSD on an RPi is able to help test the
> > patch here? https://reviews.freebsd.org/D58889
> > 
> > It fixes some bugs in the RPi videocore kernel-mode driver, and it
> > modifies the bcm2835 audio driver as well.  If anyone using these
> > drivers can report whether they see any regressions with that patch
> > applied, I'd appreciate it.
> > 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.