From: Takashi Iwai Subject: Re: 2.6.28-rc5 broke ALSA headphone output for my Toughbooks. Date: Thu, 08 Jan 2009 16:52:59 +0100 Message-ID: References: <20081223154450.GA8339@lairds.com> <20090101145730.GA6290@lairds.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 91F4F1037EE for ; Thu, 8 Jan 2009 16:53:01 +0100 (CET) In-Reply-To: <20090101145730.GA6290@lairds.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Kyler Laird Cc: alsa-devel@alsa-project.org, mporter@embeddedalley.com List-Id: alsa-devel@alsa-project.org 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;