Date: Sun, 6 Feb 2022 13:46:38 +0000 From: Marco Devesas Campos <devesas.campos@gmail.com> To: Ronald Klop <ronald-lists@klop.ws>, freebsd-arm@freebsd.org Subject: Re: [PATCH] Experimental vchiq and bcm2835_audio support for arm64 Message-ID: <8EC05647-00D9-455B-98A9-B83A33DDFC5D@gmail.com> In-Reply-To: <a02d8dd2-020a-3125-3418-08f0a069aa5e@klop.ws> References: <A0775CDC-7382-4A15-8131-482572032308@gmail.com> <a02d8dd2-020a-3125-3418-08f0a069aa5e@klop.ws>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ronald, Thanks so much for trying out the patch out. > On 6 Feb 2022, at 13:05, Ronald Klop <ronald-lists@klop.ws> wrote: >=20 > Hi, >=20 > I compiled this on a RPI4 + 14-CURRENT. It boots, but I see no = difference in available devices. > I can try to boot it on a RPI3B+ on another time. I *think* the GPU/VC in RPI-4 is a very different beast from the others. = I'll look into it, but if you could give it a try on the 3+ I'd be much = obliged. >=20 > What would be the expected outcome? Where should I look at (or listen = to)? >=20 You should see something like=20 vchiq0: <BCM2835 VCHIQ> mem 0x7e00b840-0x7e00b87b irq 54 on simplebus0 vchiq: local ver 8 (min 3), remote ver 8. pcm0: <VCHIQ audio> on vchiq0 in your dmesg output. The file /dev/vchiq should exist, as well as the following sysctl-s (I'm assuming no other audio devices are attached) % sysctl dev.pcm dev.pcm.0.trace: 0 ...=20 dev.pcm.0.dest: 0 ...=20 dev.pcm.0.%parent: vchiq0 ...=20 dev.pcm.0.%driver: pcm dev.pcm.0.%desc: VCHIQ audio =E2=80=A6 Then if you `cat < /dev/random > /dev/dsp` you should hear some static = coming out of whatever is connected to hdmi (maybe headphones too? otherwise = try setting `sysctl dev.pcm.0.dest=3D1`) Best, Marco=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8EC05647-00D9-455B-98A9-B83A33DDFC5D>