Under Ubuntu, the internal speaker (and microphone) of the ThinkPad T14 AMD Gen 2 has by default an unfortunate name in the GNOME interface, such as Speaker - Family 17h/19h HD Audio. While Family 17h/19h refers to an AMD CPU generation, it's not a user-friendly description.
This issue stems from the default description of the audio device. Fortunately, we can overwrite this description using a WirePlumber configuration script.
-
Create a new WirePlumber configuration file:
mkdir -p ~/.config/wireplumber/main.lua.d vim ~/.config/wireplumber/main.lua.d/51-alsa-rename.lua
-
Add the following Lua script to the file:
rule = { matches = { { { "device.name", "equals", "alsa_card.pci-0000_07_00.6" }, }, }, apply_properties = { ["device.description"] = "Internal", }, } table.insert(alsa_monitor.rules, rule)
-
Save the file and exit the text editor.
-
Restart WirePlumber to apply the changes:
systemctl --user restart wireplumber.service
After applying these changes, the audio device should appear as "Internal" in your sound settings.
-
The
device.namevalue (alsa_card.pci-0000_07_00.6) might differ on your system. To find the correct value, you can use the following command:wpctl status # search for the device id wpctl inspect <device-id>
-
You can customize the
device.descriptionvalue to any name you prefer. -
While WirePlumber seems to be shifting towards JSON-based configuration [see], for Ubuntu 24.04, only the Lua-based configuration worked for me.