mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Add mixer mapping for MSI MAG B850M MORTAR WIFI
@ 2026-09-23 18:49 Tomasz Bojanowski
  2026-09-28 11:38 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Bojanowski @ 2026-09-23 18:49 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Jaroslav Kysela, linux-sound, linux-kernel, Tomasz Bojanowski

The USB audio device 0db0:cc78 (Realtek ALC4080) on the MSI MAG B850M
MORTAR WIFI motherboard exposes all playback controls as "PCM", which
makes it hard to tell the outputs apart.

Its mixer layout matches the one of the MSI MPG X570S Carbon Max Wifi
(units 29, 30 and 32), so reuse msi_mpg_x570s_carbon_max_wifi_alc4080_map
for this device too. With the mapping applied, the controls show up as
"Speaker", "Front Headphone" and "IEC958".

Tested with a patched snd-usb-audio module on a 7.2.7 kernel.

Signed-off-by: Tomasz Bojanowski <tomasz@bojanowski.me>
---
 sound/usb/mixer_maps.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
index 41454cb40..f8e1f7803 100644
--- a/sound/usb/mixer_maps.c
+++ b/sound/usb/mixer_maps.c
@@ -749,6 +749,10 @@ static const struct usbmix_ctl_map usbmix_ctl_maps[] = {
 		.id = USB_ID(0x0db0, 0xa073),
 		.map = msi_mpg_x570s_carbon_max_wifi_alc4080_map,
 	},
+	{	/* MSI MAG B850M MORTAR WIFI */
+		.id = USB_ID(0x0db0, 0xcc78),
+		.map = msi_mpg_x570s_carbon_max_wifi_alc4080_map,
+	},
 	{	/* MSI TRX40 */
 		.id = USB_ID(0x0db0, 0x543d),
 		.map = trx40_mobo_map,
-- 
2.55.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: usb-audio: Add mixer mapping for MSI MAG B850M MORTAR WIFI
  2026-09-23 18:49 [PATCH] ALSA: usb-audio: Add mixer mapping for MSI MAG B850M MORTAR WIFI Tomasz Bojanowski
@ 2026-09-28 11:38 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-09-28 11:38 UTC (permalink / raw)
  To: Tomasz Bojanowski
  Cc: Takashi Iwai, Jaroslav Kysela, linux-sound, linux-kernel

On Wed, 23 Sep 2026 20:49:57 +0200,
Tomasz Bojanowski wrote:
> 
> The USB audio device 0db0:cc78 (Realtek ALC4080) on the MSI MAG B850M
> MORTAR WIFI motherboard exposes all playback controls as "PCM", which
> makes it hard to tell the outputs apart.
> 
> Its mixer layout matches the one of the MSI MPG X570S Carbon Max Wifi
> (units 29, 30 and 32), so reuse msi_mpg_x570s_carbon_max_wifi_alc4080_map
> for this device too. With the mapping applied, the controls show up as
> "Speaker", "Front Headphone" and "IEC958".
> 
> Tested with a patched snd-usb-audio module on a 7.2.7 kernel.
> 
> Signed-off-by: Tomasz Bojanowski <tomasz@bojanowski.me>

Applied now.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-28 11:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 18:49 [PATCH] ALSA: usb-audio: Add mixer mapping for MSI MAG B850M MORTAR WIFI Tomasz Bojanowski
2026-09-28 11:38 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®