[pulseaudio-discuss] [PATCH 1/4] alsa-mixer: Add special profiles for some laptops missing speaker and/or internal mic

David Henningsson david.henningsson at canonical.com
Thu Jun 28 22:32:32 PDT 2012

On 06/28/2012 06:25 PM, Tanu Kaskinen wrote:
> On Thu, 2012-06-28 at 16:27 +0200, David Henningsson wrote:
>> Several laptops have speaker ports, and/or internal mic ports, but we have
>> no way of detecting that. So we make the port(s) always show up for these
>> devices.
>> BugLink: https://bugs.launchpad.net/bugs/946232
>> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
>> +; For devices where a 'Internal Mic' or 'Internal Mic Boost' element exists
>> +; 'Int Mic' and 'Int Mic Boost' are for compatibility with kernels < 2.6.38
>> +;
>> +; See analog-output.conf.common for an explanation on the directives
> Not really problem with this specific patch, but anyway, I saw
> analog-output.conf.common, and I didn't find any explanation for the
> jack state directives (they are completely new to me).
> analog-output.conf.common needs updating.

Okay. It started off as a hack, but as we tend to use it more and more 
perhaps it's not a hack anymore, but a mapping mechanism. :-)

> Otherwise looks good to me. The mostly copy-pasted profile-set files
> aren't very cool, though, but I don't have any good solution for it
> right now.One question: is it possible to see somehow (from log or with
> pactl) which profile-set is being used by a card? I was recently bitten
> by the extra-hdmi profile-set: I adviced a user to modify default.conf,
> when actually extra-hdmi.conf was being used.

I guess
udevadm info --export-db | grep PULSE
would be useful here. PulseAudio -vvvv would also show that information, 
I believe.

For extra-hdmi.conf, we could consider merging it into default.conf. I 
only did that as an optimisation, so USB card and others would not have 
to suffer startup time from probing useless HDMI outputs. But those 
extra HDMI outputs are far more common than e g four-channel inputs, so...

David Henningsson, Canonical Ltd.

More information about the pulseaudio-discuss mailing list