From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759267AbZCBHKV (ORCPT ); Mon, 2 Mar 2009 02:10:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754399AbZCBHKH (ORCPT ); Mon, 2 Mar 2009 02:10:07 -0500 Received: from mx2.suse.de ([195.135.220.15]:34695 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753808AbZCBHKF (ORCPT ); Mon, 2 Mar 2009 02:10:05 -0500 Date: Mon, 02 Mar 2009 08:10:03 +0100 Message-ID: From: Takashi Iwai To: Alexey Dobriyan Cc: linux-kernel@vger.kernel.org, akpm@osdl.org, torvalds@osdl.org Subject: Re: No more Intel HDA soundcard In-Reply-To: <20090301210258.GA7368@x200.localdomain> References: <20090228184412.GA2333@x200.localdomain> <20090301104138.GA2341@x200.localdomain> <20090301210258.GA7368@x200.localdomain> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/22.3 (x86_64-suse-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Mon, 2 Mar 2009 00:02:58 +0300, Alexey Dobriyan wrote: > > On Sun, Mar 01, 2009 at 09:25:44PM +0100, Takashi Iwai wrote: > > At Sun, 1 Mar 2009 13:41:38 +0300, > > Alexey Dobriyan wrote: > > > > > > On Sun, Mar 01, 2009 at 11:00:35AM +0100, Takashi Iwai wrote: > > > > At Sat, 28 Feb 2009 21:44:12 +0300, > > > > Alexey Dobriyan wrote: > > > > > > > > > > The following commit results in soundcard detection failing with -EBUSY > > > > > > > > > > commit 34c25350acfc792747e861d1e36874abf7e73255 > > > > > Author: Takashi Iwai > > > > > Date: Tue Oct 28 11:38:58 2008 +0100 > > > > > > > > > > ALSA: hda - Remove old codec-probe limitation > > > > > > > > > > Removed the old workaround to avoid the non-existing codec slot. > > > > > The current code should work without that workaround. If any, > > > > > we can add a quirk table. > > > > > > > > > > Signed-off-by: Takashi Iwai > > > > > > > > > > I fixed up this (and got sound back) but suspect the following is not right. > > > > > > > > > > --- a/sound/pci/hda/hda_intel.c > > > > > +++ b/sound/pci/hda/hda_intel.c > > > > > @@ -1224,6 +1224,7 @@ static void azx_stop_chip(struct azx *chip); > > > > > > > > > > /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */ > > > > > static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] __devinitdata = { > > > > > + [AZX_DRIVER_ICH] = 3, > > > > > [AZX_DRIVER_TERA] = 1, > > > > > }; > > > > > > > > Right, it's no good solution as you expected ;) > > > > The problem is that your patch will disable the all HDMI devices that are > > > > newly supported on 2.6.29. > > > > > > > > Is your machine Toshiba X200, found in bug 12735 ?? > > > > http://bugzilla.kernel.org/show_bug.cgi?id=12735 > > > > > > > > If yes, could you try the patch below? > > > > > > > > Also, it'd be helpful if you can try sound git tree (master branch): > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git > > > > that contains the very latest driver. This should work as is. > > > > > > Sound works as is, alsamixer refuses to start with > > > > Is this the result of what? > > > > Could you check whether the patch for 2.6.29 works at first? > > Patch works fine. Good to hear. Now applied to fix/hda branch for the next pull request. > > Then, try sound git tree (without the patch), and give alsa-info output > > after probe_only=1 option. > > With git tree, sound works, alsamixer refuses to start. Could you try sound git tree again? I guess it's fixed now. Thanks, Takashi