[alsa-devel] 2.6.28-rc5 broke ALSA headphone output for my Toughbooks.
Takashi Iwai
tiwai at suse.de
Thu Jan 8 16:52:59 CET 2009
Hi,
sorry for the late reply, as I lately got back from vacation.
At Thu, 1 Jan 2009 09:57:30 -0500,
Kyler Laird wrote:
>
> On Thu, Jan 01, 2009 at 11:04:06AM +0100, Takashi Iwai wrote:
>
> > Please run alsa-info.sh with --no-upload option and attach the
> > generated files on both the headphone plugged and unplugged.
> > Also, run preferably on both (old) working and non-working kernels
> > to compare.
>
> 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.
Takashi
---
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 35b83dc..b6040b7 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4408,6 +4408,9 @@ static int patch_stac9200(struct hda_codec *codec)
return err;
}
+ if (spec->board_config == STAC_9200_PANASONIC)
+ spec->hp_detect = 0;
+
codec->patch_ops = stac92xx_patch_ops;
return 0;
More information about the Alsa-devel
mailing list