Re: [PATCH] ALSA: hda/conexant - Fix audio routing for HP EliteOne 1000 G2

From: Takashi Iwai
Date: Wed Oct 09 2024 - 08:52:29 EST


On Wed, 09 Oct 2024 14:28:47 +0200,
Vasiliy Kovalev wrote:
>
> Hi,
>
> 09.10.2024 15:09, Takashi Iwai wrote:
> > On Wed, 09 Oct 2024 13:12:07 +0200,
> > Vasiliy Kovalev wrote:
> >>
> >> There is a problem with simultaneous audio output to headphones and
> >> speakers, and when headphones are turned off, the speakers also turn
> >> off and do not turn them on.
> >>
> >> However, it was found that if you boot linux immediately after windows,
> >> there are no such problems. When comparing alsa-info, the only difference
> >> is the different configuration of Node 0x1d:
> >>
> >> working conf. (windows): Pin-ctls: 0x80: HP
> >> not working (linux): Pin-ctls: 0xc0: OUT HP
> >>
> >> This patch disable the AC_PINCTL_OUT_EN bit of Node 0x1d and fixes the
> >> described problem.
> >>
> >> Signed-off-by: Vasiliy Kovalev <kovalev@xxxxxxxxxxxx>
> >
> > Interesting, is this pin not used by any routes, but it has to be set
> > up?
>
> Yes, I tried configuring this 0x1d address in hdajackretask for
> headphones and speakers, but to no avail. I also tried various hints,
> for example, inv_jack_detect=yes turned on the speakers, but at the
> same time the headphones stopped working and the system showed inverse
> detection. That is, changing this patch is the only way so far.
>
> I have attached two logs to the message:
> alsa-info.ERR.txt - the first linux boot
> alsa-info.OK.txt - booting linux after windows

OK, then could you add more comments to the quirk function and
resubmit? I guess we don't have to read the original value but just
use the fixed value for snd_hda_set_pin_ctl() for simplicity, too.


thanks,

Takashi