[alsa-devel] No recording on hda-intel (AD1981HD)

Takashi Iwai tiwai at suse.de
Tue Feb 12 11:49:11 CET 2008

At Fri, 8 Feb 2008 19:51:39 +0100,
Grzegorz Chwesewicz wrote:
> Friday 08 of February 2008 16:57:37 Takashi Iwai napisał(a):
> > At Fri, 08 Feb 2008 13:24:52 +0100,
> >
> > I wrote:
> > > BTW, do you have problems found in below?
> > > 	https://bugzilla.novell.com/show_bug.cgi?id=297703
> > >
> > > According to the reporter, nc6400 with AD1981 has a problem with
> > > headphone jack auto-muting and with the non-linear master volume.
> > >
> > > I supplied two test patches there.
> >
> > For convenience, I attach patches here.
> Hi, I had no time to test your first patch (this one which check if irq 
> handler is called), I've only tested it for a while (working on MSI turned 
> on, sometimes hard locks my laptop).
> I also have similiar problems with automute, and non-linear master volume 
> control. 
> Without automute patch, automute works from time to time. With your patch 
> applied to latest git it works all the time, until the recording breaks. When 
> it happens I have sound only in headphones, but not in internal speaker. 
> Pluging and unpluging HP doesn't help, only reloading hda-intel fixes 
> problem. 
> Assuming, your automute patch is ok, but it helps me only until mic breaks.

OK, this patch is now on HG tree.

> Without ad1981-hp-master-amp-fix muting (muting=disabling it, not making it's 
> value equal 0) "Master" and "PCM" control works ok. Decrementing Master and 
> PCM controls to 0 is possible, but after that I can hear very quiet output 
> from internal speakers.
> With your patch (ad1981-hp-master-amp-fix) applied to latest git I can't 
> decrement Master control to 0 (I can do that with PCM, but behavior is same 
> as described upper). I can only decrement it to value 3, and when I press 
> down key (in alsamixer) to step to lower level of loudness, it's switching to 
> value 103. When Master has 103 value I can hear very quiet output from 
> internal speakers and HP (if plugged).

The patch will change only the behavior of Master control.  PCM should
be as same as before.

What "value" are you referring in the above context?  Is it a raw
mixer value, percent or dB, or the codec amp value?

Maybe we need to make clear how the master volume control behaves.
According to the original bug reporter, the master volume behaves like

- from 0% to 49%
  sounds are still audible, and the volume doesn't change at all
- from 50% to 100%
  sounds get louder normally

How about yours?


More information about the Alsa-devel mailing list