Re: regression: from 3.8 to 3.9: headphones output no sound on Intel HDA, codec VIA VT1802

From: Takashi Iwai
Date: Mon Jun 03 2013 - 06:04:40 EST


At Fri, 31 May 2013 21:36:45 +0200,
Alex Riesen wrote:
>
> On Fri, May 31, 2013 at 8:00 PM, Takashi Iwai <tiwai@xxxxxxx> wrote:
> > At Fri, 31 May 2013 17:32:16 +0200, Alex Riesen wrote:
> >> On Fri, May 31, 2013 at 3:05 PM, Takashi Iwai <tiwai@xxxxxxx> wrote:
> >> > Below is a series of patches. For simplicity, I just attach them, not
> >> > inlining to the mail. They should be applicable cleanly to 3.9.4 as
> >> > well. Let me know if this works. If this still doesn't work, I need
> >> > to rewrite the patch to correct the pin-ctl / EAPD of the headphone
> >> > pin after changing the speaker pin.
> >>
> >> Still does not work. The results are for 3.9.4 + patches:
> >>
> >> http://familie-riesen.de/~raa/public/test/dpc-automute-vol-pinctl.tar.bz2
> >>
> >
> > Grrr, EAPD on 0x25 seems reset by EAPD on 0x24 being turned off.
> > We need to apply the patch of the last week again in the end.
> > The revised one is below. Please apply it on the top of the previous
> > three patches.
>
> Nope. Logs:
>
> http://familie-riesen.de/~raa/public/test/keep_eapd_on.tar.bz2

Thanks. I think I found the culprit of the problem with the pin ctl
value now. This happens only when the power save is used or
suspended, and it happens only on VT1802. That's why I couldn't
reproduce the issue with the emulator, and it wasn't reported from
users of other VIA codecs.

In anyway, the patch series below are the fixes. Scratch the whole
previous patches and apply them on clean 3.9 (or 3.10-rc) tree.
Hopefully we sorted out all issues now.


thanks,

Takashi

Attachment: 0001-ALSA-hda-via-Disable-broken-dynamic-power-control.patch
Description: Binary data