alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: add mapping for ASRock TRX40 Creator
@ 2020-05-03 14:16 Andrew Oakley
  2020-05-04  6:23 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Oakley @ 2020-05-03 14:16 UTC (permalink / raw)
  To: alsa-devel; +Cc: Andrew Oakley

This is another TRX40 based motherboard with ALC1220-VB USB-audio
that requires a static mapping table.

This motherboard also has a PCI device which advertises no codecs.  The
PCI ID is 1022:1487 and PCI SSID is 1022:d102.  As this is using the AMD
vendor ID, don't blacklist for now in case other boards have a working
audio device with the same ssid.

alsa-info.sh report for this board:
http://alsa-project.org/db/?f=0a742f89066527497b77ce16bca486daccf8a70c

Signed-off-by: Andrew Oakley <andrew@adoakley.name>
---
 sound/usb/mixer_maps.c   | 5 +++++
 sound/usb/quirks-table.h | 1 +
 2 files changed, 6 insertions(+)

diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
index 0260c750e156..bfdc6ad52785 100644
--- a/sound/usb/mixer_maps.c
+++ b/sound/usb/mixer_maps.c
@@ -549,6 +549,11 @@ static const struct usbmix_ctl_map usbmix_ctl_maps[] = {
 		.map = trx40_mobo_map,
 		.connector_map = trx40_mobo_connector_map,
 	},
+	{	/* Asrock TRX40 Creator */
+		.id = USB_ID(0x26ce, 0x0a01),
+		.map = trx40_mobo_map,
+		.connector_map = trx40_mobo_connector_map,
+	},
 	{ 0 } /* terminator */
 };
 
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index a1df4c5b4f8c..6313c30f5c85 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -3563,6 +3563,7 @@ AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
 ALC1220_VB_DESKTOP(0x0414, 0xa002), /* Gigabyte TRX40 Aorus Pro WiFi */
 ALC1220_VB_DESKTOP(0x0db0, 0x0d64), /* MSI TRX40 Creator */
 ALC1220_VB_DESKTOP(0x0db0, 0x543d), /* MSI TRX40 */
+ALC1220_VB_DESKTOP(0x26ce, 0x0a01), /* Asrock TRX40 Creator */
 #undef ALC1220_VB_DESKTOP
 
 #undef USB_DEVICE_VENDOR_SPEC
-- 
2.24.1


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

* Re: [PATCH] ALSA: usb-audio: add mapping for ASRock TRX40 Creator
  2020-05-03 14:16 [PATCH] ALSA: usb-audio: add mapping for ASRock TRX40 Creator Andrew Oakley
@ 2020-05-04  6:23 ` Takashi Iwai
  2020-05-04  6:25   ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2020-05-04  6:23 UTC (permalink / raw)
  To: Andrew Oakley; +Cc: alsa-devel

On Sun, 03 May 2020 16:16:39 +0200,
Andrew Oakley wrote:
> 
> This is another TRX40 based motherboard with ALC1220-VB USB-audio
> that requires a static mapping table.
> 
> This motherboard also has a PCI device which advertises no codecs.  The
> PCI ID is 1022:1487 and PCI SSID is 1022:d102.  As this is using the AMD
> vendor ID, don't blacklist for now in case other boards have a working
> audio device with the same ssid.
> 
> alsa-info.sh report for this board:
> http://alsa-project.org/db/?f=0a742f89066527497b77ce16bca486daccf8a70c
> 
> Signed-off-by: Andrew Oakley <andrew@adoakley.name>

Applied now with Cc-to-stable.  Thanks.


Takashi

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

* Re: [PATCH] ALSA: usb-audio: add mapping for ASRock TRX40 Creator
  2020-05-04  6:23 ` Takashi Iwai
@ 2020-05-04  6:25   ` Takashi Iwai
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2020-05-04  6:25 UTC (permalink / raw)
  To: Andrew Oakley; +Cc: alsa-devel

On Mon, 04 May 2020 08:23:27 +0200,
Takashi Iwai wrote:
> 
> On Sun, 03 May 2020 16:16:39 +0200,
> Andrew Oakley wrote:
> > 
> > This is another TRX40 based motherboard with ALC1220-VB USB-audio
> > that requires a static mapping table.
> > 
> > This motherboard also has a PCI device which advertises no codecs.  The
> > PCI ID is 1022:1487 and PCI SSID is 1022:d102.  As this is using the AMD
> > vendor ID, don't blacklist for now in case other boards have a working
> > audio device with the same ssid.
> > 
> > alsa-info.sh report for this board:
> > http://alsa-project.org/db/?f=0a742f89066527497b77ce16bca486daccf8a70c
> > 
> > Signed-off-by: Andrew Oakley <andrew@adoakley.name>
> 
> Applied now with Cc-to-stable.  Thanks.

Fingers slipped, this wasn't with Cc to stable.
Applied to for-linus branch as is for merging to the next pull request
to 5.7-rc.


Takashi

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

end of thread, other threads:[~2020-05-04  6:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-03 14:16 [PATCH] ALSA: usb-audio: add mapping for ASRock TRX40 Creator Andrew Oakley
2020-05-04  6:23 ` Takashi Iwai
2020-05-04  6:25   ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).