All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Fagiani <andfagiani@gmail.com>
To: alsa-devel@alsa-project.org
Subject: [PATCH] ALSA: usb-audio: use Corsair Virtuoso mapping for Corsair Virtuoso SE.
Date: Tue, 19 Jan 2021 08:47:44 +0000	[thread overview]
Message-ID: <40bbdf55-f854-e2ee-87b4-183e6451352c@gmail.com> (raw)

The Corsair Virtuoso SE RGB Wireless is a USB headset with a mic and a
sidetone feature. Assign the Corsair Virtuoso name map to the SE product
ids as well, in order to label its mixer appropriately and allow
userspace to pick the correct volume controls.

Signed-off-by: Andrea Fagiani <andfagiani@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 a7212f16660e..646deb6244b1 100644
--- a/sound/usb/mixer_maps.c
+++ b/sound/usb/mixer_maps.c
@@ -536,6 +536,16 @@ static const struct usbmix_ctl_map 
usbmix_ctl_maps[] = {
  		.id = USB_ID(0x05a7, 0x1020),
  		.map = bose_companion5_map,
  	},
+	{
+		/* Corsair Virtuoso SE (wired mode) */
+		.id = USB_ID(0x1b1c, 0x0a3d),
+		.map = corsair_virtuoso_map,
+	},
+	{
+		/* Corsair Virtuoso SE (wireless mode) */
+		.id = USB_ID(0x1b1c, 0x0a3e),
+		.map = corsair_virtuoso_map,
+	},
  	{
  		/* Corsair Virtuoso (wired mode) */
  		.id = USB_ID(0x1b1c, 0x0a41),
-- 
2.25.1


             reply	other threads:[~2021-01-19  8:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-19  8:47 Andrea Fagiani [this message]
2021-03-01  8:25 ` [PATCH] ALSA: usb-audio: use Corsair Virtuoso mapping for Corsair Virtuoso SE Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40bbdf55-f854-e2ee-87b4-183e6451352c@gmail.com \
    --to=andfagiani@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.