Page MenuHomeFreeBSD

sound: add patch for Lenovo Legion 5 Intel
ClosedPublic

Authored by eduardo on Sep 9 2022, 9:03 PM.
Tags
None
Referenced Files
F87377058: D36511.id.diff
Tue, Jul 2, 8:09 AM
Unknown Object (File)
Sun, Jun 23, 10:47 PM
Unknown Object (File)
Mon, Jun 17, 5:11 PM
Unknown Object (File)
Sun, Jun 16, 10:33 AM
Unknown Object (File)
Sun, Jun 16, 5:32 AM
Unknown Object (File)
May 27 2024, 3:40 AM
Unknown Object (File)
Mar 26 2024, 12:59 PM
Unknown Object (File)
Dec 20 2023, 4:15 AM
Subscribers

Details

Summary

Laptop Legion Lenovo 5 15MH05 (Intel)

Patch to fix the sound on this machine.
It requires sending the speaker and the headphone jack to the same nid.

Test Plan

Tested wihout patch:
hint.hdaa.1.nid20.config="as=1 seq=0"
hint.hdaa.1.nid33.config="as=1 seq=15"

Tested with patch on device:
hdac1@pci0:0:31:3: class=0x040380 rev=0x00 hdr=0x00 vendor=0x8086 device=0x06c8 subvendor=0x17aa subdevice=0x380f

vendor     = 'Intel Corporation'
device     = 'Comet Lake PCH cAVS'
class      = multimedia
subclass   = HDA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Forgot to ask permission to reviewers @scottl and @imp first.

Thanks

This revision is now accepted and ready to land.Sep 16 2022, 12:23 AM

Thanks @emaste !

Can I commit this patch or should I wait for a src committer do that since I only have commit access to ports?

Cheers

You can commit, with Approved by: emaste

This revision was automatically updated to reflect the committed changes.

Thanks! I was a very nice experience committing to src!

Cheers

@eduardo It seems you didn't MFC this commit?

@arrowd

I've just committed to current.
Could you MFC it for me?

Thanks

If you got a permission to push it to main yourself, you may as well MFC it. It is done the same way as for ports - switch to stable/13 branch and then run git cherry-pick -x <commit>.