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


[-- Attachment #1.1: Type: text/plain, Size: 1211 bytes --]

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

Needed to kill mplayer but the channels control is remembered properly.

johannes

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  parent reply	other threads:[~2009-04-15 15:40 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 [this message]
2009-04-15 15:54             ` Takashi Iwai
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=1239810002.6981.2.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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