[alsa-devel] [PATCH] ALSA: usb - Don't create "Speaker" mixer controls on headphones and headsets

Clemens Ladisch clemens at ladisch.de
Mon Nov 26 11:06:41 CET 2012

Takashi Iwai wrote:
> David Henningsson wrote:
>> A lot of headsets/headphones have a "Speaker" mixer control. This confuses
>> PulseAudio to think it is a speaker instead of a headphone/headset.
>> Therfore, we rename it to "Headphone".
>> We determine if something is a headphone similar to how udev determines
>> form factor (see 78-sound-card.rules).
>> BugLink: https://bugs.launchpad.net/bugs/1082357
>> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
>> ---
>>  sound/usb/mixer.c |   30 ++++++++++++++++++++++++++++++
>>  1 file changed, 30 insertions(+)
>> I tried to find a better way of doing this using the existing quirk or
>> map infrastructure but it didn't seem to fit, so added a new
>> explicit check.
> Hrm, indeed it's pretty hackish although it'd work heuristically.

This is for devices that have explicitly marked their output
terminal as speakers, so I don't see any method to make this less


More information about the Alsa-devel mailing list