]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: usb-audio: Add quirk for Plantronics headsets to fix control names
authorTerry Junge <linuxhid@cosmicgizmosystems.com>
Sat, 18 Jan 2025 00:58:39 +0000 (16:58 -0800)
committerJiri Kosina <jkosina@suse.com>
Mon, 3 Feb 2025 10:09:05 +0000 (11:09 +0100)
commit486f6205c233da1baa309bde5f634eb1f8319a33
tree77a4f8cae15c9c7bbbac38892857cb28641f2525
parent9821709af892be9fbf4ee9a50b2f3e0604295ce0
ALSA: usb-audio: Add quirk for Plantronics headsets to fix control names

Many Poly/Plantronics headset families name the feature, input,
and/or output units in a such a way to produce control names
that are not recognized by user space. As such, the volume and
mute events do not get routed to the headset's audio controls.

As an example from a product family:

The microphone mute control is named
Headset Microphone Capture Switch
and the headset volume control is named
Headset Earphone Playback Volume

The quirk fixes these to become
Headset Capture Switch
Headset Playback Volume

Signed-off-by: Terry Junge <linuxhid@cosmicgizmosystems.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Cc: stable@vger.kernel.org
Signed-off-by: Jiri Kosina <jkosina@suse.com>
sound/usb/mixer_quirks.c