Bug 207996 - RealTek ALC898 recognized as RealTek ALC899
Summary: RealTek ALC898 recognized as RealTek ALC899
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.2-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: Christos Margiolis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 19:13 UTC by niklas
Modified: 2025-02-25 12:18 UTC (History)
2 users (show)

See Also:


Attachments
dmesg.boot (23.63 KB, text/plain)
2016-03-14 19:13 UTC, niklas
no flags Details
alc898 patch (1.18 KB, patch)
2025-02-11 10:20 UTC, Christos Margiolis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description niklas 2016-03-14 19:13:25 UTC
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2025-02-11 00:33:23 UTC
^Triage: to submitter: is this still a problem on supported versions of FreeBSD?
Comment 2 Christos Margiolis freebsd_committer freebsd_triage 2025-02-11 10:20:06 UTC
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
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-02-18 19:38:16 UTC
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(+)
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-02-25 12:18:07 UTC
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(+)