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



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. Anyway, what is that comment in line 2821 about TODO softvol? Can this missing softvol be the cause of this problem?

Thanks. 



Sent from ProtonMail, Swiss-based encrypted email.


------- Original Message -------
Em quarta-feira, 31 de maio de 2023 às 12:46 AM, Bruno Melo <bmelo%protonmail.com@localhost> escreveu:


> Hi,
> 
> Find attached dmesg output after running 'audiocfg test 1' (the Realtek output). This is for this bug only, for the other one I will report dmesg when I have more time.
> 
> I hope it helps.
> 
> Thanks.
> 
> Sent from ProtonMail, Swiss-based encrypted email.
> 
> 
> 
> 
> ------- Original Message -------
> Em segunda-feira, 29 de maio de 2023 às 2:56 AM, Michael van Elst mlelstv%serpens.de@localhost escreveu:
> 
> 
> 
> > On Sun, May 28, 2023 at 09:44:40PM +0000, Bruno Melo wrote:
> > 
> > > > In 57087 you showed for hdafg1:
> > > > 
> > > > outputs.master=128,128
> > > > outputs.master.mute=on
> > > > 
> > > > Did you try to unmute and raise the volume ?
> > > 
> > > 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 =/
> > 
> > The data in either PR is pretty limited.
> > 
> > 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...
> > 
> > For further debugging you should prepare a kernel with
> > 
> > options HDAUDIO_DEBUG
> > options HDAFG_DEBUG=2
> > 
> > This will produce lots of output with details about the hdaudio hardware.
> > 
> > Greetings,
> > --
> > Michael van Elst
> > Internet: mlelstv%serpens.de@localhost
> > "A potential Snark may lurk in every tree."



Home | Main Index | Thread Index | Old Index