ALSA: usb-audio: add mixer mapping for Corsair HS80
authorMarie Ramlow <me@nycode.dev>
Sat, 30 Nov 2024 16:52:40 +0000 (17:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 1 Dec 2024 08:49:49 +0000 (09:49 +0100)
The Corsair HS80 RGB Wireless is a USB headset with a mic and a sidetone
feature. It has the same quirk as the Virtuoso series.
This labels the mixers appropriately, so applications don't
move the sidetone volume when they actually intend to move the main
headset volume.

Signed-off-by: Marie Ramlow <me@nycode.dev>
cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20241130165240.17838-1-me@nycode.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_maps.c

index 23260aa1919d322d77a3ed8154fb3e0efd9c83a8..0e9b5431a47f20bed79a46840f585cf5a34f16fa 100644 (file)
@@ -621,6 +621,16 @@ static const struct usbmix_ctl_map usbmix_ctl_maps[] = {
                .id = USB_ID(0x1b1c, 0x0a42),
                .map = corsair_virtuoso_map,
        },
+       {
+               /* Corsair HS80 RGB Wireless (wired mode) */
+               .id = USB_ID(0x1b1c, 0x0a6a),
+               .map = corsair_virtuoso_map,
+       },
+       {
+               /* Corsair HS80 RGB Wireless (wireless mode) */
+               .id = USB_ID(0x1b1c, 0x0a6b),
+               .map = corsair_virtuoso_map,
+       },
        {       /* Gigabyte TRX40 Aorus Master (rear panel + front mic) */
                .id = USB_ID(0x0414, 0xa001),
                .map = aorus_master_alc1220vb_map,