You are not logged in.
I also had the same problem on my brand new Thinkpad P14s (AMD) Gen4 Type 21K5, produced in March 2024. Pavucontrol was reporting the internal mic as Microphone (unplugged). I've built the current kernel version 6.8.2-arch2-1 with the following patch (which is kinda borked, a diff adding a separate LENOVO / 21K5 section to the quirks array would be nicer. but anyway):
diff --unified --recursive --text a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
--- a/sound/soc/amd/yc/acp6x-mach.c 2024-03-26 23:23:34.000000000 +0100
+++ b/sound/soc/amd/yc/acp6x-mach.c 2024-04-03 11:00:32.610575443 +0200
@@ -56,6 +56,13 @@
.driver_data = &acp6x_card,
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "21K5"),
+ }
+ },
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
DMI_MATCH(DMI_PRODUCT_NAME, "21D0"),
}
},
Additionally to make it work, I had to turn off ucm as pointed out by others. I've created the following file ~/.config/wireplumber/main.lua.d/50-alsa-config.lua:
alsa_monitor.rules = {
{
apply_properties = {
["api.alsa.use-ucm"] = false,
},
},
}
Many thanks to the posters in this thread, as I would't have come up with the solution on my own, and a working microphone was kind of crucial for me.
Offline
I also had the same problem on my brand new Thinkpad P14s (AMD) Gen4 Type 21K5, produced in March 2024. Pavucontrol was reporting the internal mic as Microphone (unplugged). I've built the current kernel version 6.8.2-arch2-1 with the following patch (which is kinda borked, a diff adding a separate LENOVO / 21K5 section to the quirks array would be nicer. but anyway):
diff --unified --recursive --text a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c --- a/sound/soc/amd/yc/acp6x-mach.c 2024-03-26 23:23:34.000000000 +0100 +++ b/sound/soc/amd/yc/acp6x-mach.c 2024-04-03 11:00:32.610575443 +0200 @@ -56,6 +56,13 @@ .driver_data = &acp6x_card, .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_NAME, "21K5"), + } + }, + { + .driver_data = &acp6x_card, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), DMI_MATCH(DMI_PRODUCT_NAME, "21D0"), } },
Additionally to make it work, I had to turn off ucm as pointed out by others. I've created the following file ~/.config/wireplumber/main.lua.d/50-alsa-config.lua:
alsa_monitor.rules = { { apply_properties = { ["api.alsa.use-ucm"] = false, }, }, }
Many thanks to the posters in this thread, as I would't have come up with the solution on my own, and a working microphone was kind of crucial for me.
The above patch also fixed the microphone issue I had with my Z16 gen 2. Also, this patch appears to now be in place in 6.8.3: https://github.com/zen-kernel/zen-kerne … mach.c#L59. It will likely be hitting arch shortly.
Last edited by Keozon (2024-04-05 10:44:30)
Offline