25 Apr
2019
25 Apr
'19
10:50 a.m.
Hi all,
I am working on sound open firmware in ASoC to enable HDAudio with pulse audio in ubuntu. There is a HDAudio codec driver hdac_hda.c in ASoC, which invokes HDAudio functions defined in sound/pci/hda, for ASoC to utilize the HDAudio codec. Now I get a issue: pulse audio can't detect headphone pluged or not.
Could anyone help to tell me about Jack detection flow in HDAudio and how does HDAudio work with pulse audio ? Does HDAudio report a event to pulse audio when headphone detected ? As I know, ASoC codec driver would invoke snd_soc_jack_report to notify user mode, how about HDAudio driver ?
Thanks!
Rander