Re: [PATCH] hda: enable speaker output for Compaq 6530s/6531s

Takashi Iwai
2009-08-18T06:33:44Z

At Mon, 17 Aug 2009 08:46:14 +0200,
I wrote:
>
> At Sun, 16 Aug 2009 19:01:10 +0800,
> Wu Fengguang wrote:
> >
> > On Sun, Aug 16, 2009 at 05:22:23PM +0800, Takashi Iwai wrote:
> > > At Sun, 16 Aug 2009 16:53:17 +0800,
> > > Wu Fengguang wrote:
> > > >
> > > > There are 3 causes to the silence of Compaq 6530s' internal speaker:
> > > > - HP pin 0x11 always return 0xffff,ffff (pin_presence=1),
> > > > which automutes the speaker at module loading time.
> > >
> > > This is odd. Is the sense-trigger issued before reading the pin sense?
> >
> > Sorry, what do you mean? The facts I explored are:
> > - ad1884a_hp_automute() will be explicitly called by ad1884a_hp_init()
> > - ad1884a_hp_unsol_event() is never called on plug events
> > - I tried manually execute AC_VERB_SET_PIN_SENSE then read pin sense,
> > it takes effect on the impedance, but pin_presence still remains 1.
>
> The fact that it returns only -1 sounds rather like a hardware issue.
> Or, at least, reading a wrong place or so.

BTW, could you give alsa-info.sh output on both machines?

thanks,

Takashi