ucm2: Qualcomm: Thinkpad T14s speaker mute LED support
alsa-project/alsa-ucm-conf pull request #880 was opened from sre:
The T14s Gen6 Snapdragon has an LED in the mute button to signal that the speaker is muted. The kernel driver for the embedded controller exposes it as /sys/class/leds/platform::mute with trigger set to audio-mute. At the same time the hardware toggles the LED state when the mute key is pressed (independent of the real audio state) giving a fake suggestion of things working correctly.
This series properly attaches the speaker mute state to this LED. To be functional, it depends on a kernel driver change for the speaker amplifier exposing a mute control knob. All handling has been implemented in a way, that using a kernel without this feature will continue to work as before.
I will update the PR description with a link to the kernel patch, once it has been send out.
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/880
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/880.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf
alsa-project/alsa-ucm-conf pull request #880 was edited from sre:
The T14s Gen6 Snapdragon has an LED in the mute button to signal that the speaker is muted. The kernel driver for the embedded controller exposes it as /sys/class/leds/platform::mute with trigger set to audio-mute. At the same time the hardware toggles the LED state when the mute key is pressed (independent of the real audio state) giving a fake suggestion of things working correctly.
This series properly attaches the speaker mute state to this LED. To be functional, it depends on a kernel driver change for the speaker amplifier exposing a mute control knob. All handling has been implemented in a way, that using a kernel without this feature will continue to work as before.
Kernel Patch: https://lore.kernel.org/linux-sound/[email protected]/
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/880
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/880.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf