From nobody Mon Apr 10 10:02:43 2023 X-Original-To: dev-commits-doc-all@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 4Pw4KK69dKz453pf for ; Mon, 10 Apr 2023 10:02:45 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pw4KK3Xzfz3qNZ for ; Mon, 10 Apr 2023 10:02:45 +0000 (UTC) (envelope-from ceri@submonkey.net) Authentication-Results: mx1.freebsd.org; none Received: by mail-il1-x12a.google.com with SMTP id b7so682385ilm.4 for ; Mon, 10 Apr 2023 03:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=submonkey-net.20210112.gappssmtp.com; s=20210112; t=1681120964; x=1683712964; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8UvOoABMOR502q/jKYtl4UFaPFKBu4KH8kiD5IyLRVE=; b=hPeL+Wh8mJnjysu9t9ph3w+ASgdxmQbAnyUJnru6DJkJ1fMIOaQ3heSBxIpxVAH8wR 6lTHtjGH/4yKTeQ2XqtO2QB8vvcLGYuD5YVDHuqu/6Ht6BYr4muSnS4f8BKdCpywR4tr aDmr6/nNdVnd8+iZ80onNrABwScDlt/fXKz6s0s8BMqX8mlRfVA+6YDss3YWCpxIHIEd nxsUbP9cjfD5h2/xY6MYn83sKdp0arGtln1ec+Au+FEDihfpHv96VnY+S1u628jaG5ty 4GNIf5ngz5wS5L8pdL8W1iNtGCWkr8QONIZCqV1qrVly9kv6S8E6mkmScS63IxV4+Isi QVNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681120964; x=1683712964; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8UvOoABMOR502q/jKYtl4UFaPFKBu4KH8kiD5IyLRVE=; b=f6nOgrbSHnVMXEBmk6yhuJc63+DC+np6l1Htn4w/VLaU1xUSE/LClh+nBaVWeNemZr mQx2LtONSeTWlD7vZ2Da7fPoPoNkTDojPa2CEIsAwDNe6rshq5BvNCFOX3EKJQEnkp+w Pd31tw44skvhzup5CY+PgshiqwYBV8YZKGMJTfRrafrV+XYTsOwtYR63xpuyOTNgad0b 7zGnsxyrf+ZQxQUsp7yq7yas+wHDd5TGge5pbq0nD/jcN+WZUdR2cw3Yowmssj9LRmW5 vHD8tQSEa6/p/h6esdoDhBslaBOS74RmWdl2jqP85h5OTKdN8i9bAe1XQ7yC3dpGOnIN 7kyg== X-Gm-Message-State: AAQBX9fidTYO+jSsNb/HFW/dr+krljN0R3++BQxq/etzMK+6s/dln3Zt EILkTSvL2guC3rdra7Tuu7ELNYcZTuQb5t3b9XTELg== X-Google-Smtp-Source: AKy350ZiH3xwhnC9+H2nOz7/dbLR0ExsQVM3blSipEOmoHyaOgYb5dZ45XgWVxFWryfvoeA+95+fqggevfy0//heefE= X-Received: by 2002:a05:6e02:2191:b0:325:f819:f68c with SMTP id j17-20020a056e02219100b00325f819f68cmr5671754ila.3.1681120964328; Mon, 10 Apr 2023 03:02:44 -0700 (PDT) List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 References: <202304091512.339FCUdl051503@gitrepo.freebsd.org> In-Reply-To: <202304091512.339FCUdl051503@gitrepo.freebsd.org> From: Ceri Davies Date: Mon, 10 Apr 2023 11:02:43 +0100 Message-ID: Subject: Re: git: fcbb060fe7 - main - Upgrade multimedia chapter To: Sergio Carlavilla Delgado Cc: dev-commits-doc-all@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e7551505f8f8796b" X-Rspamd-Queue-Id: 4Pw4KK3Xzfz3qNZ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --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: at nid 23 and 26 on hdaa0 > +pcm1: 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
Hi, I've committed some improvements to this but = I have some questions that new readers may also have.

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

+[.programlisting]
=C2=A0....
-# echo 'cuse_load=3Dyes' >> /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 =C2=A0....

...=C2=A0
=C2=A0....
-# virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 768 -R /dev/null -P /dev/bluetoo= th/headphones -d dsp
+hint.hdac.0.cad0.nid22.config=3D"as=3D1 seq=3D15 device=3DHeadphones&= quot;
+hint.hdac.0.cad0.nid26.config=3D"as=3D2 seq=3D0 device=3Dspeakers&quo= t;

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

How do these n= umbers relate to the dmesg output?=C2=A0 What do "as" and "s= eq" mean?
This is important as if this text doesn't work= , we just tell the reader to use different values here.
=C2=A0
+|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"?=C2=A0 We haven't mentioned = it and it doesn't seem to be in ports.
--000000000000e7551505f8f8796b--