[Bug 290496] Speaker not configured properly on Lenovo Laptops w/ Realtek ALC257 codec

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 25 Oct 2025 03:42:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290496

            Bug ID: 290496
           Summary: Speaker not configured properly on Lenovo Laptops w/
                    Realtek ALC257 codec
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: adrian@freebsd.org

Created attachment 264866
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264866&action=edit
pciconf.txt

I recently acquired a Lenovo V15 G4 laptop (an AMD laptop) and although
headphone output works fine, speaker output does not.

After some digging the speaker was labeled as "disconnected" and thus never had
audio routed to it.

Adding this to /boot/device.hints fixed it:

```
hint.hdaa.1.nid20.config="as=1 seq=0 device=speakers"
hint.hdaa.1.nid33.config="as=1 seq=15 device=Headphones"
```

but I figure it'd be nice to have the mux work properly out of the box.

I'm not the first person with this problem either! See
https://forums.freebsd.org/threads/lenovo-ideapad-3i-realtek-alc257-without-sound-and-mic.93980/
who ended up with the same answer.

-- 
You are receiving this mail because:
You are the assignee for the bug.