Created attachment 168182 [details] dmesg.boot My sound RealTek ALC898 is getting detected as RealTek ALC899 so it get detected wrong, and sound doesn't work.. I will attach dmesg.boot and sndstat. Motherboard/builtin soundcard: http://www.gigabyte.com/products/product-page.aspx?pid=4139#ov [root@huugin] cat /dev/sndstat Installed devices: pcm0: <NVIDIA (0x0041) (HDMI/DP 8ch)> (play) pcm1: <NVIDIA (0x0041) (HDMI/DP 8ch)> (play) pcm2: <NVIDIA (0x0041) (HDMI/DP 8ch)> (play) pcm3: <NVIDIA (0x0041) (HDMI/DP 8ch)> (play) pcm4: <Realtek ALC899 (Rear Analog 7.1/2.0)> (play/rec) default pcm5: <Realtek ALC899 (Front Analog)> (play/rec) pcm6: <Realtek ALC899 (Onboard Digital)> (play) pcm7: <Realtek ALC899 (Rear Digital)> (play) dmidecode: Base Board Information Manufacturer: Gigabyte Technology Co., Ltd. Product Name: Z77X-UD5H Version: F15q Release Date: 01/07/2013
^Triage: to submitter: is this still a problem on supported versions of FreeBSD?
Created attachment 257403 [details] alc898 patch It seems like ALC898 is still not defined. Niklas, could you please apply the attached patch on top of the main branch and recompile snd_hda(4), or the whole kernel if sound(4) is built-in, and let me know if your issue is solved? I also submitted the patch for review: https://reviews.freebsd.org/D48940
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c23d53490eb3ac5568050ca9a58534ac04846281 commit c23d53490eb3ac5568050ca9a58534ac04846281 Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2025-02-18 19:36:42 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2025-02-18 19:37:21 +0000 snd_hda: Define ALC898 PR: 207996 Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D48940 sys/dev/sound/pci/hda/hdac.h | 1 + sys/dev/sound/pci/hda/hdacc.c | 1 + 2 files changed, 2 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1be7ae1a79a751a81920ea747ce134de35388bfd commit 1be7ae1a79a751a81920ea747ce134de35388bfd Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2025-02-18 19:36:42 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2025-02-25 12:17:15 +0000 snd_hda: Define ALC898 PR: 207996 Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D48940 (cherry picked from commit c23d53490eb3ac5568050ca9a58534ac04846281) sys/dev/sound/pci/hda/hdac.h | 1 + sys/dev/sound/pci/hda/hdacc.c | 1 + 2 files changed, 2 insertions(+)