Comment 661 for bug 1958019

Revision history for this message
In , fadinialessandro (fadinialessandro-linux-kernel-bugs) wrote :

(In reply to Philipp Jungkamp from comment #645)
> Created attachment 301327 [details]
> Patch for the ALC287 on the Lenovo Yoga 14IAP7
>
> I did not include the FIXUP_THINKPAD_ACPI quirk in the fixup chain as I
> don't understand what it does. Could someone explain why it is done on other
> Lenovo Hardware and whether it could be needed on the Yoga9i?

Is this a kernel patch that fixes the yoga 9i gen7 issue? That would be amazing! Thank you Philipp!

One last request, I am not sure how to patch the kernel, would it be possible to have that patch in the form of a sh script that simply rewires the hda-verbs so I can test it (and implement it on each boot while the kernel gets patched)?

I was experimenting with a script like this:

hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x10
hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x0320
hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x24
hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x0041
hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x24
hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x0041
{ ... and so on ...}

But I didn't get anywhere.