Skip to content

Commit

Permalink
Mixer-Maps: Add alternate ALC4080
Browse files Browse the repository at this point in the history
Asus released motherboard(s) with an alternate ALC4080 that lacks
a SPDIF jack, and requires applying this map.
  • Loading branch information
13r0ck committed Jun 15, 2022
1 parent 6277a18 commit 425c672
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions sound/usb/mixer_maps.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,22 @@ static const struct usbmix_name_map gigabyte_b450_map[] = {
{}
};

/* ASUS ROG Strix Z590-A Gaming WiFi */
static const struct usbmix_name_map asus_rog_z590_a_map[] = {
{ 24, NULL }, /* OT, IEC958?, disabled */
{ 21, "Speaker" }, /* OT */
{ 29, "Speaker Playback" }, /* FU */
{ 22, "Headphone" }, /* OT */
{ 30, "Headphone Playback" }, /* FU */
{ 11, "Line" }, /* IT */
{ 25, "Line Capture" }, /* FU */
{ 12, "Mic" }, /* IT */
{ 28, "Mic Capture" }, /* FU */
{ 9, "Front Mic" }, /* IT */
{ 27, "Front Mic Capture" }, /* FU */
{}
};

static const struct usbmix_connector_map gigabyte_b450_connector_map[] = {
{ 13, 21 }, /* Speaker */
{ 14, 22 }, /* Headphone */
Expand Down Expand Up @@ -614,6 +630,10 @@ static const struct usbmix_ctl_map usbmix_ctl_maps[] = {
.id = USB_ID(0x0b05, 0x1916),
.map = asus_rog_map,
},
{ /* ASUS ROG Strix Z590-A Gaming WiFi */
.id = USB_ID(0x0b05, 0x1999),
.map = asus_rog_z590_a_map,
},
{ /* ASUS ROG Strix */
.id = USB_ID(0x0b05, 0x1917),
.map = trx40_mobo_map,
Expand Down

0 comments on commit 425c672

Please sign in to comment.