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

[-- Attachment #1 --]
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.

[-- Attachment #2 --]
<div dir="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="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 9 Apr 2023 at 16:12, Sergio Carlavilla Delgado &lt;<a href="mailto:carlavilla@freebsd.org">carlavilla@freebsd.org</a>&gt; wrote:<br></div><div dir="ltr" class="gmail_attr"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">+[.programlisting]<br>
 ....<br>
-# echo &#39;cuse_load=yes&#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>
 ....<br><br></blockquote><div>... <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
 ....<br>
-# virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 768 -R /dev/null -P /dev/bluetooth/headphones -d dsp<br>
+hint.hdac.0.cad0.nid22.config=&quot;as=1 seq=15 device=Headphones&quot; <br>
+hint.hdac.0.cad0.nid26.config=&quot;as=2 seq=0 device=speakers&quot;<br></blockquote><div><br class="gmail-Apple-interchange-newline">+Keep in mind that these values are for the example indicated above.<br>+They may vary depending on the system.<br></div><div><br></div><div>How do these numbers relate to the dmesg output?  What do &quot;as&quot; and &quot;seq&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> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-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;?  We haven&#39;t mentioned it and it doesn&#39;t seem to be in ports.</div></div></div>

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