Lenovo T14s Gen 4 AMD (21F8) microphone not usable, shown as unplugged
I'm trying to use the laptop for VCs (without a headset, just built-in speakers and mic) but every software I use cannot find a mic or cannot read from it (browser, pavucontrol, arecord).
arecord -l
does show a card but I'm not sure if it's the actual microphone (next to the camera?). I don't get any signal with arecord -V mono somefile
at least).
Normal sound output via speakers works. Haven't tested headphones yet.
Dumping some data I could think of, please let me know how I can help with debugging.
Kernels I tested on: 6.5.0-1
from debian trixie, 6.5.3
from kernel.org sources (with debian build scripts and a config that's very close to 6.5.0-1 from debian).
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: pcsp [pcsp], device 0: pcspeaker [pcsp]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 2: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ lspci | grep -i audio
c3:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
c3:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 63)
c3:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
$ sudo dmesg|egrep -i 'linux version|snd|audio'
[ 0.000000] Linux version 6.5.3-custom (jasnah@horst) (gcc (Debian 13.2.0-4) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41) #2 SMP PREEMPT_DYNAMIC Wed Sep 27 08:13:54 CEST 2023
[ 6.014065] snd_hda_intel 0000:c3:00.1: enabling device (0000 -> 0002)
[ 6.017966] snd_hda_intel 0000:c3:00.1: Handle vga_switcheroo audio client
[ 6.020964] snd_hda_intel 0000:c3:00.6: enabling device (0000 -> 0002)
[ 6.088443] snd_hda_intel 0000:c3:00.1: bound 0000:c3:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[ 6.097013] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/input15
[ 6.097047] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/input16
[ 6.097071] input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/input17
[ 6.124308] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC257: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 6.125966] snd_hda_codec_realtek hdaudioC2D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 6.127479] snd_hda_codec_realtek hdaudioC2D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 6.128923] snd_hda_codec_realtek hdaudioC2D0: mono: mono_out=0x0
[ 6.130158] snd_hda_codec_realtek hdaudioC2D0: inputs:
[ 6.132560] snd_hda_codec_realtek hdaudioC2D0: Mic=0x19
[ 6.206300] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card2/input19
[ 6.206326] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card2/input20
$ l /sys/class/sound/
total 0
lrwxrwxrwx 1 root root 0 Sep 27 17:31 card0 -> ../../devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0
lrwxrwxrwx 1 root root 0 Sep 27 17:31 card1 -> ../../devices/platform/pcspkr/sound/card1
lrwxrwxrwx 1 root root 0 Sep 27 17:31 card2 -> ../../devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card2
lrwxrwxrwx 1 root root 0 Sep 27 17:31 controlC0 -> ../../devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/controlC0
lrwxrwxrwx 1 root root 0 Sep 27 17:31 controlC1 -> ../../devices/platform/pcspkr/sound/card1/controlC1
lrwxrwxrwx 1 root root 0 Sep 27 17:31 controlC2 -> ../../devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card2/controlC2
lrwxrwxrwx 1 root root 0 Sep 27 17:31 ctl-led -> ../../devices/virtual/sound/ctl-led
lrwxrwxrwx 1 root root 0 Sep 27 17:31 hwC0D0 -> ../../devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/hwC0D0
lrwxrwxrwx 1 root root 0 Sep 27 17:31 hwC2D0 -> ../../devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card2/hwC2D0
lrwxrwxrwx 1 root root 0 Sep 27 17:31 pcmC0D3p -> ../../devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/pcmC0D3p
lrwxrwxrwx 1 root root 0 Sep 27 17:31 pcmC0D7p -> ../../devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/pcmC0D7p
lrwxrwxrwx 1 root root 0 Sep 27 17:31 pcmC0D8p -> ../../devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/pcmC0D8p
lrwxrwxrwx 1 root root 0 Sep 27 17:31 pcmC1D0p -> ../../devices/platform/pcspkr/sound/card1/pcmC1D0p
lrwxrwxrwx 1 root root 0 Sep 27 17:31 pcmC2D0c -> ../../devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card2/pcmC2D0c
lrwxrwxrwx 1 root root 0 Sep 27 17:31 pcmC2D0p -> ../../devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card2/pcmC2D0p
lrwxrwxrwx 1 root root 0 Sep 27 17:31 timer -> ../../devices/virtual/sound/timer