Re: hda intel speaker not working

Paul Menzel <[email protected]> Fri, 27 Oct 2023 22:15:52 +0200
Newsgroups gmane.linux.alsa.user
Message-ID <[email protected]>
Dear James,


Am 27.10.23 um 18:43 schrieb James Dutton:

> There is a laptop that fails to output sound from the laptop speakers
> but works with headphones.
> After considerable diagnostics I have made some progress:
> The User followed these steps:
> 1) Plug the headphones in.
> 2) speaker-test -c2 -twav -Dplughw:CARD=1,DEV=0
> 3) you should hear sound through the headphones. If not, try
> speaker-test -c2 -twav
> You need to find a combination of the speaker-test command that
> outputs sound through the headphones.
> 4) alsamixer -c1
> This will bring up a mixer in the terminal
> You use the cursor/arrow keys to move left and right.
> You use the up/down to increase/decrease the volume
> You use "M" to mute/unmute.
> 5) increase the volume and unmute all of the following: Master,
> Headphone, Speaker
> You can mute/unmute the headphones to check you are controlling it correctly.
> 6) The aim is to see if you can hear sound from both the headphones
> and the laptop speakers at the same time.
> 
> The result is one actually gets sound out of the laptop speakers at step 6.
> So, this is a bug with the control of the EAPD on this laptop.
> Essentially, it looks like the laptop uses the same power amp for both
> headphones and speakers. So the headphone EAPD control switches the
> EAPD on for both headphones and speakers, and the speaker EAPD control
> does nothing.
> Is there an existing QUIRK that handles this scenario, or will I need
> to work on a new quirk?
> Codec: Realtek ALC269VC
> Address: 0
> AFG Function Id: 0x1 (unsol 1)
> Vendor Id: 0x10ec0269
> Subsystem Id: 0x10f70300
> Revision Id: 0x100202

Thank you for the analysis. I do not know anything about the code, but 
please also share the output of `alsa-info.sh` [1].

(You can also create a bug report at the Linux Kernel Bugzilla, attach 
the logs there, and reference the bug report URL here.


Kind regards,

Paul


[1]: https://alsa-project.org/alsa-info.sh