Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: ALSA development <alsa-devel@alsa-project.org>
Subject: Re: hda-intel channels hibernate bug
Date: Wed, 15 Apr 2009 17:54:18 +0200	[thread overview]
Message-ID: <s5hk55lzzdh.wl%tiwai@suse.de> (raw)
In-Reply-To: <1239810002.6981.2.camel@johannes.local>

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

  reply	other threads:[~2009-04-15 15:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-05  8:55 hda-intel channels hibernate bug Johannes Berg
2009-04-14 13:13 ` Takashi Iwai
2009-04-14 13:27   ` Johannes Berg
2009-04-14 13:40     ` Takashi Iwai
2009-04-14 13:43       ` Johannes Berg
2009-04-14 15:45         ` Mackenzie Morgan
2009-04-15 14:12         ` Takashi Iwai
2009-04-15 15:30           ` Johannes Berg
2009-04-15 15:37             ` Takashi Iwai
2009-04-15 15:42               ` Johannes Berg
2009-04-15 16:00               ` Johannes Berg
2009-04-15 16:08                 ` Johannes Berg
2009-04-15 15:40           ` Johannes Berg
2009-04-15 15:54             ` Takashi Iwai [this message]
2009-04-15 15:59               ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hk55lzzdh.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=johannes@sipsolutions.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox