New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thinkpad Z16 Gen2 Mic mute LED not switching on when press F4 #326
Comments
numid=129,iface=MIXER,name='Capture Switch' |
Link: alsa-project#326 Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
also affects Thinkpad Z13 Gen2, alsa-info: https://alsa-project.org/db/?f=39cf33ce78a8a553ef0218e753b64a6a4c648fe8 |
For Thinkpads, the ACPI driver should send KEY_MICMUTE (input subsystem) - see https://github.com/torvalds/linux/blob/master/drivers/platform/x86/thinkpad_acpi.c . This should be implemented for other platforms, too. The muting is implemented in gnome (window manager) / sound server. In other words, this is not related to the sound subsystem at all. |
Mic mute LED on ThinkPad also rely on snd_ctl_led: ucm2 uses "Mic ACP LED Capture Switch" on Thinkpad AMD platform. |
From your description, the LED and sound volume control (Mic ACP LED Capture Switch) connection works correctly. And the mentioned problems should be resolved. Please, do not try to mix different things. The key press event must be handled somewhere, so you should check the source and route of this event for your platform. |
This is new AMD platform Pink Sardine, it enables new driver of DMIC sound/soc/amd/ps/ps-mach.c. Without ucm2 conf: 1, Fallback profile is getting loaded and capture endpoint name is not listed as "Digital Microphone". It is just like the enablement of yellow carp and renoir Sorry for the misunderstanding. |
I see, but which driver handles the Fn+F4 key press event on this platform ? There are separate things:
If something is missing for 3) you should fix this corresponding driver. |
The Fn+F4 generate ACPI event: It's mapped in udev hwdb.d/60-keyboard.hwdb as KEY_MICMUTE. I didn't see anything wrong in driver. |
Sorry, my bad - I overlooked the pull request. So PR #327 resolves this issue, right ? |
Yes, it is fixed by the PR #327. |
Fixes: alsa-project#327 Fixes: alsa-project#326 Signed-off-by: Aaron Ma <aaron.ma@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
The mic and sound output works fine.
alsamixer can switch on/off the F4/Mic-mute LED automatically.
But when press Fn+F4, the mic-mute led is not working.
/sys/class/sound/ctl-led/mic/card1# cat list
129
The text was updated successfully, but these errors were encountered: