22 Jul
2015
22 Jul
'15
1:35 p.m.
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