From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: hda-intel channels hibernate bug Date: Wed, 15 Apr 2009 17:54:18 +0200 Message-ID: References: <1238921730.3782.3.camel@johannes.local> <1239715639.22047.0.camel@johannes.local> <1239716613.22047.2.camel@johannes.local> <1239810002.6981.2.camel@johannes.local> 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 (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id A89D0244AD for ; Wed, 15 Apr 2009 17:54:18 +0200 (CEST) In-Reply-To: <1239810002.6981.2.camel@johannes.local> 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: Johannes Berg Cc: ALSA development List-Id: alsa-devel@alsa-project.org At Wed, 15 Apr 2009 17:40:02 +0200, Johannes Berg wrote: > > On Wed, 2009-04-15 at 16:12 +0200, Takashi Iwai wrote: > > At Tue, 14 Apr 2009 15:43:33 +0200, > > Johannes Berg wrote: > > > > > > On Tue, 2009-04-14 at 15:40 +0200, Takashi Iwai wrote: > > > > > > > > Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out > > > > > Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 > > > > > - Amp-In vals: [0x00 0x00] [0x00 0x00] > > > > > + Amp-In vals: [0x80 0x80] [0x00 0x00] > > > > > Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 > > > > > Amp-Out vals: [0x25 0x25] > > > > > Connection: 2 > > > > > > > > So the widget 0x0d is muted. Maybe the channel mode control > > > > doesn't do caching the value properly... > > > > > > No idea :) > > > > > > > Could you give the raw alsa-info.sh output? > > > > > > Sure, below (before hibernating). > > > > Thanks. Could you try the patch below? > > Yes, this helps, thanks. Mind you, if I play music with mplayer _while_ > hibernating, I get a horrible buzzing when waking up and mplayer says: > > [AO_ALSA] alsa-lib: pcm_hw.c:727:(snd_pcm_hw_resume) > SNDRV_PCM_IOCTL_RESUME failed: Function not implemented This is actually no fatal error. It appears because libao sets its own error logger. But... > Needed to kill mplayer but the channels control is remembered properly. ... Necessity of kill sounds like a bug in either libao or else. Anyway, I'll add the patch to the next pull request. thanks, Takashi