Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.os.linux.misc > #86703
| From | jayjwa <jayjwa@atr2.ath.cx.invalid> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Kernel Building |
| Date | 2026-05-15 13:35 -0400 |
| Organization | atr2net 2026 |
| Message-ID | <87qznctw3c.fsf@atr2.ath.cx> (permalink) |
| References | <18af88f69f65ddd5$14228$2982030$802601b3@news.usenetexpress.com> |
Distro Lackey <dl@lackey.com> writes:
> How does one configure the kernel to utilize the Intel Comet
> Lake PCH cAVS onboard audio device?
When you asked this before, I looked for that model and didn't see any
ALC codecs with 4 digits.
> An exhaustive search reveals absolutely no information. The only
> recourse is therefore to enable the audio device and allow a "live"
> distro to, hopefully, report the appropriate kernel modules.
I assume that sound then works? Be careful if your system has more than
one sound device, that you select the proper one.
> Holy godzilla mutherfuckers! All this just to get audio?!?!?!
It's loading every single module in hopes one works. You don't need all
those, just the one that supports your hardware.
> But lspci, I believe, narrowed things down a bit:
>
> 00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS
> DeviceName: Onboard - Sound
> Subsystem: Gigabyte Technology Co., Ltd Device a0c3
> Kernel driver in use: snd_hda_intel
> Kernel modules: snd_soc_avs, snd_sof_pci_intel_cnl, snd_hda_intel
OK, that's the Intel HDA stuff. 'make menuconfig' and go to the part
about sound codecs for the Intel HDA. I was there a few days ago but it
does list ALC882 instead of ALC1220.
> [ 11.317341] snd_hda_codec_alc882 hdaudioC0D0: autoconfig for ALC1220:
> line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
> [ 11.317344] snd_hda_codec_alc882 hdaudioC0D0: speaker_outs=0
> (0x0/0x0/0x0/0x0/0x0)
> [ 11.317346] snd_hda_codec_alc882 hdaudioC0D0: hp_outs=1
> (0x1b/0x0/0x0/0x0/0x0)
> [ 11.317347] snd_hda_codec_alc882 hdaudioC0D0: mono: mono_out=0x0
> [ 11.317348] snd_hda_codec_alc882 hdaudioC0D0: dig-out=0x1e/0x0
> [ 11.317349] snd_hda_codec_alc882 hdaudioC0D0: inputs:
> [ 11.317349] snd_hda_codec_alc882 hdaudioC0D0: Rear Mic=0x18
> [ 11.317350] snd_hda_codec_alc882 hdaudioC0D0: Front Mic=0x19
> [ 11.317351] snd_hda_codec_alc882 hdaudioC0D0: Line=0x1a
>
> The motherboard manual indeed shows that a Realtek ALC1220
> is present, but the kernel log shows that this is somehow
> mapped to a Realtek ALC882.
So that's this:
config SND_HDA_CODEC_ALC882
tristate "Build Realtek ALC882 HD-audio codecs support" if EXPERT
depends on INPUT
select SND_HDA_CODEC_REALTEK_LIB
default y
help
Say Y or M here to include Realtek ALC882 and compatible HD-audio
codec support
That's from /usr/src/linux/sound/hda/codecs/realtek/Kconfig (on my 6.18.x).
This wouldn't be the first time a module had a name different from what
it supports. I have a USB-to-ethernet device and doesn't use the module
named after it but rather a generically named one. Come to find out,
that's because the older models needed special drivers while the newer
models use the standard, generic interface.
> What is going on here? For lack of further info I must
> therefore use a Realtek ALC882 (the ALC1220 does not occur
> in the config parameters).
No, it doesn't. I'd <m>odule that one and anything close to it. Once your
system boots, look at the ones that it loaded and on the next build you
can leave any that didn't load off. Do not load them by hand if you
don't have to. Let the kernel do it. Then you know which ones it needs.
> Configuring a kernel is becoming more and more difficult
> due to a LACK OF INFORMATION.
Configuring kernels was always difficult; that's why most people don't
do it. It's getting worse because Linux is getting bigger.
--
PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
"The Internet should always be the Wild West!"
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Find similar
Kernel Building Distro Lackey <dl@lackey.com> - 2026-05-14 20:36 +0000 Re: Kernel Building "Joel W. Crump" <joelcrump@gmail.com> - 2026-05-14 17:07 -0400 Re: Kernel Building jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-05-15 13:35 -0400
csiph-web