[Sound-open-firmware] jack detection via input/event on linux

hede alsa426 at der-he.de
Fri Jun 3 23:41:02 CEST 2022


On Fri, 3 Jun 2022 10:48:19 -0500 Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com> wrote:

> Did you mean something like the patch below Jaroslav? If yes, most of
> the Chromebook machine drivers are missing this remapping. That would
> also explain why the jack detection didn't work on my GLK test device,
> despite a UCM file that looked good...
> 
> diff --git a/sound/soc/intel/boards/sof_rt5682.c
> b/sound/soc/intel/boards/sof_rt5682.c
> index 5d67a2c87a1d4..1db17ebd26f63 100644
> --- a/sound/soc/intel/boards/sof_rt5682.c
> +++ b/sound/soc/intel/boards/sof_rt5682.c
> [...]

I can confirm this patch works for me (adapted, because I obviously use some different kernel version). It seems I do have some bugs within my UCM file currently as the activation works but not deactivation of the headset. But "alsactl monitor" is fine and shows both events, insert and remove. *thumbup*

Next thing is the 4ch capture which hits me, too, like you described in your pull request. 

Curtis' goal to have their UCMs upstream also sounds promising.

Thank you all! My question here was more productive than I would dream of. 
hede


More information about the Sound-open-firmware mailing list