Re: ALC887-VD line-in not visible

Takashi Iwai
2025-07-31T05:33:13Z

On Thu, 31 Jul 2025 05:20:57 +0200,
Arthur Marsh wrote:
>
> Earlier this year I could use line-in on an Asus PRIME B350M-A motherboard,
> with dmesg reporting:
>
> snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC887-VD: line_outs=1 (0x14/
> 0x0/0x0/0x0/0x0) type:line
> snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
> snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
> snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
> snd_hda_codec_realtek hdaudioC0D0: dig-out=0x11/0x0
> snd_hda_codec_realtek hdaudioC0D0: inputs:
> snd_hda_codec_realtek hdaudioC0D0: Rear Mic=0x18
> snd_hda_codec_realtek hdaudioC0D0: Front Mic=0x19
> snd_hda_codec_realtek hdaudioC0D0: Line=0x1a
> input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:08:00
> .6/sound/card0/input6
> input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:08:0
> 0.6/sound/card0/input7
> input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:08:00.6/s
> ound/card0/input8
> input: HD-Audio Generic Line Out as /devices/pci0000:00/0000:00:08.1/0000:08:00
> .6/sound/card0/input9
> input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/000
> 0:08:00.6/sound/card0/input10
>
> After the post-6.16 updates, I now get:
>
> snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_o
> uts=1 (0x14/0x0/0x0/0x0/0x0) type:line
> snd_hda_codec_generic hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0
> /0x0/0x0)
> snd_hda_codec_generic hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0
> /0x0)
> snd_hda_codec_generic hdaudioC0D0: mono: mono_out=0x0
> snd_hda_codec_generic hdaudioC0D0: dig-out=0x11/0x0
> snd_hda_codec_generic hdaudioC0D0: inputs:
> snd_hda_codec_generic hdaudioC0D0: Rear Mic=0x18
> snd_hda_codec_generic hdaudioC0D0: Front Mic=0x19
> snd_hda_codec_generic hdaudioC0D0: Line=0x1a
> input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:0
> 8.1/0000:08:00.6/sound/card0/input6
> input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:
> 08.1/0000:08:00.6/sound/card0/input7
> input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/
> 0000:08:00.6/sound/card0/input8
> input: HD-Audio Generic Line Out as /devices/pci0000:00/0000:00:0
> 8.1/0000:08:00.6/sound/card0/input9
> input: HD-Audio Generic Front Headphone as /devices/pci0000:00/00
> 00:00:08.1/0000:08:00.6/sound/card0/input10

Are you using the latest Linus tree for 6.17-rc1?
If so, there were changes related with HD-audio Kconfigs, and I guess
you didn't enable the specific HD-audio codec driver you're using
(e.g. CONFIG_SND_HDA_CODEC_ALC882).

Also, HDMI codec needs the additional Kconfig,
e.g. CONFIG_SND_HDA_CODEC_HDMI_INTEL, too.

I queued some changes to pick up those as default in for-linus branch
of sound.git tree for avoiding such a pitfall now.

thanks,

Takashi