[alsa-devel] 2.6.28-rc5 broke ALSA headphone output for my Toughbooks.

Takashi Iwai tiwai at suse.de
Thu Jan 8 18:54:03 CET 2009


At Thu, 8 Jan 2009 12:10:27 -0500,
Kyler Laird wrote:
> 
> On Thu, Jan 08, 2009 at 04:52:59PM +0100, Takashi Iwai wrote:
> 
> > > There appears to be no difference in output between headphones plugged
> > > and unplugged.
> > 
> > Thanks.  So, it implies that the device actually doesn't need
> > the headphone detection but rather does on hardware by itself.
> > 
> > How about the patch below?
> > It's against the latest git but should work with 2.6.28, too.
> 
> The patch applied alright but did not seem to help.  I applied my patch
> on top of it and it did work again.  That surprised me.  It seems that
> your patch just disables hp_detect but apparently STAC_HP_EVENT is still
> being received by stac92xx_unsol_event() and that's calling
> stac92xx_hp_detect().
> 
> I added a printk() to stac92xx_unsol_event() and see that it's called
> only once, right as the module is loaded (res=3221225472).  It is not
> called again when I plug or unplug the headphones.
> 
> I agree that there does not seem to be headphone detection but it does
> seem that another audio pathway needs to be enabled in order for the
> headphones to work.

Could you add dump_stack() in stac92xx_unsol_event() and check the
code path?

You are using 2.6.28, not the latest git tree, right?


thanks,

Takashi


More information about the Alsa-devel mailing list