public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: add mapping for new Corsair Virtuoso SE
@ 2022-03-04 21:23 Reza Jahanbakhshi
  2022-03-05  8:27 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Reza Jahanbakhshi @ 2022-03-04 21:23 UTC (permalink / raw)
  Cc: reza.jahanbakhshi, Jaroslav Kysela, Takashi Iwai,
	Johannes Schickel, Timo Gurr, alsa-devel, linux-kernel

New device id for Corsair Virtuoso SE RGB Wireless that currently is not
in the mixer_map. This entry in the mixer_map is necessary in order to
label its mixer appropriately and allow userspace to pick the correct
volume controls. For instance, my own Corsair Virtuoso SE RGB Wireless
headset has this new ID and consequently, the sidetone and volume are not
 working correctly without this change.
> sudo lsusb -v | grep -i corsair
Bus 007 Device 011: ID 1b1c:0a40 Corsair CORSAIR VIRTUOSO SE Wireless Gam
  idVendor           0x1b1c Corsair
  iManufacturer           1 Corsair
  iProduct                2 CORSAIR VIRTUOSO SE Wireless Gaming Headset

Signed-off-by: Reza Jahanbakhshi <reza.jahanbakhshi@gmail.com>
---
 sound/usb/mixer_maps.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
index 96991ddf5055..64f5544d0a0a 100644
--- a/sound/usb/mixer_maps.c
+++ b/sound/usb/mixer_maps.c
@@ -542,6 +542,16 @@ static const struct usbmix_ctl_map usbmix_ctl_maps[] = {
 		.id = USB_ID(0x05a7, 0x40fa),
 		.map = bose_soundlink_map,
 	},
+	{
+		/* Corsair Virtuoso SE Latest (wired mode) */
+		.id = USB_ID(0x1b1c, 0x0a3f),
+		.map = corsair_virtuoso_map,
+	},
+	{
+		/* Corsair Virtuoso SE Latest (wireless mode) */
+		.id = USB_ID(0x1b1c, 0x0a40),
+		.map = corsair_virtuoso_map,
+	},
 	{
 		/* Corsair Virtuoso SE (wired mode) */
 		.id = USB_ID(0x1b1c, 0x0a3d),
-- 
2.35.1


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

* Re: [PATCH] ALSA: usb-audio: add mapping for new Corsair Virtuoso SE
  2022-03-04 21:23 [PATCH] ALSA: usb-audio: add mapping for new Corsair Virtuoso SE Reza Jahanbakhshi
@ 2022-03-05  8:27 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2022-03-05  8:27 UTC (permalink / raw)
  To: Reza Jahanbakhshi
  Cc: Jaroslav Kysela, Takashi Iwai, Johannes Schickel, Timo Gurr,
	alsa-devel, linux-kernel

On Fri, 04 Mar 2022 22:23:02 +0100,
Reza Jahanbakhshi wrote:
> 
> New device id for Corsair Virtuoso SE RGB Wireless that currently is not
> in the mixer_map. This entry in the mixer_map is necessary in order to
> label its mixer appropriately and allow userspace to pick the correct
> volume controls. For instance, my own Corsair Virtuoso SE RGB Wireless
> headset has this new ID and consequently, the sidetone and volume are not
>  working correctly without this change.
> > sudo lsusb -v | grep -i corsair
> Bus 007 Device 011: ID 1b1c:0a40 Corsair CORSAIR VIRTUOSO SE Wireless Gam
>   idVendor           0x1b1c Corsair
>   iManufacturer           1 Corsair
>   iProduct                2 CORSAIR VIRTUOSO SE Wireless Gaming Headset
> 
> Signed-off-by: Reza Jahanbakhshi <reza.jahanbakhshi@gmail.com>

Thanks, applied now with Cc-to-stable.


Takashi

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

end of thread, other threads:[~2022-03-05  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-04 21:23 [PATCH] ALSA: usb-audio: add mapping for new Corsair Virtuoso SE Reza Jahanbakhshi
2022-03-05  8:27 ` Takashi Iwai

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