Bug 214641

Summary: Microphone LED is always on in the Thinkpad T14 Gen1 AMD
Product: Drivers Reporter: Peter Weber (peter.weber)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: RESOLVED OBSOLETE    
Severity: normal CC: perex
Priority: P1    
Hardware: x86-64   
OS: Linux   
See Also: https://bugzilla.kernel.org/show_bug.cgi?id=213851
Kernel Version: 5.14.9 Subsystem:
Regression: No Bisected commit-id:
Attachments: lspci
lsusb

Description Peter Weber 2021-10-07 15:56:58 UTC
Hello!

The LED signaling Microphone-OFF state (within F4 Button) is always on. It doesn't matter whether the ThinkPad is docked or undocked. USB-Microphones also don't matter. Interestingly and new for me plugging in a headset into the 3.5 mm jack permanently turns off the LED.

Maybe the already fixed bug #213851 is related to this? Yes - I've got another ThinkPad. I assume other T14/X13 ThinkPad models are also affected.

Thank you
Peter
Comment 1 Peter Weber 2021-10-07 16:00:04 UTC
Created attachment 299131 [details]
lspci
Comment 2 Peter Weber 2021-10-07 16:00:29 UTC
Created attachment 299133 [details]
lsusb
Comment 3 Peter Weber 2021-10-07 16:05:59 UTC
Update

Plugging in the the connector into the 3.5 mm jack seems cause a permanent effect - now the LED doesn't turn ON when the microphone is muted and this persists across reboots.
Comment 4 Mik 2021-10-07 18:04:44 UTC
On our ThinkPad with Ryzen 2700, the F4 key is always on, it will turn off by clicking on it or in the volume control. Inserting a 3.5 mm jack with an internal mic has no effect on the mute key nor on malfunctioning. 

