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)
Mar 26 2024, 12:59 PM
Unknown Object (File)
Dec 20 2023, 4:15 AM
Unknown Object (File)
Nov 22 2023, 10:02 PM
Unknown Object (File)
Nov 22 2023, 10:01 PM
Unknown Object (File)
Nov 22 2023, 9:59 PM
Unknown Object (File)
Nov 13 2023, 5:16 PM
Unknown Object (File)
Aug 5 2023, 9:12 PM
Unknown Object (File)
Aug 5 2023, 9:10 PM
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>.