* pulseaudio external mic jack detection - ASoC based card
@ 2015-07-08 11:03 maruthi srinivas
2015-07-22 10:35 ` Tanu Kaskinen
2015-07-22 12:28 ` David Henningsson
0 siblings, 2 replies; 5+ messages in thread
From: maruthi srinivas @ 2015-07-08 11:03 UTC (permalink / raw)
To: alsa-devel
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 ?
Please help in understanding.
Regards,
Maruthi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pulseaudio external mic jack detection - ASoC based card
2015-07-08 11:03 pulseaudio external mic jack detection - ASoC based card maruthi srinivas
@ 2015-07-22 10:35 ` Tanu Kaskinen
2015-07-22 12:28 ` David Henningsson
1 sibling, 0 replies; 5+ messages in thread
From: Tanu Kaskinen @ 2015-07-22 10:35 UTC (permalink / raw)
To: maruthi srinivas, alsa-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pulseaudio external mic jack detection - ASoC based card
2015-07-08 11:03 pulseaudio external mic jack detection - ASoC based card maruthi srinivas
2015-07-22 10:35 ` Tanu Kaskinen
@ 2015-07-22 12:28 ` David Henningsson
2015-07-22 12:38 ` Takashi Iwai
2015-07-22 15:13 ` maruthi srinivas
1 sibling, 2 replies; 5+ messages in thread
From: David Henningsson @ 2015-07-22 12:28 UTC (permalink / raw)
To: maruthi srinivas, alsa-devel
On 2015-07-08 13:03, 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 ?
>
> Please help in understanding.
Has this not been unified in (very) recent kernels, so that ASoC also
creates kcontrols, or at least has the possibility to do so?
Also, out of curiousity, what machine is this?
--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pulseaudio external mic jack detection - ASoC based card
2015-07-22 12:28 ` David Henningsson
@ 2015-07-22 12:38 ` Takashi Iwai
2015-07-22 15:13 ` maruthi srinivas
1 sibling, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2015-07-22 12:38 UTC (permalink / raw)
To: David Henningsson; +Cc: maruthi srinivas, alsa-devel
On Wed, 22 Jul 2015 14:28:54 +0200,
David Henningsson wrote:
>
>
>
> On 2015-07-08 13:03, 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 ?
> >
> > Please help in understanding.
>
> Has this not been unified in (very) recent kernels, so that ASoC also
> creates kcontrols, or at least has the possibility to do so?
Yes, ASoC on 4.2 kernel provides the jack kctls, too.
Takashi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pulseaudio external mic jack detection - ASoC based card
2015-07-22 12:28 ` David Henningsson
2015-07-22 12:38 ` Takashi Iwai
@ 2015-07-22 15:13 ` maruthi srinivas
1 sibling, 0 replies; 5+ messages in thread
From: maruthi srinivas @ 2015-07-22 15:13 UTC (permalink / raw)
To: David Henningsson; +Cc: alsa-devel
This is for upcoming AMD ASoC driver.
On Wed, Jul 22, 2015 at 5:58 PM, David Henningsson <
david.henningsson@canonical.com> wrote:
>
>
> On 2015-07-08 13:03, 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 ?
>>
>> Please help in understanding.
>>
>
> Has this not been unified in (very) recent kernels, so that ASoC also
> creates kcontrols, or at least has the possibility to do so?
>
> Also, out of curiousity, what machine is this?
>
> --
> David Henningsson, Canonical Ltd.
> https://launchpad.net/~diwic
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-07-22 15:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-08 11:03 pulseaudio external mic jack detection - ASoC based card maruthi srinivas
2015-07-22 10:35 ` Tanu Kaskinen
2015-07-22 12:28 ` David Henningsson
2015-07-22 12:38 ` Takashi Iwai
2015-07-22 15:13 ` maruthi srinivas
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.