All normal up to Kernel 5.15-rc4 with Plasma 5.23 alpha and KDE framework 5.87 alpha (Arch).
Comment 5 Peter Weber 2021-10-08 09:39:14 UTC
The LED remains now OFF, whatever I do ):(

I noticed this was request in the former bug/issue:
$ cat /sys/devices/virtual/sound/ctl-led/mic/card1/list 
7

The others were empty.

$ amixer -c 0 controls
numid=1,iface=CARD,name='HDMI/DP,pcm=3 Jack'
numid=7,iface=CARD,name='HDMI/DP,pcm=7 Jack'
numid=13,iface=CARD,name='HDMI/DP,pcm=8 Jack'
numid=2,iface=MIXER,name='IEC958 Playback Con Mask'
numid=8,iface=MIXER,name='IEC958 Playback Con Mask',index=1
numid=14,iface=MIXER,name='IEC958 Playback Con Mask',index=2
numid=3,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=9,iface=MIXER,name='IEC958 Playback Pro Mask',index=1
numid=15,iface=MIXER,name='IEC958 Playback Pro Mask',index=2
numid=4,iface=MIXER,name='IEC958 Playback Default'
numid=10,iface=MIXER,name='IEC958 Playback Default',index=1
numid=16,iface=MIXER,name='IEC958 Playback Default',index=2
numid=5,iface=MIXER,name='IEC958 Playback Switch'
numid=11,iface=MIXER,name='IEC958 Playback Switch',index=1
numid=17,iface=MIXER,name='IEC958 Playback Switch',index=2
numid=6,iface=PCM,name='ELD',device=3
numid=19,iface=PCM,name='Playback Channel Map',device=3
numid=12,iface=PCM,name='ELD',device=7
numid=20,iface=PCM,name='Playback Channel Map',device=7
numid=18,iface=PCM,name='ELD',device=8
numid=21,iface=PCM,name='Playback Channel Map',device=8


$ amixer -c 1 controls
numid=12,iface=CARD,name='Headphone Jack'
numid=11,iface=CARD,name='Mic Jack'
numid=13,iface=CARD,name='Speaker Phantom Jack'
numid=10,iface=MIXER,name='Master Playback Switch'
numid=9,iface=MIXER,name='Master Playback Volume'
numid=2,iface=MIXER,name='Headphone Playback Switch'
numid=1,iface=MIXER,name='Headphone Playback Volume'
numid=8,iface=MIXER,name='Mic Boost Volume'
numid=7,iface=MIXER,name='Capture Switch'
numid=6,iface=MIXER,name='Capture Volume'
numid=5,iface=MIXER,name='Auto-Mute Mode'
numid=4,iface=MIXER,name='Speaker Playback Switch'
numid=3,iface=MIXER,name='Speaker Playback Volume'
numid=15,iface=PCM,name='Capture Channel Map'
numid=14,iface=PCM,name='Playback Channel Map'

$ amixer -c 2 controls

$ amixer -c 3 controls
numid=7,iface=MIXER,name='Mic Capture Switch'
numid=8,iface=MIXER,name='Mic Capture Volume'
numid=3,iface=MIXER,name='Sidetone Playback Switch'
numid=4,iface=MIXER,name='Sidetone Playback Volume'
numid=5,iface=MIXER,name='Speaker Playback Switch'
numid=6,iface=MIXER,name='Speaker Playback Volume'
numid=1,iface=PCM,name='Capture Channel Map'
numid=2,iface=PCM,name='Playback Channel Map'

$ amixer -c 4 controls
numid=7,iface=MIXER,name='PCM Playback Switch'
numid=8,iface=MIXER,name='PCM Playback Volume'
numid=3,iface=MIXER,name='Mic Capture Switch'
numid=4,iface=MIXER,name='Mic Capture Volume'
numid=6,iface=MIXER,name='Extension Unit Switch'
numid=5,iface=MIXER,name='Loudness'
numid=1,iface=PCM,name='Capture Channel Map'
numid=2,iface=PCM,name='Playback Channel Map'


Within alsamixer I can see currently five devices:
0 HD-Audio Generic
1 HD-Audio Generic
2 acp
3 Jabra EVOLVE 20 (Headset)
4 ThinkPad Dock USB Audio
Comment 6 Mik 2021-10-08 16:17:53 UTC
If this can help. You seem to have one missing: Internal Mic Phantom Jack. The rest is the same reading and -c 2,3,4 controls do not exist here. Nor ACP, Jabra EVOLVE 20 and ThinkPad Dock USB audio.

amixer -c 1 controls
numid=16,iface=CARD,name='Headphone Jack'
numid=14,iface=CARD,name='Internal Mic Phantom Jack'
numid=15,iface=CARD,name='Mic Jack'
numid=17,iface=CARD,name='Speaker Phantom Jack'
numid=13,iface=MIXER,name='Master Playback Switch'
numid=12,iface=MIXER,name='Master Playback Volume'
numid=2,iface=MIXER,name='Headphone Playback Switch'
numid=1,iface=MIXER,name='Headphone Playback Volume'
numid=20,iface=MIXER,name='PCM Playback Volume'
numid=9,iface=MIXER,name='Mic Boost Volume'
numid=7,iface=MIXER,name='Capture Switch'
numid=6,iface=MIXER,name='Capture Volume'
numid=5,iface=MIXER,name='Auto-Mute Mode'
numid=11,iface=MIXER,name='Beep Playback Switch'
numid=10,iface=MIXER,name='Beep Playback Volume'
numid=8,iface=MIXER,name='Internal Mic Boost Volume'
numid=4,iface=MIXER,name='Speaker Playback Switch'
numid=3,iface=MIXER,name='Speaker Playback Volume'
numid=19,iface=PCM,name='Capture Channel Map'
numid=18,iface=PCM,name='Playback Channel Map'

In the console, with F4, is capture reacts when moving MIC level in volume control?
Comment 7 Peter Weber 2022-03-07 17:04:34 UTC
Something fixed it months ago. I don't know what.
Comment 8 Peter Weber 2022-03-07 17:08:43 UTC
Maybe with #213851
Thank you :)