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
Unknown Object (File)
Wed, Oct 30, 4:38 PM
Unknown Object (File)
Tue, Oct 29, 5:15 PM
Unknown Object (File)
Thu, Oct 24, 9:48 PM
Unknown Object (File)
Thu, Oct 24, 2:55 PM
Unknown Object (File)
Thu, Oct 17, 9:24 PM
Unknown Object (File)
Sep 28 2024, 10:20 AM
Unknown Object (File)
Sep 24 2024, 4:08 AM
Unknown Object (File)
Sep 18 2024, 8:33 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>.