Hi, On Sat, May 23, 2020 at 12:50:52PM -0000, [email protected] wrote: > > When docked the mic is enabled by default but headphone is not detected. > Strangely if i plug another headphone in the laptop headphone jack, the dock > headphones start working! > > Could it be that the file > https://github.com/coreboot/coreboot/blob/master/src/mainboard/lenovo/t440p/hda_verb.c > is missing the info about the jack being a combo port just like in the t520 > https://github.com/rockchip-linux/coreboot/blob/master/src/mainboard/lenovo/t520/hda_verb.c
I think it makes sense. I don't have a T440p right now. I can only give you some information I found when I worked on this machine. I once searched in the OEM firmware, and found the HDA verbs are stored in a UEFI module named PchConfigDxe. I don't know how many of these the Lenovo firmware uses. I've pasted the list of HDA verbs in this module dumped with Ghidra in [1]. I've tried to add the function reset verbs (the four 0x0017ff00) to coreboot before, but it doesn't seem to help. Also I found other coreboot laptops using Realtek HDA have some verbs used to tune jack detection, with hex like 0x02xxxxxx. There are also some of these in this verb list. I don't know if it can help. [1] https://paste.debian.net/1148430/ Regards, Iru _______________________________________________ coreboot mailing list -- [email protected] To unsubscribe send an email to [email protected]

