Re: [PATCH] ppc64: improve g5 sound headphone mute

Benjamin Herrenschmidt
2005-04-16T14:28:35Z

On Sat, 2005-04-16 at 14:56 +0200, Andreas Schwab wrote:
> Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:
>
> > This patch fixes a couple more issues with the management of the GPIOs
> > dealing with headphone and line out mute on the G5. It should fix the
> > remaining problems of people not getting any sound out of the headphone
> > jack.
>
> There's still a minor problem: when booting with line-out plugged (didn't
> try headphone yet) the initial volume settings are still not right.
> Unplugging and plugging again fixes this.

It can be either alsa not restoring the setup properly, or a bug in the
driver I'm still chasing where the headphone detection happens before
propoer initialisation of the rest of the driver ...