From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756016Ab0I3NbM (ORCPT ); Thu, 30 Sep 2010 09:31:12 -0400 Received: from mga01.intel.com ([192.55.52.88]:43738 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753264Ab0I3NbL (ORCPT ); Thu, 30 Sep 2010 09:31:11 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.57,259,1283756400"; d="scan'208";a="611921051" Date: Thu, 30 Sep 2010 21:29:37 +0800 From: Wu Fengguang To: Jeff Chua Cc: Takashi Iwai , Linux Kernel , "alsa-devel@alsa-project.org" , Jaroslav Kysela Subject: Re: Microphone not working on PCI ID 8086:3b56 Message-ID: <20100930132937.GA5728@localhost> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 30, 2010 at 09:11:07PM +0800, Jeff Chua wrote: > > > On Tue, Sep 28, 2010 at 9:42 PM, Takashi Iwai wrote: > > Enable all CONFIG_SND_HDA_*. > > Done that. Still no mic. > > > On Tue, Sep 28, 2010 at 9:42 PM, Wu Fengguang > wrote: > > It's easier to enable all of them. They are small modules. > > Tried just about everything, still no mic. Sounds works in all cases. > > > I found that with SND_HDA_CODEC_INTELHDMI selected, SND_DYNAMIC_MINORS > will be enabled by default which won't work in my case as I'm not using > udev. Here's a patch to take away the default so non-udev will still > works. Intel HDMI audio selects SND_DYNAMIC_MINORS because it runs out of the static minor numbers. I initially proposed an extended static allocation scheme here: http://comments.gmane.org/gmane.linux.alsa.devel/72916 however the idea was rejected. > Do I really need udev to get mic to work? You can disable SND_HDA_CODEC_INTELHDMI for now. You don't need it. Thanks, Fengguang > > > > --- lx/sound/pci/hda/Kconfig.org 2010-09-14 16:34:52.000000000 +0800 > +++ lx/sound/pci/hda/Kconfig 2010-09-14 16:35:09.000000000 +0800 > @@ -145,7 +145,6 @@ > > config SND_HDA_CODEC_INTELHDMI > bool "Build INTEL HDMI HD-audio codec support" > - select SND_DYNAMIC_MINORS > default y > help > Say Y here to include INTEL HDMI HD-audio codec support in