Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2023 11:02:43 +0100
From:      Ceri Davies <ceri@submonkey.net>
To:        Sergio Carlavilla Delgado <carlavilla@freebsd.org>
Cc:        dev-commits-doc-all@freebsd.org
Subject:   Re: git: fcbb060fe7 - main - Upgrade multimedia chapter
Message-ID:  <CAOa83AcUiRnHGA_WStcbCtftDCVCePTSKYfxSWa327FOnCVfZw@mail.gmail.com>
In-Reply-To: <202304091512.339FCUdl051503@gitrepo.freebsd.org>
References:  <202304091512.339FCUdl051503@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000e7551505f8f8796b
Content-Type: text/plain; charset="UTF-8"

Hi, I've committed some improvements to this but I have some questions that
new readers may also have.


On Sun, 9 Apr 2023 at 16:12, Sergio Carlavilla Delgado <
carlavilla@freebsd.org> wrote:

+[.programlisting]
>  ....
> -# echo 'cuse_load=yes' >> /boot/loader.conf
> +pcm0: <Realtek ALC892 Analog> at nid 23 and 26 on hdaa0
> +pcm1: <Realtek ALC892 Right Analog Headphones> at nid 22 on hdaa0
>  ....
>
> ...

>  ....
> -# virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 768 -R /dev/null -P
> /dev/bluetooth/headphones -d dsp
> +hint.hdac.0.cad0.nid22.config="as=1 seq=15 device=Headphones"
> +hint.hdac.0.cad0.nid26.config="as=2 seq=0 device=speakers"
>

+Keep in mind that these values are for the example indicated above.
+They may vary depending on the system.

How do these numbers relate to the dmesg output?  What do "as" and "seq"
mean?
This is important as if this text doesn't work, we just tell the reader to
use different values here.


> +|Type `fstat \| grep dsp` to check if another application is holding the
> device open. Noteworthy troublemakers are esound and KDE's sound support.
>

What is "esound"?  We haven't mentioned it and it doesn't seem to be in
ports.

--000000000000e7551505f8f8796b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi, I&#39;ve committed some improvements to this but =
I have some questions that new readers may also have.</div><div><br></div><=
div><br></div><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at=
tr">On Sun, 9 Apr 2023 at 16:12, Sergio Carlavilla Delgado &lt;<a href=3D"m=
ailto:carlavilla@freebsd.org">carlavilla@freebsd.org</a>&gt; wrote:<br></di=
v><div dir=3D"ltr" class=3D"gmail_attr"><br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex">+[.programlisting]<br>
=C2=A0....<br>
-# echo &#39;cuse_load=3Dyes&#39; &gt;&gt; /boot/loader.conf<br>
+pcm0: &lt;Realtek ALC892 Analog&gt; at nid 23 and 26 on hdaa0<br>
+pcm1: &lt;Realtek ALC892 Right Analog Headphones&gt; at nid 22 on hdaa0<br=
>
=C2=A0....<br><br></blockquote><div>...=C2=A0<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex">
=C2=A0....<br>
-# virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 768 -R /dev/null -P /dev/bluetoo=
th/headphones -d dsp<br>
+hint.hdac.0.cad0.nid22.config=3D&quot;as=3D1 seq=3D15 device=3DHeadphones&=
quot; <br>
+hint.hdac.0.cad0.nid26.config=3D&quot;as=3D2 seq=3D0 device=3Dspeakers&quo=
t;<br></blockquote><div><br class=3D"gmail-Apple-interchange-newline">+Keep=
 in mind that these values are for the example indicated above.<br>+They ma=
y vary depending on the system.<br></div><div><br></div><div>How do these n=
umbers relate to the dmesg output?=C2=A0 What do &quot;as&quot; and &quot;s=
eq&quot; mean?</div><div>This is important as if this text doesn&#39;t work=
, we just tell the reader to use different values here.</div><div>=C2=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex">+|Type `fstat \| grep =
dsp` to check if another application is holding the device open. Noteworthy=
 troublemakers are esound and KDE&#39;s sound support.<br></blockquote><div=
><br></div><div>What is &quot;esound&quot;?=C2=A0 We haven&#39;t mentioned =
it and it doesn&#39;t seem to be in ports.</div></div></div>

--000000000000e7551505f8f8796b--



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