From: Takashi Iwai Subject: Re: snd_hda_intel and Asus F3Jv problem on 2.6.19 Date: Tue, 19 Dec 2006 10:49:40 +0100 Message-ID: References: <200612012211.03655.tonton@bdefracte.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200612012211.03655.tonton@bdefracte.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 1 Dec 2006 22:11:03 +0100, TonTon wrote: > > Hello, > > I have a problem when the module loads on my F3Jv : > > Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP: > [] :snd_hda_codec:get_input_type+0x77/0x9f > > When looking at the code, there is really a problem. Code making trouble was > introduced by patch "hda-codec - Fix mic capture with generic parser" > Details : > changeset 4486: e917e2de6efa > parent 4485: dc9d57a416b5 > child 4487: c0ade5c872e4 > author: tiwai > date: Wed Aug 23 18:34:06 2006 +0200 > files: pci/hda/hda_generic.c > > In file hda_generic.c, in function build_loopback_controls there is a call to > get_input_type with NULL parameter, and in get_input_type there is : > *pinctl |= AC_PINCTL_VREF_80; Thanks for your report. It's fixed on HG repo. > So the module crash on load on my laptop. > A simple fix can be to test if pointer is NULL, but I 'm not sure what it > implies. The fix makes the module work (with sound), but I can't test with a > mic (I guess it is related) I guess it's a Conexant codec? If yes, Tobin is working on this stuff recently. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV