]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Apr 2025 08:08:35 +0000 (10:08 +0200)
commita532e7680878c8de293bfa8f2cbf9703df9b8395
tree96da491fa7bae04b3828de2e3cfe6a1239b6e946
parent3423cae6907838f760aada1a72bb6e378ebaa16d
ALSA: usb-audio: Add quirk for Plantronics headsets to fix control names

commit 486f6205c233da1baa309bde5f634eb1f8319a33 upstream.

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