]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:51:32 +0000 (19:51 +0100)
commit a7de2b873f3dbcda02d504536f1ec6dc50e3f6c4 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/mixer_maps.c

index 3f8f6056ff6a5ac7f13717f0b8e801f7c27da7cf..b4cde46dae67a84e2ef9c15169eb0ca4d600c5da 100644 (file)
@@ -574,6 +574,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,