]> 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:48:23 +0000 (19:48 +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 b708a240a5f06de9ada5178fdbbf11eb03052b97..a973e02babf50d742f76595bfaf97cb9b015b26c 100644 (file)
@@ -596,6 +596,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,