From: Takashi Iwai Subject: Re: Recent code changes for HD-audio on HG repo Date: Mon, 13 Aug 2007 15:48:18 +0200 Message-ID: References: <46BDB38D.9090803@free.fr> 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 (ns2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 95056243F9 for ; Mon, 13 Aug 2007 15:48:18 +0200 (CEST) In-Reply-To: <46BDB38D.9090803@free.fr> 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: Claude Michel Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sat, 11 Aug 2007 15:03:09 +0200, Claude Michel wrote: > > > Hi, > > I have done come test of the new suspend/resume capabilities. > However suspend failed to correctly work on my laptop (dell d630). > You must note that there is a few trouble issues with sound on this laptop: > the snd_hda_intel driver correctly detect a STAC9205 and get the default > pin configuration from the bios. So far, so good ... however, pin B is by > default configured as line out and is working as such. But, it does not > correctly work with an external microphone as it need a vref. So, > instead of using the > bios settings, I use the windows default settings. This is not perfectly > working : I usually get some glinches that disappear after a logout/login > procedure. Nothing significant appears from a diff between > /proc/asound/card0/codec0 > before and after this procedure ... > > Now let talk about the suspend failure. The suspend procedure (which was > previously > working) produce a bug (I was not able to catch the message at this > stage. This is a > partial and hand written report ..): > Bug: unable to handle kernel NULL Pointer deferred at virtual address 0000 > .... > Call trace > ... > hda_set_power_state+0x34/0x150 [snd_hda_intel] > hda_call_code_suspend+0x39/0x60 [snd_hda_intel] > snd_hda_suspend+0x27/0x50 [snd_hda_intel] > azx_suspend+0x60/0xd0 [snd_hda_intel] > pci_device_suspend+0x2c/0x70 > suspend_devide+0xdd/0x110 > .... Could you copy the exact output of these call traces? > By the way, I am running mandriva 2007.1 with kernel 2.6.17-14mdv. I guess it's a problem with 2.6.17 kernel. Maybe the wrapper for the new kernel API in alsa-driver tree is somehow broken. Check compiler warnings especially for the compilation of hda_codec.c, too. I didn't get oops, at least. Tthere was another bug that got fixed today, so please update to the latest version from hg.alsa-project.org (not from hg-mirror). Takashi