[alsa-devel] hda-intel channels hibernate bug

Takashi Iwai tiwai at suse.de
Wed Apr 15 17:37:45 CEST 2009


At Wed, 15 Apr 2009 17:30:27 +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?
> 
> Will do, give me a bit.
> 
> > > Mind you -- mbp3 isn't really the correct thing for my machine, the
> > > microphone also seems to be bad when using it -- but I haven't gotten
> > > around to writing a proper description or trying to find it even.
> > 
> > Hm, could you be a bit more specific?  "seems to be bad" is relatively
> > subjective expression :)
> 
> Sorry... Well, I can't seem to record at all right now for some reason,
> but here are a few things that are wrong:
>  1) master mute has no effect (I think that actually worked before?)

Do you mean that it has no effect on the playback volumes, or on the
recording level?  The former is a bug, the latter not.

>  2) the "Speaker" control has no effect (mute/unmute)

Ditto.

>  3) need to set channel control to 6 to get sound at all

So the pin setup used there don't match with the actual environment,
apparently...

>  4) speaker volume is line-out * pcm * master
>  5) cannot automatically detect codec, need to load with model=mbp3

What happens exactly, if you load the module without model option?
Note that "Unknown xxx" message is no error but an informational one.

> And the last time I could record sound it was all choppy and sounded
> clipped.

This might have been improved in the recent version.


thanks,

Takashi


More information about the Alsa-devel mailing list