NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/57444: no sound through Realtec ALC269



The following reply was made to PR kern/57444; it has been noted by GNATS.

From: Bruno Melo <bmelo%protonmail.com@localhost>
To: Michael van Elst <mlelstv%serpens.de@localhost>
Cc: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/57444: no sound through Realtec ALC269
Date: Thu, 01 Jun 2023 02:46:17 +0000

 I think I found the issue: https://nxr.netbsd.org/xref/src/sys/dev/hdaudio/=
 hdafg.c#masterctl
 
 masterctl is coming NULL, this is why mixerctl is not able to find outputs.=
 * properties.
 
 There are 3 possibilites for this happening:
 1) or the if in line 2827 is false
 2) or the for's condition is false because sc->sc_nctls is 0
 3) the if in line 2823 is false
 
 Well, at the end I believe is something caused by pins misconfiguration. An=
 yway, what is that comment in line 2821 about TODO softvol? Can this missin=
 g softvol be the cause of this problem?
 
 Thanks.=20
 
 
 
 Sent from ProtonMail, Swiss-based encrypted email.
 
 
 ------- Original Message -------
 Em quarta-feira, 31 de maio de 2023 =C3=A0s 12:46 AM, Bruno Melo <bmelo@pro=
 tonmail.com> escreveu:
 
 
 > Hi,
 >=20
 > Find attached dmesg output after running 'audiocfg test 1' (the Realtek o=
 utput). This is for this bug only, for the other one I will report dmesg wh=
 en I have more time.
 >=20
 > I hope it helps.
 >=20
 > Thanks.
 >=20
 > Sent from ProtonMail, Swiss-based encrypted email.
 >=20
 >=20
 >=20
 >=20
 > ------- Original Message -------
 > Em segunda-feira, 29 de maio de 2023 =C3=A0s 2:56 AM, Michael van Elst ml=
 elstv%serpens.de@localhost escreveu:
 >=20
 >=20
 >=20
 > > On Sun, May 28, 2023 at 09:44:40PM +0000, Bruno Melo wrote:
 > >=20
 > > > > In 57087 you showed for hdafg1:
 > > > >=20
 > > > > outputs.master=3D128,128
 > > > > outputs.master.mute=3Don
 > > > >=20
 > > > > Did you try to unmute and raise the volume ?
 > > >=20
 > > > Yes, I tried both muted and unmuted, no sound anyway. In fact when I =
 do mixerctl -w outputs.master++ it goes from 0 to 128 only and -- from 128 =
 to 0. There is no other option in this 0-128 range =3D/
 > >=20
 > > The data in either PR is pretty limited.
 > >=20
 > > Can you give, what hardware (vendor, model, ..) this actually is ? My
 > > guess for the "Realtek product 230" is that it's a Lenovo V14 or V15...
 > >=20
 > > For further debugging you should prepare a kernel with
 > >=20
 > > options HDAUDIO_DEBUG
 > > options HDAFG_DEBUG=3D2
 > >=20
 > > This will produce lots of output with details about the hdaudio hardwar=
 e.
 > >=20
 > > Greetings,
 > > --
 > > Michael van Elst
 > > Internet: mlelstv%serpens.de@localhost
 > > "A potential Snark may lurk in every tree."
 



Home | Main Index | Thread Index | Old Index