From nobody Sat Sep 03 13:04:08 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MKZjn0VyFz4bKyv for ; Sat, 3 Sep 2022 13:04:13 +0000 (UTC) (envelope-from void@f-m.fm) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MKZjl6QgZz3HS6 for ; Sat, 3 Sep 2022 13:04:11 +0000 (UTC) (envelope-from void@f-m.fm) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id A6F4A3200900 for ; Sat, 3 Sep 2022 09:04:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 03 Sep 2022 09:04:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1662210250; x=1662296650; bh=s4MbLyOP3U uFCEucMqMkrNrThs9y+szQ/iZgpUnfhCY=; b=g2ZYDUZ3sDaD7bPYcUtVm1N+bs O5YQL7EKvpHiwoMWO7qOHEr0rfFkn9aiWlE2RwfQ74Dq2h5ttXVGr3zCEqtVkDBt IwqLSrBCbGtqVDjuoK3DE9/PWioOka589B+oXuAS+PTEw0U4a7itT3HKZmn1Ze2L jrELk5+4YV44/QvvDe3Ujp9pvCKVgYHB/tHoO4ECrJk41oVI+avwoaFCzUQX75Io W4jyLAGYdVudglhM/FNzawzRhYeUodvok0afeBvMMe2ue3OzLNY+tObR0CLOCaD0 K8jKLgZ/c7ci2yinqVID/1+F6LCgszuN2j+m/yB1XTe/lZiKneVH5NvS1clA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1662210250; x=1662296650; bh=s4MbLyOP3UuFCEucMqMkrNrThs9y +szQ/iZgpUnfhCY=; b=aB6mvuOlg6gUdRnWCaVzBLOsILAv+H7cJbFDAAbm1un7 fh8Milp3LQ0nyXIFtIIJX6gpJdroHSW7CsmRLRx8ZyOJW9avEqZEjNk6XhxhdXvG JPztSoghnc3iU22KO4rj+sJnajJFV8wjeFwyoQ7bNyLtiUkhRdu3XSGQ7d8ih4qk 8hLxcbeOd+MUPFrmkDDPWoeCLMq8llENPaKAXsLeCNtIN2VETj+mBV85FXjQZozp 7tl5odBEC+v96O06vlKVyGaR2VbWfpX1DK3/cabVDOQ5K0967mkpfxokPNruZso3 828lKTw0Z/9MFBb5Z3Gm3PWaJFZObl2UuXxfguzbmA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdelvddgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgr thhtvghrnheptdfhheeuteejudffkefhtdfhfeekgedtvdeiteevgfejtdfgfeffhfeuie eltdeinecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhhoihgusehfqdhmrdhfmh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 3 Sep 2022 09:04:09 -0400 (EDT) Date: Sat, 3 Sep 2022 14:04:08 +0100 From: void To: freebsd-arm@freebsd.org Subject: Re: sound on raspberry pi 4 Message-ID: Mail-Followup-To: freebsd-arm@freebsd.org References: <1e9994f4-39f9-5adf-2cb7-03c9981b424e@selasky.org> <9C8C18F4-43BA-4F1E-B683-7BD5AC513C8C@gmail.com> <948CD3ED-F501-431F-BE66-3DD51A8C9EF5@gmail.com> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <948CD3ED-F501-431F-BE66-3DD51A8C9EF5@gmail.com> X-Rspamd-Queue-Id: 4MKZjl6QgZz3HS6 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm1 header.b=g2ZYDUZ3; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=aB6mvuOl; dmarc=pass (policy=none) header.from=f-m.fm; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 64.147.123.24 as permitted sender) smtp.mailfrom=void@f-m.fm X-Spamd-Result: default: False [-5.09 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.99)[-0.994]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24:c]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm1,messagingengine.com:s=fm1]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.24:from] X-ThisMailContainsUnwantedMimeParts: N On Sat, Sep 03, 2022 at 12:06:37PM +0100, Marco Devesas Campos wrote: >Differential revision created > >https://reviews.freebsd.org/D36431 > >with HPS and Warner (since he showed interest in the patch initially) as reviewers. > >Keen to hear from anyone who might be interested in the patch. This applied cleanly and installed fine. I have not tested sound at the jack mounted on the pcb. The way it works here is via the hdmi cable where the speakers are plugged into the audio jack on the monitor. I understand that via hdmi would be expected to be of higher quality output than the jack on the board? $ doas dmesg | grep vchiq vchiq0: mem 0x7e00b840-0x7e00b87b irq 72 on simplebus0 vchiq: local ver 8 (min 3), remote ver 8. pcm0: on vchiq0 $ mixer pcm0:mixer: at VCHIQ (play) (default) vol = 0.75:0.75 pbk system right now is $ uname -avKU FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n257719-2486b446db8-dirty: Sat Sep 3 13:04:11 BST 2022 root@rpi4:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-VCHIQ arm64 1400066 1400066 For unassociated reasons, need to reinstall as a 13.1-p2 system. I'll apply the patch to 13.1-p2 and rebuild then post the results back here --