Open JL2210 opened 2 months ago
Unfortunately, the key mapping is handled in the user space, but LED state depends on the hardware state. It means that if we add headphones to the LED bindings, both internal and headphone microphones must be off. Unfortunately, sound servers do not turn unused outputs off at the moment.
You can try this as root: echo "Capture Switch" > /class/sound/ctl-led/mic/card0/attach
(the card number must be correct)
Unfortunately, the key mapping is handled in the user space, but LED state depends on the hardware state. It means that if we add headphones to the LED bindings, both internal and headphone microphones must be off. Unfortunately, sound servers do not turn unused outputs off at the moment.
You can try this as root:
echo "Capture Switch" > /class/sound/ctl-led/mic/card0/attach
(the card number must be correct)
Thanks, that worked! I've put it in my /etc/tmpfiles.d
for now
I have a laptop keyboard with a key to mute the microphone. Using this key mutes whichever mic is selected as default. However, the light on the key only changes with the internal microphone rather than the active mic.
Pressing the key when a headset is plugged in doesn't change the LED, but pressing it without a headset does.
alsa-info.txt