Skip to content

Instantly share code, notes, and snippets.

Fix microphone mute LED on ThinkPad T14s Gen 2 AMD (Linux)

On this model, the indicator of micphone mute is not working properly in Linux due to how the device is implemented in ALSA and pulseuaio. The microphone device is suplex and has its micrphone LED event set to the wrong one.

Use the following script to fix this:

#!/bin/bash
@Astro36
Astro36 / .clang-format
Last active July 29, 2021 06:37
Rust-like Clang-Format Style
# https://gist.github.com/Astro36/ef933be73050b4d5a6e0522536723a18
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
# AlignConsecutiveMacros: false
AlignEscapedNewlines: DontAlign
AlignOperands: true
AlignTrailingComments: false
# AllowAllArgumentsOnNextLine: false