Jose Maldonado <[email protected]> writes:
> Right now I'm using OBSD 7.2 (my first time in OBSD) and the only issue
> is my onboard audio. The audio randomly stuck (listen music or not, with
> high CPU use or not) and only a hard reboot give me back audio to next
> stuck.
>
> In dmesg don“t show nothing, but sndiod -dddd give me this output:
>
> * snd/0 watchdog timeout *
>
> The error appear in debug info and my audio is gone. The issue is not
> new more info in this links:
>
> https://www.reddit.com/r/openbsd/comments/mybklx/keep_losing_audio_with_azalia_on_current/
>
> https://www.mail-archive.com/[email protected]/msg46701.html
>
> https://deftly.net/posts/2018-10-15-openbsd-on-lenovo-a485.html
...
> PATCH:
>
> Index: azalia_codec.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v
> retrieving revision 1.189
> diff -u -p -u -r1.189 azalia_codec.c
> --- azalia_codec.c 8 Sep 2022 01:35:39 -0000 1.189
> +++ azalia_codec.c 2 Jan 2023 19:42:28 -0000
> @@ -312,6 +312,9 @@ azalia_codec_init_vtbl(codec_t *this)
> break;
> case 0x10ec0892:
> this->name = "Realtek ALC892";
> + if (this->subid == 0x1462ec95) {
> + this->qrks |= AZ_QRK_WID_CDIN_1C | AZ_QRK_WID_BEEP_1D;
> + }
> break;
> case 0x10ec0897:
> this->name = "Realtek ALC897";
Thanks for the contribution Jose. The diff is OK gnezdo. Aaron, in case
you still have that hardware, maybe you would like to test/commit?
Thanks
Greg