Date: Mon, 6 May 2024 15:12:42 +0200 From: Christos Margiolis <christos@freebsd.org> To: Chris <bsd-lists@bsdforge.com> Cc: freebsd-multimedia <freebsd-multimedia@freebsd.org> Subject: Re: Anyone know how to get sound on a 12th Gen Alder Lake based laptop? Message-ID: <aw7tzabs3ff2cczyohllbtppceboqkgp4ky3bicxbks7qr4hry@nv22kgnqjqk4> In-Reply-To: <59c5358eed5946b78fabb421a81bb792@bsdforge.com> References: <3e446c72efefc7fb6a44e90b67a5fd05@bsdforge.com> <ppm75mkfufyqvthth4abx5vkhywamfyrijzi4do23j4zv7mzjg@edkszuwwdwrm> <594f9cd752d22d888381081557328dae@bsdforge.com> <aapyzhkzjpyxsvyjiuwusv7dd5y7omtzl5eiy7h4bitkdzzvhb@zo2gitebuy4t> <59c5358eed5946b78fabb421a81bb792@bsdforge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Chris, Chris wrote: > On 2024-04-22 08:44, Christos Margiolis wrote: > > > > [...] > > > > hint.hdac.0.cad0.nid20.config="as=1 seq=0" > > hint.hdac.0.cad0.nid33.config="as=1 seq=15" > Thank you very much, Christos! After adding those lines and adding ALSA. > Sound > works as expected. :) > Sorry to have bothered you with this. I haven't needed to touch sound > settings > since ~8.4, because it "just worked". Is there anywhere that might explain > the > correlation between the labels and numbers that "mere mortals" can > comprehend? So what these two lines do is assign the speaker (nid20) and headphone (nid33) pins to the same association ("as", i.e group). In the second line, "seq=15" means that the headphone pin will duplicate (and automatically mute if not plugged) the first pin in that association. In other words, the output will switch from the speakers to the headphones if headphones are plugged in, and vice-versa. The snd_hda(4) man page explains what "as" and "seq" are. Christos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aw7tzabs3ff2cczyohllbtppceboqkgp4ky3bicxbks7qr4hry>