[alsa-devel] hda-intel channels hibernate bug
Takashi Iwai
tiwai at suse.de
Wed Apr 15 17:54:18 CEST 2009
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
More information about the Alsa-devel
mailing list