From: Tanu Kaskinen <tanuk@iki.fi>
To: maruthi srinivas <maruthi.srinivas.b@gmail.com>,
alsa-devel@alsa-project.org
Subject: Re: pulseaudio external mic jack detection - ASoC based card
Date: Wed, 22 Jul 2015 13:35:22 +0300 [thread overview]
Message-ID: <1437561322.29189.1.camel@iki.fi> (raw)
In-Reply-To: <CANv6ZMYHA7V9Dt0xfxS6jdy5WTbho28p=7p9ZLZNw_tsSQbmfQ@mail.gmail.com>
On Wed, 2015-07-08 at 16:33 +0530, maruthi srinivas wrote:
> Hi,
>
> I have a issue with mic jack status in Ubuntu "sound settings" UI.
> When
> external mic is removed, UI still shows Mic.
> When compared to HD Azalia driver, UI shouldn't show any external Mic
> jack
> information, if it is removed.
>
> Codec driver I use reports jack status properly and uses
> snd_soc_jack_report().
> /proc/interrupts, /dev/input/eventX reflects jack activity. But the
> same
> is not reflected in UI.
>
> I want to know how pulseaudio detect jack status for drivers which
> follow
> ALSA SoC architecture.
> Does it read from any event from /dev/input/eventX ?
No, pulseaudio doesn't use the /dev/input devices, it reads the jack
state from the alsa mixer interface.
--
Tanu
next prev parent reply other threads:[~2015-07-22 10:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-08 11:03 pulseaudio external mic jack detection - ASoC based card maruthi srinivas
2015-07-22 10:35 ` Tanu Kaskinen [this message]
2015-07-22 12:28 ` David Henningsson
2015-07-22 12:38 ` Takashi Iwai
2015-07-22 15:13 ` maruthi srinivas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1437561322.29189.1.camel@iki.fi \
--to=tanuk@iki.fi \
--cc=alsa-devel@alsa-project.org \
--cc=maruthi.srinivas.b@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.