All of lore.kernel.org
 help / color / mirror / Atom feed
* HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
@ 2013-01-13 18:05 Miro Hodak
  2013-01-14  3:42 ` Raymond Yau
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-13 18:05 UTC (permalink / raw)
  To: alsa-devel; +Cc: diaz.manolo

Commit identified in the subject (ALSA: HDA - Add Independent Headphone for
all models of ad1988/ad1989) causes problem with audio on at least two Asus
boards and is still present in current kernel. The boards on which this
problem is seen are Asus M3A79-T DELUXE and Asus Rampage II Gene (actually
a slightly modified version used in Asus CG5290 desktop).

The symptoms:
1. XFCE and Gnome2 audio mixers crash whenever sound is started or stopped.
The error message is:
simple_none.c:1350: get_enum_item_ops: Assertion `helem' failed.

2. On one of the boards (Asus M3A79-T DELUXE) the mixer control labels are
misconfigured since muting the Master channel does not turn the sound off.
Either Master is mislabeled or it does not work correctly.

Other than that, the sound actually works fine, but it is very annoying
when mixer keeps crashing. Reverting to kernel just before the commit fixes
these issues. Thus it appears that the commit
34588709af61be1550b4e2bcee5c85d0ac4f34d4 breaks autodetect for these
boards. A workaround is to force the 6stack-dig model and this fixes
problems on both boards, but, of course, it would be preferred if things
work out of the box.

We do not understand enough of alsa in kernel to propose a patch, but hope
that we have provided enough information that it will be easy to write. We
are happy to provide more information and test any proposed patches.

Alsa-info for both boards can be found below.

Best regards,
Miro Hodak and Manolo Diaz



Results of alsa-info

Asus Rampage II Gene:

Before the commit: http://pastebin.com/gCZurk6D
After the commit (autodetect): http://pastebin.com/3hNX2g1c
After the commit (6stack_dig model): http://pastebin.com/dL0UGeTW

More recent kernel:
3.6.11-gentoo (autodetect): http://pastebin.com/0gjnhYA2
3.6.11-gentoo (6stack_dig model): http://pastebin.com/K9bsWBWW

Asus M3A79-T DELUXE

Before the commit: http://pastebin.com/hyUBmpDL
After the commit (autodetect) : http://pastebin.com/gzGg60bM
After the commit (6stack_dig model): http://pastebin.com/y88jCMhM

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-13 18:05 HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Miro Hodak
@ 2013-01-14  3:42 ` Raymond Yau
  2013-01-14 11:03   ` Takashi Iwai
                     ` (2 more replies)
  0 siblings, 3 replies; 91+ messages in thread
From: Raymond Yau @ 2013-01-14  3:42 UTC (permalink / raw)
  To: Miro Hodak, tiwai; +Cc: alsa-devel, diaz.manolo

>
> Commit identified in the subject (ALSA: HDA - Add Independent Headphone
for
> all models of ad1988/ad1989) causes problem with audio on at least two
Asus
> boards and is still present in current kernel. The boards on which this
> problem is seen are Asus M3A79-T DELUXE and Asus Rampage II Gene (actually
> a slightly modified version used in Asus CG5290 desktop).
>
> The symptoms:
> 1. XFCE and Gnome2 audio mixers crash whenever sound is started or
stopped.
> The error message is:
> simple_none.c:1350: get_enum_item_ops: Assertion `helem' failed.

This is caused by the active access flag of independent headphone control

static void activate_ctl(struct hda_codec *codec, const char *name, int
active)
{
       struct snd_kcontrol *ctl = snd_hda_find_mixer_ctl(codec, name);
       if (ctl) {
-               ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE;
-               ctl->vd[0].access |= active ? 0 :
-                       SNDRV_CTL_ELEM_ACCESS_INACTIVE;
               ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_WRITE;
               ctl->vd[0].access |= active ?
                       SNDRV_CTL_ELEM_ACCESS_WRITE : 0;
               snd_ctl_notify(codec->bus->card,
                              SNDRV_CTL_EVENT_MASK_INFO, &ctl->id);
       }
}

>
> 2. On one of the boards (Asus M3A79-T DELUXE) the mixer control labels are
> misconfigured since muting the Master channel does not turn the sound off.

For model=auto

It is bug of hda parser which put node 0x1a in speaker out pin when the
pincap only support input

Your need either

ignore this node in hda parser or

Ignore the node as speaker when pincap is INPUT in patch_analog.c

/* add playback controls for speaker and HP outputs */
static int ad1988_auto_create_extra_out(struct hda_codec *codec, hda_nid_t
pin,
                                        const char *pfx)
{
        struct ad198x_spec *spec = codec->spec;
        hda_nid_t nid;
        int i, idx, err;
        char name[32];

        if (! pin)
                return 0;

+
+     if ((snd_hda_query_pin_caps(codec, pin) & AC_PINCTL_OUT_EN) == 0)
+          return 0;
+
        idx = ad1988_pin_idx(pin);
        nid = ad1988_idx_to_dac(codec, idx);


Node 0x1a [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN

Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0

Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x37 0x21

> Either Master is mislabeled or it does not work correctly.
>
> Other than that, the sound actually works fine, but it is very annoying
> when mixer keeps crashing. Reverting to kernel just before the commit
fixes
> these issues. Thus it appears that the commit
> 34588709af61be1550b4e2bcee5c85d0ac4f34d4 breaks autodetect for these
> boards. A workaround is to force the 6stack-dig model and this fixes
> problems on both boards, but, of course, it would be preferred if things
> work out of the box.
>

If  possible try the proposed generic hda parser from sound-unstable.git

http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058330.html

http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058367.html

>
> Alsa-info for both boards can be found below.
>

Model=auto does not include headphone as slave of virtual master , the
volume of headphone and line out jacks are controlled independently since
you can play different streams to headphone and line out jacks (multi
stream playback)

May need dynamically inlcude/exclude headphone play volume and switch as
slave of the virtual master controls

Do  you need to include HDMI playback volume as slave of the virtual master
volume ?

Can HDMI and SPDIF work independently since there are two digital audio
output convertor and the number of SDO of hda controller is 4 ?

Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="IEC958 Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000010: OUT
  Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02

Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="HDMI Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000010: OUT
  Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Other
    DefAssociation = 0xb, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0b

For 6stack-dig

Thus model create digital capture even when there is no spdif  in pin
complex

Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital
  Control: name="IEC958 Capture Switch", index=0, device=0
  Control: name="IEC958 Capture Default", index=0, device=0
  Device: name="AD198x Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
  Delay: 3 samples
  Connection: 1
     0x1c

Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97]
  Pincap 0x00000020: IN
  Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN

> Results of alsa-info
>
> Asus Rampage II Gene:
>
> Before the commit: http://pastebin.com/gCZurk6D
> After the commit (autodetect): http://pastebin.com/3hNX2g1c
> After the commit (6stack_dig model): http://pastebin.com/dL0UGeTW
>
> More recent kernel:
> 3.6.11-gentoo (autodetect): http://pastebin.com/0gjnhYA2
> 3.6.11-gentoo (6stack_dig model): http://pastebin.com/K9bsWBWW

>
> Asus M3A79-T DELUXE
>
> Before the commit: http://pastebin.com/hyUBmpDL
> After the commit (autodetect) : http://pastebin.com/gzGg60bM
> After the commit (6stack_dig model): http://pastebin.com/y88jCMhM

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14  3:42 ` Raymond Yau
@ 2013-01-14 11:03   ` Takashi Iwai
  2013-01-14 13:46     ` Raymond Yau
  2013-01-14 11:37   ` Clemens Ladisch
  2013-01-14 12:31   ` Manolo Díaz
  2 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-14 11:03 UTC (permalink / raw)
  To: Raymond Yau; +Cc: alsa-devel, diaz.manolo, Miro Hodak

At Mon, 14 Jan 2013 11:42:23 +0800,
Raymond Yau wrote:
> 
> > Either Master is mislabeled or it does not work correctly.
> >
> > Other than that, the sound actually works fine, but it is very annoying
> > when mixer keeps crashing. Reverting to kernel just before the commit
> fixes
> > these issues. Thus it appears that the commit
> > 34588709af61be1550b4e2bcee5c85d0ac4f34d4 breaks autodetect for these
> > boards. A workaround is to force the 6stack-dig model and this fixes
> > problems on both boards, but, of course, it would be preferred if things
> > work out of the box.
> >
> 
> If  possible try the proposed generic hda parser from sound-unstable.git
> 
> http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058330.html
> 
> http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058367.html

Yes, testing the latest code with real machines is highly
appreciated.  Try sound-unstable git tree, either master or
test/hda-migrate branch.
  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git

Alternatively you can build the external alsa-driver modules from
alsa-driver-unstable snapshot tarball, too
  ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz

Note that only the behavior of model=auto has been changed in the tree
above.  The other model behaviors of AD codecs are unchanged at all.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14  3:42 ` Raymond Yau
  2013-01-14 11:03   ` Takashi Iwai
@ 2013-01-14 11:37   ` Clemens Ladisch
  2013-01-14 12:31   ` Manolo Díaz
  2 siblings, 0 replies; 91+ messages in thread
From: Clemens Ladisch @ 2013-01-14 11:37 UTC (permalink / raw)
  To: Raymond Yau; +Cc: tiwai, alsa-devel, diaz.manolo, Miro Hodak

Raymond Yau wrote:
>> 1. XFCE and Gnome2 audio mixers crash whenever sound is started or stopped.
>> The error message is:
>> simple_none.c:1350: get_enum_item_ops: Assertion `helem' failed.
>
> This is caused by the active access flag of independent headphone control

... which triggers bugs in these mixers.

But as long as mixers with this bug are widespread, it might be a good
idea to avoid ELEM_ACCESS_INACTIVE.


Regards,
Clemens

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14  3:42 ` Raymond Yau
  2013-01-14 11:03   ` Takashi Iwai
  2013-01-14 11:37   ` Clemens Ladisch
@ 2013-01-14 12:31   ` Manolo Díaz
  2013-01-14 12:48     ` Takashi Iwai
  2 siblings, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-14 12:31 UTC (permalink / raw)
  To: Raymond Yau; +Cc: tiwai, alsa-devel, Miro Hodak

El lun, 14 ene 2013 a las 11:42 horas
Raymond Yau escribió:

>>
>> Commit identified in the subject (ALSA: HDA - Add Independent Headphone
>for
>> all models of ad1988/ad1989) causes problem with audio on at least two
>Asus
>> boards and is still present in current kernel. The boards on which this
>> problem is seen are Asus M3A79-T DELUXE and Asus Rampage II Gene (actually
>> a slightly modified version used in Asus CG5290 desktop).
>>
>> The symptoms:
>> 1. XFCE and Gnome2 audio mixers crash whenever sound is started or
>stopped.
>> The error message is:
>> simple_none.c:1350: get_enum_item_ops: Assertion `helem' failed.
>
>This is caused by the active access flag of independent headphone control
>
>static void activate_ctl(struct hda_codec *codec, const char *name, int
>active)
>{
>       struct snd_kcontrol *ctl = snd_hda_find_mixer_ctl(codec, name);
>       if (ctl) {
>-               ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE;
>-               ctl->vd[0].access |= active ? 0 :
>-                       SNDRV_CTL_ELEM_ACCESS_INACTIVE;
>               ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_WRITE;
>               ctl->vd[0].access |= active ?
>                       SNDRV_CTL_ELEM_ACCESS_WRITE : 0;
>               snd_ctl_notify(codec->bus->card,
>                              SNDRV_CTL_EVENT_MASK_INFO, &ctl->id);
>       }
>}
>
>>
>> 2. On one of the boards (Asus M3A79-T DELUXE) the mixer control labels are
>> misconfigured since muting the Master channel does not turn the sound off.
>
>For model=auto
>
>It is bug of hda parser which put node 0x1a in speaker out pin when the
>pincap only support input
>
>Your need either
>
>ignore this node in hda parser or
>
>Ignore the node as speaker when pincap is INPUT in patch_analog.c
>
>/* add playback controls for speaker and HP outputs */
>static int ad1988_auto_create_extra_out(struct hda_codec *codec, hda_nid_t
>pin,
>                                        const char *pfx)
>{
>        struct ad198x_spec *spec = codec->spec;
>        hda_nid_t nid;
>        int i, idx, err;
>        char name[32];
>
>        if (! pin)
>                return 0;
>
>+
>+     if ((snd_hda_query_pin_caps(codec, pin) & AC_PINCTL_OUT_EN) == 0)
>+          return 0;
>+
>        idx = ad1988_pin_idx(pin);
>        nid = ad1988_idx_to_dac(codec, idx);
>
>

No. Doing those insertions and deletions mixer crashes are still here but
I have no headphone control and headphone doesn't sound in auto model.

>Node 0x1a [Pin Complex] wcaps 0x400000: Mono
>  Pincap 0x00000020: IN
>  Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
>    Conn = Analog, Color = Black
>    DefAssociation = 0xf, Sequence = 0x0
>    Misc = NO_PRESENCE
>  Pin-ctls: 0x20: IN
>
>Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
>  Control: name="Speaker Playback Volume", index=0, device=0
>    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>  Control: name="Headphone Playback Volume", index=0, device=0
>    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
>  Amp-Out vals:  [0x1e 0x1e]
>  Converter: stream=0, channel=0
>  Power states:  D0 D3
>  Power: setting=D0, actual=D0
>
>Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
>  Control: name="Speaker Playback Switch", index=0, device=0
>    ControlAmp: chs=3, dir=In, idx=2, ofs=0
>  Control: name="Headphone Playback Switch", index=0, device=0
>    ControlAmp: chs=3, dir=In, idx=2, ofs=0
>  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>  Amp-In vals:  [0x00 0x00] [0x00 0x00]
>  Connection: 2
>     0x37 0x21
>
>> Either Master is mislabeled or it does not work correctly.
>>
>> Other than that, the sound actually works fine, but it is very annoying
>> when mixer keeps crashing. Reverting to kernel just before the commit
>fixes
>> these issues. Thus it appears that the commit
>> 34588709af61be1550b4e2bcee5c85d0ac4f34d4 breaks autodetect for these
>> boards. A workaround is to force the 6stack-dig model and this fixes
>> problems on both boards, but, of course, it would be preferred if things
>> work out of the box.
>>
>
>If  possible try the proposed generic hda parser from sound-unstable.git
>
>http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058330.html

I've tried to patch it, but this is what's happened (linux stable 3.7.2):

patching file sound/pci/hda/hda_generic.c
Hunk #1 FAILED at 41.
Hunk #2 FAILED at 1485.
Hunk #3 FAILED at 2905.
Hunk #4 FAILED at 3057.
Hunk #5 succeeded at 1086 with fuzz 2 (offset -1994 lines).
Hunk #6 FAILED at 3192.
Hunk #7 FAILED at 3209.
6 out of 7 hunks FAILED -- saving rejects to file sound/pci/hda/hda_generic.c.rej
can't find file to patch at input line 187
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
|index 85d138f..5c1569c 100644
|--- a/sound/pci/hda/hda_generic.h
|+++ b/sound/pci/hda/hda_generic.h


What sources is supposed should we patch?

>http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058367.html
>
>>
>> Alsa-info for both boards can be found below.
>>
>
>Model=auto does not include headphone as slave of virtual master , the
>volume of headphone and line out jacks are controlled independently since
>you can play different streams to headphone and line out jacks (multi
>stream playback)

Then it works as expected. Front control is slave of master, but headphone
isn't (Asus M3A79-T at least). Sorry, my bad.

>May need dynamically inlcude/exclude headphone play volume and switch as
>slave of the virtual master controls
>
>Do  you need to include HDMI playback volume as slave of the virtual master
>volume ?
>
>Can HDMI and SPDIF work independently since there are two digital audio
>output convertor and the number of SDO of hda controller is 4 ?


Sorry, but can't answer you because I have nothing that can be connected to
a digital output.

>Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
>  Control: name="IEC958 Playback Volume", index=0, device=0
>    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
>  Amp-Out vals:  [0x00 0x00]
>  Pincap 0x00000010: OUT
>  Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear
>    Conn = Optical, Color = Other
>    DefAssociation = 0xa, Sequence = 0x0
>    Misc = NO_PRESENCE
>  Pin-ctls: 0x40: OUT
>  Connection: 1
>     0x02
>
>Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
>  Control: name="HDMI Playback Volume", index=0, device=0
>    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
>  Amp-Out vals:  [0x00 0x00]
>  Pincap 0x00000010: OUT
>  Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI
>    Conn = Digital, Color = Other
>    DefAssociation = 0xb, Sequence = 0x0
>    Misc = NO_PRESENCE
>  Pin-ctls: 0x40: OUT
>  Connection: 1
>     0x0b
>
>For 6stack-dig
>
>Thus model create digital capture even when there is no spdif  in pin
>complex
>
>Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital
>  Control: name="IEC958 Capture Switch", index=0, device=0
>  Control: name="IEC958 Capture Default", index=0, device=0
>  Device: name="AD198x Digital", type="SPDIF", device=1
>  Converter: stream=0, channel=0
>  SDI-Select: 0
>  Digital:
>  Digital category: 0x0
>  PCM:
>    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
>    bits [0xe]: 16 20 24
>    formats [0x5]: PCM AC3
>  Unsolicited: tag=00, enabled=0
>  Delay: 3 samples
>  Connection: 1
>     0x1c
>
>Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
>  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
>  Amp-In vals:  [0x97 0x97]
>  Pincap 0x00000020: IN
>  Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear
>    Conn = Optical, Color = Other
>    DefAssociation = 0x6, Sequence = 0x0
>    Misc = NO_PRESENCE
>  Pin-ctls: 0x20: IN
>
>> Results of alsa-info
>>
>> Asus Rampage II Gene:
>>
>> Before the commit: http://pastebin.com/gCZurk6D
>> After the commit (autodetect): http://pastebin.com/3hNX2g1c
>> After the commit (6stack_dig model): http://pastebin.com/dL0UGeTW
>>
>> More recent kernel:
>> 3.6.11-gentoo (autodetect): http://pastebin.com/0gjnhYA2
>> 3.6.11-gentoo (6stack_dig model): http://pastebin.com/K9bsWBWW
>
>>
>> Asus M3A79-T DELUXE
>>
>> Before the commit: http://pastebin.com/hyUBmpDL
>> After the commit (autodetect) : http://pastebin.com/gzGg60bM
>> After the commit (6stack_dig model): http://pastebin.com/y88jCMhM


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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14 12:31   ` Manolo Díaz
@ 2013-01-14 12:48     ` Takashi Iwai
  2013-01-14 12:59       ` Manolo Díaz
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-14 12:48 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, alsa-devel, Miro Hodak

At Mon, 14 Jan 2013 13:31:22 +0100,
Manolo Díaz wrote:
> 
> El lun, 14 ene 2013 a las 11:42 horas
> Raymond Yau escribió:
> 
> >>
> >> Commit identified in the subject (ALSA: HDA - Add Independent Headphone
> >for
> >> all models of ad1988/ad1989) causes problem with audio on at least two
> >Asus
> >> boards and is still present in current kernel. The boards on which this
> >> problem is seen are Asus M3A79-T DELUXE and Asus Rampage II Gene (actually
> >> a slightly modified version used in Asus CG5290 desktop).
> >>
> >> The symptoms:
> >> 1. XFCE and Gnome2 audio mixers crash whenever sound is started or
> >stopped.
> >> The error message is:
> >> simple_none.c:1350: get_enum_item_ops: Assertion `helem' failed.
> >
> >This is caused by the active access flag of independent headphone control
> >
> >static void activate_ctl(struct hda_codec *codec, const char *name, int
> >active)
> >{
> >       struct snd_kcontrol *ctl = snd_hda_find_mixer_ctl(codec, name);
> >       if (ctl) {
> >-               ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE;
> >-               ctl->vd[0].access |= active ? 0 :
> >-                       SNDRV_CTL_ELEM_ACCESS_INACTIVE;
> >               ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_WRITE;
> >               ctl->vd[0].access |= active ?
> >                       SNDRV_CTL_ELEM_ACCESS_WRITE : 0;
> >               snd_ctl_notify(codec->bus->card,
> >                              SNDRV_CTL_EVENT_MASK_INFO, &ctl->id);
> >       }
> >}
> >
> >>
> >> 2. On one of the boards (Asus M3A79-T DELUXE) the mixer control labels are
> >> misconfigured since muting the Master channel does not turn the sound off.
> >
> >For model=auto
> >
> >It is bug of hda parser which put node 0x1a in speaker out pin when the
> >pincap only support input
> >
> >Your need either
> >
> >ignore this node in hda parser or
> >
> >Ignore the node as speaker when pincap is INPUT in patch_analog.c
> >
> >/* add playback controls for speaker and HP outputs */
> >static int ad1988_auto_create_extra_out(struct hda_codec *codec, hda_nid_t
> >pin,
> >                                        const char *pfx)
> >{
> >        struct ad198x_spec *spec = codec->spec;
> >        hda_nid_t nid;
> >        int i, idx, err;
> >        char name[32];
> >
> >        if (! pin)
> >                return 0;
> >
> >+
> >+     if ((snd_hda_query_pin_caps(codec, pin) & AC_PINCTL_OUT_EN) == 0)
> >+          return 0;
> >+
> >        idx = ad1988_pin_idx(pin);
> >        nid = ad1988_idx_to_dac(codec, idx);
> >
> >
> 
> No. Doing those insertions and deletions mixer crashes are still here but
> I have no headphone control and headphone doesn't sound in auto model.
> 
> >Node 0x1a [Pin Complex] wcaps 0x400000: Mono
> >  Pincap 0x00000020: IN
> >  Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
> >    Conn = Analog, Color = Black
> >    DefAssociation = 0xf, Sequence = 0x0
> >    Misc = NO_PRESENCE
> >  Pin-ctls: 0x20: IN
> >
> >Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
> >  Control: name="Speaker Playback Volume", index=0, device=0
> >    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >  Control: name="Headphone Playback Volume", index=0, device=0
> >    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
> >  Amp-Out vals:  [0x1e 0x1e]
> >  Converter: stream=0, channel=0
> >  Power states:  D0 D3
> >  Power: setting=D0, actual=D0
> >
> >Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
> >  Control: name="Speaker Playback Switch", index=0, device=0
> >    ControlAmp: chs=3, dir=In, idx=2, ofs=0
> >  Control: name="Headphone Playback Switch", index=0, device=0
> >    ControlAmp: chs=3, dir=In, idx=2, ofs=0
> >  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
> >  Amp-In vals:  [0x00 0x00] [0x00 0x00]
> >  Connection: 2
> >     0x37 0x21
> >
> >> Either Master is mislabeled or it does not work correctly.
> >>
> >> Other than that, the sound actually works fine, but it is very annoying
> >> when mixer keeps crashing. Reverting to kernel just before the commit
> >fixes
> >> these issues. Thus it appears that the commit
> >> 34588709af61be1550b4e2bcee5c85d0ac4f34d4 breaks autodetect for these
> >> boards. A workaround is to force the 6stack-dig model and this fixes
> >> problems on both boards, but, of course, it would be preferred if things
> >> work out of the box.
> >>
> >
> >If  possible try the proposed generic hda parser from sound-unstable.git
> >
> >http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058330.html
> 
> I've tried to patch it, but this is what's happened (linux stable 3.7.2):
> 
> patching file sound/pci/hda/hda_generic.c
> Hunk #1 FAILED at 41.
> Hunk #2 FAILED at 1485.
> Hunk #3 FAILED at 2905.
> Hunk #4 FAILED at 3057.
> Hunk #5 succeeded at 1086 with fuzz 2 (offset -1994 lines).
> Hunk #6 FAILED at 3192.
> Hunk #7 FAILED at 3209.
> 6 out of 7 hunks FAILED -- saving rejects to file sound/pci/hda/hda_generic.c.rej
> can't find file to patch at input line 187
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
> |index 85d138f..5c1569c 100644
> |--- a/sound/pci/hda/hda_generic.h
> |+++ b/sound/pci/hda/hda_generic.h
> 
> 
> What sources is supposed should we patch?

You need to apply over 100 patches :)


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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14 12:48     ` Takashi Iwai
@ 2013-01-14 12:59       ` Manolo Díaz
  2013-01-14 13:03         ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-14 12:59 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, alsa-devel, Miro Hodak

El lun, 14 ene 2013 a las 13:48 horas
Takashi Iwai escribió:

>> >If  possible try the proposed generic hda parser from sound-unstable.git
>> >
>> >http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058330.html  
>> 
>> I've tried to patch it, but this is what's happened (linux stable 3.7.2):
>> 
>> patching file sound/pci/hda/hda_generic.c
>> Hunk #1 FAILED at 41.
>> Hunk #2 FAILED at 1485.
>> Hunk #3 FAILED at 2905.
>> Hunk #4 FAILED at 3057.
>> Hunk #5 succeeded at 1086 with fuzz 2 (offset -1994 lines).
>> Hunk #6 FAILED at 3192.
>> Hunk #7 FAILED at 3209.
>> 6 out of 7 hunks FAILED -- saving rejects to file sound/pci/hda/hda_generic.c.rej
>> can't find file to patch at input line 187
>> Perhaps you used the wrong -p or --strip option?
>> The text leading up to this was:
>> --------------------------
>> |diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
>> |index 85d138f..5c1569c 100644
>> |--- a/sound/pci/hda/hda_generic.h
>> |+++ b/sound/pci/hda/hda_generic.h
>> 
>> 
>> What sources is supposed should we patch?  
>
>You need to apply over 100 patches :)

Is there an easy way to apply all of them?

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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14 12:59       ` Manolo Díaz
@ 2013-01-14 13:03         ` Takashi Iwai
  2013-01-14 13:10           ` Manolo Díaz
  2013-01-14 16:23           ` Manolo Díaz
  0 siblings, 2 replies; 91+ messages in thread
From: Takashi Iwai @ 2013-01-14 13:03 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, alsa-devel, Miro Hodak

At Mon, 14 Jan 2013 13:59:47 +0100,
Manolo Díaz wrote:
> 
> El lun, 14 ene 2013 a las 13:48 horas
> Takashi Iwai escribió:
> 
> >> >If  possible try the proposed generic hda parser from sound-unstable.git
> >> >
> >> >http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058330.html  
> >> 
> >> I've tried to patch it, but this is what's happened (linux stable 3.7.2):
> >> 
> >> patching file sound/pci/hda/hda_generic.c
> >> Hunk #1 FAILED at 41.
> >> Hunk #2 FAILED at 1485.
> >> Hunk #3 FAILED at 2905.
> >> Hunk #4 FAILED at 3057.
> >> Hunk #5 succeeded at 1086 with fuzz 2 (offset -1994 lines).
> >> Hunk #6 FAILED at 3192.
> >> Hunk #7 FAILED at 3209.
> >> 6 out of 7 hunks FAILED -- saving rejects to file sound/pci/hda/hda_generic.c.rej
> >> can't find file to patch at input line 187
> >> Perhaps you used the wrong -p or --strip option?
> >> The text leading up to this was:
> >> --------------------------
> >> |diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
> >> |index 85d138f..5c1569c 100644
> >> |--- a/sound/pci/hda/hda_generic.h
> >> |+++ b/sound/pci/hda/hda_generic.h
> >> 
> >> 
> >> What sources is supposed should we patch?  
> >
> >You need to apply over 100 patches :)
> 
> Is there an easy way to apply all of them?

Hm, didn't you receive my previous post?

To repeat myself:

Yes, testing the latest code with real machines is highly
appreciated.  Try sound-unstable git tree, either master or
test/hda-migrate branch.
  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git

Alternatively you can build the external alsa-driver modules from
alsa-driver-unstable snapshot tarball, too
  ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz

Note that only the behavior of model=auto has been changed in the tree
above.  The other model behaviors of AD codecs are unchanged at all.


thanks,

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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14 13:03         ` Takashi Iwai
@ 2013-01-14 13:10           ` Manolo Díaz
  2013-01-14 16:23           ` Manolo Díaz
  1 sibling, 0 replies; 91+ messages in thread
From: Manolo Díaz @ 2013-01-14 13:10 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, alsa-devel, Miro Hodak

El lun, 14 ene 2013 a las 14:03 horas
Takashi Iwai escribió:

>Hm, didn't you receive my previous post?
>
>To repeat myself:
>
>Yes, testing the latest code with real machines is highly
>appreciated.  Try sound-unstable git tree, either master or
>test/hda-migrate branch.
>  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
>
>Alternatively you can build the external alsa-driver modules from
>alsa-driver-unstable snapshot tarball, too
>  ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
>
>Note that only the behavior of model=auto has been changed in the tree
>above.  The other model behaviors of AD codecs are unchanged at all.
>
>
>thanks,
>
>Takashi

I'm cloning the sound-unstable git repository. It will take a while. I'll
keep you informed.

Regards,
-- 
Manolo Díaz
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14 11:03   ` Takashi Iwai
@ 2013-01-14 13:46     ` Raymond Yau
  2013-01-14 14:18       ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-14 13:46 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, diaz.manolo, Miro Hodak

> Yes, testing the latest code with real machines is highly
> appreciated.  Try sound-unstable git tree, either master or
> test/hda-migrate branch.
>   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
>
> Alternatively you can build the external alsa-driver modules from
> alsa-driver-unstable snapshot tarball, too
>
ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
>
> Note that only the behavior of model=auto has been changed in the tree
> above.  The other model behaviors of AD codecs are unchanged at all.
>

> 2. On one of the boards (Asus M3A79-T DELUXE) the mixer control labels
are > misconfigured since muting the Master channel does not turn the sound
off.

Node 0x1a [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
Conn = Analog, Color = Black DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN

Do you prefer a pin fixup of node 0x1a for Asus M3A79-T DELUXE

or ignore these kind of pin during parsing

                 case AC_JACK_SPEAKER:
+                        if ((snd_hda_query_pin_caps(codec, pin) &
AC_PINCTL_OUT_EN) == AC_PINCTL_OUT_EN) {
                          seq = get_defcfg_sequence(def_conf);
                          assoc = get_defcfg_association(def_conf);
                          if (cfg->speaker_outs >=
ARRAY_SIZE(cfg->speaker_pins))
                                 continue;
                          speaker_out[cfg->speaker_outs].pin = nid;
                          speaker_out[cfg->speaker_outs].seq = (assoc << 4)
| seq;
                          cfg->speaker_outs++;
+                        }
                          break;

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14 13:46     ` Raymond Yau
@ 2013-01-14 14:18       ` Takashi Iwai
  2013-01-15  7:59         ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-14 14:18 UTC (permalink / raw)
  To: Raymond Yau; +Cc: alsa-devel, diaz.manolo, Miro Hodak

At Mon, 14 Jan 2013 21:46:57 +0800,
Raymond Yau wrote:
> 
> > Yes, testing the latest code with real machines is highly
> > appreciated.  Try sound-unstable git tree, either master or
> > test/hda-migrate branch.
> >   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> >
> > Alternatively you can build the external alsa-driver modules from
> > alsa-driver-unstable snapshot tarball, too
> >
> ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> >
> > Note that only the behavior of model=auto has been changed in the tree
> > above.  The other model behaviors of AD codecs are unchanged at all.
> >
> 
> > 2. On one of the boards (Asus M3A79-T DELUXE) the mixer control labels
> are > misconfigured since muting the Master channel does not turn the sound
> off.
> 
> Node 0x1a [Pin Complex] wcaps 0x400000: Mono
> Pincap 0x00000020: IN
> Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
> Conn = Analog, Color = Black DefAssociation = 0xf, Sequence = 0x0
> Misc = NO_PRESENCE
> Pin-ctls: 0x20: IN
> 
> Do you prefer a pin fixup of node 0x1a for Asus M3A79-T DELUXE
> 
> or ignore these kind of pin during parsing
> 
>                  case AC_JACK_SPEAKER:
> +                        if ((snd_hda_query_pin_caps(codec, pin) &
> AC_PINCTL_OUT_EN) == AC_PINCTL_OUT_EN) {
>                           seq = get_defcfg_sequence(def_conf);
>                           assoc = get_defcfg_association(def_conf);
>                           if (cfg->speaker_outs >=
> ARRAY_SIZE(cfg->speaker_pins))
>                                  continue;
>                           speaker_out[cfg->speaker_outs].pin = nid;
>                           speaker_out[cfg->speaker_outs].seq = (assoc << 4)
> | seq;
>                           cfg->speaker_outs++;
> +                        }
>                           break;

The latter, it must be filtered out in general.

If a codec has really the output capability on this pin, the pincap
should be overridden beforehand by the codec parser.

Care to send a proper patch?


thanks,

Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14 13:03         ` Takashi Iwai
  2013-01-14 13:10           ` Manolo Díaz
@ 2013-01-14 16:23           ` Manolo Díaz
  2013-01-15  0:42             ` Raymond Yau
  2013-01-15  7:27             ` Takashi Iwai
  1 sibling, 2 replies; 91+ messages in thread
From: Manolo Díaz @ 2013-01-14 16:23 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, alsa-devel, Miro Hodak

El lun, 14 ene 2013 a las 14:03 horas
Takashi Iwai escribió:

>Yes, testing the latest code with real machines is highly
>appreciated.  Try sound-unstable git tree, either master or
>test/hda-migrate branch.
>  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
>
>Alternatively you can build the external alsa-driver modules from
>alsa-driver-unstable snapshot tarball, too
>  ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
>
>Note that only the behavior of model=auto has been changed in the tree
>above.  The other model behaviors of AD codecs are unchanged at all.

Mixer crashes are gone. As I wrote I have no way to test the digital
output.

I haven't found a way to test multi stream playback either. After
choosing HP Independant enabled I can't hear nothing through the
headphone.



git show
commit 9d7b2668e0d3ddf69a3872d2f3622b2af262ed8e
Merge: bcf4f30 fb85635
Author: Takashi Iwai <tiwai@suse.de>
Date:   Mon Jan 14 10:15:24 2013 +0100

    Merge remote-tracking branch 'stable/master'


dmesg | grep -i hda
[    2.144482] hda_codec: AD1989B: BIOS auto-probing.
[    2.167768] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input4
[    2.170191] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input5
[    2.172568] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input6
[    2.174956] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input7
[    2.177378] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input8
[    2.179806] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
[    2.182209] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[    2.184621] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
[    2.187370] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
[    2.191501] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input12
[    2.266022]   #0: HDA ATI SB at 0xfe8f4000 irq 16
[    2.268244]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
[  212.984025] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.


Regards,
-- 
Manolo Díaz
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14 16:23           ` Manolo Díaz
@ 2013-01-15  0:42             ` Raymond Yau
  2013-01-15  8:53               ` Manolo Díaz
  2013-01-15  7:27             ` Takashi Iwai
  1 sibling, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-15  0:42 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Takashi Iwai, alsa-devel, Miro Hodak

>
> >Yes, testing the latest code with real machines is highly
> >appreciated.  Try sound-unstable git tree, either master or
> >test/hda-migrate branch.
> >  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> >
> >Alternatively you can build the external alsa-driver modules from
> >alsa-driver-unstable snapshot tarball, too
> >
ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> >
> >Note that only the behavior of model=auto has been changed in the tree
> >above.  The other model behaviors of AD codecs are unchanged at all.
>
> Mixer crashes are gone. As I wrote I have no way to test the digital
> output.
>
> I haven't found a way to test multi stream playback either. After
> choosing HP Independant enabled I can't hear nothing through the
> headphone.
>

Can you post the output of alsa-info.sh ?

speaker-test  -c2 -t wav -D hw:0,2

and another application playback using hw:0,0

Do your computer chassis have the hda front audio pannel with Jack
detection ?

You need to disable auto mute when testing the multi streaming playback

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14 16:23           ` Manolo Díaz
  2013-01-15  0:42             ` Raymond Yau
@ 2013-01-15  7:27             ` Takashi Iwai
  1 sibling, 0 replies; 91+ messages in thread
From: Takashi Iwai @ 2013-01-15  7:27 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, alsa-devel, Miro Hodak

At Mon, 14 Jan 2013 17:23:54 +0100,
Manolo Díaz wrote:
> 
> El lun, 14 ene 2013 a las 14:03 horas
> Takashi Iwai escribió:
> 
> >Yes, testing the latest code with real machines is highly
> >appreciated.  Try sound-unstable git tree, either master or
> >test/hda-migrate branch.
> >  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> >
> >Alternatively you can build the external alsa-driver modules from
> >alsa-driver-unstable snapshot tarball, too
> >  ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> >
> >Note that only the behavior of model=auto has been changed in the tree
> >above.  The other model behaviors of AD codecs are unchanged at all.
> 
> Mixer crashes are gone. As I wrote I have no way to test the digital
> output.
> 
> I haven't found a way to test multi stream playback either. After
> choosing HP Independant enabled I can't hear nothing through the
> headphone.

This is the feature.  The independent HP mode means that the headphone
output comes from the individual stream assigned to the secondary
analog PCM.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-14 14:18       ` Takashi Iwai
@ 2013-01-15  7:59         ` Takashi Iwai
  2013-01-16  2:04           ` Raymond Yau
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-15  7:59 UTC (permalink / raw)
  To: Raymond Yau; +Cc: alsa-devel, diaz.manolo, Miro Hodak

At Mon, 14 Jan 2013 15:18:11 +0100,
Takashi Iwai wrote:
> 
> At Mon, 14 Jan 2013 21:46:57 +0800,
> Raymond Yau wrote:
> > 
> > > Yes, testing the latest code with real machines is highly
> > > appreciated.  Try sound-unstable git tree, either master or
> > > test/hda-migrate branch.
> > >   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> > >
> > > Alternatively you can build the external alsa-driver modules from
> > > alsa-driver-unstable snapshot tarball, too
> > >
> > ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> > >
> > > Note that only the behavior of model=auto has been changed in the tree
> > > above.  The other model behaviors of AD codecs are unchanged at all.
> > >
> > 
> > > 2. On one of the boards (Asus M3A79-T DELUXE) the mixer control labels
> > are > misconfigured since muting the Master channel does not turn the sound
> > off.
> > 
> > Node 0x1a [Pin Complex] wcaps 0x400000: Mono
> > Pincap 0x00000020: IN
> > Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
> > Conn = Analog, Color = Black DefAssociation = 0xf, Sequence = 0x0
> > Misc = NO_PRESENCE
> > Pin-ctls: 0x20: IN
> > 
> > Do you prefer a pin fixup of node 0x1a for Asus M3A79-T DELUXE
> > 
> > or ignore these kind of pin during parsing
> > 
> >                  case AC_JACK_SPEAKER:
> > +                        if ((snd_hda_query_pin_caps(codec, pin) &
> > AC_PINCTL_OUT_EN) == AC_PINCTL_OUT_EN) {
> >                           seq = get_defcfg_sequence(def_conf);
> >                           assoc = get_defcfg_association(def_conf);
> >                           if (cfg->speaker_outs >=
> > ARRAY_SIZE(cfg->speaker_pins))
> >                                  continue;
> >                           speaker_out[cfg->speaker_outs].pin = nid;
> >                           speaker_out[cfg->speaker_outs].seq = (assoc << 4)
> > | seq;
> >                           cfg->speaker_outs++;
> > +                        }
> >                           break;
> 
> The latter, it must be filtered out in general.
> 
> If a codec has really the output capability on this pin, the pincap
> should be overridden beforehand by the codec parser.
> 
> Care to send a proper patch?

Never mind, I patched by myself now.  It's found in
test/hda-gen-parser branch of sound-unstable git tree.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-15  0:42             ` Raymond Yau
@ 2013-01-15  8:53               ` Manolo Díaz
  2013-01-16  1:52                 ` Raymond Yau
  0 siblings, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-15  8:53 UTC (permalink / raw)
  To: Raymond Yau; +Cc: Takashi Iwai, alsa-devel, Miro Hodak

[-- Attachment #1: Type: text/plain, Size: 2189 bytes --]

El mar, 15 ene 2013 a las 8:42 horas
Raymond Yau escribió:

>>
>> >Yes, testing the latest code with real machines is highly
>> >appreciated.  Try sound-unstable git tree, either master or
>> >test/hda-migrate branch.
>> >  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
>> >
>> >Alternatively you can build the external alsa-driver modules from
>> >alsa-driver-unstable snapshot tarball, too
>> >
>ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
>> >
>> >Note that only the behavior of model=auto has been changed in the tree
>> >above.  The other model behaviors of AD codecs are unchanged at all.
>>
>> Mixer crashes are gone. As I wrote I have no way to test the digital
>> output.
>>
>> I haven't found a way to test multi stream playback either. After
>> choosing HP Independant enabled I can't hear nothing through the
>> headphone.
>>
>
>Can you post the output of alsa-info.sh ?
>
>speaker-test  -c2 -t wav -D hw:0,2
>
>and another application playback using hw:0,0
>
>Do your computer chassis have the hda front audio pannel with Jack
>detection ?
>
>You need to disable auto mute when testing the multi streaming playback

All right, auto mute disabled.

When Independent HP is enabled I can hear nothing through the
headphone:

speaker-test  -c2 -t wav -D hw:0,2

speaker-test 1.0.25

Playback device is hw:0,2
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 524288
Period size range from 32 to 262144
Using max buffer size 524288
Periods = 4
was set period_size = 131072
was set buffer_size = 524288
 0 - Front Left
 1 - Front Right
Time per period = 5.487935
 0 - Front Left
 1 - Front Right
Time per period = 5.469224
 0 - Front Left
 1 - Front Right
Time per period = 5.469168
 0 - Front Left
 1 - Front Right
Time per period = 5.469292
 0 - Front Left
 1 - Front Right

and so on...


When HP Independent is disabled I hear the same through front speaker
and headphone, just as expected.

alsa-info.sh output is attached.

Regards,
-- 
Manolo Díaz

[-- Attachment #2: alsa-info.txt --]
[-- Type: text/plain, Size: 39209 bytes --]

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.61
!!################################

!!Script ran on: Tue Jan 15 08:38:57 UTC 2013


!!Linux Distribution
!!------------------

^[[0;32mDebian testing (Wheezy) ^[[0;31m\n. ^[[1;33m\l^[[0;32m PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/"


!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name
Product Version:   System Version
Firmware Version:  1801   


!!Kernel Information
!!------------------

Kernel release:    3.8.0-rc3+
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k3.8.0-rc3+
Library version:    1.0.25
Utilities version:  1.0.25


!!Loaded ALSA modules
!!-------------------



!!Sound Servers on this system
!!----------------------------

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe8f4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfe9ec000 irq 42


!!PCI Soundcards installed in the system
!!--------------------------------------

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV610 HDMI Audio [Radeon HD 2350/2400 Series]


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:14.2 0403: 1002:4383
	Subsystem: 1043:8288
--
01:00.1 0403: 1002:aa10
	Subsystem: 1043:aa10


!!Loaded sound module options
!!---------------------------


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Analog Devices AD1989B
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11d4989b
Subsystem Id: 0x10438311
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
    rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x30211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="AD1989B Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=2
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x20 0x20]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D3
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D3
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D3
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D3
Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
  Delay: 3 samples
  Connection: 1
     0x1c
Node 0x08 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D3
  Connection: 1
     0x0c
Node 0x09 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=2
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D3
  Connection: 1
     0x0d
Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D3
Node 0x0b [Audio Output] wcaps 0x30211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 11
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0f [Audio Input] wcaps 0x100501: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D3
  Connection: 1
     0x0e
Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x8f]
Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02214030: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x22
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Front Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x29
Node 0x13 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f]
  Pincap 0x00000010: OUT
  Pin Default 0x511711f0: [N/A] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x2d
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a1902e: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0xe
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=07, enabled=1
  Connection: 1
     0x2b
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Line Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01813021: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x2, Sequence = 0x1
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=09, enabled=1
  Connection: 1
     0x2c
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Surround Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01011012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=03, enabled=1
  Connection: 1
     0x2a
Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19020: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x26
Node 0x18 [Pin Complex] wcaps 0x400081: Stereo
  Control: name="CD Phantom Jack", index=0, device=0
  Pincap 0x00000024: IN Detect
  Pin Default 0x99331122: [Fixed] CD at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
Node 0x19 [Power Widget] wcaps 0x500500: Mono
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x20 0x21
Node 0x1a [Pin Complex] wcaps 0x400000: Mono
  Control: name="Speaker Phantom Jack", index=0, device=0
  Pincap 0x00000020: IN
  Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="SPDIF Phantom Jack", index=0, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97]
  Pincap 0x00000020: IN
  Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="HDMI Phantom Jack", index=1, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Other
    DefAssociation = 0xb, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0b
Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x36 0x21
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 8
     0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a
Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f 0x9f]
  Connection: 1
     0x20
Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x37 0x21
Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 18
     0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x20 0x21
Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Line Out CLFE Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Connection: 1
     0x27
Node 0x25 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Side Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Side Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01012014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x28
Node 0x26 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x32 0x21
Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x21
Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x0a 0x21
Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x21
Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x06 0x21
Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x30 0x21
Node 0x2c [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x31 0x21
Node 0x2d [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x1e
Node 0x2e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x2f [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 6
     0x11* 0x12 0x14 0x15 0x16 0x17
Node 0x30 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x31 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x04* 0x0a
Node 0x32 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x05* 0x04
Node 0x33 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3a* 0x25 0x24
Node 0x34 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3c* 0x25 0x24
Node 0x35 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x36 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x37 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x38 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x11
Node 0x39 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x14
Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x15
Node 0x3b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x3c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x17
Node 0x3d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x12
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="ELD", index=0, device=3
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x02
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw---T 1 root audio 116,  7 Jan 15 09:36 /dev/snd/controlC0
crw-rw---T 1 root audio 116,  9 Jan 15 09:36 /dev/snd/controlC1
crw-rw---T 1 root audio 116,  6 Jan 15 09:36 /dev/snd/pcmC0D0c
crw-rw---T 1 root audio 116,  5 Jan 15 09:36 /dev/snd/pcmC0D0p
crw-rw---T 1 root audio 116,  4 Jan 15 09:36 /dev/snd/pcmC0D1p
crw-rw---T 1 root audio 116,  3 Jan 15 09:36 /dev/snd/pcmC0D2c
crw-rw---T 1 root audio 116,  2 Jan 15 09:36 /dev/snd/pcmC0D2p
crw-rw---T 1 root audio 116,  8 Jan 15 09:36 /dev/snd/pcmC1D3p
crw-rw---T 1 root audio 116,  1 Jan 15 09:36 /dev/snd/seq
crw-rw---T 1 root audio 116, 33 Jan 15 09:36 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Jan 15 09:36 .
drwxr-xr-x 3 root root 260 Jan 15 09:36 ..
lrwxrwxrwx 1 root root  12 Jan 15 09:36 pci-0000:00:14.2 -> ../controlC0
lrwxrwxrwx 1 root root  12 Jan 15 09:36 pci-0000:01:00.1 -> ../controlC1


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: AD1989B Digital [AD1989B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [SB]

Card hw:0 'SB'/'HDA ATI SB at 0xfe8f4000 irq 16'
  Mixer name	: 'Analog Devices AD1989B'
  Components	: 'HDA:11d4989b,10438311,00100300'
  Controls      : 49
  Simple ctrls  : 18
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 35 [90%] [-6.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 36 [92%] [-4.50dB] [on]
  Front Right: Playback 36 [92%] [-4.50dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 235 [92%] [-4.00dB]
  Front Right: Playback 235 [92%] [-4.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 34 [87%] [-7.50dB] [on]
  Front Right: Playback 34 [87%] [-7.50dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [off]
  Front Right: Playback 39 [100%] [0.00dB] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [off]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [off]
  Front Right: Playback 39 [100%] [0.00dB] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Speaker Only' 'Line Out+Speaker'
  Item0: 'Line Out+Speaker'
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'

!!-------Mixer controls for card 1 [HDMI]

Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 42'
  Mixer name	: 'ATI R6xx HDMI'
  Components	: 'HDA:1002aa01,00aa0100,00100000'
  Controls      : 7
  Simple ctrls  : 1
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]


!!Alsactl output
!!--------------

--startcollapse--
state.SB {
	control.1 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 34
		value.1 34
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -750
			dbvalue.1 -750
		}
	}
	control.2 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Center Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.6 {
		iface MIXER
		name 'LFE Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'Center Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'LFE Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'Side Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.10 {
		iface MIXER
		name 'Side Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 36
		value.1 36
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -450
			dbvalue.1 -450
		}
	}
	control.12 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Independent HP'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.14 {
		iface MIXER
		name 'Auto-Mute Mode'
		value 'Line Out+Speaker'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 'Speaker Only'
			item.2 'Line Out+Speaker'
		}
	}
	control.15 {
		iface MIXER
		name 'Input Source'
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.16 {
		iface MIXER
		name 'Input Source'
		index 1
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.17 {
		iface MIXER
		name 'Input Source'
		index 2
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.18 {
		iface MIXER
		name 'Capture Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.19 {
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.21 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Volume'
		index 2
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Switch'
		index 2
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.25 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'Master Playback Volume'
		value 35
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -600
		}
	}
	control.30 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface CARD
		name 'Line Out Front Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface CARD
		name 'Line Out Surround Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface CARD
		name 'Line Out CLFE Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface CARD
		name 'Line Out Side Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.37 {
		iface CARD
		name 'Front Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.38 {
		iface CARD
		name 'Rear Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.39 {
		iface CARD
		name 'Line Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.40 {
		iface CARD
		name 'CD Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.41 {
		iface CARD
		name 'SPDIF Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.42 {
		iface CARD
		name 'HDMI Phantom Jack'
		index 1
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.43 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		comment {
			access read
			type INTEGER
			count 4
			range '0 - 36'
		}
	}
	control.44 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.45 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.46 {
		iface PCM
		device 2
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.47 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.48 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 1
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.49 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 235
		value.1 235
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -400
			dbvalue.1 -400
		}
	}
}
state.HDMI {
	control.1 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.7 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------



!!ALSA/HDA dmesg
!!--------------

[    1.989110] hid-generic 0003:15D9:0A4D.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:12.1-2/input0
[    2.130482] hda_codec: AD1989B: BIOS auto-probing.
[    2.153726] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input4
[    2.156150] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input5
[    2.158552] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input6
[    2.160958] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input7
[    2.163367] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input8
[    2.165813] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
[    2.168230] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[    2.170657] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
[    2.173399] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
[    2.177502] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input12
[    2.180192] GACT probability NOT on
--
[    2.247977] powernow-k8: Found 1 AMD Athlon(tm) X2 Dual Core Processor BE-2350 (2 cpu cores) (version 2.20.00)
[    2.250287] ALSA device list:
[    2.252514]   #0: HDA ATI SB at 0xfe8f4000 irq 16
[    2.254743]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
[    2.257482] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities



[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-15  8:53               ` Manolo Díaz
@ 2013-01-16  1:52                 ` Raymond Yau
  2013-01-16  8:49                   ` Manolo Díaz
  0 siblings, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-16  1:52 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Takashi Iwai, alsa-devel, basinilya, Miro Hodak

>
> >>
> >> >Yes, testing the latest code with real machines is highly
> >> >appreciated.  Try sound-unstable git tree, either master or
> >> >test/hda-migrate branch.
> >> >  git://
git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> >> >
> >> >Alternatively you can build the external alsa-driver modules from
> >> >alsa-driver-unstable snapshot tarball, too
> >> >
> >
ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> >> >
> >> >Note that only the behavior of model=auto has been changed in the tree
> >> >above.  The other model behaviors of AD codecs are unchanged at all.
> >>
> >> Mixer crashes are gone. As I wrote I have no way to test the digital
> >> output.
> >>
> >> I haven't found a way to test multi stream playback either. After
> >> choosing HP Independant enabled I can't hear nothing through the
> >> headphone.
> >>

Did audio work with suspend and resume since my p5b-v ad1988 cannot suspend
/ resume anymore after install Ubuntu 12.04 ?

Audio can suspend / resume in fedora 10 for different version of alsa
driver

Seen many ad1988 controls are missing ?

1) rear Mic, line , front Mic  playback volume and switch
2) CD playback switch
3) input mix in input source
4) analog loopback mix volume and mute switch

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-15  7:59         ` Takashi Iwai
@ 2013-01-16  2:04           ` Raymond Yau
  2013-01-16  6:47             ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-16  2:04 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, diaz.manolo, r.kreis, Miro Hodak

> > >
> > > > Yes, testing the latest code with real machines is highly
> > > > appreciated.  Try sound-unstable git tree, either master or
> > > > test/hda-migrate branch.
> > > >   git://
git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> > > >
> > > > Alternatively you can build the external alsa-driver modules from
> > > > alsa-driver-unstable snapshot tarball, too
> > > >
> > >
ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> > > >
> > > > Note that only the behavior of model=auto has been changed in the
tree
> > > > above.  The other model behaviors of AD codecs are unchanged at all.

>
> Never mind, I patched by myself now.  It's found in
> test/hda-gen-parser branch of sound-unstable git tree.
>

http://git.kernel.org/?p=linux/kernel/git/tiwai/hda-emu.git;a=blob_plain;f=codecs/ad1988b-asus-p5b-deluxe-wifi;hb=HEAD

https://launchpadlibrarian.net/73038045/Card0.Codecs.codec.0.txt

How about this node of Asus P5B [1043:81ec] and P5B DELUXE WIFI ? Two
line-in in input source

Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x00000020: IN Pin
Default 0x918711f0: [Fixed] Line In at Int Rear Conn = Analog, Color =
Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls:
0x20: IN

http://git.kernel.org/?p=linux/kernel/git/tiwai/hda-emu.git;a=blob_plain;f=codecs/ad1988a;hb=HEAD

Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x0820: IN Pin Default
0x99f301f0: [Fixed] Other at Int ATAPI Conn = ATAPI, Color = Unknown
Pin-ctls: 0x20: IN

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16  2:04           ` Raymond Yau
@ 2013-01-16  6:47             ` Takashi Iwai
  2013-01-16  7:19               ` Raymond Yau
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-16  6:47 UTC (permalink / raw)
  To: Raymond Yau; +Cc: alsa-devel, diaz.manolo, r.kreis, Miro Hodak

At Wed, 16 Jan 2013 10:04:32 +0800,
Raymond Yau wrote:
> 
> [1  <text/plain; UTF-8 (7bit)>]
> > > >
> > > > > Yes, testing the latest code with real machines is highly
> > > > > appreciated.  Try sound-unstable git tree, either master or
> > > > > test/hda-migrate branch.
> > > > >   git://
> git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> > > > >
> > > > > Alternatively you can build the external alsa-driver modules from
> > > > > alsa-driver-unstable snapshot tarball, too
> > > > >
> > > >
> ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> > > > >
> > > > > Note that only the behavior of model=auto has been changed in the
> tree
> > > > > above.  The other model behaviors of AD codecs are unchanged at all.
> 
> >
> > Never mind, I patched by myself now.  It's found in
> > test/hda-gen-parser branch of sound-unstable git tree.
> >
> 
> http://git.kernel.org/?p=linux/kernel/git/tiwai/hda-emu.git;a=blob_plain;f=codecs/ad1988b-asus-p5b-deluxe-wifi;hb=HEAD
> 
> https://launchpadlibrarian.net/73038045/Card0.Codecs.codec.0.txt
> 
> How about this node of Asus P5B [1043:81ec] and P5B DELUXE WIFI ? Two
> line-in in input source
> 
> Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x00000020: IN Pin
> Default 0x918711f0: [Fixed] Line In at Int Rear Conn = Analog, Color =
> Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls:
> 0x20: IN
> 
> http://git.kernel.org/?p=linux/kernel/git/tiwai/hda-emu.git;a=blob_plain;f=codecs/ad1988a;hb=HEAD
> 
> Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x0820: IN Pin Default
> 0x99f301f0: [Fixed] Other at Int ATAPI Conn = ATAPI, Color = Unknown
> Pin-ctls: 0x20: IN

In the capture case, multiple entries are allowed.  If any of them are
bogus, they should be fixed via pincfg fixup.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16  6:47             ` Takashi Iwai
@ 2013-01-16  7:19               ` Raymond Yau
  2013-01-16  7:24                 ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-16  7:19 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: r.kreis, diaz.manolo, alsa-devel, Miro Hodak

> > > > >
> > > > > > Yes, testing the latest code with real machines is highly
> > > > > > appreciated.  Try sound-unstable git tree, either master or
> > > > > > test/hda-migrate branch.
> > > > > >   git://
> > git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> > > > > >
> > > > > > Alternatively you can build the external alsa-driver modules
from
> > > > > > alsa-driver-unstable snapshot tarball, too
> > > > > >
> > > > >
> >
ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> > > > > >
> > > > > > Note that only the behavior of model=auto has been changed in
the
> > tree
> > > > > > above.  The other model behaviors of AD codecs are unchanged at
all.
> >
> > >
> > > Never mind, I patched by myself now.  It's found in
> > > test/hda-gen-parser branch of sound-unstable git tree.
> > >
> >
> >
http://git.kernel.org/?p=linux/kernel/git/tiwai/hda-emu.git;a=blob_plain;f=codecs/ad1988b-asus-p5b-deluxe-wifi;hb=HEAD
> >
> > https://launchpadlibrarian.net/73038045/Card0.Codecs.codec.0.txt
> >
> > How about this node of Asus P5B [1043:81ec] and P5B DELUXE WIFI ? Two
> > line-in in input source
> >
> > Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x00000020: IN Pin
> > Default 0x918711f0: [Fixed] Line In at Int Rear Conn = Analog, Color =
> > Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls:
> > 0x20: IN
> >
> >
http://git.kernel.org/?p=linux/kernel/git/tiwai/hda-emu.git;a=blob_plain;f=codecs/ad1988a;hb=HEAD
> >
> > Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x0820: IN Pin
Default
> > 0x99f301f0: [Fixed] Other at Int ATAPI Conn = ATAPI, Color = Unknown
> > Pin-ctls: 0x20: IN
>
> In the capture case, multiple entries are allowed.  If any of them are
> bogus, they should be fixed via pincfg fixup.

But  device 2 is not ad198x Headphones anymore

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: AD1989B Digital [AD1989B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16  7:19               ` Raymond Yau
@ 2013-01-16  7:24                 ` Takashi Iwai
  0 siblings, 0 replies; 91+ messages in thread
From: Takashi Iwai @ 2013-01-16  7:24 UTC (permalink / raw)
  To: Raymond Yau; +Cc: r.kreis, diaz.manolo, alsa-devel, Miro Hodak

At Wed, 16 Jan 2013 15:19:23 +0800,
Raymond Yau wrote:
> 
> [1  <text/plain; UTF-8 (7bit)>]
> > > > > >
> > > > > > > Yes, testing the latest code with real machines is highly
> > > > > > > appreciated.  Try sound-unstable git tree, either master or
> > > > > > > test/hda-migrate branch.
> > > > > > >   git://
> > > git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> > > > > > >
> > > > > > > Alternatively you can build the external alsa-driver modules
> from
> > > > > > > alsa-driver-unstable snapshot tarball, too
> > > > > > >
> > > > > >
> > >
> ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> > > > > > >
> > > > > > > Note that only the behavior of model=auto has been changed in
> the
> > > tree
> > > > > > > above.  The other model behaviors of AD codecs are unchanged at
> all.
> > >
> > > >
> > > > Never mind, I patched by myself now.  It's found in
> > > > test/hda-gen-parser branch of sound-unstable git tree.
> > > >
> > >
> > >
> http://git.kernel.org/?p=linux/kernel/git/tiwai/hda-emu.git;a=blob_plain;f=codecs/ad1988b-asus-p5b-deluxe-wifi;hb=HEAD
> > >
> > > https://launchpadlibrarian.net/73038045/Card0.Codecs.codec.0.txt
> > >
> > > How about this node of Asus P5B [1043:81ec] and P5B DELUXE WIFI ? Two
> > > line-in in input source
> > >
> > > Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x00000020: IN Pin
> > > Default 0x918711f0: [Fixed] Line In at Int Rear Conn = Analog, Color =
> > > Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls:
> > > 0x20: IN
> > >
> > >
> http://git.kernel.org/?p=linux/kernel/git/tiwai/hda-emu.git;a=blob_plain;f=codecs/ad1988a;hb=HEAD
> > >
> > > Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x0820: IN Pin
> Default
> > > 0x99f301f0: [Fixed] Other at Int ATAPI Conn = ATAPI, Color = Unknown
> > > Pin-ctls: 0x20: IN
> >
> > In the capture case, multiple entries are allowed.  If any of them are
> > bogus, they should be fixed via pincfg fixup.
> 
> But  device 2 is not ad198x Headphones anymore

It's just named differently.


Takashi

> APLAY
> 
> **** List of PLAYBACK Hardware Devices ****
> card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: SB [HDA ATI SB], device 1: AD1989B Digital [AD1989B Digital]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16  1:52                 ` Raymond Yau
@ 2013-01-16  8:49                   ` Manolo Díaz
  2013-01-16  8:54                     ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-16  8:49 UTC (permalink / raw)
  To: Raymond Yau; +Cc: Takashi Iwai, alsa-devel, basinilya, Miro Hodak

[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]

El mié, 16 ene 2013 a las 9:52 horas
Raymond Yau escribió:

>>
>> >>
>> >> >Yes, testing the latest code with real machines is highly
>> >> >appreciated.  Try sound-unstable git tree, either master or
>> >> >test/hda-migrate branch.
>> >> >  git://
>git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
>> >> >
>> >> >Alternatively you can build the external alsa-driver modules from
>> >> >alsa-driver-unstable snapshot tarball, too
>> >> >
>> >
>ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
>> >> >
>> >> >Note that only the behavior of model=auto has been changed in the tree
>> >> >above.  The other model behaviors of AD codecs are unchanged at all.
>> >>
>> >> Mixer crashes are gone. As I wrote I have no way to test the digital
>> >> output.
>> >>
>> >> I haven't found a way to test multi stream playback either. After
>> >> choosing HP Independant enabled I can't hear nothing through the
>> >> headphone.
>> >>
>
>Did audio work with suspend and resume since my p5b-v ad1988 cannot suspend
>/ resume anymore after install Ubuntu 12.04 ?
>
>Audio can suspend / resume in fedora 10 for different version of alsa
>driver
>
>Seen many ad1988 controls are missing ?
>
>1) rear Mic, line , front Mic  playback volume and switch
>2) CD playback switch
>3) input mix in input source
>4) analog loopback mix volume and mute switch

I can confirm both: no sound after resume and missing controls.
Attached are captures from the mixer control list using linux stable
and sound unstable, both with BIOS autoprobe.

Asus M3A79-T Deluxe

-- 
Manolo Díaz

[-- Attachment #2: linux-stable-3.7.2.jpeg --]
[-- Type: image/jpeg, Size: 105233 bytes --]

[-- Attachment #3: sound-unstable.jpeg --]
[-- Type: image/jpeg, Size: 91336 bytes --]

[-- Attachment #4: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16  8:49                   ` Manolo Díaz
@ 2013-01-16  8:54                     ` Takashi Iwai
  2013-01-16 12:37                       ` Raymond Yau
  2013-01-16 12:39                       ` Manolo Díaz
  0 siblings, 2 replies; 91+ messages in thread
From: Takashi Iwai @ 2013-01-16  8:54 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, alsa-devel, basinilya, Miro Hodak

At Wed, 16 Jan 2013 09:49:41 +0100,
Manolo Díaz wrote:
> 
> El mié, 16 ene 2013 a las 9:52 horas
> Raymond Yau escribió:
> 
> >>
> >> >>
> >> >> >Yes, testing the latest code with real machines is highly
> >> >> >appreciated.  Try sound-unstable git tree, either master or
> >> >> >test/hda-migrate branch.
> >> >> >  git://
> >git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> >> >> >
> >> >> >Alternatively you can build the external alsa-driver modules from
> >> >> >alsa-driver-unstable snapshot tarball, too
> >> >> >
> >> >
> >ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> >> >> >
> >> >> >Note that only the behavior of model=auto has been changed in the tree
> >> >> >above.  The other model behaviors of AD codecs are unchanged at all.
> >> >>
> >> >> Mixer crashes are gone. As I wrote I have no way to test the digital
> >> >> output.
> >> >>
> >> >> I haven't found a way to test multi stream playback either. After
> >> >> choosing HP Independant enabled I can't hear nothing through the
> >> >> headphone.
> >> >>
> >
> >Did audio work with suspend and resume since my p5b-v ad1988 cannot suspend
> >/ resume anymore after install Ubuntu 12.04 ?
> >
> >Audio can suspend / resume in fedora 10 for different version of alsa
> >driver
> >
> >Seen many ad1988 controls are missing ?
> >
> >1) rear Mic, line , front Mic  playback volume and switch
> >2) CD playback switch
> >3) input mix in input source
> >4) analog loopback mix volume and mute switch
> 
> I can confirm both: no sound after resume and missing controls.
> Attached are captures from the mixer control list using linux stable
> and sound unstable, both with BIOS autoprobe.

Give alsa-info.sh outputs before and after suspend, instead.


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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16  8:54                     ` Takashi Iwai
@ 2013-01-16 12:37                       ` Raymond Yau
  2013-01-16 12:39                       ` Manolo Díaz
  1 sibling, 0 replies; 91+ messages in thread
From: Raymond Yau @ 2013-01-16 12:37 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

> > >
> > >Seen many ad1988 controls are missing ?
> > >
> > >1) rear Mic, line , front Mic  playback volume and switch
> > >2) CD playback switch
> > >3) input mix in input source
> > >4) analog loopback mix volume and mute switch
> >
> > I can confirm both: no sound after resume and missing controls.
> > Attached are captures from the mixer control list using linux stable
> > and sound unstable, both with BIOS autoprobe.
>
> Give alsa-info.sh outputs before and after suspend, instead.
>

Is there any special reason to use alt_capture_device since the input
sources of three ADC of ad1988/1989 are same ?

Ones of ADC of some realtek codec has more input source than the other ADCs

**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1


Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Analog Mix Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Analog Mix Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1f 0x1f]
  Connection: 1
     0x20

The input source "mix" from node 0x20 audio mixer

Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD' 'Mix'
  Item0: 'Front Mic'

Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Input Source", index=0, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0x2f 0x2f]
  Connection: 11
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f

Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Front Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Front Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Rear Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Rear Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="CD Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=6, ofs=0
  Control: name="CD Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=6, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
[0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 8
     0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16  8:54                     ` Takashi Iwai
  2013-01-16 12:37                       ` Raymond Yau
@ 2013-01-16 12:39                       ` Manolo Díaz
  2013-01-16 12:54                         ` Takashi Iwai
  1 sibling, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-16 12:39 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, alsa-devel, basinilya, Miro Hodak

[-- Attachment #1: Type: text/plain, Size: 8847 bytes --]

El mié, 16 ene 2013 a las 9:54 horas
Takashi Iwai escribió:

>At Wed, 16 Jan 2013 09:49:41 +0100,
>Manolo Díaz wrote:
>> 
>> El mié, 16 ene 2013 a las 9:52 horas
>> Raymond Yau escribió:
>> 
>> >>
>> >> >>
>> >> >> >Yes, testing the latest code with real machines is highly
>> >> >> >appreciated.  Try sound-unstable git tree, either master or
>> >> >> >test/hda-migrate branch.
>> >> >> >  git://
>> >git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
>> >> >> >
>> >> >> >Alternatively you can build the external alsa-driver modules from
>> >> >> >alsa-driver-unstable snapshot tarball, too
>> >> >> >
>> >> >
>> >ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
>> >> >> >
>> >> >> >Note that only the behavior of model=auto has been changed in the tree
>> >> >> >above.  The other model behaviors of AD codecs are unchanged at all.
>> >> >>
>> >> >> Mixer crashes are gone. As I wrote I have no way to test the digital
>> >> >> output.
>> >> >>
>> >> >> I haven't found a way to test multi stream playback either. After
>> >> >> choosing HP Independant enabled I can't hear nothing through the
>> >> >> headphone.
>> >> >>
>> >
>> >Did audio work with suspend and resume since my p5b-v ad1988 cannot suspend
>> >/ resume anymore after install Ubuntu 12.04 ?
>> >
>> >Audio can suspend / resume in fedora 10 for different version of alsa
>> >driver
>> >
>> >Seen many ad1988 controls are missing ?
>> >
>> >1) rear Mic, line , front Mic  playback volume and switch
>> >2) CD playback switch
>> >3) input mix in input source
>> >4) analog loopback mix volume and mute switch
>> 
>> I can confirm both: no sound after resume and missing controls.
>> Attached are captures from the mixer control list using linux stable
>> and sound unstable, both with BIOS autoprobe.
>
>Give alsa-info.sh outputs before and after suspend, instead.
>
>
>Takashi

Ok.

Outputs attached. This is the diff:

--- alsa-info-before-suspend.txt	2013-01-16 13:29:59.991633927 +0100
+++ alsa-info-after-resume.txt	2013-01-16 13:31:06.353096949 +0100
@@ -3,7 +3,7 @@
 !!ALSA Information Script v 0.4.61
 !!################################
 
-!!Script ran on: Wed Jan 16 12:29:57 UTC 2013
+!!Script ran on: Wed Jan 16 12:31:03 UTC 2013
 
 
 !!Linux Distribution
@@ -127,7 +127,7 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Device: name="AD1989B Analog", type="Audio", device=2
   Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
-  Amp-Out vals:  [0x23 0x23]
+  Amp-Out vals:  [0x27 0x27]
   Converter: stream=8, channel=0
   Power states:  D0 D3
   Power: setting=D0, actual=D0
@@ -136,7 +136,7 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Device: name="AD1989B Analog", type="Audio", device=0
   Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
-  Amp-Out vals:  [0x1e 0x1e]
+  Amp-Out vals:  [0x27 0x27]
   Converter: stream=8, channel=0
   Power states:  D0 D3
   Power: setting=D0, actual=D0
@@ -146,7 +146,7 @@
   Control: name="LFE Playback Volume", index=0, device=0
     ControlAmp: chs=2, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
-  Amp-Out vals:  [0x23 0x23]
+  Amp-Out vals:  [0x27 0x27]
   Converter: stream=8, channel=0
   Power states:  D0 D3
   Power: setting=D0, actual=D0
@@ -154,7 +154,7 @@
   Control: name="Surround Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
-  Amp-Out vals:  [0x23 0x23]
+  Amp-Out vals:  [0x27 0x27]
   Converter: stream=8, channel=0
   Power states:  D0 D3
   Power: setting=D0, actual=D0
@@ -192,7 +192,7 @@
   Control: name="Side Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
-  Amp-Out vals:  [0x23 0x23]
+  Amp-Out vals:  [0x27 0x27]
   Converter: stream=8, channel=0
   Power states:  D0 D3
   Power: setting=D0, actual=D0
@@ -248,7 +248,7 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Control: name="Front Headphone Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals:  [0x00 0x00]
+  Amp-Out vals:  [0x80 0x80]
   Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
     Vref caps: HIZ 50 GRD 80 100
   Pin Default 0x02214030: [Jack] HP Out at Ext Front
@@ -263,7 +263,7 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Control: name="Line Out Front Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals:  [0x00 0x00]
+  Amp-Out vals:  [0x80 0x80]
   Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
     Vref caps: HIZ 50 GRD 80 100
   Pin Default 0x01014010: [Jack] Line Out at Ext Rear
@@ -315,7 +315,7 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Control: name="Line Out Surround Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals:  [0x00 0x00]
+  Amp-Out vals:  [0x80 0x80]
   Pincap 0x00000037: IN OUT Detect Trigger ImpSense
   Pin Default 0x01011012: [Jack] Line Out at Ext Rear
     Conn = 1/8, Color = Black
@@ -362,7 +362,7 @@
 Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
   Control: name="SPDIF Phantom Jack", index=0, device=0
   Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
-  Amp-Out vals:  [0x27 0x27]
+  Amp-Out vals:  [0xa7 0xa7]
   Pincap 0x00000010: OUT
   Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear
     Conn = Optical, Color = Other
@@ -383,7 +383,7 @@
 Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
   Control: name="HDMI Phantom Jack", index=1, device=0
   Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
-  Amp-Out vals:  [0x27 0x27]
+  Amp-Out vals:  [0xa7 0xa7]
   Pincap 0x00000010: OUT
   Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI
     Conn = Digital, Color = Other
@@ -410,7 +410,7 @@
      0x20
 Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-In vals:  [0x00 0x00] [0x80 0x80]
+  Amp-In vals:  [0x80 0x80] [0x80 0x80]
   Connection: 2
      0x37 0x21
 Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
@@ -423,7 +423,7 @@
     ControlAmp: chs=2, dir=Out, idx=0, ofs=0
   Control: name="Line Out CLFE Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals:  [0x00 0x00]
+  Amp-Out vals:  [0x80 0x80]
   Pincap 0x00000037: IN OUT Detect Trigger ImpSense
   Pin Default 0x01016011: [Jack] Line Out at Ext Rear
     Conn = 1/8, Color = Orange
@@ -437,7 +437,7 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Control: name="Line Out Side Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals:  [0x00 0x00]
+  Amp-Out vals:  [0x80 0x80]
   Pincap 0x00000037: IN OUT Detect Trigger ImpSense
   Pin Default 0x01012014: [Jack] Line Out at Ext Rear
     Conn = 1/8, Color = Grey
@@ -453,22 +453,22 @@
      0x32 0x21
 Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-In vals:  [0x00 0x00] [0x80 0x80]
+  Amp-In vals:  [0x80 0x80] [0x80 0x80]
   Connection: 2
      0x05 0x21
 Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-In vals:  [0x00 0x00] [0x80 0x80]
+  Amp-In vals:  [0x80 0x80] [0x80 0x80]
   Connection: 2
      0x0a 0x21
 Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-In vals:  [0x00 0x00] [0x80 0x80]
+  Amp-In vals:  [0x80 0x80] [0x80 0x80]
   Connection: 2
      0x04 0x21
 Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-In vals:  [0x00 0x00] [0x80 0x80]
+  Amp-In vals:  [0x80 0x80] [0x80 0x80]
   Connection: 2
      0x06 0x21
 Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In
@@ -1140,7 +1140,7 @@
 	control.31 {
 		iface CARD
 		name 'Line Out Front Jack'
-		value true
+		value false
 		comment {
 			access read
 			type BOOLEAN
@@ -1461,5 +1461,9 @@
 [    2.225160]   #0: HDA ATI SB at 0xfe8f4000 irq 16
 [    2.227341]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
 [    2.230063] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
+--
+[  170.949719] PM: early resume of devices complete after 0.107 msecs
+[  170.950031] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
+[  170.950098] pcieport 0000:00:06.0: System wakeup disabled by ACPI
 

-- 
Manolo Díaz

[-- Attachment #2: alsa-info-after-resume.txt --]
[-- Type: text/plain, Size: 39398 bytes --]

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.61
!!################################

!!Script ran on: Wed Jan 16 12:31:03 UTC 2013


!!Linux Distribution
!!------------------

^[[0;32mDebian testing (Wheezy) ^[[0;31m\n. ^[[1;33m\l^[[0;32m PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/"


!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name
Product Version:   System Version
Firmware Version:  1801   


!!Kernel Information
!!------------------

Kernel release:    3.8.0-rc3+
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k3.8.0-rc3+
Library version:    1.0.25
Utilities version:  1.0.25


!!Loaded ALSA modules
!!-------------------



!!Sound Servers on this system
!!----------------------------

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe8f4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfe9ec000 irq 42


!!PCI Soundcards installed in the system
!!--------------------------------------

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV610 HDMI Audio [Radeon HD 2350/2400 Series]


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:14.2 0403: 1002:4383
	Subsystem: 1043:8288
--
01:00.1 0403: 1002:aa10
	Subsystem: 1043:aa10


!!Loaded sound module options
!!---------------------------


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Analog Devices AD1989B
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11d4989b
Subsystem Id: 0x10438311
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
    rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x30211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="AD1989B Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=2
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x27 0x27]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x27 0x27]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x27 0x27]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x27 0x27]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
  Delay: 3 samples
  Connection: 1
     0x1c
Node 0x08 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x09 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=2
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x27 0x27]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x0b [Audio Output] wcaps 0x30211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 11
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0f [Audio Input] wcaps 0x100501: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x8f]
Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02214030: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x22
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Front Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x29
Node 0x13 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f]
  Pincap 0x00000010: OUT
  Pin Default 0x511711f0: [N/A] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x2d
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a1902e: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0xe
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=07, enabled=1
  Connection: 1
     0x2b
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Line Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01813021: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x2, Sequence = 0x1
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=09, enabled=1
  Connection: 1
     0x2c
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Surround Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01011012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=03, enabled=1
  Connection: 1
     0x2a
Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19020: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x26
Node 0x18 [Pin Complex] wcaps 0x400081: Stereo
  Control: name="CD Phantom Jack", index=0, device=0
  Pincap 0x00000024: IN Detect
  Pin Default 0x99331122: [Fixed] CD at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
Node 0x19 [Power Widget] wcaps 0x500500: Mono
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x20 0x21
Node 0x1a [Pin Complex] wcaps 0x400000: Mono
  Control: name="Speaker Phantom Jack", index=0, device=0
  Pincap 0x00000020: IN
  Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="SPDIF Phantom Jack", index=0, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Pincap 0x00000010: OUT
  Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97]
  Pincap 0x00000020: IN
  Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="HDMI Phantom Jack", index=1, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Pincap 0x00000010: OUT
  Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Other
    DefAssociation = 0xb, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0b
Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x36 0x21
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 8
     0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a
Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f 0x9f]
  Connection: 1
     0x20
Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x37 0x21
Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 18
     0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x20 0x21
Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Line Out CLFE Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Connection: 1
     0x27
Node 0x25 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Side Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Side Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01012014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x28
Node 0x26 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x32 0x21
Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x05 0x21
Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x0a 0x21
Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x04 0x21
Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x06 0x21
Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x30 0x21
Node 0x2c [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x31 0x21
Node 0x2d [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x1e
Node 0x2e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x2f [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 6
     0x11* 0x12 0x14 0x15 0x16 0x17
Node 0x30 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x31 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x04* 0x0a
Node 0x32 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x05* 0x04
Node 0x33 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3a* 0x25 0x24
Node 0x34 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3c* 0x25 0x24
Node 0x35 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x36 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x37 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x38 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x11
Node 0x39 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x14
Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x15
Node 0x3b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x3c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x17
Node 0x3d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x12
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="ELD", index=0, device=3
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x02
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw---T 1 root audio 116,  7 Jan 16 13:27 /dev/snd/controlC0
crw-rw---T 1 root audio 116,  9 Jan 16 13:27 /dev/snd/controlC1
crw-rw---T 1 root audio 116,  6 Jan 16 13:27 /dev/snd/pcmC0D0c
crw-rw---T 1 root audio 116,  5 Jan 16 13:29 /dev/snd/pcmC0D0p
crw-rw---T 1 root audio 116,  4 Jan 16 13:27 /dev/snd/pcmC0D1p
crw-rw---T 1 root audio 116,  3 Jan 16 13:27 /dev/snd/pcmC0D2c
crw-rw---T 1 root audio 116,  2 Jan 16 13:27 /dev/snd/pcmC0D2p
crw-rw---T 1 root audio 116,  8 Jan 16 13:27 /dev/snd/pcmC1D3p
crw-rw---T 1 root audio 116,  1 Jan 16 13:27 /dev/snd/seq
crw-rw---T 1 root audio 116, 33 Jan 16 13:27 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Jan 16 13:27 .
drwxr-xr-x 3 root root 260 Jan 16 13:27 ..
lrwxrwxrwx 1 root root  12 Jan 16 13:27 pci-0000:00:14.2 -> ../controlC0
lrwxrwxrwx 1 root root  12 Jan 16 13:27 pci-0000:01:00.1 -> ../controlC1


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: AD1989B Digital [AD1989B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [SB]

Card hw:0 'SB'/'HDA ATI SB at 0xfe8f4000 irq 16'
  Mixer name	: 'Analog Devices AD1989B'
  Components	: 'HDA:11d4989b,10438311,00100300'
  Controls      : 49
  Simple ctrls  : 18
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 35 [90%] [-6.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 238 [93%] [-3.40dB]
  Front Right: Playback 238 [93%] [-3.40dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 34 [87%] [-7.50dB] [on]
  Front Right: Playback 34 [87%] [-7.50dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Speaker Only' 'Line Out+Speaker'
  Item0: 'Line Out+Speaker'
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'

!!-------Mixer controls for card 1 [HDMI]

Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 42'
  Mixer name	: 'ATI R6xx HDMI'
  Components	: 'HDA:1002aa01,00aa0100,00100000'
  Controls      : 7
  Simple ctrls  : 1
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]


!!Alsactl output
!!--------------

--startcollapse--
state.SB {
	control.1 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 34
		value.1 34
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -750
			dbvalue.1 -750
		}
	}
	control.2 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Center Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.6 {
		iface MIXER
		name 'LFE Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'Side Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.10 {
		iface MIXER
		name 'Side Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.12 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Independent HP'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.14 {
		iface MIXER
		name 'Auto-Mute Mode'
		value 'Line Out+Speaker'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 'Speaker Only'
			item.2 'Line Out+Speaker'
		}
	}
	control.15 {
		iface MIXER
		name 'Input Source'
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.16 {
		iface MIXER
		name 'Input Source'
		index 1
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.17 {
		iface MIXER
		name 'Input Source'
		index 2
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.18 {
		iface MIXER
		name 'Capture Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.19 {
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.21 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Volume'
		index 2
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Switch'
		index 2
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.25 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'Master Playback Volume'
		value 35
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -600
		}
	}
	control.30 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface CARD
		name 'Line Out Front Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface CARD
		name 'Line Out Surround Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface CARD
		name 'Line Out CLFE Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface CARD
		name 'Line Out Side Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.37 {
		iface CARD
		name 'Front Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.38 {
		iface CARD
		name 'Rear Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.39 {
		iface CARD
		name 'Line Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.40 {
		iface CARD
		name 'CD Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.41 {
		iface CARD
		name 'SPDIF Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.42 {
		iface CARD
		name 'HDMI Phantom Jack'
		index 1
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.43 {
		iface PCM
		name 'Playback Channel Map'
		value.0 3
		value.1 4
		value.2 0
		value.3 0
		comment {
			access read
			type INTEGER
			count 4
			range '0 - 36'
		}
	}
	control.44 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.45 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.46 {
		iface PCM
		device 2
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.47 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.48 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 1
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.49 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 238
		value.1 238
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -340
			dbvalue.1 -340
		}
	}
}
state.HDMI {
	control.1 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.7 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------



!!ALSA/HDA dmesg
!!--------------

[    2.002053] hid-generic 0003:15D9:0A4D.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:12.1-2/input0
[    2.103475] hda_codec: AD1989B: BIOS auto-probing.
[    2.126762] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input4
[    2.129136] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input5
[    2.131494] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input6
[    2.133887] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input7
[    2.136314] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input8
[    2.138752] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
[    2.141160] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[    2.143573] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
[    2.146333] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
[    2.150509] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input12
[    2.153177] GACT probability NOT on
--
[    2.220724] powernow-k8: Found 1 AMD Athlon(tm) X2 Dual Core Processor BE-2350 (2 cpu cores) (version 2.20.00)
[    2.222986] ALSA device list:
[    2.225160]   #0: HDA ATI SB at 0xfe8f4000 irq 16
[    2.227341]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
[    2.230063] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
--
[  170.949719] PM: early resume of devices complete after 0.107 msecs
[  170.950031] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
[  170.950098] pcieport 0000:00:06.0: System wakeup disabled by ACPI



[-- Attachment #3: alsa-info-before-suspend.txt --]
[-- Type: text/plain, Size: 39191 bytes --]

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.61
!!################################

!!Script ran on: Wed Jan 16 12:29:57 UTC 2013


!!Linux Distribution
!!------------------

^[[0;32mDebian testing (Wheezy) ^[[0;31m\n. ^[[1;33m\l^[[0;32m PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/"


!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name
Product Version:   System Version
Firmware Version:  1801   


!!Kernel Information
!!------------------

Kernel release:    3.8.0-rc3+
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k3.8.0-rc3+
Library version:    1.0.25
Utilities version:  1.0.25


!!Loaded ALSA modules
!!-------------------



!!Sound Servers on this system
!!----------------------------

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe8f4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfe9ec000 irq 42


!!PCI Soundcards installed in the system
!!--------------------------------------

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV610 HDMI Audio [Radeon HD 2350/2400 Series]


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:14.2 0403: 1002:4383
	Subsystem: 1043:8288
--
01:00.1 0403: 1002:aa10
	Subsystem: 1043:aa10


!!Loaded sound module options
!!---------------------------


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Analog Devices AD1989B
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11d4989b
Subsystem Id: 0x10438311
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
    rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x30211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="AD1989B Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=2
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
  Delay: 3 samples
  Connection: 1
     0x1c
Node 0x08 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x09 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=2
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x0b [Audio Output] wcaps 0x30211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 11
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0f [Audio Input] wcaps 0x100501: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x8f]
Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02214030: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x22
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Front Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x29
Node 0x13 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f]
  Pincap 0x00000010: OUT
  Pin Default 0x511711f0: [N/A] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x2d
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a1902e: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0xe
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=07, enabled=1
  Connection: 1
     0x2b
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Line Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01813021: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x2, Sequence = 0x1
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=09, enabled=1
  Connection: 1
     0x2c
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Surround Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01011012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=03, enabled=1
  Connection: 1
     0x2a
Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19020: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x26
Node 0x18 [Pin Complex] wcaps 0x400081: Stereo
  Control: name="CD Phantom Jack", index=0, device=0
  Pincap 0x00000024: IN Detect
  Pin Default 0x99331122: [Fixed] CD at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
Node 0x19 [Power Widget] wcaps 0x500500: Mono
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x20 0x21
Node 0x1a [Pin Complex] wcaps 0x400000: Mono
  Control: name="Speaker Phantom Jack", index=0, device=0
  Pincap 0x00000020: IN
  Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="SPDIF Phantom Jack", index=0, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97]
  Pincap 0x00000020: IN
  Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="HDMI Phantom Jack", index=1, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Other
    DefAssociation = 0xb, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0b
Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x36 0x21
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 8
     0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a
Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f 0x9f]
  Connection: 1
     0x20
Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x37 0x21
Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 18
     0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x20 0x21
Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Line Out CLFE Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Connection: 1
     0x27
Node 0x25 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Side Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Side Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01012014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x28
Node 0x26 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x32 0x21
Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x21
Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x0a 0x21
Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x21
Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x06 0x21
Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x30 0x21
Node 0x2c [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x31 0x21
Node 0x2d [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x1e
Node 0x2e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x2f [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 6
     0x11* 0x12 0x14 0x15 0x16 0x17
Node 0x30 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x31 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x04* 0x0a
Node 0x32 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x05* 0x04
Node 0x33 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3a* 0x25 0x24
Node 0x34 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3c* 0x25 0x24
Node 0x35 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x36 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x37 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x38 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x11
Node 0x39 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x14
Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x15
Node 0x3b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x3c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x17
Node 0x3d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x12
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="ELD", index=0, device=3
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x02
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw---T 1 root audio 116,  7 Jan 16 13:27 /dev/snd/controlC0
crw-rw---T 1 root audio 116,  9 Jan 16 13:27 /dev/snd/controlC1
crw-rw---T 1 root audio 116,  6 Jan 16 13:27 /dev/snd/pcmC0D0c
crw-rw---T 1 root audio 116,  5 Jan 16 13:29 /dev/snd/pcmC0D0p
crw-rw---T 1 root audio 116,  4 Jan 16 13:27 /dev/snd/pcmC0D1p
crw-rw---T 1 root audio 116,  3 Jan 16 13:27 /dev/snd/pcmC0D2c
crw-rw---T 1 root audio 116,  2 Jan 16 13:27 /dev/snd/pcmC0D2p
crw-rw---T 1 root audio 116,  8 Jan 16 13:27 /dev/snd/pcmC1D3p
crw-rw---T 1 root audio 116,  1 Jan 16 13:27 /dev/snd/seq
crw-rw---T 1 root audio 116, 33 Jan 16 13:27 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Jan 16 13:27 .
drwxr-xr-x 3 root root 260 Jan 16 13:27 ..
lrwxrwxrwx 1 root root  12 Jan 16 13:27 pci-0000:00:14.2 -> ../controlC0
lrwxrwxrwx 1 root root  12 Jan 16 13:27 pci-0000:01:00.1 -> ../controlC1


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: AD1989B Digital [AD1989B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [SB]

Card hw:0 'SB'/'HDA ATI SB at 0xfe8f4000 irq 16'
  Mixer name	: 'Analog Devices AD1989B'
  Components	: 'HDA:11d4989b,10438311,00100300'
  Controls      : 49
  Simple ctrls  : 18
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 35 [90%] [-6.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 238 [93%] [-3.40dB]
  Front Right: Playback 238 [93%] [-3.40dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 34 [87%] [-7.50dB] [on]
  Front Right: Playback 34 [87%] [-7.50dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Speaker Only' 'Line Out+Speaker'
  Item0: 'Line Out+Speaker'
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'

!!-------Mixer controls for card 1 [HDMI]

Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 42'
  Mixer name	: 'ATI R6xx HDMI'
  Components	: 'HDA:1002aa01,00aa0100,00100000'
  Controls      : 7
  Simple ctrls  : 1
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]


!!Alsactl output
!!--------------

--startcollapse--
state.SB {
	control.1 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 34
		value.1 34
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -750
			dbvalue.1 -750
		}
	}
	control.2 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Center Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.6 {
		iface MIXER
		name 'LFE Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'Side Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.10 {
		iface MIXER
		name 'Side Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.12 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Independent HP'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.14 {
		iface MIXER
		name 'Auto-Mute Mode'
		value 'Line Out+Speaker'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 'Speaker Only'
			item.2 'Line Out+Speaker'
		}
	}
	control.15 {
		iface MIXER
		name 'Input Source'
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.16 {
		iface MIXER
		name 'Input Source'
		index 1
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.17 {
		iface MIXER
		name 'Input Source'
		index 2
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.18 {
		iface MIXER
		name 'Capture Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.19 {
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.21 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Volume'
		index 2
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Switch'
		index 2
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.25 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'Master Playback Volume'
		value 35
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -600
		}
	}
	control.30 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface CARD
		name 'Line Out Front Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface CARD
		name 'Line Out Surround Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface CARD
		name 'Line Out CLFE Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface CARD
		name 'Line Out Side Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.37 {
		iface CARD
		name 'Front Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.38 {
		iface CARD
		name 'Rear Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.39 {
		iface CARD
		name 'Line Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.40 {
		iface CARD
		name 'CD Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.41 {
		iface CARD
		name 'SPDIF Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.42 {
		iface CARD
		name 'HDMI Phantom Jack'
		index 1
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.43 {
		iface PCM
		name 'Playback Channel Map'
		value.0 3
		value.1 4
		value.2 0
		value.3 0
		comment {
			access read
			type INTEGER
			count 4
			range '0 - 36'
		}
	}
	control.44 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.45 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.46 {
		iface PCM
		device 2
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.47 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.48 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 1
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.49 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 238
		value.1 238
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -340
			dbvalue.1 -340
		}
	}
}
state.HDMI {
	control.1 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.7 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------



!!ALSA/HDA dmesg
!!--------------

[    2.002053] hid-generic 0003:15D9:0A4D.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:12.1-2/input0
[    2.103475] hda_codec: AD1989B: BIOS auto-probing.
[    2.126762] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input4
[    2.129136] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input5
[    2.131494] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input6
[    2.133887] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input7
[    2.136314] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input8
[    2.138752] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
[    2.141160] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[    2.143573] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
[    2.146333] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
[    2.150509] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input12
[    2.153177] GACT probability NOT on
--
[    2.220724] powernow-k8: Found 1 AMD Athlon(tm) X2 Dual Core Processor BE-2350 (2 cpu cores) (version 2.20.00)
[    2.222986] ALSA device list:
[    2.225160]   #0: HDA ATI SB at 0xfe8f4000 irq 16
[    2.227341]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
[    2.230063] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities



[-- Attachment #4: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16 12:39                       ` Manolo Díaz
@ 2013-01-16 12:54                         ` Takashi Iwai
  2013-01-16 13:04                           ` Manolo Díaz
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-16 12:54 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, alsa-devel, basinilya, Miro Hodak

At Wed, 16 Jan 2013 13:39:52 +0100,
Manolo Díaz wrote:
> 
> El mié, 16 ene 2013 a las 9:54 horas
> Takashi Iwai escribió:
> 
> >At Wed, 16 Jan 2013 09:49:41 +0100,
> >Manolo Díaz wrote:
> >> 
> >> El mié, 16 ene 2013 a las 9:52 horas
> >> Raymond Yau escribió:
> >> 
> >> >>
> >> >> >>
> >> >> >> >Yes, testing the latest code with real machines is highly
> >> >> >> >appreciated.  Try sound-unstable git tree, either master or
> >> >> >> >test/hda-migrate branch.
> >> >> >> >  git://
> >> >git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> >> >> >> >
> >> >> >> >Alternatively you can build the external alsa-driver modules from
> >> >> >> >alsa-driver-unstable snapshot tarball, too
> >> >> >> >
> >> >> >
> >> >ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> >> >> >> >
> >> >> >> >Note that only the behavior of model=auto has been changed in the tree
> >> >> >> >above.  The other model behaviors of AD codecs are unchanged at all.
> >> >> >>
> >> >> >> Mixer crashes are gone. As I wrote I have no way to test the digital
> >> >> >> output.
> >> >> >>
> >> >> >> I haven't found a way to test multi stream playback either. After
> >> >> >> choosing HP Independant enabled I can't hear nothing through the
> >> >> >> headphone.
> >> >> >>
> >> >
> >> >Did audio work with suspend and resume since my p5b-v ad1988 cannot suspend
> >> >/ resume anymore after install Ubuntu 12.04 ?
> >> >
> >> >Audio can suspend / resume in fedora 10 for different version of alsa
> >> >driver
> >> >
> >> >Seen many ad1988 controls are missing ?
> >> >
> >> >1) rear Mic, line , front Mic  playback volume and switch
> >> >2) CD playback switch
> >> >3) input mix in input source
> >> >4) analog loopback mix volume and mute switch
> >> 
> >> I can confirm both: no sound after resume and missing controls.
> >> Attached are captures from the mixer control list using linux stable
> >> and sound unstable, both with BIOS autoprobe.
> >
> >Give alsa-info.sh outputs before and after suspend, instead.
> >
> >
> >Takashi
> 
> Ok.
> 
> Outputs attached. This is the diff:
> 
> --- alsa-info-before-suspend.txt	2013-01-16 13:29:59.991633927 +0100
> +++ alsa-info-after-resume.txt	2013-01-16 13:31:06.353096949 +0100
> @@ -3,7 +3,7 @@
>  !!ALSA Information Script v 0.4.61
>  !!################################
>  
> -!!Script ran on: Wed Jan 16 12:29:57 UTC 2013
> +!!Script ran on: Wed Jan 16 12:31:03 UTC 2013
>  
>  
>  !!Linux Distribution
> @@ -127,7 +127,7 @@
>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>    Device: name="AD1989B Analog", type="Audio", device=2
>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
> -  Amp-Out vals:  [0x23 0x23]
> +  Amp-Out vals:  [0x27 0x27]
>    Converter: stream=8, channel=0
>    Power states:  D0 D3
>    Power: setting=D0, actual=D0
> @@ -136,7 +136,7 @@
>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>    Device: name="AD1989B Analog", type="Audio", device=0
>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
> -  Amp-Out vals:  [0x1e 0x1e]
> +  Amp-Out vals:  [0x27 0x27]

Hm, are you running the latest sound-unstable tree?

There have been a few critical bugs fixed since the last time you
wrote.  This might be the issue you hit.


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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16 12:54                         ` Takashi Iwai
@ 2013-01-16 13:04                           ` Manolo Díaz
  2013-01-16 13:16                             ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-16 13:04 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, alsa-devel, basinilya, Miro Hodak

El mié, 16 ene 2013 a las 13:54 horas
Takashi Iwai escribió:

>At Wed, 16 Jan 2013 13:39:52 +0100,
>Manolo Díaz wrote:
>> 
>> El mié, 16 ene 2013 a las 9:54 horas
>> Takashi Iwai escribió:
>> 
>> >At Wed, 16 Jan 2013 09:49:41 +0100,
>> >Manolo Díaz wrote:
>> >> 
>> >> El mié, 16 ene 2013 a las 9:52 horas
>> >> Raymond Yau escribió:
>> >> 
>> >> >>
>> >> >> >>
>> >> >> >> >Yes, testing the latest code with real machines is highly
>> >> >> >> >appreciated.  Try sound-unstable git tree, either master or
>> >> >> >> >test/hda-migrate branch.
>> >> >> >> >  git://
>> >> >git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
>> >> >> >> >
>> >> >> >> >Alternatively you can build the external alsa-driver modules from
>> >> >> >> >alsa-driver-unstable snapshot tarball, too
>> >> >> >> >
>> >> >> >
>> >> >ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
>> >> >> >> >
>> >> >> >> >Note that only the behavior of model=auto has been changed in the tree
>> >> >> >> >above.  The other model behaviors of AD codecs are unchanged at all.
>> >> >> >>
>> >> >> >> Mixer crashes are gone. As I wrote I have no way to test the digital
>> >> >> >> output.
>> >> >> >>
>> >> >> >> I haven't found a way to test multi stream playback either. After
>> >> >> >> choosing HP Independant enabled I can't hear nothing through the
>> >> >> >> headphone.
>> >> >> >>
>> >> >
>> >> >Did audio work with suspend and resume since my p5b-v ad1988 cannot suspend
>> >> >/ resume anymore after install Ubuntu 12.04 ?
>> >> >
>> >> >Audio can suspend / resume in fedora 10 for different version of alsa
>> >> >driver
>> >> >
>> >> >Seen many ad1988 controls are missing ?
>> >> >
>> >> >1) rear Mic, line , front Mic  playback volume and switch
>> >> >2) CD playback switch
>> >> >3) input mix in input source
>> >> >4) analog loopback mix volume and mute switch
>> >> 
>> >> I can confirm both: no sound after resume and missing controls.
>> >> Attached are captures from the mixer control list using linux stable
>> >> and sound unstable, both with BIOS autoprobe.
>> >
>> >Give alsa-info.sh outputs before and after suspend, instead.
>> >
>> >
>> >Takashi
>> 
>> Ok.
>> 
>> Outputs attached. This is the diff:
>> 
>> --- alsa-info-before-suspend.txt	2013-01-16 13:29:59.991633927 +0100
>> +++ alsa-info-after-resume.txt	2013-01-16 13:31:06.353096949 +0100
>> @@ -3,7 +3,7 @@
>>  !!ALSA Information Script v 0.4.61
>>  !!################################
>>  
>> -!!Script ran on: Wed Jan 16 12:29:57 UTC 2013
>> +!!Script ran on: Wed Jan 16 12:31:03 UTC 2013
>>  
>>  
>>  !!Linux Distribution
>> @@ -127,7 +127,7 @@
>>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>    Device: name="AD1989B Analog", type="Audio", device=2
>>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
>> -  Amp-Out vals:  [0x23 0x23]
>> +  Amp-Out vals:  [0x27 0x27]
>>    Converter: stream=8, channel=0
>>    Power states:  D0 D3
>>    Power: setting=D0, actual=D0
>> @@ -136,7 +136,7 @@
>>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>    Device: name="AD1989B Analog", type="Audio", device=0
>>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
>> -  Amp-Out vals:  [0x1e 0x1e]
>> +  Amp-Out vals:  [0x27 0x27]
>
>Hm, are you running the latest sound-unstable tree?
>
>There have been a few critical bugs fixed since the last time you
>wrote.  This might be the issue you hit.
>
>
>Takashi


#git show 
commit 9d7b2668e0d3ddf69a3872d2f3622b2af262ed8e
Merge: bcf4f30 fb85635
Author: Takashi Iwai <tiwai@suse.de>
Date:   Mon Jan 14 10:15:24 2013 +0100

    Merge remote-tracking branch 'stable/master'


#git rebase
Current branch master is up to date.


Am I doing something wrong?

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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16 13:04                           ` Manolo Díaz
@ 2013-01-16 13:16                             ` Takashi Iwai
  2013-01-16 13:55                               ` Manolo Díaz
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-16 13:16 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, alsa-devel, basinilya, Miro Hodak

At Wed, 16 Jan 2013 14:04:12 +0100,
Manolo Díaz wrote:
> 
> El mié, 16 ene 2013 a las 13:54 horas
> Takashi Iwai escribió:
> 
> >At Wed, 16 Jan 2013 13:39:52 +0100,
> >Manolo Díaz wrote:
> >> 
> >> El mié, 16 ene 2013 a las 9:54 horas
> >> Takashi Iwai escribió:
> >> 
> >> >At Wed, 16 Jan 2013 09:49:41 +0100,
> >> >Manolo Díaz wrote:
> >> >> 
> >> >> El mié, 16 ene 2013 a las 9:52 horas
> >> >> Raymond Yau escribió:
> >> >> 
> >> >> >>
> >> >> >> >>
> >> >> >> >> >Yes, testing the latest code with real machines is highly
> >> >> >> >> >appreciated.  Try sound-unstable git tree, either master or
> >> >> >> >> >test/hda-migrate branch.
> >> >> >> >> >  git://
> >> >> >git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> >> >> >> >> >
> >> >> >> >> >Alternatively you can build the external alsa-driver modules from
> >> >> >> >> >alsa-driver-unstable snapshot tarball, too
> >> >> >> >> >
> >> >> >> >
> >> >> >ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> >> >> >> >> >
> >> >> >> >> >Note that only the behavior of model=auto has been changed in the tree
> >> >> >> >> >above.  The other model behaviors of AD codecs are unchanged at all.
> >> >> >> >>
> >> >> >> >> Mixer crashes are gone. As I wrote I have no way to test the digital
> >> >> >> >> output.
> >> >> >> >>
> >> >> >> >> I haven't found a way to test multi stream playback either. After
> >> >> >> >> choosing HP Independant enabled I can't hear nothing through the
> >> >> >> >> headphone.
> >> >> >> >>
> >> >> >
> >> >> >Did audio work with suspend and resume since my p5b-v ad1988 cannot suspend
> >> >> >/ resume anymore after install Ubuntu 12.04 ?
> >> >> >
> >> >> >Audio can suspend / resume in fedora 10 for different version of alsa
> >> >> >driver
> >> >> >
> >> >> >Seen many ad1988 controls are missing ?
> >> >> >
> >> >> >1) rear Mic, line , front Mic  playback volume and switch
> >> >> >2) CD playback switch
> >> >> >3) input mix in input source
> >> >> >4) analog loopback mix volume and mute switch
> >> >> 
> >> >> I can confirm both: no sound after resume and missing controls.
> >> >> Attached are captures from the mixer control list using linux stable
> >> >> and sound unstable, both with BIOS autoprobe.
> >> >
> >> >Give alsa-info.sh outputs before and after suspend, instead.
> >> >
> >> >
> >> >Takashi
> >> 
> >> Ok.
> >> 
> >> Outputs attached. This is the diff:
> >> 
> >> --- alsa-info-before-suspend.txt	2013-01-16 13:29:59.991633927 +0100
> >> +++ alsa-info-after-resume.txt	2013-01-16 13:31:06.353096949 +0100
> >> @@ -3,7 +3,7 @@
> >>  !!ALSA Information Script v 0.4.61
> >>  !!################################
> >>  
> >> -!!Script ran on: Wed Jan 16 12:29:57 UTC 2013
> >> +!!Script ran on: Wed Jan 16 12:31:03 UTC 2013
> >>  
> >>  
> >>  !!Linux Distribution
> >> @@ -127,7 +127,7 @@
> >>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>    Device: name="AD1989B Analog", type="Audio", device=2
> >>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
> >> -  Amp-Out vals:  [0x23 0x23]
> >> +  Amp-Out vals:  [0x27 0x27]
> >>    Converter: stream=8, channel=0
> >>    Power states:  D0 D3
> >>    Power: setting=D0, actual=D0
> >> @@ -136,7 +136,7 @@
> >>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>    Device: name="AD1989B Analog", type="Audio", device=0
> >>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
> >> -  Amp-Out vals:  [0x1e 0x1e]
> >> +  Amp-Out vals:  [0x27 0x27]
> >
> >Hm, are you running the latest sound-unstable tree?
> >
> >There have been a few critical bugs fixed since the last time you
> >wrote.  This might be the issue you hit.
> >
> >
> >Takashi
> 
> 
> #git show 
> commit 9d7b2668e0d3ddf69a3872d2f3622b2af262ed8e
> Merge: bcf4f30 fb85635
> Author: Takashi Iwai <tiwai@suse.de>
> Date:   Mon Jan 14 10:15:24 2013 +0100
> 
>     Merge remote-tracking branch 'stable/master'

The latest master HEAD is

commit 3c8a646ae30522bd041596282ab5e9e5bc7e1c6d
Merge: 261ecc2 c0f3b21
Author: Takashi Iwai <tiwai@suse.de>
Date:   Wed Jan 16 11:57:22 2013 +0100

    Merge branch 'test/hda-gen-parser'


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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16 13:16                             ` Takashi Iwai
@ 2013-01-16 13:55                               ` Manolo Díaz
  2013-01-16 14:20                                 ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-16 13:55 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, alsa-devel, basinilya, Miro Hodak

[-- Attachment #1: Type: text/plain, Size: 5910 bytes --]

El mié, 16 ene 2013 a las 14:16 horas
Takashi Iwai escribió:

>At Wed, 16 Jan 2013 14:04:12 +0100,
>Manolo Díaz wrote:
>> 
>> El mié, 16 ene 2013 a las 13:54 horas
>> Takashi Iwai escribió:
>> 
>> >At Wed, 16 Jan 2013 13:39:52 +0100,
>> >Manolo Díaz wrote:
>> >> 
>> >> El mié, 16 ene 2013 a las 9:54 horas
>> >> Takashi Iwai escribió:
>> >> 
>> >> >At Wed, 16 Jan 2013 09:49:41 +0100,
>> >> >Manolo Díaz wrote:
>> >> >> 
>> >> >> El mié, 16 ene 2013 a las 9:52 horas
>> >> >> Raymond Yau escribió:
>> >> >> 
>> >> >> >>
>> >> >> >> >>
>> >> >> >> >> >Yes, testing the latest code with real machines is highly
>> >> >> >> >> >appreciated.  Try sound-unstable git tree, either master or
>> >> >> >> >> >test/hda-migrate branch.
>> >> >> >> >> >  git://
>> >> >> >git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
>> >> >> >> >> >
>> >> >> >> >> >Alternatively you can build the external alsa-driver modules from
>> >> >> >> >> >alsa-driver-unstable snapshot tarball, too
>> >> >> >> >> >
>> >> >> >> >
>> >> >> >ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
>> >> >> >> >> >
>> >> >> >> >> >Note that only the behavior of model=auto has been changed in the tree
>> >> >> >> >> >above.  The other model behaviors of AD codecs are unchanged at all.
>> >> >> >> >>
>> >> >> >> >> Mixer crashes are gone. As I wrote I have no way to test the digital
>> >> >> >> >> output.
>> >> >> >> >>
>> >> >> >> >> I haven't found a way to test multi stream playback either. After
>> >> >> >> >> choosing HP Independant enabled I can't hear nothing through the
>> >> >> >> >> headphone.
>> >> >> >> >>
>> >> >> >
>> >> >> >Did audio work with suspend and resume since my p5b-v ad1988 cannot suspend
>> >> >> >/ resume anymore after install Ubuntu 12.04 ?
>> >> >> >
>> >> >> >Audio can suspend / resume in fedora 10 for different version of alsa
>> >> >> >driver
>> >> >> >
>> >> >> >Seen many ad1988 controls are missing ?
>> >> >> >
>> >> >> >1) rear Mic, line , front Mic  playback volume and switch
>> >> >> >2) CD playback switch
>> >> >> >3) input mix in input source
>> >> >> >4) analog loopback mix volume and mute switch
>> >> >> 
>> >> >> I can confirm both: no sound after resume and missing controls.
>> >> >> Attached are captures from the mixer control list using linux stable
>> >> >> and sound unstable, both with BIOS autoprobe.
>> >> >
>> >> >Give alsa-info.sh outputs before and after suspend, instead.
>> >> >
>> >> >
>> >> >Takashi
>> >> 
>> >> Ok.
>> >> 
>> >> Outputs attached. This is the diff:
>> >> 
>> >> --- alsa-info-before-suspend.txt	2013-01-16 13:29:59.991633927 +0100
>> >> +++ alsa-info-after-resume.txt	2013-01-16 13:31:06.353096949 +0100
>> >> @@ -3,7 +3,7 @@
>> >>  !!ALSA Information Script v 0.4.61
>> >>  !!################################
>> >>  
>> >> -!!Script ran on: Wed Jan 16 12:29:57 UTC 2013
>> >> +!!Script ran on: Wed Jan 16 12:31:03 UTC 2013
>> >>  
>> >>  
>> >>  !!Linux Distribution
>> >> @@ -127,7 +127,7 @@
>> >>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >>    Device: name="AD1989B Analog", type="Audio", device=2
>> >>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
>> >> -  Amp-Out vals:  [0x23 0x23]
>> >> +  Amp-Out vals:  [0x27 0x27]
>> >>    Converter: stream=8, channel=0
>> >>    Power states:  D0 D3
>> >>    Power: setting=D0, actual=D0
>> >> @@ -136,7 +136,7 @@
>> >>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >>    Device: name="AD1989B Analog", type="Audio", device=0
>> >>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
>> >> -  Amp-Out vals:  [0x1e 0x1e]
>> >> +  Amp-Out vals:  [0x27 0x27]
>> >
>> >Hm, are you running the latest sound-unstable tree?
>> >
>> >There have been a few critical bugs fixed since the last time you
>> >wrote.  This might be the issue you hit.
>> >
>> >
>> >Takashi
>> 
>> 
>> #git show 
>> commit 9d7b2668e0d3ddf69a3872d2f3622b2af262ed8e
>> Merge: bcf4f30 fb85635
>> Author: Takashi Iwai <tiwai@suse.de>
>> Date:   Mon Jan 14 10:15:24 2013 +0100
>> 
>>     Merge remote-tracking branch 'stable/master'
>
>The latest master HEAD is
>
>commit 3c8a646ae30522bd041596282ab5e9e5bc7e1c6d
>Merge: 261ecc2 c0f3b21
>Author: Takashi Iwai <tiwai@suse.de>
>Date:   Wed Jan 16 11:57:22 2013 +0100
>
>    Merge branch 'test/hda-gen-parser'
>
>
>Takashi

Sorry. I'll repeat those tests.

commit 3c8a646ae30522bd041596282ab5e9e5bc7e1c6d
Merge: 261ecc2 c0f3b21
Author: Takashi Iwai <tiwai@suse.de>
Date:   Wed Jan 16 11:57:22 2013 +0100

    Merge branch 'test/hda-gen-parser'


You're right. Things seem so much better now:

-Multi stream play does work (tested front speakers and headphone)
-Sound doesn't disappear after resume

--- alsa-info-before-suspend.txt	2013-01-16 14:38:53.398515024 +0100
+++ alsa-info-after-resume.txt	2013-01-16 14:39:48.424133569 +0100
@@ -3,7 +3,7 @@
 !!ALSA Information Script v 0.4.61
 !!################################
 
-!!Script ran on: Wed Jan 16 13:38:52 UTC 2013
+!!Script ran on: Wed Jan 16 13:39:47 UTC 2013
 
 
 !!Linux Distribution
@@ -1138,7 +1138,7 @@
 	control.31 {
 		iface CARD
 		name 'Line Out Front Jack'
-		value true
+		value false
 		comment {
 			access read
 			type BOOLEAN
@@ -1453,5 +1453,9 @@
 [    2.361493]   #0: HDA ATI SB at 0xfe8f4000 irq 16
 [    2.363720]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
 [    2.366474] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
+--
+[  200.736358] serial 00:08: activated
+[  200.736528] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
+[  200.736593] pcieport 0000:00:06.0: System wakeup disabled by ACPI


But the number of controls is smaller than in linux stable 3.7.2. I
don't know if that's a regression.


-- 
Manolo Díaz

[-- Attachment #2: alsa-info-after-resume.txt --]
[-- Type: text/plain, Size: 39146 bytes --]

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.61
!!################################

!!Script ran on: Wed Jan 16 13:39:47 UTC 2013


!!Linux Distribution
!!------------------

^[[0;32mDebian testing (Wheezy) ^[[0;31m\n. ^[[1;33m\l^[[0;32m PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/"


!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name
Product Version:   System Version
Firmware Version:  1801   


!!Kernel Information
!!------------------

Kernel release:    3.8.0-rc3+
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k3.8.0-rc3+
Library version:    1.0.25
Utilities version:  1.0.25


!!Loaded ALSA modules
!!-------------------



!!Sound Servers on this system
!!----------------------------

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe8f4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfe9ec000 irq 42


!!PCI Soundcards installed in the system
!!--------------------------------------

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV610 HDMI Audio [Radeon HD 2350/2400 Series]


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:14.2 0403: 1002:4383
	Subsystem: 1043:8288
--
01:00.1 0403: 1002:aa10
	Subsystem: 1043:aa10


!!Loaded sound module options
!!---------------------------


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Analog Devices AD1989B
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11d4989b
Subsystem Id: 0x10438311
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
    rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x30211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="AD1989B Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=2
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
  Delay: 3 samples
  Connection: 1
     0x1c
Node 0x08 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x09 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=2
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x0b [Audio Output] wcaps 0x30211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 11
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0f [Audio Input] wcaps 0x100501: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x8f]
Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02214030: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x22
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Front Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x29
Node 0x13 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f]
  Pincap 0x00000010: OUT
  Pin Default 0x511711f0: [N/A] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x2d
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a1902e: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0xe
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=06, enabled=1
  Connection: 1
     0x2b
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Line Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01813021: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x2, Sequence = 0x1
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x2c
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Surround Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01011012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=03, enabled=1
  Connection: 1
     0x2a
Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19020: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=07, enabled=1
  Connection: 1
     0x26
Node 0x18 [Pin Complex] wcaps 0x400081: Stereo
  Control: name="CD Phantom Jack", index=0, device=0
  Pincap 0x00000024: IN Detect
  Pin Default 0x99331122: [Fixed] CD at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
Node 0x19 [Power Widget] wcaps 0x500500: Mono
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x20 0x21
Node 0x1a [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="SPDIF Phantom Jack", index=0, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97]
  Pincap 0x00000020: IN
  Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="HDMI Phantom Jack", index=1, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Other
    DefAssociation = 0xb, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0b
Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x36 0x21
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 8
     0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a
Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f 0x9f]
  Connection: 1
     0x20
Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x37 0x21
Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 18
     0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x20 0x21
Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Line Out CLFE Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Connection: 1
     0x27
Node 0x25 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Side Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Side Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01012014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x28
Node 0x26 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x32 0x21
Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x21
Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x0a 0x21
Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x21
Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x06 0x21
Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x30 0x21
Node 0x2c [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x31 0x21
Node 0x2d [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x1e
Node 0x2e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x2f [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 6
     0x11* 0x12 0x14 0x15 0x16 0x17
Node 0x30 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x31 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x04* 0x0a
Node 0x32 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x05* 0x04
Node 0x33 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3a* 0x25 0x24
Node 0x34 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3c* 0x25 0x24
Node 0x35 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x36 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x37 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x38 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x11
Node 0x39 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x14
Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x15
Node 0x3b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x3c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x17
Node 0x3d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x12
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="ELD", index=0, device=3
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x02
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw---T 1 root audio 116,  7 Jan 16 14:36 /dev/snd/controlC0
crw-rw---T 1 root audio 116,  9 Jan 16 14:36 /dev/snd/controlC1
crw-rw---T 1 root audio 116,  6 Jan 16 14:36 /dev/snd/pcmC0D0c
crw-rw---T 1 root audio 116,  5 Jan 16 14:38 /dev/snd/pcmC0D0p
crw-rw---T 1 root audio 116,  4 Jan 16 14:36 /dev/snd/pcmC0D1p
crw-rw---T 1 root audio 116,  3 Jan 16 14:36 /dev/snd/pcmC0D2c
crw-rw---T 1 root audio 116,  2 Jan 16 14:36 /dev/snd/pcmC0D2p
crw-rw---T 1 root audio 116,  8 Jan 16 14:36 /dev/snd/pcmC1D3p
crw-rw---T 1 root audio 116,  1 Jan 16 14:36 /dev/snd/seq
crw-rw---T 1 root audio 116, 33 Jan 16 14:36 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Jan 16 14:36 .
drwxr-xr-x 3 root root 260 Jan 16 14:36 ..
lrwxrwxrwx 1 root root  12 Jan 16 14:36 pci-0000:00:14.2 -> ../controlC0
lrwxrwxrwx 1 root root  12 Jan 16 14:36 pci-0000:01:00.1 -> ../controlC1


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: AD1989B Digital [AD1989B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [SB]

Card hw:0 'SB'/'HDA ATI SB at 0xfe8f4000 irq 16'
  Mixer name	: 'Analog Devices AD1989B'
  Components	: 'HDA:11d4989b,10438311,00100300'
  Controls      : 48
  Simple ctrls  : 18
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 35 [90%] [-6.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 238 [93%] [-3.40dB]
  Front Right: Playback 238 [93%] [-3.40dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 34 [87%] [-7.50dB] [on]
  Front Right: Playback 34 [87%] [-7.50dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'

!!-------Mixer controls for card 1 [HDMI]

Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 42'
  Mixer name	: 'ATI R6xx HDMI'
  Components	: 'HDA:1002aa01,00aa0100,00100000'
  Controls      : 7
  Simple ctrls  : 1
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]


!!Alsactl output
!!--------------

--startcollapse--
state.SB {
	control.1 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 34
		value.1 34
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -750
			dbvalue.1 -750
		}
	}
	control.2 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Center Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.6 {
		iface MIXER
		name 'LFE Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'Side Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.10 {
		iface MIXER
		name 'Side Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.12 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Independent HP'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.14 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.15 {
		iface MIXER
		name 'Input Source'
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.16 {
		iface MIXER
		name 'Input Source'
		index 1
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.17 {
		iface MIXER
		name 'Input Source'
		index 2
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.18 {
		iface MIXER
		name 'Capture Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.19 {
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.21 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Volume'
		index 2
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Switch'
		index 2
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.25 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'Master Playback Volume'
		value 35
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -600
		}
	}
	control.30 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface CARD
		name 'Line Out Front Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface CARD
		name 'Line Out Surround Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface CARD
		name 'Line Out CLFE Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface CARD
		name 'Line Out Side Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface CARD
		name 'Front Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.37 {
		iface CARD
		name 'Rear Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.38 {
		iface CARD
		name 'Line Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.39 {
		iface CARD
		name 'CD Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.40 {
		iface CARD
		name 'SPDIF Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.41 {
		iface CARD
		name 'HDMI Phantom Jack'
		index 1
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.42 {
		iface PCM
		name 'Playback Channel Map'
		value.0 3
		value.1 4
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access read
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.43 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.44 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.45 {
		iface PCM
		device 2
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.46 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.47 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 1
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.48 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 238
		value.1 238
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -340
			dbvalue.1 -340
		}
	}
}
state.HDMI {
	control.1 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.7 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------



!!ALSA/HDA dmesg
!!--------------

[    2.099338] hid-generic 0003:15D9:0A4D.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:12.1-2/input0
[    2.241461] hda_codec: AD1989B: BIOS auto-probing.
[    2.265082] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input4
[    2.267522] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input5
[    2.269900] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input6
[    2.272287] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input7
[    2.274691] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input8
[    2.277114] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
[    2.279535] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[    2.281966] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
[    2.284729] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
[    2.288532] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input12
[    2.291228] GACT probability NOT on
--
[    2.356980] powernow-k8: Found 1 AMD Athlon(tm) X2 Dual Core Processor BE-2350 (2 cpu cores) (version 2.20.00)
[    2.359269] ALSA device list:
[    2.361493]   #0: HDA ATI SB at 0xfe8f4000 irq 16
[    2.363720]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
[    2.366474] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
--
[  200.736358] serial 00:08: activated
[  200.736528] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
[  200.736593] pcieport 0000:00:06.0: System wakeup disabled by ACPI



[-- Attachment #3: alsa-info-before-suspend.txt --]
[-- Type: text/plain, Size: 38970 bytes --]

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.61
!!################################

!!Script ran on: Wed Jan 16 13:38:52 UTC 2013


!!Linux Distribution
!!------------------

^[[0;32mDebian testing (Wheezy) ^[[0;31m\n. ^[[1;33m\l^[[0;32m PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/"


!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name
Product Version:   System Version
Firmware Version:  1801   


!!Kernel Information
!!------------------

Kernel release:    3.8.0-rc3+
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k3.8.0-rc3+
Library version:    1.0.25
Utilities version:  1.0.25


!!Loaded ALSA modules
!!-------------------



!!Sound Servers on this system
!!----------------------------

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe8f4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfe9ec000 irq 42


!!PCI Soundcards installed in the system
!!--------------------------------------

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV610 HDMI Audio [Radeon HD 2350/2400 Series]


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:14.2 0403: 1002:4383
	Subsystem: 1043:8288
--
01:00.1 0403: 1002:aa10
	Subsystem: 1043:aa10


!!Loaded sound module options
!!---------------------------


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Analog Devices AD1989B
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11d4989b
Subsystem Id: 0x10438311
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
    rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x30211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="AD1989B Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=2
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
  Delay: 3 samples
  Connection: 1
     0x1c
Node 0x08 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x09 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=2
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x23 0x23]
  Converter: stream=8, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x0b [Audio Output] wcaps 0x30211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 11
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0xa7 0xa7]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0f [Audio Input] wcaps 0x100501: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x8f]
Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02214030: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x22
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Front Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x29
Node 0x13 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f]
  Pincap 0x00000010: OUT
  Pin Default 0x511711f0: [N/A] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x2d
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a1902e: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0xe
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=06, enabled=1
  Connection: 1
     0x2b
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Line Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01813021: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x2, Sequence = 0x1
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x2c
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Surround Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01011012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=03, enabled=1
  Connection: 1
     0x2a
Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19020: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=07, enabled=1
  Connection: 1
     0x26
Node 0x18 [Pin Complex] wcaps 0x400081: Stereo
  Control: name="CD Phantom Jack", index=0, device=0
  Pincap 0x00000024: IN Detect
  Pin Default 0x99331122: [Fixed] CD at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
Node 0x19 [Power Widget] wcaps 0x500500: Mono
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x20 0x21
Node 0x1a [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="SPDIF Phantom Jack", index=0, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97]
  Pincap 0x00000020: IN
  Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="HDMI Phantom Jack", index=1, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Other
    DefAssociation = 0xb, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0b
Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x36 0x21
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 8
     0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a
Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f 0x9f]
  Connection: 1
     0x20
Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x37 0x21
Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 18
     0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x20 0x21
Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Line Out CLFE Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Connection: 1
     0x27
Node 0x25 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Side Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Side Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01012014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x28
Node 0x26 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x32 0x21
Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x21
Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x0a 0x21
Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x21
Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x06 0x21
Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x30 0x21
Node 0x2c [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x31 0x21
Node 0x2d [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x1e
Node 0x2e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x2f [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 6
     0x11* 0x12 0x14 0x15 0x16 0x17
Node 0x30 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x31 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x04* 0x0a
Node 0x32 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x05* 0x04
Node 0x33 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3a* 0x25 0x24
Node 0x34 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3c* 0x25 0x24
Node 0x35 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x36 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x37 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x38 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x11
Node 0x39 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x14
Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x15
Node 0x3b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x3c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x17
Node 0x3d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x12
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="ELD", index=0, device=3
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x02
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw---T 1 root audio 116,  7 Jan 16 14:36 /dev/snd/controlC0
crw-rw---T 1 root audio 116,  9 Jan 16 14:36 /dev/snd/controlC1
crw-rw---T 1 root audio 116,  6 Jan 16 14:36 /dev/snd/pcmC0D0c
crw-rw---T 1 root audio 116,  5 Jan 16 14:38 /dev/snd/pcmC0D0p
crw-rw---T 1 root audio 116,  4 Jan 16 14:36 /dev/snd/pcmC0D1p
crw-rw---T 1 root audio 116,  3 Jan 16 14:36 /dev/snd/pcmC0D2c
crw-rw---T 1 root audio 116,  2 Jan 16 14:36 /dev/snd/pcmC0D2p
crw-rw---T 1 root audio 116,  8 Jan 16 14:36 /dev/snd/pcmC1D3p
crw-rw---T 1 root audio 116,  1 Jan 16 14:36 /dev/snd/seq
crw-rw---T 1 root audio 116, 33 Jan 16 14:36 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Jan 16 14:36 .
drwxr-xr-x 3 root root 260 Jan 16 14:36 ..
lrwxrwxrwx 1 root root  12 Jan 16 14:36 pci-0000:00:14.2 -> ../controlC0
lrwxrwxrwx 1 root root  12 Jan 16 14:36 pci-0000:01:00.1 -> ../controlC1


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: AD1989B Digital [AD1989B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [SB]

Card hw:0 'SB'/'HDA ATI SB at 0xfe8f4000 irq 16'
  Mixer name	: 'Analog Devices AD1989B'
  Components	: 'HDA:11d4989b,10438311,00100300'
  Controls      : 48
  Simple ctrls  : 18
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 35 [90%] [-6.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 238 [93%] [-3.40dB]
  Front Right: Playback 238 [93%] [-3.40dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 34 [87%] [-7.50dB] [on]
  Front Right: Playback 34 [87%] [-7.50dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 39 [72%] [0.00dB] [off]
  Front Right: Capture 39 [72%] [0.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'

!!-------Mixer controls for card 1 [HDMI]

Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 42'
  Mixer name	: 'ATI R6xx HDMI'
  Components	: 'HDA:1002aa01,00aa0100,00100000'
  Controls      : 7
  Simple ctrls  : 1
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]


!!Alsactl output
!!--------------

--startcollapse--
state.SB {
	control.1 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 34
		value.1 34
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -750
			dbvalue.1 -750
		}
	}
	control.2 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Center Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.6 {
		iface MIXER
		name 'LFE Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'Side Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.10 {
		iface MIXER
		name 'Side Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.12 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Independent HP'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.14 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.15 {
		iface MIXER
		name 'Input Source'
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.16 {
		iface MIXER
		name 'Input Source'
		index 1
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.17 {
		iface MIXER
		name 'Input Source'
		index 2
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.18 {
		iface MIXER
		name 'Capture Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.19 {
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.21 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Volume'
		index 2
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Switch'
		index 2
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.25 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'Master Playback Volume'
		value 35
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -600
		}
	}
	control.30 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface CARD
		name 'Line Out Front Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface CARD
		name 'Line Out Surround Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface CARD
		name 'Line Out CLFE Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface CARD
		name 'Line Out Side Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface CARD
		name 'Front Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.37 {
		iface CARD
		name 'Rear Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.38 {
		iface CARD
		name 'Line Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.39 {
		iface CARD
		name 'CD Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.40 {
		iface CARD
		name 'SPDIF Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.41 {
		iface CARD
		name 'HDMI Phantom Jack'
		index 1
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.42 {
		iface PCM
		name 'Playback Channel Map'
		value.0 3
		value.1 4
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access read
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.43 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.44 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.45 {
		iface PCM
		device 2
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.46 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.47 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 1
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.48 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 238
		value.1 238
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -340
			dbvalue.1 -340
		}
	}
}
state.HDMI {
	control.1 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.7 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------



!!ALSA/HDA dmesg
!!--------------

[    2.099338] hid-generic 0003:15D9:0A4D.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:12.1-2/input0
[    2.241461] hda_codec: AD1989B: BIOS auto-probing.
[    2.265082] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input4
[    2.267522] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input5
[    2.269900] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input6
[    2.272287] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input7
[    2.274691] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input8
[    2.277114] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
[    2.279535] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[    2.281966] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
[    2.284729] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
[    2.288532] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input12
[    2.291228] GACT probability NOT on
--
[    2.356980] powernow-k8: Found 1 AMD Athlon(tm) X2 Dual Core Processor BE-2350 (2 cpu cores) (version 2.20.00)
[    2.359269] ALSA device list:
[    2.361493]   #0: HDA ATI SB at 0xfe8f4000 irq 16
[    2.363720]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
[    2.366474] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities



[-- Attachment #4: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16 13:55                               ` Manolo Díaz
@ 2013-01-16 14:20                                 ` Takashi Iwai
  2013-01-17  3:51                                   ` Raymond Yau
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-16 14:20 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, alsa-devel, basinilya, Miro Hodak

At Wed, 16 Jan 2013 14:55:09 +0100,
Manolo Díaz wrote:
> 
> El mié, 16 ene 2013 a las 14:16 horas
> Takashi Iwai escribió:
> 
> >At Wed, 16 Jan 2013 14:04:12 +0100,
> >Manolo Díaz wrote:
> >> 
> >> El mié, 16 ene 2013 a las 13:54 horas
> >> Takashi Iwai escribió:
> >> 
> >> >At Wed, 16 Jan 2013 13:39:52 +0100,
> >> >Manolo Díaz wrote:
> >> >> 
> >> >> El mié, 16 ene 2013 a las 9:54 horas
> >> >> Takashi Iwai escribió:
> >> >> 
> >> >> >At Wed, 16 Jan 2013 09:49:41 +0100,
> >> >> >Manolo Díaz wrote:
> >> >> >> 
> >> >> >> El mié, 16 ene 2013 a las 9:52 horas
> >> >> >> Raymond Yau escribió:
> >> >> >> 
> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> >Yes, testing the latest code with real machines is highly
> >> >> >> >> >> >appreciated.  Try sound-unstable git tree, either master or
> >> >> >> >> >> >test/hda-migrate branch.
> >> >> >> >> >> >  git://
> >> >> >> >git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> >> >> >> >> >> >
> >> >> >> >> >> >Alternatively you can build the external alsa-driver modules from
> >> >> >> >> >> >alsa-driver-unstable snapshot tarball, too
> >> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> >> >> >> >> >> >
> >> >> >> >> >> >Note that only the behavior of model=auto has been changed in the tree
> >> >> >> >> >> >above.  The other model behaviors of AD codecs are unchanged at all.
> >> >> >> >> >>
> >> >> >> >> >> Mixer crashes are gone. As I wrote I have no way to test the digital
> >> >> >> >> >> output.
> >> >> >> >> >>
> >> >> >> >> >> I haven't found a way to test multi stream playback either. After
> >> >> >> >> >> choosing HP Independant enabled I can't hear nothing through the
> >> >> >> >> >> headphone.
> >> >> >> >> >>
> >> >> >> >
> >> >> >> >Did audio work with suspend and resume since my p5b-v ad1988 cannot suspend
> >> >> >> >/ resume anymore after install Ubuntu 12.04 ?
> >> >> >> >
> >> >> >> >Audio can suspend / resume in fedora 10 for different version of alsa
> >> >> >> >driver
> >> >> >> >
> >> >> >> >Seen many ad1988 controls are missing ?
> >> >> >> >
> >> >> >> >1) rear Mic, line , front Mic  playback volume and switch
> >> >> >> >2) CD playback switch
> >> >> >> >3) input mix in input source
> >> >> >> >4) analog loopback mix volume and mute switch
> >> >> >> 
> >> >> >> I can confirm both: no sound after resume and missing controls.
> >> >> >> Attached are captures from the mixer control list using linux stable
> >> >> >> and sound unstable, both with BIOS autoprobe.
> >> >> >
> >> >> >Give alsa-info.sh outputs before and after suspend, instead.
> >> >> >
> >> >> >
> >> >> >Takashi
> >> >> 
> >> >> Ok.
> >> >> 
> >> >> Outputs attached. This is the diff:
> >> >> 
> >> >> --- alsa-info-before-suspend.txt	2013-01-16 13:29:59.991633927 +0100
> >> >> +++ alsa-info-after-resume.txt	2013-01-16 13:31:06.353096949 +0100
> >> >> @@ -3,7 +3,7 @@
> >> >>  !!ALSA Information Script v 0.4.61
> >> >>  !!################################
> >> >>  
> >> >> -!!Script ran on: Wed Jan 16 12:29:57 UTC 2013
> >> >> +!!Script ran on: Wed Jan 16 12:31:03 UTC 2013
> >> >>  
> >> >>  
> >> >>  !!Linux Distribution
> >> >> @@ -127,7 +127,7 @@
> >> >>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >> >>    Device: name="AD1989B Analog", type="Audio", device=2
> >> >>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
> >> >> -  Amp-Out vals:  [0x23 0x23]
> >> >> +  Amp-Out vals:  [0x27 0x27]
> >> >>    Converter: stream=8, channel=0
> >> >>    Power states:  D0 D3
> >> >>    Power: setting=D0, actual=D0
> >> >> @@ -136,7 +136,7 @@
> >> >>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >> >>    Device: name="AD1989B Analog", type="Audio", device=0
> >> >>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
> >> >> -  Amp-Out vals:  [0x1e 0x1e]
> >> >> +  Amp-Out vals:  [0x27 0x27]
> >> >
> >> >Hm, are you running the latest sound-unstable tree?
> >> >
> >> >There have been a few critical bugs fixed since the last time you
> >> >wrote.  This might be the issue you hit.
> >> >
> >> >
> >> >Takashi
> >> 
> >> 
> >> #git show 
> >> commit 9d7b2668e0d3ddf69a3872d2f3622b2af262ed8e
> >> Merge: bcf4f30 fb85635
> >> Author: Takashi Iwai <tiwai@suse.de>
> >> Date:   Mon Jan 14 10:15:24 2013 +0100
> >> 
> >>     Merge remote-tracking branch 'stable/master'
> >
> >The latest master HEAD is
> >
> >commit 3c8a646ae30522bd041596282ab5e9e5bc7e1c6d
> >Merge: 261ecc2 c0f3b21
> >Author: Takashi Iwai <tiwai@suse.de>
> >Date:   Wed Jan 16 11:57:22 2013 +0100
> >
> >    Merge branch 'test/hda-gen-parser'
> >
> >
> >Takashi
> 
> Sorry. I'll repeat those tests.
> 
> commit 3c8a646ae30522bd041596282ab5e9e5bc7e1c6d
> Merge: 261ecc2 c0f3b21
> Author: Takashi Iwai <tiwai@suse.de>
> Date:   Wed Jan 16 11:57:22 2013 +0100
> 
>     Merge branch 'test/hda-gen-parser'
> 
> 
> You're right. Things seem so much better now:
> 
> -Multi stream play does work (tested front speakers and headphone)
> -Sound doesn't disappear after resume

Good to hear!


> --- alsa-info-before-suspend.txt	2013-01-16 14:38:53.398515024 +0100
> +++ alsa-info-after-resume.txt	2013-01-16 14:39:48.424133569 +0100
> @@ -3,7 +3,7 @@
>  !!ALSA Information Script v 0.4.61
>  !!################################
>  
> -!!Script ran on: Wed Jan 16 13:38:52 UTC 2013
> +!!Script ran on: Wed Jan 16 13:39:47 UTC 2013
>  
>  
>  !!Linux Distribution
> @@ -1138,7 +1138,7 @@
>  	control.31 {
>  		iface CARD
>  		name 'Line Out Front Jack'
> -		value true
> +		value false
>  		comment {
>  			access read
>  			type BOOLEAN
> @@ -1453,5 +1453,9 @@
>  [    2.361493]   #0: HDA ATI SB at 0xfe8f4000 irq 16
>  [    2.363720]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
>  [    2.366474] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
> +--
> +[  200.736358] serial 00:08: activated
> +[  200.736528] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
> +[  200.736593] pcieport 0000:00:06.0: System wakeup disabled by ACPI
> 
> 
> But the number of controls is smaller than in linux stable 3.7.2. I
> don't know if that's a regression.

You should diet sometimes :)

Unless you see *functional* degradation, it's no regression but
regarded rather as a cleanup.


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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-16 14:20                                 ` Takashi Iwai
@ 2013-01-17  3:51                                   ` Raymond Yau
  2013-01-17  6:30                                     ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-17  3:51 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

> > >> >> >> >> >> >Yes, testing the latest code with real machines is
highly
> > >> >> >> >> >> >appreciated.  Try sound-unstable git tree, either
master or
> > >> >> >> >> >> >test/hda-migrate branch.
> > >> >> >> >> >> >  git://
> > >> >> >> >
git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> > >> >> >> >> >> >
> > >> >> >> >> >> >Alternatively you can build the external alsa-driver
modules from
> > >> >> >> >> >> >alsa-driver-unstable snapshot tarball, too
> > >> >> >> >> >> >
> > >> >> >> >> >
> > >> >> >> >
ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> > >> >> >> >> >> >
> > >> >> >> >> >> >Note that only the behavior of model=auto has been
changed in the tree
> > >> >> >> >> >> >above.  The other model behaviors of AD codecs are
unchanged at all.

> > >> >> >> >
> > >> >> >> >Seen many ad1988 controls are missing ?
> > >> >> >> >
> > >> >> >> >1) rear Mic, line , front Mic  playback volume and switch
> > >> >> >> >2) CD playback switch
> > >> >> >> >3) input mix in input source
> > >> >> >> >4) analog loopback mix volume and mute switch

> > But the number of controls is smaller than in linux stable 3.7.2. I
> > don't know if that's a regression.
>
>
> Unless you see *functional* degradation, it's no regression but
> regarded rather as a cleanup

Refer to commit

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-unstable.git;a=commitdiff;h=f3fc0b0b1fe31e0ec9a72ab85b421e74c696f00d;hp=3a65bcdc577a338712c2eaefc194909de79d4982

The Stereo Mix of those VIA codecs allow ADD capture  DAC signal

ad1988 and those realtek codecs can select input source from the audio
mixer which can mix the input pins

- snd_hda_add_imux_item(imux, "Mix", 9, NULL);

Those  static models (3stack , 3stack-dig, 6stack and 6stack-dig )still
have the input source "mix"

static const struct hda_input_mux ad1988_6stack_capture_source = {
        .num_items = 5,
       .items = {
               { "Front Mic", 0x1 },   /* port-B */
                { "Line", 0x2 },        /* port-C */
                { "Mic", 0x4 },         /* port-E */
                { "CD", 0x5 },
                 { "Mix", 0x9 },
       },
};

Most  desktop codecs can pass the blue Jack signal to green Jack by unmute
line playback switch and line playback volume

-- if ((err = add_control(spec, AD_CTL_WIDGET_VOL,
- "Analog Mix Playback Volume",
- HDA_COMPOSE_AMP_VAL(0x21, 3, 0x0, HDA_OUTPUT))) < 0)
- return err;
- if ((err = add_control(spec, AD_CTL_WIDGET_MUTE, - "Analog Mix Playback
Switch",
- HDA_COMPOSE_AMP_VAL(0x21, 3, 0x0, HDA_OUTPUT))) < 0) - return err;

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17  3:51                                   ` Raymond Yau
@ 2013-01-17  6:30                                     ` Takashi Iwai
  2013-01-17  6:40                                       ` Raymond Yau
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-17  6:30 UTC (permalink / raw)
  To: Raymond Yau; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

At Thu, 17 Jan 2013 11:51:48 +0800,
Raymond Yau wrote:
> 
> > > >> >> >> >> >> >Yes, testing the latest code with real machines is
> highly
> > > >> >> >> >> >> >appreciated.  Try sound-unstable git tree, either
> master or
> > > >> >> >> >> >> >test/hda-migrate branch.
> > > >> >> >> >> >> >  git://
> > > >> >> >> >
> git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> > > >> >> >> >> >> >
> > > >> >> >> >> >> >Alternatively you can build the external alsa-driver
> modules from
> > > >> >> >> >> >> >alsa-driver-unstable snapshot tarball, too
> > > >> >> >> >> >> >
> > > >> >> >> >> >
> > > >> >> >> >
> ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> > > >> >> >> >> >> >
> > > >> >> >> >> >> >Note that only the behavior of model=auto has been
> changed in the tree
> > > >> >> >> >> >> >above.  The other model behaviors of AD codecs are
> unchanged at all.
> 
> > > >> >> >> >
> > > >> >> >> >Seen many ad1988 controls are missing ?
> > > >> >> >> >
> > > >> >> >> >1) rear Mic, line , front Mic  playback volume and switch
> > > >> >> >> >2) CD playback switch
> > > >> >> >> >3) input mix in input source
> > > >> >> >> >4) analog loopback mix volume and mute switch
> 
> > > But the number of controls is smaller than in linux stable 3.7.2. I
> > > don't know if that's a regression.
> >
> >
> > Unless you see *functional* degradation, it's no regression but
> > regarded rather as a cleanup
> 
> Refer to commit
> 
> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-unstable.git;a=commitdiff;h=f3fc0b0b1fe31e0ec9a72ab85b421e74c696f00d;hp=3a65bcdc577a338712c2eaefc194909de79d4982
> 
> The Stereo Mix of those VIA codecs allow ADD capture  DAC signal
> 
> ad1988 and those realtek codecs can select input source from the audio
> mixer which can mix the input pins
> 
> - snd_hda_add_imux_item(imux, "Mix", 9, NULL);
> 
> Those  static models (3stack , 3stack-dig, 6stack and 6stack-dig )still
> have the input source "mix"
> 
> static const struct hda_input_mux ad1988_6stack_capture_source = {
>         .num_items = 5,
>        .items = {
>                { "Front Mic", 0x1 },   /* port-B */
>                 { "Line", 0x2 },        /* port-C */
>                 { "Mic", 0x4 },         /* port-E */
>                 { "CD", 0x5 },
>                  { "Mix", 0x9 },
>        },
> };

This can be added now by passing a hint "add_stereo_mix_input=true".
Maybe it's better to enable it unconditionally for AD1988, as this
codec is mostly used for desktops, not for laptops.  (On laptops with
auto-mic switching, the driver doesn't want to have capture sources
other than mics.)


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17  6:30                                     ` Takashi Iwai
@ 2013-01-17  6:40                                       ` Raymond Yau
  2013-01-17  6:49                                         ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-17  6:40 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

> >
> > > > >> >> >> >> >> >Yes, testing the latest code with real machines is
> > highly
> > > > >> >> >> >> >> >appreciated.  Try sound-unstable git tree, either
> > master or
> > > > >> >> >> >> >> >test/hda-migrate branch.
> > > > >> >> >> >> >> >  git://
> > > > >> >> >> >
> > git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> > > > >> >> >> >> >> >
> > > > >> >> >> >> >> >Alternatively you can build the external alsa-driver
> > modules from
> > > > >> >> >> >> >> >alsa-driver-unstable snapshot tarball, too
> > > > >> >> >> >> >> >
> > > > >> >> >> >> >
> > > > >> >> >> >
> >
ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> > > > >> >> >> >> >> >
> > > > >> >> >> >> >> >Note that only the behavior of model=auto has been
> > changed in the tree
> > > > >> >> >> >> >> >above.  The other model behaviors of AD codecs are
> > unchanged at all.
> >
> > > > >> >> >> >
> > > > >> >> >> >Seen many ad1988 controls are missing ?
> > > > >> >> >> >
> > > > >> >> >> >1) rear Mic, line , front Mic  playback volume and switch
> > > > >> >> >> >2) CD playback switch
> > > > >> >> >> >3) input mix in input source
> > > > >> >> >> >4) analog loopback mix volume and mute switch
> >
> > > > But the number of controls is smaller than in linux stable 3.7.2. I
> > > > don't know if that's a regression.
> > >
> > >
> > > Unless you see *functional* degradation, it's no regression but
> > > regarded rather as a cleanup
> >
> > Refer to commit
> >
> >
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-unstable.git;a=commitdiff;h=f3fc0b0b1fe31e0ec9a72ab85b421e74c696f00d;hp=3a65bcdc577a338712c2eaefc194909de79d4982
> >
> > The Stereo Mix of those VIA codecs allow ADD capture  DAC signal
> >
> > ad1988 and those realtek codecs can select input source from the audio
> > mixer which can mix the input pins
> >
> > - snd_hda_add_imux_item(imux, "Mix", 9, NULL);
> >
> > Those  static models (3stack , 3stack-dig, 6stack and 6stack-dig )still
> > have the input source "mix"
> >
> > static const struct hda_input_mux ad1988_6stack_capture_source = {
> >         .num_items = 5,
> >        .items = {
> >                { "Front Mic", 0x1 },   /* port-B */
> >                 { "Line", 0x2 },        /* port-C */
> >                 { "Mic", 0x4 },         /* port-E */
> >                 { "CD", 0x5 },
> >                  { "Mix", 0x9 },
> >        },
> > };
>
> This can be added now by passing a hint "add_stereo_mix_input=true".
> Maybe it's better to enable it unconditionally for AD1988, as this
> codec is mostly used for desktops, not for laptops.  (On laptops with
> auto-mic switching, the driver doesn't want to have capture sources
> other than mics.)

When there is no DAC connected to aa-mix , it is just "Input Mix" instead
of "Stereo Mix"

Those "Stereo Mix" of conexant codecs used in notebook are disabled

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17  6:40                                       ` Raymond Yau
@ 2013-01-17  6:49                                         ` Takashi Iwai
  2013-01-17  8:10                                           ` Miro Hodak
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-17  6:49 UTC (permalink / raw)
  To: Raymond Yau; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

At Thu, 17 Jan 2013 14:40:16 +0800,
Raymond Yau wrote:
> 
> > >
> > > > > >> >> >> >> >> >Yes, testing the latest code with real machines is
> > > highly
> > > > > >> >> >> >> >> >appreciated.  Try sound-unstable git tree, either
> > > master or
> > > > > >> >> >> >> >> >test/hda-migrate branch.
> > > > > >> >> >> >> >> >  git://
> > > > > >> >> >> >
> > > git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> > > > > >> >> >> >> >> >
> > > > > >> >> >> >> >> >Alternatively you can build the external alsa-driver
> > > modules from
> > > > > >> >> >> >> >> >alsa-driver-unstable snapshot tarball, too
> > > > > >> >> >> >> >> >
> > > > > >> >> >> >> >
> > > > > >> >> >> >
> > >
> ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> > > > > >> >> >> >> >> >
> > > > > >> >> >> >> >> >Note that only the behavior of model=auto has been
> > > changed in the tree
> > > > > >> >> >> >> >> >above.  The other model behaviors of AD codecs are
> > > unchanged at all.
> > >
> > > > > >> >> >> >
> > > > > >> >> >> >Seen many ad1988 controls are missing ?
> > > > > >> >> >> >
> > > > > >> >> >> >1) rear Mic, line , front Mic  playback volume and switch
> > > > > >> >> >> >2) CD playback switch
> > > > > >> >> >> >3) input mix in input source
> > > > > >> >> >> >4) analog loopback mix volume and mute switch
> > >
> > > > > But the number of controls is smaller than in linux stable 3.7.2. I
> > > > > don't know if that's a regression.
> > > >
> > > >
> > > > Unless you see *functional* degradation, it's no regression but
> > > > regarded rather as a cleanup
> > >
> > > Refer to commit
> > >
> > >
> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-unstable.git;a=commitdiff;h=f3fc0b0b1fe31e0ec9a72ab85b421e74c696f00d;hp=3a65bcdc577a338712c2eaefc194909de79d4982
> > >
> > > The Stereo Mix of those VIA codecs allow ADD capture  DAC signal
> > >
> > > ad1988 and those realtek codecs can select input source from the audio
> > > mixer which can mix the input pins
> > >
> > > - snd_hda_add_imux_item(imux, "Mix", 9, NULL);
> > >
> > > Those  static models (3stack , 3stack-dig, 6stack and 6stack-dig )still
> > > have the input source "mix"
> > >
> > > static const struct hda_input_mux ad1988_6stack_capture_source = {
> > >         .num_items = 5,
> > >        .items = {
> > >                { "Front Mic", 0x1 },   /* port-B */
> > >                 { "Line", 0x2 },        /* port-C */
> > >                 { "Mic", 0x4 },         /* port-E */
> > >                 { "CD", 0x5 },
> > >                  { "Mix", 0x9 },
> > >        },
> > > };
> >
> > This can be added now by passing a hint "add_stereo_mix_input=true".
> > Maybe it's better to enable it unconditionally for AD1988, as this
> > codec is mostly used for desktops, not for laptops.  (On laptops with
> > auto-mic switching, the driver doesn't want to have capture sources
> > other than mics.)
> 
> When there is no DAC connected to aa-mix , it is just "Input Mix" instead
> of "Stereo Mix"

"Stereo" doesn't mean PCM.
Or maybe we just drop "Stereo" word there.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17  6:49                                         ` Takashi Iwai
@ 2013-01-17  8:10                                           ` Miro Hodak
  2013-01-17  9:04                                             ` Takashi Iwai
  2013-01-18  7:43                                             ` Raymond Yau
  0 siblings, 2 replies; 91+ messages in thread
From: Miro Hodak @ 2013-01-17  8:10 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

I was finally able to do some testing on my board (Asus Rampage II Gene).
Using latest sound-unstable I can confirm that the crashes in XFCE mixer
are gone. Also, labels in alsamixer make more sense now - I have microphone
plugged to the back and previously I had to enable Front Mic as an input
source to for the microphone to work. Now, it works over "Rear Mic" as
expected. Also, multistream playback works with "Independent HP" enabled.
And yes, less controls then before ... Overall, a big improvement.

My alsa-info can be found here: http://pastebin.com/RaxrnZKK

Should I try with branch 'test/hda-gen-parser'  (what is the difference,
BTW?)

Anything else to test?


When can we expect patches from sound-unstable to appear in main kernel?



Thanks,
Miro

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17  8:10                                           ` Miro Hodak
@ 2013-01-17  9:04                                             ` Takashi Iwai
  2013-01-17  9:24                                               ` Miro Hodak
  2013-01-18  7:43                                             ` Raymond Yau
  1 sibling, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-17  9:04 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Thu, 17 Jan 2013 03:10:04 -0500,
Miro Hodak wrote:
> 
> I was finally able to do some testing on my board (Asus Rampage II Gene).
> Using latest sound-unstable I can confirm that the crashes in XFCE mixer
> are gone. Also, labels in alsamixer make more sense now - I have microphone
> plugged to the back and previously I had to enable Front Mic as an input
> source to for the microphone to work. Now, it works over "Rear Mic" as
> expected. Also, multistream playback works with "Independent HP" enabled.
> And yes, less controls then before ... Overall, a big improvement.

Thanks for testing.  Good to know that it works for you.

> My alsa-info can be found here: http://pastebin.com/RaxrnZKK
> 
> Should I try with branch 'test/hda-gen-parser'  (what is the difference,
> BTW?)

No, it's not needed.  test/hda-gen-parser branch contains the
development of the generic parser and Realtek codec driver, but it
doesn't include the migration patches for other codec drivers to use
the generic parser.  So, on this branch, AD codec still uses the old
driver.

> Anything else to test?

That's enough so far.  Let us know if you find any regressions.

> When can we expect patches from sound-unstable to appear in main kernel?

Yes, the plan is to merge the stuff to 3.9 kernel.

But currently I'm not sure whether we can merge the whole patches.
It's a fairly big change, and we need a bit more test coverage for
codecs like Conexant, Cirrus and VIA.
But, judging from your test result, we can merge the Analog codec
patch, at least.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17  9:04                                             ` Takashi Iwai
@ 2013-01-17  9:24                                               ` Miro Hodak
  2013-01-17  9:29                                                 ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-17  9:24 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

On Thu, Jan 17, 2013 at 4:04 AM, Takashi Iwai <tiwai@suse.de> wrote:

>
> Yes, the plan is to merge the stuff to 3.9 kernel.
>
> But currently I'm not sure whether we can merge the whole patches.
> It's a fairly big change, and we need a bit more test coverage for
> codecs like Conexant, Cirrus and VIA.
> But, judging from your test result, we can merge the Analog codec
> patch, at least.
>
>
> thanks,
>
> Takashi
>

Meging the Analog codec soon will be certainly appreciated if it makes
sense for you.

Out of curiosity, with Indendent HP on, how can one send sound from, say,
vlc, to HP? Tried to google, but could not find the answer.

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17  9:24                                               ` Miro Hodak
@ 2013-01-17  9:29                                                 ` Takashi Iwai
  2013-01-17  9:42                                                   ` Miro Hodak
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-17  9:29 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Thu, 17 Jan 2013 04:24:44 -0500,
Miro Hodak wrote:
> 
> On Thu, Jan 17, 2013 at 4:04 AM, Takashi Iwai <tiwai@suse.de> wrote:
> 
> >
> > Yes, the plan is to merge the stuff to 3.9 kernel.
> >
> > But currently I'm not sure whether we can merge the whole patches.
> > It's a fairly big change, and we need a bit more test coverage for
> > codecs like Conexant, Cirrus and VIA.
> > But, judging from your test result, we can merge the Analog codec
> > patch, at least.
> >
> >
> > thanks,
> >
> > Takashi
> >
> 
> Meging the Analog codec soon will be certainly appreciated if it makes
> sense for you.
> 
> Out of curiosity, with Indendent HP on, how can one send sound from, say,
> vlc, to HP? Tried to google, but could not find the answer.

In the independent HP mode, it's output from the secondary analog PCM
(typically hw:2):

	% aplay -Dplughw:2 something.wav


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17  9:29                                                 ` Takashi Iwai
@ 2013-01-17  9:42                                                   ` Miro Hodak
  2013-01-17  9:55                                                     ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-17  9:42 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

On Thu, Jan 17, 2013 at 4:29 AM, Takashi Iwai <tiwai@suse.de> wrote:

>
>
>
> In the independent HP mode, it's output from the secondary analog PCM
> (typically hw:2):
>
>         % aplay -Dplughw:2 something.wav
>
>
> Takashi
>

hw:2 does not work, aplay complains (Invalid value for card). How to find
out what its called? Should I see the secondary analog PCM in alsamixer?

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17  9:42                                                   ` Miro Hodak
@ 2013-01-17  9:55                                                     ` Takashi Iwai
  2013-01-17 10:17                                                       ` Miro Hodak
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-17  9:55 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Thu, 17 Jan 2013 04:42:40 -0500,
Miro Hodak wrote:
> 
> [1  <text/plain; ISO-8859-1 (7bit)>]
> On Thu, Jan 17, 2013 at 4:29 AM, Takashi Iwai <tiwai@suse.de> wrote:
> 
> >
> >
> >
> > In the independent HP mode, it's output from the secondary analog PCM
> > (typically hw:2):
> >
> >         % aplay -Dplughw:2 something.wav
> >
> >
> > Takashi
> >
> 
> hw:2 does not work, aplay complains (Invalid value for card). How to find
> out what its called? Should I see the secondary analog PCM in alsamixer?

Did you try plughw:2?  Also, this stream is available only when
independent HP mode is enabled.  When disabled, PCM open returns
-EBUSY error.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17  9:55                                                     ` Takashi Iwai
@ 2013-01-17 10:17                                                       ` Miro Hodak
  2013-01-17 10:21                                                         ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-17 10:17 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

On Thu, Jan 17, 2013 at 4:55 AM, Takashi Iwai <tiwai@suse.de> wrote:

>
> Did you try plughw:2?  Also, this stream is available only when
> independent HP mode is enabled.  When disabled, PCM open returns
> -EBUSY error.
>
>
> Takashi
>
Do you mean plughw:0,2? Because that one works with aplayer (with
Independent HP enabled and Auto-Mute disabled).

Do other players (vlc, mplayer, etc.) support choice of PCM or are they
hardcoded to the primary one?

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17 10:17                                                       ` Miro Hodak
@ 2013-01-17 10:21                                                         ` Takashi Iwai
  2013-01-17 10:32                                                           ` Miro Hodak
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-17 10:21 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Thu, 17 Jan 2013 05:17:07 -0500,
Miro Hodak wrote:
> 
> [1  <text/plain; ISO-8859-1 (7bit)>]
> On Thu, Jan 17, 2013 at 4:55 AM, Takashi Iwai <tiwai@suse.de> wrote:
> 
> >
> > Did you try plughw:2?  Also, this stream is available only when
> > independent HP mode is enabled.  When disabled, PCM open returns
> > -EBUSY error.
> >
> >
> > Takashi
> >
> Do you mean plughw:0,2? Because that one works with aplayer (with
> Independent HP enabled and Auto-Mute disabled).

Damn, yes, of course, it's plughw:0,2.  Sorry for confusion.

> Do other players (vlc, mplayer, etc.) support choice of PCM or are they
> hardcoded to the primary one?

You should be able to pass via option or config.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17 10:21                                                         ` Takashi Iwai
@ 2013-01-17 10:32                                                           ` Miro Hodak
  2013-01-17 11:09                                                             ` Takashi Iwai
  2013-01-17 12:49                                                             ` Raymond Yau
  0 siblings, 2 replies; 91+ messages in thread
From: Miro Hodak @ 2013-01-17 10:32 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

On Thu, Jan 17, 2013 at 5:21 AM, Takashi Iwai <tiwai@suse.de> wrote:

> At Thu, 17 Jan 2013 05:17:07 -0500,
>
> Miro Hodak wrote:
> >
> > Do you mean plughw:0,2? Because that one works with aplayer (with
> > Independent HP enabled and Auto-Mute disabled).
>
> Damn, yes, of course, it's plughw:0,2.  Sorry for confusion.
>
> > Do other players (vlc, mplayer, etc.) support choice of PCM or are they
> > hardcoded to the primary one?
>
> You should be able to pass via option or config.
>


> Takashi
>

OK, now as far as Auto-Mute goes, should it do what expected when enabled -
i.e. muting the speakers when headphones are connected to the front panel?
I have tried that, does not seem to work.

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17 10:32                                                           ` Miro Hodak
@ 2013-01-17 11:09                                                             ` Takashi Iwai
  2013-01-17 12:49                                                             ` Raymond Yau
  1 sibling, 0 replies; 91+ messages in thread
From: Takashi Iwai @ 2013-01-17 11:09 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Thu, 17 Jan 2013 05:32:03 -0500,
Miro Hodak wrote:
> 
> On Thu, Jan 17, 2013 at 5:21 AM, Takashi Iwai <tiwai@suse.de> wrote:
> 
> > At Thu, 17 Jan 2013 05:17:07 -0500,
> >
> > Miro Hodak wrote:
> > >
> > > Do you mean plughw:0,2? Because that one works with aplayer (with
> > > Independent HP enabled and Auto-Mute disabled).
> >
> > Damn, yes, of course, it's plughw:0,2.  Sorry for confusion.
> >
> > > Do other players (vlc, mplayer, etc.) support choice of PCM or are they
> > > hardcoded to the primary one?
> >
> > You should be able to pass via option or config.
> >
> 
> 
> > Takashi
> >
> 
> OK, now as far as Auto-Mute goes, should it do what expected when enabled -
> i.e. muting the speakers when headphones are connected to the front panel?
> I have tried that, does not seem to work.

With independent HP mode on or off?
If the auto-muting the speaker doesn't work even with the indep HP
off, it's likely an issue of the unsolicited events.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17 10:32                                                           ` Miro Hodak
  2013-01-17 11:09                                                             ` Takashi Iwai
@ 2013-01-17 12:49                                                             ` Raymond Yau
  2013-01-17 14:59                                                               ` Miro Hodak
  1 sibling, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-17 12:49 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Takashi Iwai, basinilya, Manolo Díaz, alsa-devel

>
> OK, now as far as Auto-Mute goes, should it do what expected when enabled
- i.e. muting the speakers when headphones are connected to the front
panel? I have tried that, does not seem to work.
>

Do your computer chassis have a hda front audio panel with Jack detection ?

The front headphone Jack should return true when headphone Jack is plugged

control.35 {
iface CARD
name 'Front Headphone Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}

All ADI codecs support impedance measurement

Try the modified hda-jack-sense-test which need hda-analyzer

http://thread.gmane.org/gmane.linux.alsa.devel/90911/focus=91115

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17 12:49                                                             ` Raymond Yau
@ 2013-01-17 14:59                                                               ` Miro Hodak
  2013-01-17 15:29                                                                 ` Raymond Yau
  2013-01-17 15:32                                                                 ` HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Takashi Iwai
  0 siblings, 2 replies; 91+ messages in thread
From: Miro Hodak @ 2013-01-17 14:59 UTC (permalink / raw)
  To: Raymond Yau; +Cc: Takashi Iwai, basinilya, Manolo Díaz, alsa-devel

On Thu, Jan 17, 2013 at 7:49 AM, Raymond Yau <superquad.vortex2@gmail.com>wrote:

>
> >
> > OK, now as far as Auto-Mute goes, should it do what expected when
> enabled - i.e. muting the speakers when headphones are connected to the
> front panel? I have tried that, does not seem to work.
> >
>
> Do your computer chassis have a hda front audio panel with Jack detection ?
>
> The front headphone Jack should return true when headphone Jack is plugged
>
> control.35 {
> iface CARD
> name 'Front Headphone Jack'
>
> value false
> comment {
> access read
> type BOOLEAN
> count 1
> }
> }
>
> All ADI codecs support impedance measurement
>
> Try the modified hda-jack-sense-test which need hda-analyzer
>
> http://thread.gmane.org/gmane.linux.alsa.devel/90911/focus=91115
>

Hmmm, ran into some python issues. Even hda-analyzer itself is not working:
...
File "/dev/shm/hda-analyzer/hda_proc.py", line 143, in wrongfile
    raise ValueError, "wrong proc file format (%s)" % msg
ValueError: wrong proc file format (integer decode 'State of AFG node
0x01:' ('Node '))

Any ideas?

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17 14:59                                                               ` Miro Hodak
@ 2013-01-17 15:29                                                                 ` Raymond Yau
  2013-01-17 15:33                                                                   ` hda_analyzer (was: Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4) David Henningsson
  2013-01-17 15:32                                                                 ` HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Takashi Iwai
  1 sibling, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-17 15:29 UTC (permalink / raw)
  To: Miro Hodak, david.henningsson
  Cc: Takashi Iwai, basinilya, Manolo Díaz, alsa-devel

>> >
>> > OK, now as far as Auto-Mute goes, should it do what expected when
enabled - i.e. muting the speakers when headphones are connected to the
front panel? I have tried that, does not seem to work.
>> >
>>
>> Do your computer chassis have a hda front audio panel with Jack
detection ?
>>
>> The front headphone Jack should return true when headphone Jack is
plugged
>>
>> control.35 {
>> iface CARD
>> name 'Front Headphone Jack'
>>
>>
>> value false
>> comment {
>> access read
>> type BOOLEAN
>> count 1
>> }
>> }
>>
>> All ADI codecs support impedance measurement
>>
>> Try the modified hda-jack-sense-test which need hda-analyzer
>>
>> http://thread.gmane.org/gmane.linux.alsa.devel/90911/focus=91115
>
>
> Hmmm, ran into some python issues. Even hda-analyzer itself is not
working:
> ...
> File "/dev/shm/hda-analyzer/hda_proc.py", line 143, in wrongfile
>     raise ValueError, "wrong proc file format (%s)" % msg
> ValueError: wrong proc file format (integer decode 'State of AFG node
0x01:' ('Node '))
>
> Any ideas?

This patch add lines which make the parser of hda_proc.py fail

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=f4f0a8c4783a0258f2d0020a67fd619ce41a02a3;hp=e4cc6153401fc59d6d4ca0317be5774bdbd399ba

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17 14:59                                                               ` Miro Hodak
  2013-01-17 15:29                                                                 ` Raymond Yau
@ 2013-01-17 15:32                                                                 ` Takashi Iwai
  2013-01-17 18:12                                                                   ` Manolo Díaz
  1 sibling, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-17 15:32 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Thu, 17 Jan 2013 09:59:20 -0500,
Miro Hodak wrote:
> 
> On Thu, Jan 17, 2013 at 7:49 AM, Raymond Yau <superquad.vortex2@gmail.com>wrote:
> 
> >
> > >
> > > OK, now as far as Auto-Mute goes, should it do what expected when
> > enabled - i.e. muting the speakers when headphones are connected to the
> > front panel? I have tried that, does not seem to work.
> > >
> >
> > Do your computer chassis have a hda front audio panel with Jack detection ?
> >
> > The front headphone Jack should return true when headphone Jack is plugged
> >
> > control.35 {
> > iface CARD
> > name 'Front Headphone Jack'
> >
> > value false
> > comment {
> > access read
> > type BOOLEAN
> > count 1
> > }
> > }
> >
> > All ADI codecs support impedance measurement
> >
> > Try the modified hda-jack-sense-test which need hda-analyzer
> >
> > http://thread.gmane.org/gmane.linux.alsa.devel/90911/focus=91115
> >
> 
> Hmmm, ran into some python issues. Even hda-analyzer itself is not working:
> ...
> File "/dev/shm/hda-analyzer/hda_proc.py", line 143, in wrongfile
>     raise ValueError, "wrong proc file format (%s)" % msg
> ValueError: wrong proc file format (integer decode 'State of AFG node
> 0x01:' ('Node '))

Ah, it's a new proc file entry that has been added recently.
hda-analyzer needs to be fixed.

In anyway, only for checking the presence unsolicited events, you can
do without extra program.  Suppose you built your kernel with the
tracing support.  See "Tracepoints" option in
Documentation/sound/alsa/HD-Audio.txt.

  # echo 1 > /sys/kernel/debug/tracing/events/hda/hda_unsol_event/enable

  (plug and unplug your headphone jacks)

  # cat /sys/kernel/debug/tracing/trace

If you see some hda_unsol_event lines there, it implies that the jack
detection basically works in hardware level.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* hda_analyzer (was: Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4)
  2013-01-17 15:29                                                                 ` Raymond Yau
@ 2013-01-17 15:33                                                                   ` David Henningsson
  0 siblings, 0 replies; 91+ messages in thread
From: David Henningsson @ 2013-01-17 15:33 UTC (permalink / raw)
  To: Jaroslav Kysela
  Cc: alsa-devel, Manolo Díaz, Miro Hodak, Takashi Iwai,
	basinilya, Raymond Yau

On 01/17/2013 04:29 PM, Raymond Yau wrote:
>  > File "/dev/shm/hda-analyzer/hda_proc.py", line 143, in wrongfile
>  >     raise ValueError, "wrong proc file format (%s)" % msg
>  > ValueError: wrong proc file format (integer decode 'State of AFG node
> 0x01:' ('Node '))
>  >
>  > Any ideas?
>
> This patch add lines which make the parser of hda_proc.py fail
>
> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=f4f0a8c4783a0258f2d0020a67fd619ce41a02a3;hp=e4cc6153401fc59d6d4ca0317be5774bdbd399ba
>

Sigh, this is not the first time new stuff in the proc file crashes 
hda_analyzer.

Jaroslav, can you please fix hda_analyzer so that it ignores new stuff 
in the proc file instead of crashing, so we don't have this problem over 
and over again?

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17 15:32                                                                 ` HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Takashi Iwai
@ 2013-01-17 18:12                                                                   ` Manolo Díaz
  2013-01-17 19:51                                                                     ` Miro Hodak
  2013-01-17 20:16                                                                     ` HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Takashi Iwai
  0 siblings, 2 replies; 91+ messages in thread
From: Manolo Díaz @ 2013-01-17 18:12 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, alsa-devel, Miro Hodak

El jue, 17 ene 2013 a las 16:32 horas
Takashi Iwai escribió:

>At Thu, 17 Jan 2013 09:59:20 -0500,
>Miro Hodak wrote:
>> 
>> On Thu, Jan 17, 2013 at 7:49 AM, Raymond Yau <superquad.vortex2@gmail.com>wrote:
>> 
>> >
>> > >
>> > > OK, now as far as Auto-Mute goes, should it do what expected when
>> > enabled - i.e. muting the speakers when headphones are connected to the
>> > front panel? I have tried that, does not seem to work.
>> > >
>> >
>> > Do your computer chassis have a hda front audio panel with Jack detection ?
>> >
>> > The front headphone Jack should return true when headphone Jack is plugged
>> >
>> > control.35 {
>> > iface CARD
>> > name 'Front Headphone Jack'
>> >
>> > value false
>> > comment {
>> > access read
>> > type BOOLEAN
>> > count 1
>> > }
>> > }
>> >
>> > All ADI codecs support impedance measurement
>> >
>> > Try the modified hda-jack-sense-test which need hda-analyzer
>> >
>> > http://thread.gmane.org/gmane.linux.alsa.devel/90911/focus=91115
>> >
>> 
>> Hmmm, ran into some python issues. Even hda-analyzer itself is not working:
>> ...
>> File "/dev/shm/hda-analyzer/hda_proc.py", line 143, in wrongfile
>>     raise ValueError, "wrong proc file format (%s)" % msg
>> ValueError: wrong proc file format (integer decode 'State of AFG node
>> 0x01:' ('Node '))
>
>Ah, it's a new proc file entry that has been added recently.
>hda-analyzer needs to be fixed.
>
>In anyway, only for checking the presence unsolicited events, you can
>do without extra program.  Suppose you built your kernel with the
>tracing support.  See "Tracepoints" option in
>Documentation/sound/alsa/HD-Audio.txt.
>
>  # echo 1 > /sys/kernel/debug/tracing/events/hda/hda_unsol_event/enable
>
>  (plug and unplug your headphone jacks)
>
>  # cat /sys/kernel/debug/tracing/trace
>
>If you see some hda_unsol_event lines there, it implies that the jack
>detection basically works in hardware level.
>
>
>Takashi

I Suppose that when auto-mute is enabled an HP independent is disabled,
inserting the HP jack should disable sound from front speakers. If so
then auto-mute doesn't work. Jack insertion/extraction events are well
detected for front speakers and HP.

#~ cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 4/4   #P:2
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
          <idle>-0     [001] d.h.   137.881919: hda_unsol_event: [0] res=8000000, res_ex=10
          <idle>-0     [001] d.h.   162.511102: hda_unsol_event: [0] res=8000000, res_ex=10
          <idle>-0     [001] d.h.   246.529813: hda_unsol_event: [0] res=4000000, res_ex=10
          <idle>-0     [001] d.h.   272.381719: hda_unsol_event: [0] res=4000000, res_ex=10

branch tested: test/hda-gen-parser

commit 6f4c53a1467c51966e06a1d29c6f0fee85d5c6f6
Merge: 920544e 29476558
Author: Takashi Iwai <tiwai@suse.de>
Date:   Thu Jan 17 09:56:33 2013 +0100

Regards,
-- 
Manolo Díaz
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17 18:12                                                                   ` Manolo Díaz
@ 2013-01-17 19:51                                                                     ` Miro Hodak
  2013-01-17 21:12                                                                       ` ALSA versions versus kernel versions Daniel Griscom
  2013-01-17 20:16                                                                     ` HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Takashi Iwai
  1 sibling, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-17 19:51 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Takashi Iwai, Raymond Yau, basinilya, alsa-devel

> El jue, 17 ene 2013 a las 16:32 horas
> Takashi Iwai escribió:
> >
> >In anyway, only for checking the presence unsolicited events, you can
> >do without extra program.  Suppose you built your kernel with the
> >tracing support.  See "Tracepoints" option in
> >Documentation/sound/alsa/HD-Audio.txt.
> >
> >  # echo 1 > /sys/kernel/debug/tracing/events/hda/hda_unsol_event/enable
> >
> >  (plug and unplug your headphone jacks)
> >
> >  # cat /sys/kernel/debug/tracing/trace
> >
> >If you see some hda_unsol_event lines there, it implies that the jack
> >detection basically works in hardware level.
> >
> >
> >Takashi
>
>
> My test:

HP Independent disabled, Auto-Mute enabled. When plugging front headphones,
sound is in both devices. Yet tracing shows that  jack detection is being
picked up (one plug and unplug event):

miro2 miro # cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 2/2   #P:8
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
          <idle>-0     [000] d.h.   339.442694: hda_unsol_event: [0]
res=4000000, res_ex=10
          <idle>-0     [000] d.h.   345.727502: hda_unsol_event: [0]
res=4000000, res_ex=10


So, somehow auto-muting appears non-functional ...

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17 18:12                                                                   ` Manolo Díaz
  2013-01-17 19:51                                                                     ` Miro Hodak
@ 2013-01-17 20:16                                                                     ` Takashi Iwai
       [not found]                                                                       ` <20130117214043.5a1574ee@gmail.com>
  1 sibling, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-17 20:16 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, basinilya, alsa-devel, Miro Hodak

At Thu, 17 Jan 2013 19:12:24 +0100,
Manolo Díaz wrote:
> 
> El jue, 17 ene 2013 a las 16:32 horas
> Takashi Iwai escribió:
> 
> >At Thu, 17 Jan 2013 09:59:20 -0500,
> >Miro Hodak wrote:
> >> 
> >> On Thu, Jan 17, 2013 at 7:49 AM, Raymond Yau <superquad.vortex2@gmail.com>wrote:
> >> 
> >> >
> >> > >
> >> > > OK, now as far as Auto-Mute goes, should it do what expected when
> >> > enabled - i.e. muting the speakers when headphones are connected to the
> >> > front panel? I have tried that, does not seem to work.
> >> > >
> >> >
> >> > Do your computer chassis have a hda front audio panel with Jack detection ?
> >> >
> >> > The front headphone Jack should return true when headphone Jack is plugged
> >> >
> >> > control.35 {
> >> > iface CARD
> >> > name 'Front Headphone Jack'
> >> >
> >> > value false
> >> > comment {
> >> > access read
> >> > type BOOLEAN
> >> > count 1
> >> > }
> >> > }
> >> >
> >> > All ADI codecs support impedance measurement
> >> >
> >> > Try the modified hda-jack-sense-test which need hda-analyzer
> >> >
> >> > http://thread.gmane.org/gmane.linux.alsa.devel/90911/focus=91115
> >> >
> >> 
> >> Hmmm, ran into some python issues. Even hda-analyzer itself is not working:
> >> ...
> >> File "/dev/shm/hda-analyzer/hda_proc.py", line 143, in wrongfile
> >>     raise ValueError, "wrong proc file format (%s)" % msg
> >> ValueError: wrong proc file format (integer decode 'State of AFG node
> >> 0x01:' ('Node '))
> >
> >Ah, it's a new proc file entry that has been added recently.
> >hda-analyzer needs to be fixed.
> >
> >In anyway, only for checking the presence unsolicited events, you can
> >do without extra program.  Suppose you built your kernel with the
> >tracing support.  See "Tracepoints" option in
> >Documentation/sound/alsa/HD-Audio.txt.
> >
> >  # echo 1 > /sys/kernel/debug/tracing/events/hda/hda_unsol_event/enable
> >
> >  (plug and unplug your headphone jacks)
> >
> >  # cat /sys/kernel/debug/tracing/trace
> >
> >If you see some hda_unsol_event lines there, it implies that the jack
> >detection basically works in hardware level.
> >
> >
> >Takashi
> 
> I Suppose that when auto-mute is enabled an HP independent is disabled,
> inserting the HP jack should disable sound from front speakers. If so
> then auto-mute doesn't work. Jack insertion/extraction events are well
> detected for front speakers and HP.
> 
> #~ cat /sys/kernel/debug/tracing/trace
> # tracer: nop
> #
> # entries-in-buffer/entries-written: 4/4   #P:2
> #
> #                              _-----=> irqs-off
> #                             / _----=> need-resched
> #                            | / _---=> hardirq/softirq
> #                            || / _--=> preempt-depth
> #                            ||| /     delay
> #           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
> #              | |       |   ||||       |         |
>           <idle>-0     [001] d.h.   137.881919: hda_unsol_event: [0] res=8000000, res_ex=10
>           <idle>-0     [001] d.h.   162.511102: hda_unsol_event: [0] res=8000000, res_ex=10
>           <idle>-0     [001] d.h.   246.529813: hda_unsol_event: [0] res=4000000, res_ex=10
>           <idle>-0     [001] d.h.   272.381719: hda_unsol_event: [0] res=4000000, res_ex=10
> 
> branch tested: test/hda-gen-parser

Please test with either master or test/hda-migrate branch.
test/hda-gen-parser branch doesn't contain the patch for AD codecs.

In anyway, please attach alsa-info.sh outputs before and after
plugging the headphone with the latest sound-unstable tree (and a
proper branch).


thanks,

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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* ALSA versions versus kernel versions
  2013-01-17 19:51                                                                     ` Miro Hodak
@ 2013-01-17 21:12                                                                       ` Daniel Griscom
  0 siblings, 0 replies; 91+ messages in thread
From: Daniel Griscom @ 2013-01-17 21:12 UTC (permalink / raw)
  To: Alsa Developer

We're working to build a consistent Linux audio environment for our 
embedded audio product,with known versions of both ALSA and the 
kernel (we're specifically considering kernel 3.6.6). We are not 
clear, however, exactly what version of the ALSA kernel-space tools 
are included with the kernel, nor are we clear on exactly what each 
ALSA package is used for.

In order to simplify any responses, I'll give my best guess as to 
what's included in the kernel and each ALSA package: let me know 
where I went wrong.


So, am I right that...

- Kernel 3.6.6 includes exactly alsa-driver-1.0.25 (I'm actually 
guessing not, but let me know.)

- alsa-driver-1.0.25 is all included in the kernel release, and can be ignored

- alsa-lib is the user-space library that we complile our tools 
against, and that communicates with ALSA in the kernel through the 
device and /proc tree (required)

- alsa-utils are various generic ALSA command line tools, such as 
amixer, aplay, alsaconf, etc (required)

- alsa-tools are various more obscure tools and loaders (probably not required)

- alsa-firmware are binary drivers for various third-party products 
(probably not required)

- alsa-plugins are plugins for various ALSA needs (e.g. Jack) 
(probably not required)

- alsa-oss is the OSS compatibilty layer (not required)

- pyalsa is the Python bindings for ALSA (not required)


And, some final questions:

- What version of ALSA and the kernel are needed to fully support 
implicit feedback?

- Given our audio focus, what version kernel would you recommend?


Thanks,
Dan

-- 
Daniel T. Griscom             griscom@suitable.com
Suitable Systems              http://www.suitable.com/
1 Centre Street, Suite 204    (781) 665-0053
Wakefield, MA  01880-2400

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
       [not found]                                                                       ` <20130117214043.5a1574ee@gmail.com>
@ 2013-01-18  4:20                                                                         ` Miro Hodak
  2013-01-18  7:04                                                                         ` Takashi Iwai
  1 sibling, 0 replies; 91+ messages in thread
From: Miro Hodak @ 2013-01-18  4:20 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Takashi Iwai, Raymond Yau, basinilya, alsa-devel

On Thu, Jan 17, 2013 at 3:40 PM, Manolo Díaz <diaz.manolo@gmail.com> wrote:

>
> branch tested: master
>
> commit d89012bef4ad6d33c1050dd2924f010f5072ff52
> Merge: ad92fbe 36c9db7
> Author: Takashi Iwai <tiwai@suse.de>
> Date:   Thu Jan 17 17:47:19 2013 +0100
>
> Just the same: auto-mute doesn't work.
>
> alsa-info output show no differences (attached).
>
> Jack inserting event correctly detected again.
>
> #~ cat /sys/kernel/debug/tracing/trace
> # tracer: nop
> #
> # entries-in-buffer/entries-written: 1/1   #P:2
> #
> #                              _-----=> irqs-off
> #                             / _----=> need-resched
> #                            | / _---=> hardirq/softirq
> #                            || / _--=> preempt-depth
> #                            ||| /     delay
> #           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
> #              | |       |   ||||       |         |
>           <idle>-0     [001] d.h.   198.843063: hda_unsol_event: [0]
> res=4000000, res_ex=10
>
>
> Regards,
> --
> Manolo Díaz
>

Testing master branch, I got the similar results as Manolo

commit 920544e4bc95d5fb4465eb58e419a2c61074cd7e
Merge: 910fb91 ae12700
Author: Takashi Iwai <tiwai@suse.de>
Date:   Wed Jan 16 16:26:03 2013 +0100

# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 1/1   #P:8
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
          <idle>-0     [000] d.h.   341.307150: hda_unsol_event: [0]
res=4000000, res_ex=10

No difference in alsa-info before and after headphones are plugged in
(other than timestamp):
http://pastebin.com/J1PiRia8


Should I test with the test/hda-gen-parser branch?

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
       [not found]                                                                       ` <20130117214043.5a1574ee@gmail.com>
  2013-01-18  4:20                                                                         ` Miro Hodak
@ 2013-01-18  7:04                                                                         ` Takashi Iwai
  2013-01-18  7:31                                                                           ` Miro Hodak
  1 sibling, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-18  7:04 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, basinilya, alsa-devel, Miro Hodak

At Thu, 17 Jan 2013 21:40:43 +0100,
Manolo Díaz wrote:
> 
> El jue, 17 ene 2013 a las 21:16 horas
> Takashi Iwai escribió:
> 
> >At Thu, 17 Jan 2013 19:12:24 +0100,
> >Manolo Díaz wrote:
> >> 
> >> El jue, 17 ene 2013 a las 16:32 horas
> >> Takashi Iwai escribió:
> >> 
> >> >At Thu, 17 Jan 2013 09:59:20 -0500,
> >> >Miro Hodak wrote:
> >> >> 
> >> >> On Thu, Jan 17, 2013 at 7:49 AM, Raymond Yau <superquad.vortex2@gmail.com>wrote:
> >> >> 
> >> >> >
> >> >> > >
> >> >> > > OK, now as far as Auto-Mute goes, should it do what expected when
> >> >> > enabled - i.e. muting the speakers when headphones are connected to the
> >> >> > front panel? I have tried that, does not seem to work.
> >> >> > >
> >> >> >
> >> >> > Do your computer chassis have a hda front audio panel with Jack detection ?
> >> >> >
> >> >> > The front headphone Jack should return true when headphone Jack is plugged
> >> >> >
> >> >> > control.35 {
> >> >> > iface CARD
> >> >> > name 'Front Headphone Jack'
> >> >> >
> >> >> > value false
> >> >> > comment {
> >> >> > access read
> >> >> > type BOOLEAN
> >> >> > count 1
> >> >> > }
> >> >> > }
> >> >> >
> >> >> > All ADI codecs support impedance measurement
> >> >> >
> >> >> > Try the modified hda-jack-sense-test which need hda-analyzer
> >> >> >
> >> >> > http://thread.gmane.org/gmane.linux.alsa.devel/90911/focus=91115
> >> >> >
> >> >> 
> >> >> Hmmm, ran into some python issues. Even hda-analyzer itself is not working:
> >> >> ...
> >> >> File "/dev/shm/hda-analyzer/hda_proc.py", line 143, in wrongfile
> >> >>     raise ValueError, "wrong proc file format (%s)" % msg
> >> >> ValueError: wrong proc file format (integer decode 'State of AFG node
> >> >> 0x01:' ('Node '))
> >> >
> >> >Ah, it's a new proc file entry that has been added recently.
> >> >hda-analyzer needs to be fixed.
> >> >
> >> >In anyway, only for checking the presence unsolicited events, you can
> >> >do without extra program.  Suppose you built your kernel with the
> >> >tracing support.  See "Tracepoints" option in
> >> >Documentation/sound/alsa/HD-Audio.txt.
> >> >
> >> >  # echo 1 > /sys/kernel/debug/tracing/events/hda/hda_unsol_event/enable
> >> >
> >> >  (plug and unplug your headphone jacks)
> >> >
> >> >  # cat /sys/kernel/debug/tracing/trace
> >> >
> >> >If you see some hda_unsol_event lines there, it implies that the jack
> >> >detection basically works in hardware level.
> >> >
> >> >
> >> >Takashi
> >> 
> >> I Suppose that when auto-mute is enabled an HP independent is disabled,
> >> inserting the HP jack should disable sound from front speakers. If so
> >> then auto-mute doesn't work. Jack insertion/extraction events are well
> >> detected for front speakers and HP.
> >> 
> >> #~ cat /sys/kernel/debug/tracing/trace
> >> # tracer: nop
> >> #
> >> # entries-in-buffer/entries-written: 4/4   #P:2
> >> #
> >> #                              _-----=> irqs-off
> >> #                             / _----=> need-resched
> >> #                            | / _---=> hardirq/softirq
> >> #                            || / _--=> preempt-depth
> >> #                            ||| /     delay
> >> #           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
> >> #              | |       |   ||||       |         |
> >>           <idle>-0     [001] d.h.   137.881919: hda_unsol_event: [0] res=8000000, res_ex=10
> >>           <idle>-0     [001] d.h.   162.511102: hda_unsol_event: [0] res=8000000, res_ex=10
> >>           <idle>-0     [001] d.h.   246.529813: hda_unsol_event: [0] res=4000000, res_ex=10
> >>           <idle>-0     [001] d.h.   272.381719: hda_unsol_event: [0] res=4000000, res_ex=10
> >> 
> >> branch tested: test/hda-gen-parser
> >
> >Please test with either master or test/hda-migrate branch.
> >test/hda-gen-parser branch doesn't contain the patch for AD codecs.
> >
> >In anyway, please attach alsa-info.sh outputs before and after
> >plugging the headphone with the latest sound-unstable tree (and a
> >proper branch).
> >
> >
> >thanks,
> >
> >Takashi
> 
> branch tested: master
> 
> commit d89012bef4ad6d33c1050dd2924f010f5072ff52
> Merge: ad92fbe 36c9db7
> Author: Takashi Iwai <tiwai@suse.de>
> Date:   Thu Jan 17 17:47:19 2013 +0100
> 
> Just the same: auto-mute doesn't work.
> 
> alsa-info output show no differences (attached).

Thanks.  It turned out that simply missing unsol_event handlers in the
codec driver code.  The patch below should fix the issue.  It's
already merged in test/hda-migrate and master branches.


Takashi

---
From: Takashi Iwai <tiwai@suse.de>
Subject: [PATCH] ALSA: hda - Fix missing unsol event handler in some codec
 drivers

This resulted in non-working auto-mute behavior, of course...

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/pci/hda/patch_analog.c | 1 +
 sound/pci/hda/patch_ca0110.c | 1 +
 sound/pci/hda/patch_cmedia.c | 1 +
 3 files changed, 3 insertions(+)

diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 02fe0d1..6feaec4 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -595,6 +595,7 @@ static const struct hda_codec_ops ad198x_auto_patch_ops = {
 	.build_pcms = snd_hda_gen_build_pcms,
 	.init = snd_hda_gen_init,
 	.free = ad198x_free,
+	.unsol_event = snd_hda_jack_unsol_event,
 #ifdef CONFIG_PM
 	.check_power_status = snd_hda_gen_check_power_status,
 	.suspend = ad198x_suspend,
diff --git a/sound/pci/hda/patch_ca0110.c b/sound/pci/hda/patch_ca0110.c
index 8d09325..db7635c 100644
--- a/sound/pci/hda/patch_ca0110.c
+++ b/sound/pci/hda/patch_ca0110.c
@@ -36,6 +36,7 @@ static const struct hda_codec_ops ca0110_patch_ops = {
 	.build_pcms = snd_hda_gen_build_pcms,
 	.init = snd_hda_gen_init,
 	.free = snd_hda_gen_free,
+	.unsol_event = snd_hda_jack_unsol_event,
 };
 
 static int ca0110_parse_auto_config(struct hda_codec *codec)
diff --git a/sound/pci/hda/patch_cmedia.c b/sound/pci/hda/patch_cmedia.c
index 04dd3b6..087cabb 100644
--- a/sound/pci/hda/patch_cmedia.c
+++ b/sound/pci/hda/patch_cmedia.c
@@ -576,6 +576,7 @@ static const struct hda_codec_ops cmi_auto_patch_ops = {
 	.build_pcms = snd_hda_gen_build_pcms,
 	.init = snd_hda_gen_init,
 	.free = snd_hda_gen_free,
+	.unsol_event = snd_hda_jack_unsol_event,
 };
 
 static int cmi_parse_auto_config(struct hda_codec *codec)
-- 
1.8.1

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

^ permalink raw reply related	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18  7:04                                                                         ` Takashi Iwai
@ 2013-01-18  7:31                                                                           ` Miro Hodak
  2013-01-18  8:08                                                                             ` Manolo Díaz
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-18  7:31 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

On Fri, Jan 18, 2013 at 2:04 AM, Takashi Iwai <tiwai@suse.de> wrote:

>
> Thanks.  It turned out that simply missing unsol_event handlers in the
> codec driver code.  The patch below should fix the issue.  It's
> already merged in test/hda-migrate and master branches.
>
>
> Takashi
>
> ---
> From: Takashi Iwai <tiwai@suse.de>
> Subject: [PATCH] ALSA: hda - Fix missing unsol event handler in some codec
>  drivers
>
> This resulted in non-working auto-mute behavior, of course...
>
>
Tested and it works for me!

Thanks for great work.

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-17  8:10                                           ` Miro Hodak
  2013-01-17  9:04                                             ` Takashi Iwai
@ 2013-01-18  7:43                                             ` Raymond Yau
  1 sibling, 0 replies; 91+ messages in thread
From: Raymond Yau @ 2013-01-18  7:43 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Takashi Iwai, basinilya, Manolo Díaz, alsa-devel

>
> I was finally able to do some testing on my board (Asus Rampage II Gene).
Using latest sound-unstable I can confirm that the crashes in XFCE mixer
are gone. Also, labels in alsamixer make more sense now - I have microphone
plugged to the back and previously I had to enable Front Mic as an input
source to for the microphone to work. Now, it works over "Rear Mic" as
expected. Also, multistream playback works with "Independent HP" enabled.
And yes, less controls then before ... Overall, a big improvement.
>
> My alsa-info can be found here: http://pastebin.com/RaxrnZKK
>
> Should I try with branch 'test/hda-gen-parser'  (what is the difference,
BTW?)
>
> Anything else to test?

Does the Mic really work since missing boost control ?

         HDA_CODEC_VOLUME("Front Mic Boost Volume", 0x39, 0x0, HDA_OUTPUT),
       HDA_CODEC_VOLUME("Mic Boost Volume", 0x3c, 0x0, HDA_OUTPUT),

Take a diff of alsa-info the auto model and 6stack-dig

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18  7:31                                                                           ` Miro Hodak
@ 2013-01-18  8:08                                                                             ` Manolo Díaz
  2013-01-18  8:14                                                                               ` Miro Hodak
  0 siblings, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-18  8:08 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Takashi Iwai, Raymond Yau, basinilya, alsa-devel

El vie, 18 ene 2013 a las 2:31 horas
Miro Hodak escribió:

>On Fri, Jan 18, 2013 at 2:04 AM, Takashi Iwai <tiwai@suse.de> wrote:
>
>>
>> Thanks.  It turned out that simply missing unsol_event handlers in the
>> codec driver code.  The patch below should fix the issue.  It's
>> already merged in test/hda-migrate and master branches.
>>
>>
>> Takashi
>>
>> ---
>> From: Takashi Iwai <tiwai@suse.de>
>> Subject: [PATCH] ALSA: hda - Fix missing unsol event handler in some codec
>>  drivers
>>
>> This resulted in non-working auto-mute behavior, of course...
>>
>>
>Tested and it works for me!
>
>Thanks for great work.

I can confirm Miro's results: auto-mute now does work. But, as Raymond
says, Mic doesn't.

branch: master

commit 11ccc0c507c07cb3ac1e827a1eca0a2b8b708461
Merge: d89012b 8a6c21a
Author: Takashi Iwai <tiwai@suse.de>
Date:   Fri Jan 18 07:58:34 2013 +0100

Regards,
-- 
Manolo Díaz
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18  8:08                                                                             ` Manolo Díaz
@ 2013-01-18  8:14                                                                               ` Miro Hodak
  2013-01-18 10:17                                                                                 ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-18  8:14 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Takashi Iwai, Raymond Yau, basinilya, alsa-devel

On Fri, Jan 18, 2013 at 3:08 AM, Manolo Díaz <diaz.manolo@gmail.com> wrote:

>
> I can confirm Miro's results: auto-mute now does work. But, as Raymond
> says, Mic doesn't.
>
> branch: master
>
> commit 11ccc0c507c07cb3ac1e827a1eca0a2b8b708461
> Merge: d89012b 8a6c21a
> Author: Takashi Iwai <tiwai@suse.de>
> Date:   Fri Jan 18 07:58:34 2013 +0100
>
> Regards,
> --
> Manolo Díaz
>

It appears that the Mic is now labeled as a "Digital" capture device.
Increasing its volume (I had to at zero), I have a functional microphone.

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18  8:14                                                                               ` Miro Hodak
@ 2013-01-18 10:17                                                                                 ` Takashi Iwai
  2013-01-18 12:37                                                                                   ` Manolo Díaz
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-18 10:17 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Fri, 18 Jan 2013 03:14:19 -0500,
Miro Hodak wrote:
> 
> On Fri, Jan 18, 2013 at 3:08 AM, Manolo Díaz <diaz.manolo@gmail.com> wrote:
> 
> >
> > I can confirm Miro's results: auto-mute now does work. But, as Raymond
> > says, Mic doesn't.
> >
> > branch: master
> >
> > commit 11ccc0c507c07cb3ac1e827a1eca0a2b8b708461
> > Merge: d89012b 8a6c21a
> > Author: Takashi Iwai <tiwai@suse.de>
> > Date:   Fri Jan 18 07:58:34 2013 +0100
> >
> > Regards,
> > --
> > Manolo Díaz
> >
> 
> It appears that the Mic is now labeled as a "Digital" capture device.
> Increasing its volume (I had to at zero), I have a functional microphone.

It's just a workaround :)
The "Digital" capture thing is an implementation in alsa-lib, and it's
a digital gain.

Looking at the problem more deeply, I found a couple of underlying
problems, and now fixed in sound-unstable git tree.

The master branch is 77ecb70ef5b022a1ee80169583753d85d7a9c396,
and test/hda-migrate is 6f7c83afc6cc3f66d13e4ad0a0f5693d9175e1ab.

It might take a bit time until the tree is published on kernel.org
server.  If you still don't see the commit above, just wait for a
while and pull again.

(BTW, now I really migrate both test/hda-gen-parser and
 test/hda-migrate branches, so from now on, both branches point to the
 same code.)


thanks,

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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18 10:17                                                                                 ` Takashi Iwai
@ 2013-01-18 12:37                                                                                   ` Manolo Díaz
  2013-01-18 13:49                                                                                     ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-18 12:37 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, alsa-devel, Miro Hodak

[-- Attachment #1: Type: text/plain, Size: 1716 bytes --]

El vie, 18 ene 2013 a las 11:17 horas
Takashi Iwai escribió:

>At Fri, 18 Jan 2013 03:14:19 -0500,
>Miro Hodak wrote:
>> 
>> On Fri, Jan 18, 2013 at 3:08 AM, Manolo Díaz <diaz.manolo@gmail.com> wrote:
>> 
>> >
>> > I can confirm Miro's results: auto-mute now does work. But, as Raymond
>> > says, Mic doesn't.
>> >
>> > branch: master
>> >
>> > commit 11ccc0c507c07cb3ac1e827a1eca0a2b8b708461
>> > Merge: d89012b 8a6c21a
>> > Author: Takashi Iwai <tiwai@suse.de>
>> > Date:   Fri Jan 18 07:58:34 2013 +0100
>> >
>> > Regards,
>> > --
>> > Manolo Díaz
>> >
>> 
>> It appears that the Mic is now labeled as a "Digital" capture device.
>> Increasing its volume (I had to at zero), I have a functional microphone.
>
>It's just a workaround :)
>The "Digital" capture thing is an implementation in alsa-lib, and it's
>a digital gain.
>
>Looking at the problem more deeply, I found a couple of underlying
>problems, and now fixed in sound-unstable git tree.
>
>The master branch is 77ecb70ef5b022a1ee80169583753d85d7a9c396,
>and test/hda-migrate is 6f7c83afc6cc3f66d13e4ad0a0f5693d9175e1ab.
>
>It might take a bit time until the tree is published on kernel.org
>server.  If you still don't see the commit above, just wait for a
>while and pull again.
>
>(BTW, now I really migrate both test/hda-gen-parser and
> test/hda-migrate branches, so from now on, both branches point to the
> same code.)
>
>
>thanks,
>
>Takashi

Sorry, forgot to cc.

It's already in the repository. Now none of the input sources work for
me: front-mic, rear-mic nor input line. Alsa-info output is attached.

commit 77ecb70ef5b022a1ee80169583753d85d7a9c396

Regards,
-- 
Manolo Díaz

[-- Attachment #2: alsa-info.txt --]
[-- Type: text/plain, Size: 41136 bytes --]

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.61
!!################################

!!Script ran on: Fri Jan 18 12:02:49 UTC 2013


!!Linux Distribution
!!------------------

^[[0;32mDebian testing (Wheezy) ^[[0;31m\n. ^[[1;33m\l^[[0;32m PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/"


!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name
Product Version:   System Version
Firmware Version:  1801   


!!Kernel Information
!!------------------

Kernel release:    3.8.0-rc3+
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k3.8.0-rc3+
Library version:    1.0.25
Utilities version:  1.0.25


!!Loaded ALSA modules
!!-------------------



!!Sound Servers on this system
!!----------------------------

No sound servers found.


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe8f4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfe9ec000 irq 42


!!PCI Soundcards installed in the system
!!--------------------------------------

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV610 HDMI Audio [Radeon HD 2350/2400 Series]


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:14.2 0403: 1002:4383
	Subsystem: 1043:8288
--
01:00.1 0403: 1002:aa10
	Subsystem: 1043:aa10


!!Loaded sound module options
!!---------------------------


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Analog Devices AD1989B
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11d4989b
Subsystem Id: 0x10438311
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
    rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x30211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="AD1989B Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=2
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Converter: stream=7, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
  Delay: 3 samples
  Connection: 1
     0x1c
Node 0x08 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x09 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=2
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x0b [Audio Output] wcaps 0x30211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0x36 0x36]
  Connection: 11
     0x38 0x39 0x3a* 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0x36 0x36]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0x36 0x36]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0f [Audio Input] wcaps 0x100501: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x8f]
Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02214030: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x22
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Front Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x29
Node 0x13 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f]
  Pincap 0x00000010: OUT
  Pin Default 0x511711f0: [N/A] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x2d
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a1902e: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0xe
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=06, enabled=1
  Connection: 1
     0x2b
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Line Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01813021: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x2, Sequence = 0x1
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x2c
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Surround Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01011012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=03, enabled=1
  Connection: 1
     0x2a
Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19020: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=07, enabled=1
  Connection: 1
     0x26
Node 0x18 [Pin Complex] wcaps 0x400081: Stereo
  Control: name="CD Phantom Jack", index=0, device=0
  Pincap 0x00000024: IN Detect
  Pin Default 0x99331122: [Fixed] CD at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
Node 0x19 [Power Widget] wcaps 0x500500: Mono
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x20 0x21
Node 0x1a [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="SPDIF Phantom Jack", index=0, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97]
  Pincap 0x00000020: IN
  Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="HDMI Phantom Jack", index=1, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Other
    DefAssociation = 0xb, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0b
Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x36 0x21
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 8
     0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a
Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f 0x9f]
  Connection: 1
     0x20
Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x37 0x21
Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 18
     0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x20 0x21
Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Line Out CLFE Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Connection: 1
     0x27
Node 0x25 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Side Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Side Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01012014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x28
Node 0x26 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x32 0x21
Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x21
Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x0a 0x21
Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x21
Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x06 0x21
Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x30 0x21
Node 0x2c [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x31 0x21
Node 0x2d [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x1e
Node 0x2e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x2f [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 6
     0x11* 0x12 0x14 0x15 0x16 0x17
Node 0x30 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x31 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x04* 0x0a
Node 0x32 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x05* 0x04
Node 0x33 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3a* 0x25 0x24
Node 0x34 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3c* 0x25 0x24
Node 0x35 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x36 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x37 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x38 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x11
Node 0x39 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Front Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x03 0x03]
  Connection: 1
     0x14
Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x15
Node 0x3b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x3c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Rear Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x03 0x03]
  Connection: 1
     0x17
Node 0x3d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x12
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="ELD", index=0, device=3
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x02
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw---T 1 root audio 116,  7 Jan 18 12:52 /dev/snd/controlC0
crw-rw---T 1 root audio 116,  9 Jan 18 12:52 /dev/snd/controlC1
crw-rw---T 1 root audio 116,  6 Jan 18 12:52 /dev/snd/pcmC0D0c
crw-rw---T 1 root audio 116,  5 Jan 18 12:56 /dev/snd/pcmC0D0p
crw-rw---T 1 root audio 116,  4 Jan 18 12:52 /dev/snd/pcmC0D1p
crw-rw---T 1 root audio 116,  3 Jan 18 12:52 /dev/snd/pcmC0D2c
crw-rw---T 1 root audio 116,  2 Jan 18 12:59 /dev/snd/pcmC0D2p
crw-rw---T 1 root audio 116,  8 Jan 18 12:52 /dev/snd/pcmC1D3p
crw-rw---T 1 root audio 116,  1 Jan 18 12:52 /dev/snd/seq
crw-rw---T 1 root audio 116, 33 Jan 18 12:52 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Jan 18 12:52 .
drwxr-xr-x 3 root root 260 Jan 18 12:52 ..
lrwxrwxrwx 1 root root  12 Jan 18 12:52 pci-0000:00:14.2 -> ../controlC0
lrwxrwxrwx 1 root root  12 Jan 18 12:52 pci-0000:01:00.1 -> ../controlC1


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: AD1989B Digital [AD1989B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [SB]

Card hw:0 'SB'/'HDA ATI SB at 0xfe8f4000 irq 16'
  Mixer name	: 'Analog Devices AD1989B'
  Components	: 'HDA:11d4989b,10438311,00100300'
  Controls      : 51
  Simple ctrls  : 21
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 30 [77%] [-13.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [on]
  Front Right: Capture 54 [100%] [22.50dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [on]
  Front Right: Capture 54 [100%] [22.50dB] [on]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [on]
  Front Right: Capture 54 [100%] [22.50dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Line'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Line'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Line'
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]

!!-------Mixer controls for card 1 [HDMI]

Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 42'
  Mixer name	: 'ATI R6xx HDMI'
  Components	: 'HDA:1002aa01,00aa0100,00100000'
  Controls      : 7
  Simple ctrls  : 1
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]


!!Alsactl output
!!--------------

--startcollapse--
state.SB {
	control.1 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Center Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.6 {
		iface MIXER
		name 'LFE Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'Side Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.10 {
		iface MIXER
		name 'Side Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.12 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Independent HP'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.14 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.15 {
		iface MIXER
		name 'Input Source'
		value Line
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.16 {
		iface MIXER
		name 'Input Source'
		index 1
		value Line
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.17 {
		iface MIXER
		name 'Input Source'
		index 2
		value Line
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.18 {
		iface MIXER
		name 'Capture Volume'
		value.0 54
		value.1 54
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 2250
			dbvalue.1 2250
		}
	}
	control.19 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 54
		value.1 54
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 2250
			dbvalue.1 2250
		}
	}
	control.21 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Volume'
		index 2
		value.0 54
		value.1 54
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 2250
			dbvalue.1 2250
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Switch'
		index 2
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.24 {
		iface MIXER
		name 'Front Mic Boost Volume'
		value.0 3
		value.1 3
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.25 {
		iface MIXER
		name 'Rear Mic Boost Volume'
		value.0 3
		value.1 3
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.30 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface MIXER
		name 'Master Playback Volume'
		value 30
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -1350
		}
	}
	control.32 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface CARD
		name 'Line Out Front Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface CARD
		name 'Line Out Surround Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface CARD
		name 'Line Out CLFE Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface CARD
		name 'Line Out Side Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.37 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.38 {
		iface CARD
		name 'Front Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.39 {
		iface CARD
		name 'Rear Mic Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.40 {
		iface CARD
		name 'Line Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.41 {
		iface CARD
		name 'CD Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.42 {
		iface CARD
		name 'SPDIF Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.43 {
		iface CARD
		name 'HDMI Phantom Jack'
		index 1
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.44 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access read
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.45 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.46 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.47 {
		iface PCM
		device 2
		name 'Playback Channel Map'
		value.0 3
		value.1 4
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.48 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.49 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 1
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.50 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.51 {
		iface MIXER
		name 'Digital Capture Volume'
		value.0 120
		value.1 120
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 120'
			tlv '0000000100000008fffff44800000032'
			dbmin -3000
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
}
state.HDMI {
	control.1 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.7 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------



!!ALSA/HDA dmesg
!!--------------

[    1.861854] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[    1.864193] hda-intel 0000:00:14.2: Using LPIB position fix
[    1.870727] hda-intel 0000:00:14.2: Enable sync_write for stable communication
[    1.924340] usb 4-2: new low-speed USB device number 2 using ohci_hcd
--
[    2.091392] hid-generic 0003:15D9:0A4D.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:12.1-2/input0
[    2.237485] hda_codec: AD1989B: BIOS auto-probing.
[    2.240533] autoconfig: line_outs=4 (0x12/0x16/0x24/0x25/0x0) type:line
--
[    2.260728]      CD=0x18
[    2.283503] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input4
[    2.285828] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input5
[    2.288097] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input6
[    2.290351] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input7
[    2.292602] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input8
[    2.294846] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
[    2.297091] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[    2.299338] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
[    2.301836] hda-intel 0000:01:00.1: Using LPIB position fix
[    2.304082] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
[    2.307105] hda-intel 0000:01:00.1: Enable sync_write for stable communication
[    2.310712] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input12
[    2.313243] GACT probability NOT on
--
[    2.376380] powernow-k8: Found 1 AMD Athlon(tm) X2 Dual Core Processor BE-2350 (2 cpu cores) (version 2.20.00)
[    2.378393] ALSA device list:
[    2.380365]   #0: HDA ATI SB at 0xfe8f4000 irq 16
[    2.382343]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
[    2.384825] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities



[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18 12:37                                                                                   ` Manolo Díaz
@ 2013-01-18 13:49                                                                                     ` Takashi Iwai
  2013-01-18 14:49                                                                                       ` Raymond Yau
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-18 13:49 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, basinilya, alsa-devel, Miro Hodak

At Fri, 18 Jan 2013 13:37:53 +0100,
Manolo Díaz wrote:
> 
> El vie, 18 ene 2013 a las 11:17 horas
> Takashi Iwai escribió:
> 
> >At Fri, 18 Jan 2013 03:14:19 -0500,
> >Miro Hodak wrote:
> >> 
> >> On Fri, Jan 18, 2013 at 3:08 AM, Manolo Díaz <diaz.manolo@gmail.com> wrote:
> >> 
> >> >
> >> > I can confirm Miro's results: auto-mute now does work. But, as Raymond
> >> > says, Mic doesn't.
> >> >
> >> > branch: master
> >> >
> >> > commit 11ccc0c507c07cb3ac1e827a1eca0a2b8b708461
> >> > Merge: d89012b 8a6c21a
> >> > Author: Takashi Iwai <tiwai@suse.de>
> >> > Date:   Fri Jan 18 07:58:34 2013 +0100
> >> >
> >> > Regards,
> >> > --
> >> > Manolo Díaz
> >> >
> >> 
> >> It appears that the Mic is now labeled as a "Digital" capture device.
> >> Increasing its volume (I had to at zero), I have a functional microphone.
> >
> >It's just a workaround :)
> >The "Digital" capture thing is an implementation in alsa-lib, and it's
> >a digital gain.
> >
> >Looking at the problem more deeply, I found a couple of underlying
> >problems, and now fixed in sound-unstable git tree.
> >
> >The master branch is 77ecb70ef5b022a1ee80169583753d85d7a9c396,
> >and test/hda-migrate is 6f7c83afc6cc3f66d13e4ad0a0f5693d9175e1ab.
> >
> >It might take a bit time until the tree is published on kernel.org
> >server.  If you still don't see the commit above, just wait for a
> >while and pull again.
> >
> >(BTW, now I really migrate both test/hda-gen-parser and
> > test/hda-migrate branches, so from now on, both branches point to the
> > same code.)
> >
> >
> >thanks,
> >
> >Takashi
> 
> Sorry, forgot to cc.
> 
> It's already in the repository. Now none of the input sources work for
> me: front-mic, rear-mic nor input line. Alsa-info output is attached.
> 
> commit 77ecb70ef5b022a1ee80169583753d85d7a9c396

Hmm, through a quick glance, all look OK.

Could you verify whether the command below really doesn't work for all
inputs?

	% arecord -fdat -Dplughw:0 -vv foo.wav


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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18 13:49                                                                                     ` Takashi Iwai
@ 2013-01-18 14:49                                                                                       ` Raymond Yau
  2013-01-18 15:30                                                                                         ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-18 14:49 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

> > It's already in the repository. Now none of the input sources work for
> > me: front-mic, rear-mic nor input line. Alsa-info output is attached.
> >
> > commit 77ecb70ef5b022a1ee80169583753d85d7a9c396
>
> Hmm, through a quick glance, all look OK.
>

It is strange that three input source are line but audio selector are not
the same

Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Line'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Line'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Line'

Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0x36 0x36]
  Connection: 11
     0x38 0x39 0x3a* 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0x36 0x36]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0x36 0x36]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18 14:49                                                                                       ` Raymond Yau
@ 2013-01-18 15:30                                                                                         ` Takashi Iwai
  2013-01-18 16:48                                                                                           ` Manolo Díaz
  2013-01-19  2:39                                                                                           ` Raymond Yau
  0 siblings, 2 replies; 91+ messages in thread
From: Takashi Iwai @ 2013-01-18 15:30 UTC (permalink / raw)
  To: Raymond Yau; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

At Fri, 18 Jan 2013 22:49:37 +0800,
Raymond Yau wrote:
> 
> > > It's already in the repository. Now none of the input sources work for
> > > me: front-mic, rear-mic nor input line. Alsa-info output is attached.
> > >
> > > commit 77ecb70ef5b022a1ee80169583753d85d7a9c396
> >
> > Hmm, through a quick glance, all look OK.
> >
> 
> It is strange that three input source are line but audio selector are not
> the same
> 
> Simple mixer control 'Input Source',0
>   Capabilities: cenum
>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>   Item0: 'Line'
> Simple mixer control 'Input Source',1
>   Capabilities: cenum
>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>   Item0: 'Line'
> Simple mixer control 'Input Source',2
>   Capabilities: cenum
>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>   Item0: 'Line'
> 
> Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Control: name="Capture Volume", index=0, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Control: name="Capture Switch", index=0, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x36 0x36]
>   Connection: 11
>      0x38 0x39 0x3a* 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
> Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Control: name="Capture Volume", index=1, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Control: name="Capture Switch", index=1, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x36 0x36]
>   Connection: 10
>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
> Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Control: name="Capture Volume", index=2, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Control: name="Capture Switch", index=2, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x36 0x36]
>   Connection: 10
>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20

Good catch.  It's a recent regression.
I fixed now with the patch below.

test/hda-gen-parser and master branches are updated now with this and
other fixes.


thanks,

Takashi

---
From: Takashi Iwai <tiwai@suse.de>
Subject: [PATCH] ALSA: hda - Fix the wrong adc_idx for capture source

The patch "ALSA: hda - fix wrong adc_idx in generic parser" fixed the
adc_idx for the capture volume and capture switch controls.  But also
modified the adc_idx retrieval for the capture source controls
wrongly.  As multiple capture source controls are created in a single
shot with counts > 1, the id.index doesn't contain the real value.
The real index has to be taken via snd_ctl_get_ioffidx() as in the
original code.

This patch reverts the fixes partially to recover from the
regression.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/pci/hda/hda_generic.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index e4e71fa..29f37c9 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -2675,7 +2675,8 @@ static int mux_enum_get(struct snd_kcontrol *kcontrol,
 {
 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
 	struct hda_gen_spec *spec = codec->spec;
-	unsigned int adc_idx = kcontrol->id.index;
+	/* the ctls are created at once with multiple counts */
+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
 
 	ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx];
 	return 0;
@@ -2685,7 +2686,7 @@ static int mux_enum_put(struct snd_kcontrol *kcontrol,
 			    struct snd_ctl_elem_value *ucontrol)
 {
 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
-	unsigned int adc_idx = kcontrol->id.index;
+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
 	return mux_select(codec, adc_idx,
 			  ucontrol->value.enumerated.item[0]);
 }
-- 
1.8.1

^ permalink raw reply related	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18 15:30                                                                                         ` Takashi Iwai
@ 2013-01-18 16:48                                                                                           ` Manolo Díaz
  2013-01-18 16:58                                                                                             ` Takashi Iwai
  2013-01-19  2:39                                                                                           ` Raymond Yau
  1 sibling, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-18 16:48 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, alsa-devel, Miro Hodak

[-- Attachment #1: Type: text/plain, Size: 5265 bytes --]

El vie, 18 ene 2013 a las 16:30 horas
Takashi Iwai escribió:

>At Fri, 18 Jan 2013 22:49:37 +0800,
>Raymond Yau wrote:
>> 
>> > > It's already in the repository. Now none of the input sources work for
>> > > me: front-mic, rear-mic nor input line. Alsa-info output is attached.
>> > >
>> > > commit 77ecb70ef5b022a1ee80169583753d85d7a9c396
>> >
>> > Hmm, through a quick glance, all look OK.
>> >
>> 
>> It is strange that three input source are line but audio selector are not
>> the same
>> 
>> Simple mixer control 'Input Source',0
>>   Capabilities: cenum
>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>   Item0: 'Line'
>> Simple mixer control 'Input Source',1
>>   Capabilities: cenum
>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>   Item0: 'Line'
>> Simple mixer control 'Input Source',2
>>   Capabilities: cenum
>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>   Item0: 'Line'
>> 
>> Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>>   Control: name="Capture Volume", index=0, device=0
>>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>   Control: name="Capture Switch", index=0, device=0
>>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>>   Amp-Out vals:  [0x36 0x36]
>>   Connection: 11
>>      0x38 0x39 0x3a* 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
>> Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>>   Control: name="Capture Volume", index=1, device=0
>>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>   Control: name="Capture Switch", index=1, device=0
>>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>>   Amp-Out vals:  [0x36 0x36]
>>   Connection: 10
>>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
>> Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>>   Control: name="Capture Volume", index=2, device=0
>>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>   Control: name="Capture Switch", index=2, device=0
>>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>>   Amp-Out vals:  [0x36 0x36]
>>   Connection: 10
>>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
>
>Good catch.  It's a recent regression.
>I fixed now with the patch below.
>
>test/hda-gen-parser and master branches are updated now with this and
>other fixes.
>
>
>thanks,
>
>Takashi
>
>---
>From: Takashi Iwai <tiwai@suse.de>
>Subject: [PATCH] ALSA: hda - Fix the wrong adc_idx for capture source
>
>The patch "ALSA: hda - fix wrong adc_idx in generic parser" fixed the
>adc_idx for the capture volume and capture switch controls.  But also
>modified the adc_idx retrieval for the capture source controls
>wrongly.  As multiple capture source controls are created in a single
>shot with counts > 1, the id.index doesn't contain the real value.
>The real index has to be taken via snd_ctl_get_ioffidx() as in the
>original code.
>
>This patch reverts the fixes partially to recover from the
>regression.
>
>Signed-off-by: Takashi Iwai <tiwai@suse.de>
>---
> sound/pci/hda/hda_generic.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
>diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
>index e4e71fa..29f37c9 100644
>--- a/sound/pci/hda/hda_generic.c
>+++ b/sound/pci/hda/hda_generic.c
>@@ -2675,7 +2675,8 @@ static int mux_enum_get(struct snd_kcontrol *kcontrol,
> {
> 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
> 	struct hda_gen_spec *spec = codec->spec;
>-	unsigned int adc_idx = kcontrol->id.index;
>+	/* the ctls are created at once with multiple counts */
>+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
> 
> 	ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx];
> 	return 0;
>@@ -2685,7 +2686,7 @@ static int mux_enum_put(struct snd_kcontrol *kcontrol,
> 			    struct snd_ctl_elem_value *ucontrol)
> {
> 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
>-	unsigned int adc_idx = kcontrol->id.index;
>+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
> 	return mux_select(codec, adc_idx,
> 			  ucontrol->value.enumerated.item[0]);
> }

The problem persists after commit d821c1ef2c8ada02f1feada071a37ced69b300fe,
master branch

arecord -fdat -Dplughw:0 -vv foo.wav
Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Plug PCM: Hardware PCM card 0 'HDA ATI SB' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 24064
  period_size  : 6016
  period_time  : 125333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 6016
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 24064
  silence_threshold: 0
  silence_size : 0
  boundary     : 6773413839565225984
  appl_ptr     : 0
  hw_ptr       : 0
##### +                                            | 10%^C

Playing the foo.wav file I can only hear noise.

Regards,
-- 
Manolo Díaz

[-- Attachment #2: alsa-info.txt --]
[-- Type: text/plain, Size: 41661 bytes --]

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.61
!!################################

!!Script ran on: Fri Jan 18 16:40:00 UTC 2013


!!Linux Distribution
!!------------------

^[[0;32mDebian testing (Wheezy) ^[[0;31m\n. ^[[1;33m\l^[[0;32m PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/"


!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name
Product Version:   System Version
Firmware Version:  1801   


!!Kernel Information
!!------------------

Kernel release:    3.8.0-rc3+
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k3.8.0-rc3+
Library version:    1.0.25
Utilities version:  1.0.25


!!Loaded ALSA modules
!!-------------------



!!Sound Servers on this system
!!----------------------------

No sound servers found.


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe8f4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfe9ec000 irq 42


!!PCI Soundcards installed in the system
!!--------------------------------------

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV610 HDMI Audio [Radeon HD 2350/2400 Series]


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:14.2 0403: 1002:4383
	Subsystem: 1043:8288
--
01:00.1 0403: 1002:aa10
	Subsystem: 1043:aa10


!!Loaded sound module options
!!---------------------------


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Analog Devices AD1989B
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11d4989b
Subsystem Id: 0x10438311
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
    rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x30211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="AD1989B Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=2
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1d 0x1d]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="AD1989B Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1d 0x1d]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1d 0x1d]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1d 0x1d]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
  Delay: 3 samples
  Connection: 1
     0x1c
Node 0x08 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x09 [Audio Input] wcaps 0x100501: Stereo
  Device: name="AD1989B Analog", type="Audio", device=2
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1d 0x1d]
  Converter: stream=0, channel=0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x0b [Audio Output] wcaps 0x30211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 3 samples
Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0x36 0x36]
  Connection: 11
     0x38 0x39 0x3a* 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0x36 0x36]
  Connection: 10
     0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Capture Volume", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=2, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
  Amp-Out vals:  [0x36 0x36]
  Connection: 10
     0x38 0x39 0x3a 0x3b 0x3c* 0x18 0x24 0x25 0x3d 0x20
Node 0x0f [Audio Input] wcaps 0x100501: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x8f]
Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02214030: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x22
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Front Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x29
Node 0x13 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f]
  Pincap 0x00000010: OUT
  Pin Default 0x511711f0: [N/A] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x2d
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a1902e: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0xe
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=06, enabled=1
  Connection: 1
     0x2b
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Line Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01813021: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x2, Sequence = 0x1
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x2c
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Surround Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01011012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=03, enabled=1
  Connection: 1
     0x2a
Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19020: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=07, enabled=1
  Connection: 1
     0x26
Node 0x18 [Pin Complex] wcaps 0x400081: Stereo
  Control: name="CD Phantom Jack", index=0, device=0
  Pincap 0x00000024: IN Detect
  Pin Default 0x99331122: [Fixed] CD at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
Node 0x19 [Power Widget] wcaps 0x500500: Mono
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x20 0x21
Node 0x1a [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x911711f0: [Fixed] Speaker at Int Rear
    Conn = Analog, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="SPDIF Phantom Jack", index=0, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97]
  Pincap 0x00000020: IN
  Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear
    Conn = Optical, Color = Other
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
  Control: name="HDMI Phantom Jack", index=0, device=0
  Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
  Amp-Out vals:  [0x27 0x27]
  Pincap 0x00000010: OUT
  Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Other
    DefAssociation = 0xb, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0b
Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x36 0x21
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 8
     0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a
Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f 0x9f]
  Connection: 1
     0x20
Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x37 0x21
Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 18
     0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x20 0x21
Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Line Out CLFE Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Connection: 1
     0x27
Node 0x25 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Side Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Side Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01012014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x28
Node 0x26 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x32 0x21
Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x21
Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x0a 0x21
Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x21
Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x06 0x21
Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x30 0x21
Node 0x2c [Audio Mixer] wcaps 0x200103: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x31 0x21
Node 0x2d [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x1e
Node 0x2e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x2f [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 6
     0x11* 0x12 0x14 0x15 0x16 0x17
Node 0x30 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x31 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x04* 0x0a
Node 0x32 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x05* 0x04
Node 0x33 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3a* 0x25 0x24
Node 0x34 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x3c* 0x25 0x24
Node 0x35 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x36 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x37 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x03* 0x04 0x06
Node 0x38 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x11
Node 0x39 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Front Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x03 0x03]
  Connection: 1
     0x14
Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Line Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x03 0x03]
  Connection: 1
     0x15
Node 0x3b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x3c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Rear Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x03 0x03]
  Connection: 1
     0x17
Node 0x3d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x12
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="ELD", index=0, device=3
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x02
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw---T 1 root audio 116,  7 Jan 18 17:13 /dev/snd/controlC0
crw-rw---T 1 root audio 116,  9 Jan 18 17:13 /dev/snd/controlC1
crw-rw---T 1 root audio 116,  6 Jan 18 17:38 /dev/snd/pcmC0D0c
crw-rw---T 1 root audio 116,  5 Jan 18 17:38 /dev/snd/pcmC0D0p
crw-rw---T 1 root audio 116,  4 Jan 18 17:13 /dev/snd/pcmC0D1p
crw-rw---T 1 root audio 116,  3 Jan 18 17:13 /dev/snd/pcmC0D2c
crw-rw---T 1 root audio 116,  2 Jan 18 17:13 /dev/snd/pcmC0D2p
crw-rw---T 1 root audio 116,  8 Jan 18 17:13 /dev/snd/pcmC1D3p
crw-rw---T 1 root audio 116,  1 Jan 18 17:13 /dev/snd/seq
crw-rw---T 1 root audio 116, 33 Jan 18 17:13 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Jan 18 17:13 .
drwxr-xr-x 3 root root 260 Jan 18 17:13 ..
lrwxrwxrwx 1 root root  12 Jan 18 17:13 pci-0000:00:14.2 -> ../controlC0
lrwxrwxrwx 1 root root  12 Jan 18 17:13 pci-0000:01:00.1 -> ../controlC1


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: AD1989B Digital [AD1989B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [SB]

Card hw:0 'SB'/'HDA ATI SB at 0xfe8f4000 irq 16'
  Mixer name	: 'Analog Devices AD1989B'
  Components	: 'HDA:11d4989b,10438311,00100300'
  Controls      : 52
  Simple ctrls  : 22
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 29 [74%] [-15.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Line Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [on]
  Front Right: Capture 54 [100%] [22.50dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [on]
  Front Right: Capture 54 [100%] [22.50dB] [on]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [on]
  Front Right: Capture 54 [100%] [22.50dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Line'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Rear Mic'
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]

!!-------Mixer controls for card 1 [HDMI]

Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 42'
  Mixer name	: 'ATI R6xx HDMI'
  Components	: 'HDA:1002aa01,00aa0100,00100000'
  Controls      : 7
  Simple ctrls  : 1
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]


!!Alsactl output
!!--------------

--startcollapse--
state.SB {
	control.1 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Center Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.6 {
		iface MIXER
		name 'LFE Playback Volume'
		value 39
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'Side Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.10 {
		iface MIXER
		name 'Side Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 39
		value.1 39
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.12 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Independent HP'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.14 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.15 {
		iface MIXER
		name 'Input Source'
		value Line
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.16 {
		iface MIXER
		name 'Input Source'
		index 1
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.17 {
		iface MIXER
		name 'Input Source'
		index 2
		value 'Rear Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
			item.3 CD
		}
	}
	control.18 {
		iface MIXER
		name 'Capture Volume'
		value.0 54
		value.1 54
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 2250
			dbvalue.1 2250
		}
	}
	control.19 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 54
		value.1 54
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 2250
			dbvalue.1 2250
		}
	}
	control.21 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Volume'
		index 2
		value.0 54
		value.1 54
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 54'
			dbmin -5850
			dbmax 2250
			dbvalue.0 2250
			dbvalue.1 2250
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Switch'
		index 2
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.24 {
		iface MIXER
		name 'Front Mic Boost Volume'
		value.0 3
		value.1 3
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.25 {
		iface MIXER
		name 'Rear Mic Boost Volume'
		value.0 3
		value.1 3
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.26 {
		iface MIXER
		name 'Line Boost Volume'
		value.0 3
		value.1 3
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.30 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface MIXER
		name 'Master Playback Volume'
		value 29
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 39'
			dbmin -5850
			dbmax 0
			dbvalue.0 -1500
		}
	}
	control.33 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface CARD
		name 'Line Out Front Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface CARD
		name 'Line Out Surround Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface CARD
		name 'Line Out CLFE Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.37 {
		iface CARD
		name 'Line Out Side Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.38 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.39 {
		iface CARD
		name 'Front Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.40 {
		iface CARD
		name 'Rear Mic Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.41 {
		iface CARD
		name 'Line Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.42 {
		iface CARD
		name 'CD Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.43 {
		iface CARD
		name 'SPDIF Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.44 {
		iface CARD
		name 'HDMI Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.45 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access read
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.46 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.47 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.48 {
		iface PCM
		device 2
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.49 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.50 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 1
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.51 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.52 {
		iface MIXER
		name 'Digital Capture Volume'
		value.0 120
		value.1 120
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 120'
			tlv '0000000100000008fffff44800000032'
			dbmin -3000
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
}
state.HDMI {
	control.1 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.7 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------



!!ALSA/HDA dmesg
!!--------------

[    1.875989] usbhid: USB HID core driver
[    1.878268] hda-intel 0000:00:14.2: Using LPIB position fix
[    1.884842] hda-intel 0000:00:14.2: Enable sync_write for stable communication
[    1.938340] usb 4-2: new low-speed USB device number 2 using ohci_hcd
--
[    2.105397] hid-generic 0003:15D9:0A4D.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:12.1-2/input0
[    2.251496] hda_codec: AD1989B: BIOS auto-probing.
[    2.254536] autoconfig: line_outs=4 (0x12/0x16/0x24/0x25/0x0) type:line
--
[    2.274758]      CD=0x18
[    2.297532] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input4
[    2.299858] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input5
[    2.302130] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input6
[    2.304391] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input7
[    2.306639] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input8
[    2.308887] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
[    2.311129] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[    2.313377] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
[    2.315876] hda-intel 0000:01:00.1: Using LPIB position fix
[    2.318125] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
[    2.321107] hda-intel 0000:01:00.1: Enable sync_write for stable communication
[    2.324710] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input12
[    2.327242] GACT probability NOT on
--
[    2.390476] powernow-k8: Found 1 AMD Athlon(tm) X2 Dual Core Processor BE-2350 (2 cpu cores) (version 2.20.00)
[    2.392497] ALSA device list:
[    2.394475]   #0: HDA ATI SB at 0xfe8f4000 irq 16
[    2.396437]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
[    2.398876] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities



[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18 16:48                                                                                           ` Manolo Díaz
@ 2013-01-18 16:58                                                                                             ` Takashi Iwai
  2013-01-18 17:51                                                                                               ` Manolo Díaz
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-18 16:58 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, basinilya, alsa-devel, Miro Hodak

At Fri, 18 Jan 2013 17:48:23 +0100,
Manolo Díaz wrote:
> 
> El vie, 18 ene 2013 a las 16:30 horas
> Takashi Iwai escribió:
> 
> >At Fri, 18 Jan 2013 22:49:37 +0800,
> >Raymond Yau wrote:
> >> 
> >> > > It's already in the repository. Now none of the input sources work for
> >> > > me: front-mic, rear-mic nor input line. Alsa-info output is attached.
> >> > >
> >> > > commit 77ecb70ef5b022a1ee80169583753d85d7a9c396
> >> >
> >> > Hmm, through a quick glance, all look OK.
> >> >
> >> 
> >> It is strange that three input source are line but audio selector are not
> >> the same
> >> 
> >> Simple mixer control 'Input Source',0
> >>   Capabilities: cenum
> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >>   Item0: 'Line'
> >> Simple mixer control 'Input Source',1
> >>   Capabilities: cenum
> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >>   Item0: 'Line'
> >> Simple mixer control 'Input Source',2
> >>   Capabilities: cenum
> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >>   Item0: 'Line'
> >> 
> >> Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> >>   Control: name="Capture Volume", index=0, device=0
> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>   Control: name="Capture Switch", index=0, device=0
> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> >>   Amp-Out vals:  [0x36 0x36]
> >>   Connection: 11
> >>      0x38 0x39 0x3a* 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
> >> Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> >>   Control: name="Capture Volume", index=1, device=0
> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>   Control: name="Capture Switch", index=1, device=0
> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> >>   Amp-Out vals:  [0x36 0x36]
> >>   Connection: 10
> >>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
> >> Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> >>   Control: name="Capture Volume", index=2, device=0
> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>   Control: name="Capture Switch", index=2, device=0
> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> >>   Amp-Out vals:  [0x36 0x36]
> >>   Connection: 10
> >>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
> >
> >Good catch.  It's a recent regression.
> >I fixed now with the patch below.
> >
> >test/hda-gen-parser and master branches are updated now with this and
> >other fixes.
> >
> >
> >thanks,
> >
> >Takashi
> >
> >---
> >From: Takashi Iwai <tiwai@suse.de>
> >Subject: [PATCH] ALSA: hda - Fix the wrong adc_idx for capture source
> >
> >The patch "ALSA: hda - fix wrong adc_idx in generic parser" fixed the
> >adc_idx for the capture volume and capture switch controls.  But also
> >modified the adc_idx retrieval for the capture source controls
> >wrongly.  As multiple capture source controls are created in a single
> >shot with counts > 1, the id.index doesn't contain the real value.
> >The real index has to be taken via snd_ctl_get_ioffidx() as in the
> >original code.
> >
> >This patch reverts the fixes partially to recover from the
> >regression.
> >
> >Signed-off-by: Takashi Iwai <tiwai@suse.de>
> >---
> > sound/pci/hda/hda_generic.c | 5 +++--
> > 1 file changed, 3 insertions(+), 2 deletions(-)
> >
> >diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
> >index e4e71fa..29f37c9 100644
> >--- a/sound/pci/hda/hda_generic.c
> >+++ b/sound/pci/hda/hda_generic.c
> >@@ -2675,7 +2675,8 @@ static int mux_enum_get(struct snd_kcontrol *kcontrol,
> > {
> > 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
> > 	struct hda_gen_spec *spec = codec->spec;
> >-	unsigned int adc_idx = kcontrol->id.index;
> >+	/* the ctls are created at once with multiple counts */
> >+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
> > 
> > 	ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx];
> > 	return 0;
> >@@ -2685,7 +2686,7 @@ static int mux_enum_put(struct snd_kcontrol *kcontrol,
> > 			    struct snd_ctl_elem_value *ucontrol)
> > {
> > 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
> >-	unsigned int adc_idx = kcontrol->id.index;
> >+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
> > 	return mux_select(codec, adc_idx,
> > 			  ucontrol->value.enumerated.item[0]);
> > }
> 
> The problem persists after commit d821c1ef2c8ada02f1feada071a37ced69b300fe,
> master branch
> 
> arecord -fdat -Dplughw:0 -vv foo.wav
> Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
> Plug PCM: Hardware PCM card 0 'HDA ATI SB' device 0 subdevice 0
> Its setup is:
>   stream       : CAPTURE
>   access       : RW_INTERLEAVED
>   format       : S16_LE
>   subformat    : STD
>   channels     : 2
>   rate         : 48000
>   exact rate   : 48000 (48000/1)
>   msbits       : 16
>   buffer_size  : 24064
>   period_size  : 6016
>   period_time  : 125333
>   tstamp_mode  : NONE
>   period_step  : 1
>   avail_min    : 6016
>   period_event : 0
>   start_threshold  : 1
>   stop_threshold   : 24064
>   silence_threshold: 0
>   silence_size : 0
>   boundary     : 6773413839565225984
>   appl_ptr     : 0
>   hw_ptr       : 0
> ##### +                                            | 10%^C
> 
> Playing the foo.wav file I can only hear noise.

You chose "Rear Mic" only in the third capture source.
There are three "Input Source" controls, and the first one corresponds
to the primary recording stream.

> Simple mixer control 'Input Source',0
>   Capabilities: cenum
>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>   Item0: 'Line'
> Simple mixer control 'Input Source',1
>   Capabilities: cenum
>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>   Item0: 'Front Mic'
> Simple mixer control 'Input Source',2
>   Capabilities: cenum
>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>   Item0: 'Rear Mic'

BTW, you should turn down the "Digital" capture volume to the half
(0dB).  It's an artificial gain in software, so at best keep it in
0dB.

	% amixer -c0 set "Digital" 0dB


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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18 16:58                                                                                             ` Takashi Iwai
@ 2013-01-18 17:51                                                                                               ` Manolo Díaz
  2013-01-18 18:20                                                                                                 ` Manolo Díaz
  0 siblings, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-18 17:51 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, alsa-devel, Miro Hodak

El vie, 18 ene 2013 a las 17:58 horas
Takashi Iwai escribió:

>At Fri, 18 Jan 2013 17:48:23 +0100,
>Manolo Díaz wrote:
>> 
>> El vie, 18 ene 2013 a las 16:30 horas
>> Takashi Iwai escribió:
>> 
>> >At Fri, 18 Jan 2013 22:49:37 +0800,
>> >Raymond Yau wrote:
>> >> 
>> >> > > It's already in the repository. Now none of the input sources work for
>> >> > > me: front-mic, rear-mic nor input line. Alsa-info output is attached.
>> >> > >
>> >> > > commit 77ecb70ef5b022a1ee80169583753d85d7a9c396
>> >> >
>> >> > Hmm, through a quick glance, all look OK.
>> >> >
>> >> 
>> >> It is strange that three input source are line but audio selector are not
>> >> the same
>> >> 
>> >> Simple mixer control 'Input Source',0
>> >>   Capabilities: cenum
>> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>> >>   Item0: 'Line'
>> >> Simple mixer control 'Input Source',1
>> >>   Capabilities: cenum
>> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>> >>   Item0: 'Line'
>> >> Simple mixer control 'Input Source',2
>> >>   Capabilities: cenum
>> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>> >>   Item0: 'Line'
>> >> 
>> >> Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>> >>   Control: name="Capture Volume", index=0, device=0
>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >>   Control: name="Capture Switch", index=0, device=0
>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>> >>   Amp-Out vals:  [0x36 0x36]
>> >>   Connection: 11
>> >>      0x38 0x39 0x3a* 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
>> >> Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>> >>   Control: name="Capture Volume", index=1, device=0
>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >>   Control: name="Capture Switch", index=1, device=0
>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>> >>   Amp-Out vals:  [0x36 0x36]
>> >>   Connection: 10
>> >>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
>> >> Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>> >>   Control: name="Capture Volume", index=2, device=0
>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >>   Control: name="Capture Switch", index=2, device=0
>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>> >>   Amp-Out vals:  [0x36 0x36]
>> >>   Connection: 10
>> >>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
>> >
>> >Good catch.  It's a recent regression.
>> >I fixed now with the patch below.
>> >
>> >test/hda-gen-parser and master branches are updated now with this and
>> >other fixes.
>> >
>> >
>> >thanks,
>> >
>> >Takashi
>> >
>> >---
>> >From: Takashi Iwai <tiwai@suse.de>
>> >Subject: [PATCH] ALSA: hda - Fix the wrong adc_idx for capture source
>> >
>> >The patch "ALSA: hda - fix wrong adc_idx in generic parser" fixed the
>> >adc_idx for the capture volume and capture switch controls.  But also
>> >modified the adc_idx retrieval for the capture source controls
>> >wrongly.  As multiple capture source controls are created in a single
>> >shot with counts > 1, the id.index doesn't contain the real value.
>> >The real index has to be taken via snd_ctl_get_ioffidx() as in the
>> >original code.
>> >
>> >This patch reverts the fixes partially to recover from the
>> >regression.
>> >
>> >Signed-off-by: Takashi Iwai <tiwai@suse.de>
>> >---
>> > sound/pci/hda/hda_generic.c | 5 +++--
>> > 1 file changed, 3 insertions(+), 2 deletions(-)
>> >
>> >diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
>> >index e4e71fa..29f37c9 100644
>> >--- a/sound/pci/hda/hda_generic.c
>> >+++ b/sound/pci/hda/hda_generic.c
>> >@@ -2675,7 +2675,8 @@ static int mux_enum_get(struct snd_kcontrol *kcontrol,
>> > {
>> > 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
>> > 	struct hda_gen_spec *spec = codec->spec;
>> >-	unsigned int adc_idx = kcontrol->id.index;
>> >+	/* the ctls are created at once with multiple counts */
>> >+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
>> > 
>> > 	ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx];
>> > 	return 0;
>> >@@ -2685,7 +2686,7 @@ static int mux_enum_put(struct snd_kcontrol *kcontrol,
>> > 			    struct snd_ctl_elem_value *ucontrol)
>> > {
>> > 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
>> >-	unsigned int adc_idx = kcontrol->id.index;
>> >+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
>> > 	return mux_select(codec, adc_idx,
>> > 			  ucontrol->value.enumerated.item[0]);
>> > }
>> 
>> The problem persists after commit d821c1ef2c8ada02f1feada071a37ced69b300fe,
>> master branch
>> 
>> arecord -fdat -Dplughw:0 -vv foo.wav
>> Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
>> Plug PCM: Hardware PCM card 0 'HDA ATI SB' device 0 subdevice 0
>> Its setup is:
>>   stream       : CAPTURE
>>   access       : RW_INTERLEAVED
>>   format       : S16_LE
>>   subformat    : STD
>>   channels     : 2
>>   rate         : 48000
>>   exact rate   : 48000 (48000/1)
>>   msbits       : 16
>>   buffer_size  : 24064
>>   period_size  : 6016
>>   period_time  : 125333
>>   tstamp_mode  : NONE
>>   period_step  : 1
>>   avail_min    : 6016
>>   period_event : 0
>>   start_threshold  : 1
>>   stop_threshold   : 24064
>>   silence_threshold: 0
>>   silence_size : 0
>>   boundary     : 6773413839565225984
>>   appl_ptr     : 0
>>   hw_ptr       : 0
>> ##### +                                            | 10%^C
>> 
>> Playing the foo.wav file I can only hear noise.
>
>You chose "Rear Mic" only in the third capture source.
>There are three "Input Source" controls, and the first one corresponds
>to the primary recording stream.
>
>> Simple mixer control 'Input Source',0
>>   Capabilities: cenum
>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>   Item0: 'Line'
>> Simple mixer control 'Input Source',1
>>   Capabilities: cenum
>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>   Item0: 'Front Mic'
>> Simple mixer control 'Input Source',2
>>   Capabilities: cenum
>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>   Item0: 'Rear Mic'
>
>BTW, you should turn down the "Digital" capture volume to the half
>(0dB).  It's an artificial gain in software, so at best keep it in
>0dB.
>
>	% amixer -c0 set "Digital" 0dB
>
>
>Takashi

It stops with error:

arecord -fdat -Dplughw:0 -vv foo.wav
Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Plug PCM: Hardware PCM card 0 'HDA ATI SB' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 24064
  period_size  : 6016
  period_time  : 125333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 6016
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 24064
  silence_threshold: 0
  silence_size : 0
  boundary     : 6773413839565225984
  appl_ptr     : 0
  hw_ptr       : 0
arecord: pcm_read:1801: read error: Input/output error



amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 29 [74%] [-15.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 39
  Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB] [on]
  Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Line Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [on]
  Front Right: Capture 54 [100%] [22.50dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [on]
  Front Right: Capture 54 [100%] [22.50dB] [on]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [on]
  Front Right: Capture 54 [100%] [22.50dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Line'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]


Regards,
-- 
Manolo Díaz
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18 17:51                                                                                               ` Manolo Díaz
@ 2013-01-18 18:20                                                                                                 ` Manolo Díaz
  2013-01-18 18:45                                                                                                   ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Manolo Díaz @ 2013-01-18 18:20 UTC (permalink / raw)
  To: Manolo Díaz
  Cc: Takashi Iwai, Raymond Yau, basinilya, alsa-devel, Miro Hodak

El vie, 18 ene 2013 a las 18:51 horas
Manolo Díaz escribió:

>El vie, 18 ene 2013 a las 17:58 horas
>Takashi Iwai escribió:
>
>>At Fri, 18 Jan 2013 17:48:23 +0100,
>>Manolo Díaz wrote:
>>> 
>>> El vie, 18 ene 2013 a las 16:30 horas
>>> Takashi Iwai escribió:
>>> 
>>> >At Fri, 18 Jan 2013 22:49:37 +0800,
>>> >Raymond Yau wrote:
>>> >> 
>>> >> > > It's already in the repository. Now none of the input sources work for
>>> >> > > me: front-mic, rear-mic nor input line. Alsa-info output is attached.
>>> >> > >
>>> >> > > commit 77ecb70ef5b022a1ee80169583753d85d7a9c396
>>> >> >
>>> >> > Hmm, through a quick glance, all look OK.
>>> >> >
>>> >> 
>>> >> It is strange that three input source are line but audio selector are not
>>> >> the same
>>> >> 
>>> >> Simple mixer control 'Input Source',0
>>> >>   Capabilities: cenum
>>> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>> >>   Item0: 'Line'
>>> >> Simple mixer control 'Input Source',1
>>> >>   Capabilities: cenum
>>> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>> >>   Item0: 'Line'
>>> >> Simple mixer control 'Input Source',2
>>> >>   Capabilities: cenum
>>> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>> >>   Item0: 'Line'
>>> >> 
>>> >> Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>>> >>   Control: name="Capture Volume", index=0, device=0
>>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>> >>   Control: name="Capture Switch", index=0, device=0
>>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>>> >>   Amp-Out vals:  [0x36 0x36]
>>> >>   Connection: 11
>>> >>      0x38 0x39 0x3a* 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
>>> >> Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>>> >>   Control: name="Capture Volume", index=1, device=0
>>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>> >>   Control: name="Capture Switch", index=1, device=0
>>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>>> >>   Amp-Out vals:  [0x36 0x36]
>>> >>   Connection: 10
>>> >>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
>>> >> Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>>> >>   Control: name="Capture Volume", index=2, device=0
>>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>> >>   Control: name="Capture Switch", index=2, device=0
>>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>>> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
>>> >>   Amp-Out vals:  [0x36 0x36]
>>> >>   Connection: 10
>>> >>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
>>> >
>>> >Good catch.  It's a recent regression.
>>> >I fixed now with the patch below.
>>> >
>>> >test/hda-gen-parser and master branches are updated now with this and
>>> >other fixes.
>>> >
>>> >
>>> >thanks,
>>> >
>>> >Takashi
>>> >
>>> >---
>>> >From: Takashi Iwai <tiwai@suse.de>
>>> >Subject: [PATCH] ALSA: hda - Fix the wrong adc_idx for capture source
>>> >
>>> >The patch "ALSA: hda - fix wrong adc_idx in generic parser" fixed the
>>> >adc_idx for the capture volume and capture switch controls.  But also
>>> >modified the adc_idx retrieval for the capture source controls
>>> >wrongly.  As multiple capture source controls are created in a single
>>> >shot with counts > 1, the id.index doesn't contain the real value.
>>> >The real index has to be taken via snd_ctl_get_ioffidx() as in the
>>> >original code.
>>> >
>>> >This patch reverts the fixes partially to recover from the
>>> >regression.
>>> >
>>> >Signed-off-by: Takashi Iwai <tiwai@suse.de>
>>> >---
>>> > sound/pci/hda/hda_generic.c | 5 +++--
>>> > 1 file changed, 3 insertions(+), 2 deletions(-)
>>> >
>>> >diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
>>> >index e4e71fa..29f37c9 100644
>>> >--- a/sound/pci/hda/hda_generic.c
>>> >+++ b/sound/pci/hda/hda_generic.c
>>> >@@ -2675,7 +2675,8 @@ static int mux_enum_get(struct snd_kcontrol *kcontrol,
>>> > {
>>> > 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
>>> > 	struct hda_gen_spec *spec = codec->spec;
>>> >-	unsigned int adc_idx = kcontrol->id.index;
>>> >+	/* the ctls are created at once with multiple counts */
>>> >+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
>>> > 
>>> > 	ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx];
>>> > 	return 0;
>>> >@@ -2685,7 +2686,7 @@ static int mux_enum_put(struct snd_kcontrol *kcontrol,
>>> > 			    struct snd_ctl_elem_value *ucontrol)
>>> > {
>>> > 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
>>> >-	unsigned int adc_idx = kcontrol->id.index;
>>> >+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
>>> > 	return mux_select(codec, adc_idx,
>>> > 			  ucontrol->value.enumerated.item[0]);
>>> > }
>>> 
>>> The problem persists after commit d821c1ef2c8ada02f1feada071a37ced69b300fe,
>>> master branch
>>> 
>>> arecord -fdat -Dplughw:0 -vv foo.wav
>>> Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
>>> Plug PCM: Hardware PCM card 0 'HDA ATI SB' device 0 subdevice 0
>>> Its setup is:
>>>   stream       : CAPTURE
>>>   access       : RW_INTERLEAVED
>>>   format       : S16_LE
>>>   subformat    : STD
>>>   channels     : 2
>>>   rate         : 48000
>>>   exact rate   : 48000 (48000/1)
>>>   msbits       : 16
>>>   buffer_size  : 24064
>>>   period_size  : 6016
>>>   period_time  : 125333
>>>   tstamp_mode  : NONE
>>>   period_step  : 1
>>>   avail_min    : 6016
>>>   period_event : 0
>>>   start_threshold  : 1
>>>   stop_threshold   : 24064
>>>   silence_threshold: 0
>>>   silence_size : 0
>>>   boundary     : 6773413839565225984
>>>   appl_ptr     : 0
>>>   hw_ptr       : 0
>>> ##### +                                            | 10%^C
>>> 
>>> Playing the foo.wav file I can only hear noise.
>>
>>You chose "Rear Mic" only in the third capture source.
>>There are three "Input Source" controls, and the first one corresponds
>>to the primary recording stream.
>>
>>> Simple mixer control 'Input Source',0
>>>   Capabilities: cenum
>>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>>   Item0: 'Line'
>>> Simple mixer control 'Input Source',1
>>>   Capabilities: cenum
>>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>>   Item0: 'Front Mic'
>>> Simple mixer control 'Input Source',2
>>>   Capabilities: cenum
>>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>>>   Item0: 'Rear Mic'
>>
>>BTW, you should turn down the "Digital" capture volume to the half
>>(0dB).  It's an artificial gain in software, so at best keep it in
>>0dB.
>>
>>	% amixer -c0 set "Digital" 0dB
>>
>>
>>Takashi
>
>It stops with error:
>
>arecord -fdat -Dplughw:0 -vv foo.wav
>Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
>Plug PCM: Hardware PCM card 0 'HDA ATI SB' device 0 subdevice 0
>Its setup is:
>  stream       : CAPTURE
>  access       : RW_INTERLEAVED
>  format       : S16_LE
>  subformat    : STD
>  channels     : 2
>  rate         : 48000
>  exact rate   : 48000 (48000/1)
>  msbits       : 16
>  buffer_size  : 24064
>  period_size  : 6016
>  period_time  : 125333
>  tstamp_mode  : NONE
>  period_step  : 1
>  avail_min    : 6016
>  period_event : 0
>  start_threshold  : 1
>  stop_threshold   : 24064
>  silence_threshold: 0
>  silence_size : 0
>  boundary     : 6773413839565225984
>  appl_ptr     : 0
>  hw_ptr       : 0
>arecord: pcm_read:1801: read error: Input/output error
>
>
>
>amixer
>Simple mixer control 'Master',0
>  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
>  Playback channels: Mono
>  Limits: Playback 0 - 39
>  Mono: Playback 29 [74%] [-15.00dB] [on]
>Simple mixer control 'Headphone',0
>  Capabilities: pvolume pswitch penum
>  Playback channels: Front Left - Front Right
>  Limits: Playback 0 - 39
>  Mono:
>  Front Left: Playback 39 [100%] [0.00dB] [on]
>  Front Right: Playback 39 [100%] [0.00dB] [on]
>Simple mixer control 'PCM',0
>  Capabilities: pvolume penum
>  Playback channels: Front Left - Front Right
>  Limits: Playback 0 - 255
>  Mono:
>  Front Left: Playback 255 [100%] [0.00dB]
>  Front Right: Playback 255 [100%] [0.00dB]
>Simple mixer control 'Front',0
>  Capabilities: pvolume pswitch penum
>  Playback channels: Front Left - Front Right
>  Limits: Playback 0 - 39
>  Mono:
>  Front Left: Playback 39 [100%] [0.00dB] [on]
>  Front Right: Playback 39 [100%] [0.00dB] [on]
>Simple mixer control 'Front Mic Boost',0
>  Capabilities: volume penum
>  Playback channels: Front Left - Front Right
>  Capture channels: Front Left - Front Right
>  Limits: 0 - 3
>  Front Left: 3 [100%] [30.00dB]
>  Front Right: 3 [100%] [30.00dB]
>Simple mixer control 'Surround',0
>  Capabilities: pvolume pswitch penum
>  Playback channels: Front Left - Front Right
>  Limits: Playback 0 - 39
>  Mono:
>  Front Left: Playback 39 [100%] [0.00dB] [on]
>  Front Right: Playback 39 [100%] [0.00dB] [on]
>Simple mixer control 'Center',0
>  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
>  Playback channels: Mono
>  Limits: Playback 0 - 39
>  Mono: Playback 39 [100%] [0.00dB] [on]
>Simple mixer control 'LFE',0
>  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
>  Playback channels: Mono
>  Limits: Playback 0 - 39
>  Mono: Playback 39 [100%] [0.00dB] [on]
>Simple mixer control 'Side',0
>  Capabilities: pvolume pswitch penum
>  Playback channels: Front Left - Front Right
>  Limits: Playback 0 - 39
>  Mono:
>  Front Left: Playback 39 [100%] [0.00dB] [on]
>  Front Right: Playback 39 [100%] [0.00dB] [on]
>Simple mixer control 'Line Boost',0
>  Capabilities: volume penum
>  Playback channels: Front Left - Front Right
>  Capture channels: Front Left - Front Right
>  Limits: 0 - 3
>  Front Left: 3 [100%] [30.00dB]
>  Front Right: 3 [100%] [30.00dB]
>Simple mixer control 'IEC958',0
>  Capabilities: pswitch pswitch-joined penum
>  Playback channels: Mono
>  Mono: Playback [off]
>Simple mixer control 'IEC958 Default PCM',0
>  Capabilities: pswitch pswitch-joined penum
>  Playback channels: Mono
>  Mono: Playback [off]
>Simple mixer control 'Capture',0
>  Capabilities: cvolume cswitch penum
>  Capture channels: Front Left - Front Right
>  Limits: Capture 0 - 54
>  Front Left: Capture 54 [100%] [22.50dB] [on]
>  Front Right: Capture 54 [100%] [22.50dB] [on]
>Simple mixer control 'Capture',1
>  Capabilities: cvolume cswitch penum
>  Capture channels: Front Left - Front Right
>  Limits: Capture 0 - 54
>  Front Left: Capture 54 [100%] [22.50dB] [on]
>  Front Right: Capture 54 [100%] [22.50dB] [on]
>Simple mixer control 'Capture',2
>  Capabilities: cvolume cswitch penum
>  Capture channels: Front Left - Front Right
>  Limits: Capture 0 - 54
>  Front Left: Capture 54 [100%] [22.50dB] [on]
>  Front Right: Capture 54 [100%] [22.50dB] [on]
>Simple mixer control 'Auto-Mute Mode',0
>  Capabilities: enum
>  Items: 'Disabled' 'Enabled'
>  Item0: 'Disabled'
>Simple mixer control 'Digital',0
>  Capabilities: cvolume penum
>  Capture channels: Front Left - Front Right
>  Limits: Capture 0 - 120
>  Front Left: Capture 60 [50%] [0.00dB]
>  Front Right: Capture 60 [50%] [0.00dB]
>Simple mixer control 'Independent HP',0
>  Capabilities: enum
>  Items: 'Disabled' 'Enabled'
>  Item0: 'Disabled'
>Simple mixer control 'Input Source',0
>  Capabilities: cenum
>  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>  Item0: 'Rear Mic'
>Simple mixer control 'Input Source',1
>  Capabilities: cenum
>  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>  Item0: 'Line'
>Simple mixer control 'Input Source',2
>  Capabilities: cenum
>  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
>  Item0: 'Front Mic'
>Simple mixer control 'Rear Mic Boost',0
>  Capabilities: volume penum
>  Playback channels: Front Left - Front Right
>  Capture channels: Front Left - Front Right
>  Limits: 0 - 3
>  Front Left: 3 [100%] [30.00dB]
>  Front Right: 3 [100%] [30.00dB]
>
>
>Regards,

Sorry, forget my previous mail, I don't know what I did wrong, but the
three input sources works.

Regards,
-- 
Manolo Díaz
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18 18:20                                                                                                 ` Manolo Díaz
@ 2013-01-18 18:45                                                                                                   ` Takashi Iwai
       [not found]                                                                                                     ` <CA+S_cwrH6mjunDsn2w76Vpyk7XovOKpH0k_KoU_8SXjmisLAYw@mail.gmail.com>
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-18 18:45 UTC (permalink / raw)
  To: Manolo Díaz; +Cc: Raymond Yau, basinilya, alsa-devel, Miro Hodak

At Fri, 18 Jan 2013 19:20:47 +0100,
Manolo Díaz wrote:
> 
> El vie, 18 ene 2013 a las 18:51 horas
> Manolo Díaz escribió:
> 
> >El vie, 18 ene 2013 a las 17:58 horas
> >Takashi Iwai escribió:
> >
> >>At Fri, 18 Jan 2013 17:48:23 +0100,
> >>Manolo Díaz wrote:
> >>> 
> >>> El vie, 18 ene 2013 a las 16:30 horas
> >>> Takashi Iwai escribió:
> >>> 
> >>> >At Fri, 18 Jan 2013 22:49:37 +0800,
> >>> >Raymond Yau wrote:
> >>> >> 
> >>> >> > > It's already in the repository. Now none of the input sources work for
> >>> >> > > me: front-mic, rear-mic nor input line. Alsa-info output is attached.
> >>> >> > >
> >>> >> > > commit 77ecb70ef5b022a1ee80169583753d85d7a9c396
> >>> >> >
> >>> >> > Hmm, through a quick glance, all look OK.
> >>> >> >
> >>> >> 
> >>> >> It is strange that three input source are line but audio selector are not
> >>> >> the same
> >>> >> 
> >>> >> Simple mixer control 'Input Source',0
> >>> >>   Capabilities: cenum
> >>> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >>> >>   Item0: 'Line'
> >>> >> Simple mixer control 'Input Source',1
> >>> >>   Capabilities: cenum
> >>> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >>> >>   Item0: 'Line'
> >>> >> Simple mixer control 'Input Source',2
> >>> >>   Capabilities: cenum
> >>> >>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >>> >>   Item0: 'Line'
> >>> >> 
> >>> >> Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> >>> >>   Control: name="Capture Volume", index=0, device=0
> >>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>> >>   Control: name="Capture Switch", index=0, device=0
> >>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> >>> >>   Amp-Out vals:  [0x36 0x36]
> >>> >>   Connection: 11
> >>> >>      0x38 0x39 0x3a* 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
> >>> >> Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> >>> >>   Control: name="Capture Volume", index=1, device=0
> >>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>> >>   Control: name="Capture Switch", index=1, device=0
> >>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> >>> >>   Amp-Out vals:  [0x36 0x36]
> >>> >>   Connection: 10
> >>> >>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
> >>> >> Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> >>> >>   Control: name="Capture Volume", index=2, device=0
> >>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>> >>   Control: name="Capture Switch", index=2, device=0
> >>> >>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >>> >>   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> >>> >>   Amp-Out vals:  [0x36 0x36]
> >>> >>   Connection: 10
> >>> >>      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
> >>> >
> >>> >Good catch.  It's a recent regression.
> >>> >I fixed now with the patch below.
> >>> >
> >>> >test/hda-gen-parser and master branches are updated now with this and
> >>> >other fixes.
> >>> >
> >>> >
> >>> >thanks,
> >>> >
> >>> >Takashi
> >>> >
> >>> >---
> >>> >From: Takashi Iwai <tiwai@suse.de>
> >>> >Subject: [PATCH] ALSA: hda - Fix the wrong adc_idx for capture source
> >>> >
> >>> >The patch "ALSA: hda - fix wrong adc_idx in generic parser" fixed the
> >>> >adc_idx for the capture volume and capture switch controls.  But also
> >>> >modified the adc_idx retrieval for the capture source controls
> >>> >wrongly.  As multiple capture source controls are created in a single
> >>> >shot with counts > 1, the id.index doesn't contain the real value.
> >>> >The real index has to be taken via snd_ctl_get_ioffidx() as in the
> >>> >original code.
> >>> >
> >>> >This patch reverts the fixes partially to recover from the
> >>> >regression.
> >>> >
> >>> >Signed-off-by: Takashi Iwai <tiwai@suse.de>
> >>> >---
> >>> > sound/pci/hda/hda_generic.c | 5 +++--
> >>> > 1 file changed, 3 insertions(+), 2 deletions(-)
> >>> >
> >>> >diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
> >>> >index e4e71fa..29f37c9 100644
> >>> >--- a/sound/pci/hda/hda_generic.c
> >>> >+++ b/sound/pci/hda/hda_generic.c
> >>> >@@ -2675,7 +2675,8 @@ static int mux_enum_get(struct snd_kcontrol *kcontrol,
> >>> > {
> >>> > 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
> >>> > 	struct hda_gen_spec *spec = codec->spec;
> >>> >-	unsigned int adc_idx = kcontrol->id.index;
> >>> >+	/* the ctls are created at once with multiple counts */
> >>> >+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
> >>> > 
> >>> > 	ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx];
> >>> > 	return 0;
> >>> >@@ -2685,7 +2686,7 @@ static int mux_enum_put(struct snd_kcontrol *kcontrol,
> >>> > 			    struct snd_ctl_elem_value *ucontrol)
> >>> > {
> >>> > 	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
> >>> >-	unsigned int adc_idx = kcontrol->id.index;
> >>> >+	unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
> >>> > 	return mux_select(codec, adc_idx,
> >>> > 			  ucontrol->value.enumerated.item[0]);
> >>> > }
> >>> 
> >>> The problem persists after commit d821c1ef2c8ada02f1feada071a37ced69b300fe,
> >>> master branch
> >>> 
> >>> arecord -fdat -Dplughw:0 -vv foo.wav
> >>> Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
> >>> Plug PCM: Hardware PCM card 0 'HDA ATI SB' device 0 subdevice 0
> >>> Its setup is:
> >>>   stream       : CAPTURE
> >>>   access       : RW_INTERLEAVED
> >>>   format       : S16_LE
> >>>   subformat    : STD
> >>>   channels     : 2
> >>>   rate         : 48000
> >>>   exact rate   : 48000 (48000/1)
> >>>   msbits       : 16
> >>>   buffer_size  : 24064
> >>>   period_size  : 6016
> >>>   period_time  : 125333
> >>>   tstamp_mode  : NONE
> >>>   period_step  : 1
> >>>   avail_min    : 6016
> >>>   period_event : 0
> >>>   start_threshold  : 1
> >>>   stop_threshold   : 24064
> >>>   silence_threshold: 0
> >>>   silence_size : 0
> >>>   boundary     : 6773413839565225984
> >>>   appl_ptr     : 0
> >>>   hw_ptr       : 0
> >>> ##### +                                            | 10%^C
> >>> 
> >>> Playing the foo.wav file I can only hear noise.
> >>
> >>You chose "Rear Mic" only in the third capture source.
> >>There are three "Input Source" controls, and the first one corresponds
> >>to the primary recording stream.
> >>
> >>> Simple mixer control 'Input Source',0
> >>>   Capabilities: cenum
> >>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >>>   Item0: 'Line'
> >>> Simple mixer control 'Input Source',1
> >>>   Capabilities: cenum
> >>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >>>   Item0: 'Front Mic'
> >>> Simple mixer control 'Input Source',2
> >>>   Capabilities: cenum
> >>>   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >>>   Item0: 'Rear Mic'
> >>
> >>BTW, you should turn down the "Digital" capture volume to the half
> >>(0dB).  It's an artificial gain in software, so at best keep it in
> >>0dB.
> >>
> >>	% amixer -c0 set "Digital" 0dB
> >>
> >>
> >>Takashi
> >
> >It stops with error:
> >
> >arecord -fdat -Dplughw:0 -vv foo.wav
> >Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
> >Plug PCM: Hardware PCM card 0 'HDA ATI SB' device 0 subdevice 0
> >Its setup is:
> >  stream       : CAPTURE
> >  access       : RW_INTERLEAVED
> >  format       : S16_LE
> >  subformat    : STD
> >  channels     : 2
> >  rate         : 48000
> >  exact rate   : 48000 (48000/1)
> >  msbits       : 16
> >  buffer_size  : 24064
> >  period_size  : 6016
> >  period_time  : 125333
> >  tstamp_mode  : NONE
> >  period_step  : 1
> >  avail_min    : 6016
> >  period_event : 0
> >  start_threshold  : 1
> >  stop_threshold   : 24064
> >  silence_threshold: 0
> >  silence_size : 0
> >  boundary     : 6773413839565225984
> >  appl_ptr     : 0
> >  hw_ptr       : 0
> >arecord: pcm_read:1801: read error: Input/output error
> >
> >
> >
> >amixer
> >Simple mixer control 'Master',0
> >  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
> >  Playback channels: Mono
> >  Limits: Playback 0 - 39
> >  Mono: Playback 29 [74%] [-15.00dB] [on]
> >Simple mixer control 'Headphone',0
> >  Capabilities: pvolume pswitch penum
> >  Playback channels: Front Left - Front Right
> >  Limits: Playback 0 - 39
> >  Mono:
> >  Front Left: Playback 39 [100%] [0.00dB] [on]
> >  Front Right: Playback 39 [100%] [0.00dB] [on]
> >Simple mixer control 'PCM',0
> >  Capabilities: pvolume penum
> >  Playback channels: Front Left - Front Right
> >  Limits: Playback 0 - 255
> >  Mono:
> >  Front Left: Playback 255 [100%] [0.00dB]
> >  Front Right: Playback 255 [100%] [0.00dB]
> >Simple mixer control 'Front',0
> >  Capabilities: pvolume pswitch penum
> >  Playback channels: Front Left - Front Right
> >  Limits: Playback 0 - 39
> >  Mono:
> >  Front Left: Playback 39 [100%] [0.00dB] [on]
> >  Front Right: Playback 39 [100%] [0.00dB] [on]
> >Simple mixer control 'Front Mic Boost',0
> >  Capabilities: volume penum
> >  Playback channels: Front Left - Front Right
> >  Capture channels: Front Left - Front Right
> >  Limits: 0 - 3
> >  Front Left: 3 [100%] [30.00dB]
> >  Front Right: 3 [100%] [30.00dB]
> >Simple mixer control 'Surround',0
> >  Capabilities: pvolume pswitch penum
> >  Playback channels: Front Left - Front Right
> >  Limits: Playback 0 - 39
> >  Mono:
> >  Front Left: Playback 39 [100%] [0.00dB] [on]
> >  Front Right: Playback 39 [100%] [0.00dB] [on]
> >Simple mixer control 'Center',0
> >  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
> >  Playback channels: Mono
> >  Limits: Playback 0 - 39
> >  Mono: Playback 39 [100%] [0.00dB] [on]
> >Simple mixer control 'LFE',0
> >  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
> >  Playback channels: Mono
> >  Limits: Playback 0 - 39
> >  Mono: Playback 39 [100%] [0.00dB] [on]
> >Simple mixer control 'Side',0
> >  Capabilities: pvolume pswitch penum
> >  Playback channels: Front Left - Front Right
> >  Limits: Playback 0 - 39
> >  Mono:
> >  Front Left: Playback 39 [100%] [0.00dB] [on]
> >  Front Right: Playback 39 [100%] [0.00dB] [on]
> >Simple mixer control 'Line Boost',0
> >  Capabilities: volume penum
> >  Playback channels: Front Left - Front Right
> >  Capture channels: Front Left - Front Right
> >  Limits: 0 - 3
> >  Front Left: 3 [100%] [30.00dB]
> >  Front Right: 3 [100%] [30.00dB]
> >Simple mixer control 'IEC958',0
> >  Capabilities: pswitch pswitch-joined penum
> >  Playback channels: Mono
> >  Mono: Playback [off]
> >Simple mixer control 'IEC958 Default PCM',0
> >  Capabilities: pswitch pswitch-joined penum
> >  Playback channels: Mono
> >  Mono: Playback [off]
> >Simple mixer control 'Capture',0
> >  Capabilities: cvolume cswitch penum
> >  Capture channels: Front Left - Front Right
> >  Limits: Capture 0 - 54
> >  Front Left: Capture 54 [100%] [22.50dB] [on]
> >  Front Right: Capture 54 [100%] [22.50dB] [on]
> >Simple mixer control 'Capture',1
> >  Capabilities: cvolume cswitch penum
> >  Capture channels: Front Left - Front Right
> >  Limits: Capture 0 - 54
> >  Front Left: Capture 54 [100%] [22.50dB] [on]
> >  Front Right: Capture 54 [100%] [22.50dB] [on]
> >Simple mixer control 'Capture',2
> >  Capabilities: cvolume cswitch penum
> >  Capture channels: Front Left - Front Right
> >  Limits: Capture 0 - 54
> >  Front Left: Capture 54 [100%] [22.50dB] [on]
> >  Front Right: Capture 54 [100%] [22.50dB] [on]
> >Simple mixer control 'Auto-Mute Mode',0
> >  Capabilities: enum
> >  Items: 'Disabled' 'Enabled'
> >  Item0: 'Disabled'
> >Simple mixer control 'Digital',0
> >  Capabilities: cvolume penum
> >  Capture channels: Front Left - Front Right
> >  Limits: Capture 0 - 120
> >  Front Left: Capture 60 [50%] [0.00dB]
> >  Front Right: Capture 60 [50%] [0.00dB]
> >Simple mixer control 'Independent HP',0
> >  Capabilities: enum
> >  Items: 'Disabled' 'Enabled'
> >  Item0: 'Disabled'
> >Simple mixer control 'Input Source',0
> >  Capabilities: cenum
> >  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >  Item0: 'Rear Mic'
> >Simple mixer control 'Input Source',1
> >  Capabilities: cenum
> >  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >  Item0: 'Line'
> >Simple mixer control 'Input Source',2
> >  Capabilities: cenum
> >  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >  Item0: 'Front Mic'
> >Simple mixer control 'Rear Mic Boost',0
> >  Capabilities: volume penum
> >  Playback channels: Front Left - Front Right
> >  Capture channels: Front Left - Front Right
> >  Limits: 0 - 3
> >  Front Left: 3 [100%] [30.00dB]
> >  Front Right: 3 [100%] [30.00dB]
> >
> >
> >Regards,
> 
> Sorry, forget my previous mail, I don't know what I did wrong, but the
> three input sources works.

OK, thanks for quick tests!


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

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-18 15:30                                                                                         ` Takashi Iwai
  2013-01-18 16:48                                                                                           ` Manolo Díaz
@ 2013-01-19  2:39                                                                                           ` Raymond Yau
  2013-01-19 11:09                                                                                             ` Takashi Iwai
  1 sibling, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-19  2:39 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

> >
> > > > It's already in the repository. Now none of the input sources work
for
> > > > me: front-mic, rear-mic nor input line. Alsa-info output is
attached.
> > > >
> > > > commit 77ecb70ef5b022a1ee80169583753d85d7a9c396
> > >
> > > Hmm, through a quick glance, all look OK.
> > >
> >
> > It is strange that three input source are line but audio selector are
not
> > the same
> >
> > Simple mixer control 'Input Source',0
> >   Capabilities: cenum
> >   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >   Item0: 'Line'
> > Simple mixer control 'Input Source',1
> >   Capabilities: cenum
> >   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >   Item0: 'Line'
> > Simple mixer control 'Input Source',2
> >   Capabilities: cenum
> >   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> >   Item0: 'Line'
> >
> > Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> >   Control: name="Capture Volume", index=0, device=0
> >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >   Control: name="Capture Switch", index=0, device=0
> >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> >   Amp-Out vals:  [0x36 0x36]
> >   Connection: 11
> >      0x38 0x39 0x3a* 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
> > Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> >   Control: name="Capture Volume", index=1, device=0
> >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >   Control: name="Capture Switch", index=1, device=0
> >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> >   Amp-Out vals:  [0x36 0x36]
> >   Connection: 10
> >      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
> > Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> >   Control: name="Capture Volume", index=2, device=0
> >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >   Control: name="Capture Switch", index=2, device=0
> >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> >   Amp-Out vals:  [0x36 0x36]
> >   Connection: 10
> >      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
>
> Good catch.  It's a recent regression.
> I fixed now with the patch below.
>
> test/hda-gen-parser and master branches are updated now with this and
> other fixes.

>
>
> thanks,
>
> Takashi
>
> ---
> From: Takashi Iwai <tiwai@suse.de>
> Subject: [PATCH] ALSA: hda - Fix the wrong adc_idx for capture source
>
> The patch "ALSA: hda - fix wrong adc_idx in generic parser" fixed the
> adc_idx for the capture volume and capture switch controls.  But also
> modified the adc_idx retrieval for the capture source controls
> wrongly.  As multiple capture source controls are created in a single
> shot with counts > 1, the id.index doesn't contain the real value.
> The real index has to be taken via snd_ctl_get_ioffidx() as in the
> original code.
>
> This patch reverts the fixes partially to recover from the
> regression.
>
Refer to commit

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-unstable.git;a=commit;h=1c70a583417e8db1e1d5069d7651ba294e9499de

Do you mean user have to specify hint

1) mixer_nid to analog the aa-path for creating those Mic/line playback
volume/switch ?

2) add_stereo_mix_input for the missing input source "mix"

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
       [not found]                                                                                                     ` <CA+S_cwrH6mjunDsn2w76Vpyk7XovOKpH0k_KoU_8SXjmisLAYw@mail.gmail.com>
@ 2013-01-19  5:49                                                                                                       ` Raymond Yau
  2013-01-19 11:12                                                                                                         ` Takashi Iwai
  2013-01-19 11:11                                                                                                       ` Takashi Iwai
  1 sibling, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-19  5:49 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Takashi Iwai, basinilya, Manolo Díaz, alsa-devel

>
>
> Testing latest updates in sound-unstable:
>
> commit f741c8a1f649379f8f3eb81119df2676c46075cf
> Merge: d821c1e 164a7ad
> Author: Takashi Iwai <tiwai@suse.de>
> Date:   Fri Jan 18 18:30:00 2013 +0100
>
> Playback and capture appear to work correctly with one possible caveats:
>
> Item labeled "Front" controls the level of sound through the speakers. I
would expect that it would only control sound from front HP. This happens
whether Independent HP is on and off.
>

Is it feasible to add a hint which disable the creation of virtual master
playback volume and switch ?

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-19  2:39                                                                                           ` Raymond Yau
@ 2013-01-19 11:09                                                                                             ` Takashi Iwai
  2013-01-19 12:37                                                                                               ` Raymond Yau
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-19 11:09 UTC (permalink / raw)
  To: Raymond Yau; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

At Sat, 19 Jan 2013 10:39:39 +0800,
Raymond Yau wrote:
> 
> [1  <text/plain; UTF-8 (7bit)>]
> > >
> > > > > It's already in the repository. Now none of the input sources work
> for
> > > > > me: front-mic, rear-mic nor input line. Alsa-info output is
> attached.
> > > > >
> > > > > commit 77ecb70ef5b022a1ee80169583753d85d7a9c396
> > > >
> > > > Hmm, through a quick glance, all look OK.
> > > >
> > >
> > > It is strange that three input source are line but audio selector are
> not
> > > the same
> > >
> > > Simple mixer control 'Input Source',0
> > >   Capabilities: cenum
> > >   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> > >   Item0: 'Line'
> > > Simple mixer control 'Input Source',1
> > >   Capabilities: cenum
> > >   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> > >   Item0: 'Line'
> > > Simple mixer control 'Input Source',2
> > >   Capabilities: cenum
> > >   Items: 'Front Mic' 'Rear Mic' 'Line' 'CD'
> > >   Item0: 'Line'
> > >
> > > Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> > >   Control: name="Capture Volume", index=0, device=0
> > >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> > >   Control: name="Capture Switch", index=0, device=0
> > >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> > >   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> > >   Amp-Out vals:  [0x36 0x36]
> > >   Connection: 11
> > >      0x38 0x39 0x3a* 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f
> > > Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> > >   Control: name="Capture Volume", index=1, device=0
> > >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> > >   Control: name="Capture Switch", index=1, device=0
> > >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> > >   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> > >   Amp-Out vals:  [0x36 0x36]
> > >   Connection: 10
> > >      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
> > > Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> > >   Control: name="Capture Volume", index=2, device=0
> > >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> > >   Control: name="Capture Switch", index=2, device=0
> > >     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> > >   Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
> > >   Amp-Out vals:  [0x36 0x36]
> > >   Connection: 10
> > >      0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
> >
> > Good catch.  It's a recent regression.
> > I fixed now with the patch below.
> >
> > test/hda-gen-parser and master branches are updated now with this and
> > other fixes.
> 
> >
> >
> > thanks,
> >
> > Takashi
> >
> > ---
> > From: Takashi Iwai <tiwai@suse.de>
> > Subject: [PATCH] ALSA: hda - Fix the wrong adc_idx for capture source
> >
> > The patch "ALSA: hda - fix wrong adc_idx in generic parser" fixed the
> > adc_idx for the capture volume and capture switch controls.  But also
> > modified the adc_idx retrieval for the capture source controls
> > wrongly.  As multiple capture source controls are created in a single
> > shot with counts > 1, the id.index doesn't contain the real value.
> > The real index has to be taken via snd_ctl_get_ioffidx() as in the
> > original code.
> >
> > This patch reverts the fixes partially to recover from the
> > regression.
> >
> Refer to commit
> 
> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-unstable.git;a=commit;h=1c70a583417e8db1e1d5069d7651ba294e9499de
> 
> Do you mean user have to specify hint
> 
> 1) mixer_nid to analog the aa-path for creating those Mic/line playback
> volume/switch ?

mixer_nid should be set in each caller, i.e. patch_ad1988().
It's just missing there.  Of course, you can set it explicitly via a
hint string by yourself later.

> 2) add_stereo_mix_input for the missing input source "mix"

This also depends on the codec and preference.
I guess it'd make sense to enable it as default for AD1988x.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
       [not found]                                                                                                     ` <CA+S_cwrH6mjunDsn2w76Vpyk7XovOKpH0k_KoU_8SXjmisLAYw@mail.gmail.com>
  2013-01-19  5:49                                                                                                       ` Raymond Yau
@ 2013-01-19 11:11                                                                                                       ` Takashi Iwai
  2013-01-20 19:54                                                                                                         ` Miro Hodak
  1 sibling, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-19 11:11 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Sat, 19 Jan 2013 00:33:52 -0500,
Miro Hodak wrote:
> 
> On Fri, Jan 18, 2013 at 1:45 PM, Takashi Iwai <tiwai@suse.de> wrote:
> 
> >
> >
> > OK, thanks for quick tests!
> >
> >
> > Takashi
> >
> 
> Testing latest updates in sound-unstable:
> 
> commit f741c8a1f649379f8f3eb81119df2676c46075cf
> Merge: d821c1e 164a7ad
> Author: Takashi Iwai <tiwai@suse.de>
> Date:   Fri Jan 18 18:30:00 2013 +0100
> 
> Playback and capture appear to work correctly with one possible caveats:
> 
> Item labeled "Front" controls the level of sound through the speakers. I
> would expect that it would only control sound from front HP. This happens
> whether Independent HP is on and off.

When you look at other controls, there are "Surround", "Center", and
"LFE", and these are mixer controls for other two line-out jacks.
In that sense, "Front" is corresponding to the same group, the line
out jack.

You have an individual "Headphone" output.  Isn't it obvious?


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-19  5:49                                                                                                       ` Raymond Yau
@ 2013-01-19 11:12                                                                                                         ` Takashi Iwai
  0 siblings, 0 replies; 91+ messages in thread
From: Takashi Iwai @ 2013-01-19 11:12 UTC (permalink / raw)
  To: Raymond Yau; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

At Sat, 19 Jan 2013 13:49:26 +0800,
Raymond Yau wrote:
> 
> [1  <text/plain; UTF-8 (7bit)>]
> >
> >
> > Testing latest updates in sound-unstable:
> >
> > commit f741c8a1f649379f8f3eb81119df2676c46075cf
> > Merge: d821c1e 164a7ad
> > Author: Takashi Iwai <tiwai@suse.de>
> > Date:   Fri Jan 18 18:30:00 2013 +0100
> >
> > Playback and capture appear to work correctly with one possible caveats:
> >
> > Item labeled "Front" controls the level of sound through the speakers. I
> would expect that it would only control sound from front HP. This happens
> whether Independent HP is on and off.
> >
> 
> Is it feasible to add a hint which disable the creation of virtual master
> playback volume and switch ?

This makes no sense.  The "Master" should be a really master over all
playback volumes.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-19 11:09                                                                                             ` Takashi Iwai
@ 2013-01-19 12:37                                                                                               ` Raymond Yau
  2013-01-19 16:56                                                                                                 ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-19 12:37 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

> > Refer to commit
> >
> >
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-unstable.git;a=commit;h=1c70a583417e8db1e1d5069d7651ba294e9499de
> >
> > Do you mean user have to specify hint
> >
> > 1) mixer_nid to analog the aa-path for creating those Mic/line playback
> > volume/switch ?
>
> mixer_nid should be set in each caller, i.e. patch_ad1988().
> It's just missing there.  Of course, you can set it explicitly via a
> hint string by yourself later.

Can the auto parser find this mixer instead of hard code ?

>
> > 2) add_stereo_mix_input for the missing input source "mix"
>
> This also depends on the codec and preference.
> I guess it'd make sense to enable it as default for AD1988x.
>

Do  the user really need Line boost volume control ?

Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Line Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x03 0x03]
  Connection: 1
     0x15

Is it feasbile at this stage to implement the centre and lfe swap switch
when orange jack and retasked rear mic jack support L/R swap  ?

Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Line Out CLFE Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Connection: 1
     0x27

Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19020: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=07, enabled=1
  Connection: 1
     0x26

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-19 12:37                                                                                               ` Raymond Yau
@ 2013-01-19 16:56                                                                                                 ` Takashi Iwai
  0 siblings, 0 replies; 91+ messages in thread
From: Takashi Iwai @ 2013-01-19 16:56 UTC (permalink / raw)
  To: Raymond Yau; +Cc: basinilya, Manolo Díaz, alsa-devel, Miro Hodak

At Sat, 19 Jan 2013 20:37:00 +0800,
Raymond Yau wrote:
> 
> > > Refer to commit
> > >
> > >
> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-unstable.git;a=commit;h=1c70a583417e8db1e1d5069d7651ba294e9499de
> > >
> > > Do you mean user have to specify hint
> > >
> > > 1) mixer_nid to analog the aa-path for creating those Mic/line playback
> > > volume/switch ?
> >
> > mixer_nid should be set in each caller, i.e. patch_ad1988().
> > It's just missing there.  Of course, you can set it explicitly via a
> > hint string by yourself later.
> 
> Can the auto parser find this mixer instead of hard code ?

Possible but not trivial.


> > > 2) add_stereo_mix_input for the missing input source "mix"
> >
> > This also depends on the codec and preference.
> > I guess it'd make sense to enable it as default for AD1988x.
> >
> 
> Do  the user really need Line boost volume control ?
> 
> Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Control: name="Line Boost Volume", index=0, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
>   Amp-Out vals:  [0x03 0x03]
>   Connection: 1
>      0x15

Well, it's a matter of taste.  This has been requested some times, but
I'm open about the default behavior.

> Is it feasbile at this stage to implement the centre and lfe swap switch
> when orange jack and retasked rear mic jack support L/R swap  ?
> 
> Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
>   Control: name="Center Playback Switch", index=0, device=0
>     ControlAmp: chs=1, dir=Out, idx=0, ofs=0
>   Control: name="LFE Playback Switch", index=0, device=0
>     ControlAmp: chs=2, dir=Out, idx=0, ofs=0
>   Control: name="Line Out CLFE Jack", index=0, device=0
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x00 0x00]
>   Pincap 0x00000037: IN OUT Detect Trigger ImpSense
>   Pin Default 0x01016011: [Jack] Line Out at Ext Rear
>     Conn = 1/8, Color = Orange
>     DefAssociation = 0x1, Sequence = 0x1
>   Pin-ctls: 0x40: OUT
>   Unsolicited: tag=04, enabled=1
>   Connection: 1
>      0x27
> 
> Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L
>   Control: name="Rear Mic Jack", index=0, device=0
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x00003737: IN OUT Detect Trigger ImpSense
>     Vref caps: HIZ 50 GRD 80 100
>   Pin Default 0x01a19020: [Jack] Mic at Ext Rear
>     Conn = 1/8, Color = Pink
>     DefAssociation = 0x2, Sequence = 0x0
>   Pin-ctls: 0x24: IN VREF_80
>   Unsolicited: tag=07, enabled=1
>   Connection: 1
>      0x26

Such a feature is basically codec specific.  This should be
implemented in the AD codec driver side.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-19 11:11                                                                                                       ` Takashi Iwai
@ 2013-01-20 19:54                                                                                                         ` Miro Hodak
  2013-01-21  4:01                                                                                                           ` Raymond Yau
  2013-01-21  8:18                                                                                                           ` Takashi Iwai
  0 siblings, 2 replies; 91+ messages in thread
From: Miro Hodak @ 2013-01-20 19:54 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

On Sat, Jan 19, 2013 at 6:11 AM, Takashi Iwai <tiwai@suse.de> wrote:

> At Sat, 19 Jan 2013 00:33:52 -0500,
> Miro Hodak wrote:
> >
> > Testing latest updates in sound-unstable:
> >
> > commit f741c8a1f649379f8f3eb81119df2676c46075cf
> > Merge: d821c1e 164a7ad
> > Author: Takashi Iwai <tiwai@suse.de>
> > Date:   Fri Jan 18 18:30:00 2013 +0100
> >
> > Playback and capture appear to work correctly with one possible caveats:
> >
> > Item labeled "Front" controls the level of sound through the speakers. I
> > would expect that it would only control sound from front HP. This happens
> > whether Independent HP is on and off.
>
> When you look at other controls, there are "Surround", "Center", and
> "LFE", and these are mixer controls for other two line-out jacks.
> In that sense, "Front" is corresponding to the same group, the line
> out jack.
>
> You have an individual "Headphone" output.  Isn't it obvious?
>
>
> Takashi
>

Not always, most labels are one word long and can be open to different
interpretations. In alsamixer, ordering of capture controls is the
following:

Master  Headphon   PCM     Front   Front Mi  Surround  Center    LFE
Side  Line Boo  S/PDIF  S/PDIF D Auto-Mut Independ <Rear Mic>

and thus "Front" is next to "Front Mi" - that should connect at the front I
assume - rather then to other outputs at the back. Thus it is very easy to
get confused.

Here are outputs as specified in my MB manual and my attempt to pair them
to items in alsamixer (Capture only):

MB description                                   Alsa control (capture)
BACK PORTS:
Line In                                                  Line Boost (its
boost only, I know)
Front Speaker Out                             Front
Mic In                                                   Rear Mic Boost
Center/Subwoofer                             Center
Rear Speaker Out                             ???
Side Speaker Out                              Side

FRONT PORTS:
Headphone Out                                Headphone
Front Mic In                                        Front Mic Boost

There are two items that have not been assigned - Surround and LFE,
presumably one of them should correspond to the "Rear Speaker Out" for
which I could not identify ALSA control. Not being familiar with more than
2-channle audio, I do not know how to assign these.

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-20 19:54                                                                                                         ` Miro Hodak
@ 2013-01-21  4:01                                                                                                           ` Raymond Yau
  2013-01-21  8:18                                                                                                           ` Takashi Iwai
  1 sibling, 0 replies; 91+ messages in thread
From: Raymond Yau @ 2013-01-21  4:01 UTC (permalink / raw)
  To: Miro Hodak, Rigel-Kentaurus-A10
  Cc: Takashi Iwai, basinilya, Manolo Díaz, alsa-devel

>> >
>> > Testing latest updates in sound-unstable:
>> >
>> > commit f741c8a1f649379f8f3eb81119df2676c46075cf
>> > Merge: d821c1e 164a7ad
>> > Author: Takashi Iwai <tiwai@suse.de>
>> > Date:   Fri Jan 18 18:30:00 2013 +0100
>> >
>> > Playback and capture appear to work correctly with one possible
caveats:
>> >
>> > Item labeled "Front" controls the level of sound through the speakers.
I
>> > would expect that it would only control sound from front HP. This
happens
>> > whether Independent HP is on and off.
>>
>> When you look at other controls, there are "Surround", "Center", and
>> "LFE", and these are mixer controls for other two line-out jacks.
>> In that sense, "Front" is corresponding to the same group, the line
>> out jack.
>>
>> You have an individual "Headphone" output.  Isn't it obvious?
>
> Not always, most labels are one word long and can be open to different
interpretations. In alsamixer, ordering of capture controls is the
following:
>
> Master  Headphon   PCM     Front   Front Mi  Surround  Center    LFE
Side  Line Boo  S/PDIF  S/PDIF D Auto-Mut Independ <Rear Mic>
>
> and thus "Front" is next to "Front Mi" - that should connect at the front
I assume - rather then to other outputs at the back. Thus it is very easy
to get confused.
>
> Here are outputs as specified in my MB manual and my attempt to pair them
to items in alsamixer (Capture only):
>
> MB description                                   Alsa control (capture)
> BACK PORTS:
> Line In                                                  Line Boost (its
boost only, I know)
> Front Speaker Out                             Front
> Mic In                                                   Rear Mic Boost
> Center/Subwoofer                             Center
> Rear Speaker Out                             ???
> Side Speaker Out                              Side
>
> FRONT PORTS:
> Headphone Out                                Headphone
> Front Mic In                                        Front Mic Boost
>
> There are two items that have not been assigned - Surround and LFE,
presumably one of them should correspond to the "Rear Speaker Out" for
which I could not identify ALSA control. Not being familiar with more than
2-channle audio, I do not know how to assign these.

Try

speaker-test -D hw:0 -c 8 -t wav

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=blob_plain;f=Documentation/sound/alsa/HD-Audio.txt;hb=HEAD

http://git.alsa-project.org/?p=alsa-tools.git;a=blob_plain;f=hdajackretask/README;hb=HEAD

Your can also use early patching or hda-jack-retask

1)the three stacks model by change the pin default of the black, orange and
grey jacks as [N/A] to test the channel mode switch

2) retasking front Mic Jack as another front headphone jack or vice versa

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-20 19:54                                                                                                         ` Miro Hodak
  2013-01-21  4:01                                                                                                           ` Raymond Yau
@ 2013-01-21  8:18                                                                                                           ` Takashi Iwai
  2013-01-21  8:54                                                                                                             ` Miro Hodak
  1 sibling, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-21  8:18 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Sun, 20 Jan 2013 14:54:39 -0500,
Miro Hodak wrote:
> 
> On Sat, Jan 19, 2013 at 6:11 AM, Takashi Iwai <tiwai@suse.de> wrote:
> 
> > At Sat, 19 Jan 2013 00:33:52 -0500,
> > Miro Hodak wrote:
> > >
> > > Testing latest updates in sound-unstable:
> > >
> > > commit f741c8a1f649379f8f3eb81119df2676c46075cf
> > > Merge: d821c1e 164a7ad
> > > Author: Takashi Iwai <tiwai@suse.de>
> > > Date:   Fri Jan 18 18:30:00 2013 +0100
> > >
> > > Playback and capture appear to work correctly with one possible caveats:
> > >
> > > Item labeled "Front" controls the level of sound through the speakers. I
> > > would expect that it would only control sound from front HP. This happens
> > > whether Independent HP is on and off.
> >
> > When you look at other controls, there are "Surround", "Center", and
> > "LFE", and these are mixer controls for other two line-out jacks.
> > In that sense, "Front" is corresponding to the same group, the line
> > out jack.
> >
> > You have an individual "Headphone" output.  Isn't it obvious?
> >
> >
> > Takashi
> >
> 
> Not always, most labels are one word long and can be open to different
> interpretations. In alsamixer, ordering of capture controls is the
> following:
> 
> Master  Headphon   PCM     Front   Front Mi  Surround  Center    LFE
> Side  Line Boo  S/PDIF  S/PDIF D Auto-Mut Independ <Rear Mic>
> 
> and thus "Front" is next to "Front Mi" - that should connect at the front I
> assume - rather then to other outputs at the back. Thus it is very easy to
> get confused.

I see.  Yes, the usage of the word "front" has been a problem since
long time ago, basically because it can mean two different things: the
position of the jack and the channel location.  But, this has been so,
thus it's no regression to fix urgently.


> Here are outputs as specified in my MB manual and my attempt to pair them
> to items in alsamixer (Capture only):
> 
> MB description                                   Alsa control (capture)
> BACK PORTS:
> Line In                                                  Line Boost (its
> boost only, I know)
> Front Speaker Out                             Front
> Mic In                                                   Rear Mic Boost
> Center/Subwoofer                             Center
> Rear Speaker Out                             ???
> Side Speaker Out                              Side
> 
> FRONT PORTS:
> Headphone Out                                Headphone
> Front Mic In                                        Front Mic Boost
> 
> There are two items that have not been assigned - Surround and LFE,
> presumably one of them should correspond to the "Rear Speaker Out" for
> which I could not identify ALSA control. Not being familiar with more than
> 2-channle audio, I do not know how to assign these.

"Surround" corresponds to the rear channel in ALSA term.
"LFE" is a more official name of subwoofer.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-21  8:18                                                                                                           ` Takashi Iwai
@ 2013-01-21  8:54                                                                                                             ` Miro Hodak
  2013-01-21  9:18                                                                                                               ` Raymond Yau
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-21  8:54 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

On Mon, Jan 21, 2013 at 3:18 AM, Takashi Iwai <tiwai@suse.de> wrote:

> At Sun, 20 Jan 2013 14:54:39 -0500,
> Miro Hodak wrote:
> >
> > >
> >
> > Not always, most labels are one word long and can be open to different
> > interpretations. In alsamixer, ordering of capture controls is the
> > following:
> >
> > Master  Headphon   PCM     Front   Front Mi  Surround  Center    LFE
> > Side  Line Boo  S/PDIF  S/PDIF D Auto-Mut Independ <Rear Mic>
> >
> > and thus "Front" is next to "Front Mi" - that should connect at the
> front I
> > assume - rather then to other outputs at the back. Thus it is very easy
> to
> > get confused.
>
> I see.  Yes, the usage of the word "front" has been a problem since
> long time ago, basically because it can mean two different things: the
> position of the jack and the channel location.  But, this has been so,
> thus it's no regression to fix urgently.
>
>
> > Here are outputs as specified in my MB manual and my attempt to pair them
> > to items in alsamixer (Capture only):
> >
> > MB description                                   Alsa control (capture)
> > BACK PORTS:
> > Line In                                                  Line Boost (its
> > boost only, I know)
> > Front Speaker Out                             Front
> > Mic In                                                   Rear Mic Boost
> > Center/Subwoofer                             Center
> > Rear Speaker Out                             ???
> > Side Speaker Out                              Side
> >
> > FRONT PORTS:
> > Headphone Out                                Headphone
> > Front Mic In                                        Front Mic Boost
> >
> > There are two items that have not been assigned - Surround and LFE,
> > presumably one of them should correspond to the "Rear Speaker Out" for
> > which I could not identify ALSA control. Not being familiar with more
> than
> > 2-channle audio, I do not know how to assign these.
>
> "Surround" corresponds to the rear channel in ALSA term.
> "LFE" is a more official name of subwoofer.
>
>
> Takashi
>
Thanks for that explanation.

I have been playing with Independent HP feature and while I can get it to
work in aplay and mplayer, it does not seem to work on vlc and Skype. Both
applications seem to have options for sending sound to HPs ("AD1989B Analog
Front Speakers" or "AD1989B Analog (hw: 0,2)" - Skype only), but none of
those options sends sound to the HPs. Any thoughts on this?

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-21  8:54                                                                                                             ` Miro Hodak
@ 2013-01-21  9:18                                                                                                               ` Raymond Yau
  2013-01-21 17:08                                                                                                                 ` Miro Hodak
  0 siblings, 1 reply; 91+ messages in thread
From: Raymond Yau @ 2013-01-21  9:18 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Takashi Iwai, basinilya, Manolo Díaz, alsa-devel

> I have been playing with Independent HP feature and while I can get it to
work in aplay and mplayer, it does not seem to work on vlc and Skype. Both
applications seem to have options for sending sound to HPs ("AD1989B Analog
Front Speakers" or "AD1989B Analog (hw: 0,2)" - Skype only), but none of
those options sends sound to the HPs. Any thoughts on this?

Because the driver should not allow user to change the independent
headphone switch when there is any playing stream

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-21  9:18                                                                                                               ` Raymond Yau
@ 2013-01-21 17:08                                                                                                                 ` Miro Hodak
  2013-01-21 17:29                                                                                                                   ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-21 17:08 UTC (permalink / raw)
  To: Raymond Yau; +Cc: Takashi Iwai, basinilya, Manolo Díaz, alsa-devel

On Mon, Jan 21, 2013 at 4:18 AM, Raymond Yau <superquad.vortex2@gmail.com>wrote:

>
> > I have been playing with Independent HP feature and while I can get it
> to work in aplay and mplayer, it does not seem to work on vlc and Skype.
> Both applications seem to have options for sending sound to HPs ("AD1989B
> Analog Front Speakers" or "AD1989B Analog (hw: 0,2)" - Skype only), but
> none of those options sends sound to the HPs. Any thoughts on this?
>
> Because the driver should not allow user to change the independent
> headphone switch when there is any playing stream
>
The Independent HP switch is on before starting these apps (vlc and Skype).

It would be cool if I could make a skype call via front headset
independently of speakers connected at the back, but I cannot get it to
work.

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-21 17:08                                                                                                                 ` Miro Hodak
@ 2013-01-21 17:29                                                                                                                   ` Takashi Iwai
  2013-01-21 17:44                                                                                                                     ` Miro Hodak
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-21 17:29 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Mon, 21 Jan 2013 12:08:13 -0500,
Miro Hodak wrote:
> 
> On Mon, Jan 21, 2013 at 4:18 AM, Raymond Yau <superquad.vortex2@gmail.com>wrote:
> 
> >
> > > I have been playing with Independent HP feature and while I can get it
> > to work in aplay and mplayer, it does not seem to work on vlc and Skype.
> > Both applications seem to have options for sending sound to HPs ("AD1989B
> > Analog Front Speakers" or "AD1989B Analog (hw: 0,2)" - Skype only), but
> > none of those options sends sound to the HPs. Any thoughts on this?
> >
> > Because the driver should not allow user to change the independent
> > headphone switch when there is any playing stream
> >
> The Independent HP switch is on before starting these apps (vlc and Skype).

Maybe it's because you set it beforehand?
The previous mixer state is restored usually upon login or reboot.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-21 17:29                                                                                                                   ` Takashi Iwai
@ 2013-01-21 17:44                                                                                                                     ` Miro Hodak
  2013-01-21 19:11                                                                                                                       ` Miro Hodak
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-21 17:44 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

On Mon, Jan 21, 2013 at 12:29 PM, Takashi Iwai <tiwai@suse.de> wrote:

> At Mon, 21 Jan 2013 12:08:13 -0500,
> Miro Hodak wrote:
> >
> > On Mon, Jan 21, 2013 at 4:18 AM, Raymond Yau <
> superquad.vortex2@gmail.com>wrote:
> >
> > >
> > > > I have been playing with Independent HP feature and while I can get
> it
> > > to work in aplay and mplayer, it does not seem to work on vlc and
> Skype.
> > > Both applications seem to have options for sending sound to HPs
> ("AD1989B
> > > Analog Front Speakers" or "AD1989B Analog (hw: 0,2)" - Skype only), but
> > > none of those options sends sound to the HPs. Any thoughts on this?
> > >
> > > Because the driver should not allow user to change the independent
> > > headphone switch when there is any playing stream
> > >
> > The Independent HP switch is on before starting these apps (vlc and
> Skype).
>
> Maybe it's because you set it beforehand?
> The previous mixer state is restored usually upon login or reboot.
>
>
> Takashi
>

Well, I verify that the Independent  HP mode works  just before trying
these applications so mixer should be in correct state.

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-21 17:44                                                                                                                     ` Miro Hodak
@ 2013-01-21 19:11                                                                                                                       ` Miro Hodak
  2013-01-21 20:21                                                                                                                         ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-21 19:11 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

On Mon, Jan 21, 2013 at 12:44 PM, Miro Hodak <mhodak127@gmail.com> wrote:

>
>
> On Mon, Jan 21, 2013 at 12:29 PM, Takashi Iwai <tiwai@suse.de> wrote:
>
>> At Mon, 21 Jan 2013 12:08:13 -0500,
>> Miro Hodak wrote:
>> >
>> > On Mon, Jan 21, 2013 at 4:18 AM, Raymond Yau <
>> superquad.vortex2@gmail.com>wrote:
>> >
>> > >
>> > > > I have been playing with Independent HP feature and while I can get
>> it
>> > > to work in aplay and mplayer, it does not seem to work on vlc and
>> Skype.
>> > > Both applications seem to have options for sending sound to HPs
>> ("AD1989B
>> > > Analog Front Speakers" or "AD1989B Analog (hw: 0,2)" - Skype only),
>> but
>> > > none of those options sends sound to the HPs. Any thoughts on this?
>> > >
>> > > Because the driver should not allow user to change the independent
>> > > headphone switch when there is any playing stream
>> > >
>> > The Independent HP switch is on before starting these apps (vlc and
>> Skype).
>>
>> Maybe it's because you set it beforehand?
>> The previous mixer state is restored usually upon login or reboot.
>>
>>
>> Takashi
>>
>
> Well, I verify that the Independent  HP mode works  just before trying
> these applications so mixer should be in correct state.
>

Actually, it works fine in Skype when using "AD1989B Analog (hw: 0,2)". I
was confused because I changed only "Speakers" to that device and tried
making a test sound. That did not work, apparently test sound goes to
whatever "Ringing" is set to. But when making actual calls, it works as
expected and I can take advantage of the Independent HP feature.

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-21 19:11                                                                                                                       ` Miro Hodak
@ 2013-01-21 20:21                                                                                                                         ` Takashi Iwai
  2013-01-22  7:05                                                                                                                           ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-21 20:21 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Mon, 21 Jan 2013 14:11:47 -0500,
Miro Hodak wrote:
> 
> [1  <text/plain; ISO-8859-1 (7bit)>]
> On Mon, Jan 21, 2013 at 12:44 PM, Miro Hodak <mhodak127@gmail.com> wrote:
> 
> >
> >
> > On Mon, Jan 21, 2013 at 12:29 PM, Takashi Iwai <tiwai@suse.de> wrote:
> >
> >> At Mon, 21 Jan 2013 12:08:13 -0500,
> >> Miro Hodak wrote:
> >> >
> >> > On Mon, Jan 21, 2013 at 4:18 AM, Raymond Yau <
> >> superquad.vortex2@gmail.com>wrote:
> >> >
> >> > >
> >> > > > I have been playing with Independent HP feature and while I can get
> >> it
> >> > > to work in aplay and mplayer, it does not seem to work on vlc and
> >> Skype.
> >> > > Both applications seem to have options for sending sound to HPs
> >> ("AD1989B
> >> > > Analog Front Speakers" or "AD1989B Analog (hw: 0,2)" - Skype only),
> >> but
> >> > > none of those options sends sound to the HPs. Any thoughts on this?
> >> > >
> >> > > Because the driver should not allow user to change the independent
> >> > > headphone switch when there is any playing stream
> >> > >
> >> > The Independent HP switch is on before starting these apps (vlc and
> >> Skype).
> >>
> >> Maybe it's because you set it beforehand?
> >> The previous mixer state is restored usually upon login or reboot.
> >>
> >>
> >> Takashi
> >>
> >
> > Well, I verify that the Independent  HP mode works  just before trying
> > these applications so mixer should be in correct state.
> >
> 
> Actually, it works fine in Skype when using "AD1989B Analog (hw: 0,2)". I
> was confused because I changed only "Speakers" to that device and tried
> making a test sound. That did not work, apparently test sound goes to
> whatever "Ringing" is set to. But when making actual calls, it works as
> expected and I can take advantage of the Independent HP feature.

Hm, there should be nothing to touch the indep-HP mixer control from
PCM, so I have no idea why it went wrong.

BTW, I guess we have still an issue regarding indep HP.  When it's ON,
should the auto-mute be disabled, no?
Although one can disable the automute manually, it'd be maybe more
user-friendly if the driver does it by itself.

The necessary change would be likely trivial, so I'm going to
implement it tomorrow.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-21 20:21                                                                                                                         ` Takashi Iwai
@ 2013-01-22  7:05                                                                                                                           ` Takashi Iwai
  2013-01-22  8:14                                                                                                                             ` Miro Hodak
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-22  7:05 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Mon, 21 Jan 2013 21:21:45 +0100,
Takashi Iwai wrote:
> 
> At Mon, 21 Jan 2013 14:11:47 -0500,
> Miro Hodak wrote:
> > 
> > [1  <text/plain; ISO-8859-1 (7bit)>]
> > On Mon, Jan 21, 2013 at 12:44 PM, Miro Hodak <mhodak127@gmail.com> wrote:
> > 
> > >
> > >
> > > On Mon, Jan 21, 2013 at 12:29 PM, Takashi Iwai <tiwai@suse.de> wrote:
> > >
> > >> At Mon, 21 Jan 2013 12:08:13 -0500,
> > >> Miro Hodak wrote:
> > >> >
> > >> > On Mon, Jan 21, 2013 at 4:18 AM, Raymond Yau <
> > >> superquad.vortex2@gmail.com>wrote:
> > >> >
> > >> > >
> > >> > > > I have been playing with Independent HP feature and while I can get
> > >> it
> > >> > > to work in aplay and mplayer, it does not seem to work on vlc and
> > >> Skype.
> > >> > > Both applications seem to have options for sending sound to HPs
> > >> ("AD1989B
> > >> > > Analog Front Speakers" or "AD1989B Analog (hw: 0,2)" - Skype only),
> > >> but
> > >> > > none of those options sends sound to the HPs. Any thoughts on this?
> > >> > >
> > >> > > Because the driver should not allow user to change the independent
> > >> > > headphone switch when there is any playing stream
> > >> > >
> > >> > The Independent HP switch is on before starting these apps (vlc and
> > >> Skype).
> > >>
> > >> Maybe it's because you set it beforehand?
> > >> The previous mixer state is restored usually upon login or reboot.
> > >>
> > >>
> > >> Takashi
> > >>
> > >
> > > Well, I verify that the Independent  HP mode works  just before trying
> > > these applications so mixer should be in correct state.
> > >
> > 
> > Actually, it works fine in Skype when using "AD1989B Analog (hw: 0,2)". I
> > was confused because I changed only "Speakers" to that device and tried
> > making a test sound. That did not work, apparently test sound goes to
> > whatever "Ringing" is set to. But when making actual calls, it works as
> > expected and I can take advantage of the Independent HP feature.
> 
> Hm, there should be nothing to touch the indep-HP mixer control from
> PCM, so I have no idea why it went wrong.
> 
> BTW, I guess we have still an issue regarding indep HP.  When it's ON,
> should the auto-mute be disabled, no?
> Although one can disable the automute manually, it'd be maybe more
> user-friendly if the driver does it by itself.
> 
> The necessary change would be likely trivial, so I'm going to
> implement it tomorrow.

The patch is below, already merged in test/hda-gen-parser branch (and 
test/hda-migrate and master branch, too), as usual.


Takashi

---
From: Takashi Iwai <tiwai@suse.de>
Subject: [PATCH] ALSA: hda - Disable HP auto-mute during independent HP mode

Both the HP auto-mute and the independent HP mode conflict with each
other.  Make HP auto-mute disabled (only for the affected HP jack)
during the driver is in HP independent mode.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/pci/hda/hda_generic.c | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index 63d12ef..258fb5e 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -1889,6 +1889,13 @@ static int indep_hp_put(struct snd_kcontrol *kcontrol,
 			*dacp = 0;
 		else
 			*dacp = spec->alt_dac_nid;
+
+		/* update HP auto-mute state too */
+		if (spec->hp_automute_hook)
+			spec->hp_automute_hook(codec, NULL);
+		else
+			snd_hda_gen_hp_automute(codec, NULL);
+
 		ret = 1;
 	}
  unlock:
@@ -3467,10 +3474,16 @@ static void call_update_outputs(struct hda_codec *codec)
 void snd_hda_gen_hp_automute(struct hda_codec *codec, struct hda_jack_tbl *jack)
 {
 	struct hda_gen_spec *spec = codec->spec;
+	hda_nid_t *pins = spec->autocfg.hp_pins;
+	int num_pins = ARRAY_SIZE(spec->autocfg.hp_pins);
+
+	/* No detection for the first HP jack during indep-HP mode */
+	if (spec->indep_hp_enabled) {
+		pins++;
+		num_pins--;
+	}
 
-	spec->hp_jack_present =
-		detect_jacks(codec, ARRAY_SIZE(spec->autocfg.hp_pins),
-			     spec->autocfg.hp_pins);
+	spec->hp_jack_present = detect_jacks(codec, num_pins, pins);
 	if (!spec->detect_hp || (!spec->automute_speaker && !spec->automute_lo))
 		return;
 	call_update_outputs(codec);
-- 
1.8.1.1

^ permalink raw reply related	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-22  7:05                                                                                                                           ` Takashi Iwai
@ 2013-01-22  8:14                                                                                                                             ` Miro Hodak
  2013-01-22  8:58                                                                                                                               ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-22  8:14 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

On Tue, Jan 22, 2013 at 2:05 AM, Takashi Iwai <tiwai@suse.de> wrote:

> At Mon, 21 Jan 2013 21:21:45 +0100,
> Takashi Iwai wrote:
>


> The patch is below, already merged in test/hda-gen-parser branch (and
> test/hda-migrate and master branch, too), as usual.
>
>
> Takashi
>
> ---
> From: Takashi Iwai <tiwai@suse.de>
> Subject: [PATCH] ALSA: hda - Disable HP auto-mute during independent HP
> mode
>
> Both the HP auto-mute and the independent HP mode conflict with each
> other.  Make HP auto-mute disabled (only for the affected HP jack)
> during the driver is in HP independent mode.
>
> How is this supposed to work? I upgraded my kernel, and with Independent
HP on Auto-Mute can still be switched on or off in alsamixer.

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-22  8:14                                                                                                                             ` Miro Hodak
@ 2013-01-22  8:58                                                                                                                               ` Takashi Iwai
  2013-01-22 10:06                                                                                                                                 ` Miro Hodak
  0 siblings, 1 reply; 91+ messages in thread
From: Takashi Iwai @ 2013-01-22  8:58 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Tue, 22 Jan 2013 03:14:10 -0500,
Miro Hodak wrote:
> 
> On Tue, Jan 22, 2013 at 2:05 AM, Takashi Iwai <tiwai@suse.de> wrote:
> 
> > At Mon, 21 Jan 2013 21:21:45 +0100,
> > Takashi Iwai wrote:
> >
> 
> 
> > The patch is below, already merged in test/hda-gen-parser branch (and
> > test/hda-migrate and master branch, too), as usual.
> >
> >
> > Takashi
> >
> > ---
> > From: Takashi Iwai <tiwai@suse.de>
> > Subject: [PATCH] ALSA: hda - Disable HP auto-mute during independent HP
> > mode
> >
> > Both the HP auto-mute and the independent HP mode conflict with each
> > other.  Make HP auto-mute disabled (only for the affected HP jack)
> > during the driver is in HP independent mode.
> >
> > How is this supposed to work? I upgraded my kernel, and with Independent
> HP on Auto-Mute can still be switched on or off in alsamixer.

The Auto-mute mode enum mixer is still accessible but it doesn't
affect the automute behavior of the HP jack itself.  The HP jack is
excluded from the automute source during the independent HP mode.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-22  8:58                                                                                                                               ` Takashi Iwai
@ 2013-01-22 10:06                                                                                                                                 ` Miro Hodak
  2013-01-22 10:12                                                                                                                                   ` Takashi Iwai
  0 siblings, 1 reply; 91+ messages in thread
From: Miro Hodak @ 2013-01-22 10:06 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

On Tue, Jan 22, 2013 at 3:58 AM, Takashi Iwai <tiwai@suse.de> wrote:

> At Tue, 22 Jan 2013 03:14:10 -0500,
> Miro Hodak wrote:
> >
> > On Tue, Jan 22, 2013 at 2:05 AM, Takashi Iwai <tiwai@suse.de> wrote:
> >
> > > At Mon, 21 Jan 2013 21:21:45 +0100,
> > > Takashi Iwai wrote:
> > >
> >
> >
> > > The patch is below, already merged in test/hda-gen-parser branch (and
> > > test/hda-migrate and master branch, too), as usual.
> > >
> > >
> > > Takashi
> > >
> > > ---
> > > From: Takashi Iwai <tiwai@suse.de>
> > > Subject: [PATCH] ALSA: hda - Disable HP auto-mute during independent HP
> > > mode
> > >
> > > Both the HP auto-mute and the independent HP mode conflict with each
> > > other.  Make HP auto-mute disabled (only for the affected HP jack)
> > > during the driver is in HP independent mode.
> > >
> > > How is this supposed to work? I upgraded my kernel, and with
> Independent
> > HP on Auto-Mute can still be switched on or off in alsamixer.
>
> The Auto-mute mode enum mixer is still accessible but it doesn't
> affect the automute behavior of the HP jack itself.  The HP jack is
> excluded from the automute source during the independent HP mode.
>
>
> Takashi
>

Is there a reason to do it this way? It must confusing to users if the
option can be changed but it has no effects. For example, Independent HP
cannot be changed while sound is being played.

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
  2013-01-22 10:06                                                                                                                                 ` Miro Hodak
@ 2013-01-22 10:12                                                                                                                                   ` Takashi Iwai
  0 siblings, 0 replies; 91+ messages in thread
From: Takashi Iwai @ 2013-01-22 10:12 UTC (permalink / raw)
  To: Miro Hodak; +Cc: Raymond Yau, basinilya, Manolo Díaz, alsa-devel

At Tue, 22 Jan 2013 05:06:33 -0500,
Miro Hodak wrote:
> 
> On Tue, Jan 22, 2013 at 3:58 AM, Takashi Iwai <tiwai@suse.de> wrote:
> 
> > At Tue, 22 Jan 2013 03:14:10 -0500,
> > Miro Hodak wrote:
> > >
> > > On Tue, Jan 22, 2013 at 2:05 AM, Takashi Iwai <tiwai@suse.de> wrote:
> > >
> > > > At Mon, 21 Jan 2013 21:21:45 +0100,
> > > > Takashi Iwai wrote:
> > > >
> > >
> > >
> > > > The patch is below, already merged in test/hda-gen-parser branch (and
> > > > test/hda-migrate and master branch, too), as usual.
> > > >
> > > >
> > > > Takashi
> > > >
> > > > ---
> > > > From: Takashi Iwai <tiwai@suse.de>
> > > > Subject: [PATCH] ALSA: hda - Disable HP auto-mute during independent HP
> > > > mode
> > > >
> > > > Both the HP auto-mute and the independent HP mode conflict with each
> > > > other.  Make HP auto-mute disabled (only for the affected HP jack)
> > > > during the driver is in HP independent mode.
> > > >
> > > > How is this supposed to work? I upgraded my kernel, and with
> > Independent
> > > HP on Auto-Mute can still be switched on or off in alsamixer.
> >
> > The Auto-mute mode enum mixer is still accessible but it doesn't
> > affect the automute behavior of the HP jack itself.  The HP jack is
> > excluded from the automute source during the independent HP mode.
> >
> >
> > Takashi
> >
> 
> Is there a reason to do it this way? It must confusing to users if the
> option can be changed but it has no effects. For example, Independent HP
> cannot be changed while sound is being played.

The auto-mute option isn't only for one headphone.  If you have an
extra line-out in addition to built-in speaker, it's still working
even if one headphone jack isn't used.  Ditto for the case with
multiple headphones.  The independent HP mode influences only on the
first HP jack.


Takashi

^ permalink raw reply	[flat|nested] 91+ messages in thread

end of thread, other threads:[~2013-01-22 10:12 UTC | newest]

Thread overview: 91+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-13 18:05 HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Miro Hodak
2013-01-14  3:42 ` Raymond Yau
2013-01-14 11:03   ` Takashi Iwai
2013-01-14 13:46     ` Raymond Yau
2013-01-14 14:18       ` Takashi Iwai
2013-01-15  7:59         ` Takashi Iwai
2013-01-16  2:04           ` Raymond Yau
2013-01-16  6:47             ` Takashi Iwai
2013-01-16  7:19               ` Raymond Yau
2013-01-16  7:24                 ` Takashi Iwai
2013-01-14 11:37   ` Clemens Ladisch
2013-01-14 12:31   ` Manolo Díaz
2013-01-14 12:48     ` Takashi Iwai
2013-01-14 12:59       ` Manolo Díaz
2013-01-14 13:03         ` Takashi Iwai
2013-01-14 13:10           ` Manolo Díaz
2013-01-14 16:23           ` Manolo Díaz
2013-01-15  0:42             ` Raymond Yau
2013-01-15  8:53               ` Manolo Díaz
2013-01-16  1:52                 ` Raymond Yau
2013-01-16  8:49                   ` Manolo Díaz
2013-01-16  8:54                     ` Takashi Iwai
2013-01-16 12:37                       ` Raymond Yau
2013-01-16 12:39                       ` Manolo Díaz
2013-01-16 12:54                         ` Takashi Iwai
2013-01-16 13:04                           ` Manolo Díaz
2013-01-16 13:16                             ` Takashi Iwai
2013-01-16 13:55                               ` Manolo Díaz
2013-01-16 14:20                                 ` Takashi Iwai
2013-01-17  3:51                                   ` Raymond Yau
2013-01-17  6:30                                     ` Takashi Iwai
2013-01-17  6:40                                       ` Raymond Yau
2013-01-17  6:49                                         ` Takashi Iwai
2013-01-17  8:10                                           ` Miro Hodak
2013-01-17  9:04                                             ` Takashi Iwai
2013-01-17  9:24                                               ` Miro Hodak
2013-01-17  9:29                                                 ` Takashi Iwai
2013-01-17  9:42                                                   ` Miro Hodak
2013-01-17  9:55                                                     ` Takashi Iwai
2013-01-17 10:17                                                       ` Miro Hodak
2013-01-17 10:21                                                         ` Takashi Iwai
2013-01-17 10:32                                                           ` Miro Hodak
2013-01-17 11:09                                                             ` Takashi Iwai
2013-01-17 12:49                                                             ` Raymond Yau
2013-01-17 14:59                                                               ` Miro Hodak
2013-01-17 15:29                                                                 ` Raymond Yau
2013-01-17 15:33                                                                   ` hda_analyzer (was: Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4) David Henningsson
2013-01-17 15:32                                                                 ` HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Takashi Iwai
2013-01-17 18:12                                                                   ` Manolo Díaz
2013-01-17 19:51                                                                     ` Miro Hodak
2013-01-17 21:12                                                                       ` ALSA versions versus kernel versions Daniel Griscom
2013-01-17 20:16                                                                     ` HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Takashi Iwai
     [not found]                                                                       ` <20130117214043.5a1574ee@gmail.com>
2013-01-18  4:20                                                                         ` Miro Hodak
2013-01-18  7:04                                                                         ` Takashi Iwai
2013-01-18  7:31                                                                           ` Miro Hodak
2013-01-18  8:08                                                                             ` Manolo Díaz
2013-01-18  8:14                                                                               ` Miro Hodak
2013-01-18 10:17                                                                                 ` Takashi Iwai
2013-01-18 12:37                                                                                   ` Manolo Díaz
2013-01-18 13:49                                                                                     ` Takashi Iwai
2013-01-18 14:49                                                                                       ` Raymond Yau
2013-01-18 15:30                                                                                         ` Takashi Iwai
2013-01-18 16:48                                                                                           ` Manolo Díaz
2013-01-18 16:58                                                                                             ` Takashi Iwai
2013-01-18 17:51                                                                                               ` Manolo Díaz
2013-01-18 18:20                                                                                                 ` Manolo Díaz
2013-01-18 18:45                                                                                                   ` Takashi Iwai
     [not found]                                                                                                     ` <CA+S_cwrH6mjunDsn2w76Vpyk7XovOKpH0k_KoU_8SXjmisLAYw@mail.gmail.com>
2013-01-19  5:49                                                                                                       ` Raymond Yau
2013-01-19 11:12                                                                                                         ` Takashi Iwai
2013-01-19 11:11                                                                                                       ` Takashi Iwai
2013-01-20 19:54                                                                                                         ` Miro Hodak
2013-01-21  4:01                                                                                                           ` Raymond Yau
2013-01-21  8:18                                                                                                           ` Takashi Iwai
2013-01-21  8:54                                                                                                             ` Miro Hodak
2013-01-21  9:18                                                                                                               ` Raymond Yau
2013-01-21 17:08                                                                                                                 ` Miro Hodak
2013-01-21 17:29                                                                                                                   ` Takashi Iwai
2013-01-21 17:44                                                                                                                     ` Miro Hodak
2013-01-21 19:11                                                                                                                       ` Miro Hodak
2013-01-21 20:21                                                                                                                         ` Takashi Iwai
2013-01-22  7:05                                                                                                                           ` Takashi Iwai
2013-01-22  8:14                                                                                                                             ` Miro Hodak
2013-01-22  8:58                                                                                                                               ` Takashi Iwai
2013-01-22 10:06                                                                                                                                 ` Miro Hodak
2013-01-22 10:12                                                                                                                                   ` Takashi Iwai
2013-01-19  2:39                                                                                           ` Raymond Yau
2013-01-19 11:09                                                                                             ` Takashi Iwai
2013-01-19 12:37                                                                                               ` Raymond Yau
2013-01-19 16:56                                                                                                 ` Takashi Iwai
2013-01-18  7:43                                             ` Raymond Yau
2013-01-15  7:27             ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.