All of lore.kernel.org
 help / color / mirror / Atom feed
* model needed for Clevo P150HM (Realtek ALC892)
@ 2011-06-23  6:36 Julian Sikorski
  2011-06-23 12:41 ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-23  6:36 UTC (permalink / raw)
  To: alsa-devel

Hi,

I am coming here from pulseaudio-general mailing list [1]. I recently
got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
microphone and the following connectors:
- headphone out
- microphone in; can be switched to center/lfe out
- spdif out; can be switched to rear speaker out
- line in; can be switched to side speaker out
Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
sound, and there are two configs showing up in pavucontrol (analog
output and analog headphones) which seem to be the same. I have uploaded
the output of alsa-info.sh [2]. Please let me know if more information
is needed.

Regards,
Julian

[1] http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/10096
[2]
http://www.alsa-project.org/db/?f=7c91e874f4272387c2c51e448337567202c0edfe

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-23  6:36 model needed for Clevo P150HM (Realtek ALC892) Julian Sikorski
@ 2011-06-23 12:41 ` Takashi Iwai
  2011-06-23 16:40   ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-06-23 12:41 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Thu, 23 Jun 2011 08:36:55 +0200,
Julian Sikorski wrote:
> 
> Hi,
> 
> I am coming here from pulseaudio-general mailing list [1]. I recently
> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
> microphone and the following connectors:
> - headphone out
> - microphone in; can be switched to center/lfe out
> - spdif out; can be switched to rear speaker out
> - line in; can be switched to side speaker out
> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
> sound, and there are two configs showing up in pavucontrol (analog
> output and analog headphones) which seem to be the same. I have uploaded
> the output of alsa-info.sh [2]. Please let me know if more information
> is needed.

The current parser doesn't allow the multi-io pins when the primary
output is no line-out.  The patch below should fix (change) the
behavior.  It'll count HP out, too.


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index fe56b2b..b0cf726 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
 	hda_nid_t dac;
 
 	spec->multiout.dac_nids = spec->private_dac_nids;
+	spec->multiout.num_dacs = 0;
 	for (i = 0; i < cfg->line_outs; i++) {
 		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
 		if (!dac)
@@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
 	unsigned int location, defcfg;
 	int num_pins;
 
+	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT && cfg->hp_outs == 1) {
+		/* use HP as primary out */
+		cfg->speaker_outs = cfg->line_outs;
+		memcpy(cfg->speaker_pins, cfg->line_out_pins,
+		       sizeof(cfg->speaker_pins));
+		cfg->line_outs = cfg->hp_outs;
+		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
+		cfg->hp_outs = 0;
+		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
+		cfg->line_out_type = AUTO_PIN_HP_OUT;
+		alc662_auto_fill_dac_nids(codec, cfg);
+	}
 	if (cfg->line_outs != 1 ||
-	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
+	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
 		return 0;
 
 	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
@@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
 		spec->multi_ios = num_pins;
 		spec->ext_channel_count = 2;
 		spec->multiout.num_dacs = num_pins + 1;
+		/* for avoiding multi HP mixers */
+		cfg->line_out_type = AUTO_PIN_LINE_OUT;
 	}
 	return 0;
 }

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-23 12:41 ` Takashi Iwai
@ 2011-06-23 16:40   ` Julian Sikorski
  2011-06-24  8:34     ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-23 16:40 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 23/06/2011 14:41, Takashi Iwai wrote:
> At Thu, 23 Jun 2011 08:36:55 +0200,
> Julian Sikorski wrote:
>>
>> Hi,
>>
>> I am coming here from pulseaudio-general mailing list [1]. I recently
>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>> microphone and the following connectors:
>> - headphone out
>> - microphone in; can be switched to center/lfe out
>> - spdif out; can be switched to rear speaker out
>> - line in; can be switched to side speaker out
>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>> sound, and there are two configs showing up in pavucontrol (analog
>> output and analog headphones) which seem to be the same. I have uploaded
>> the output of alsa-info.sh [2]. Please let me know if more information
>> is needed.
>
> The current parser doesn't allow the multi-io pins when the primary
> output is no line-out.  The patch below should fix (change) the
> behavior.  It'll count HP out, too.
>
>
> Takashi
>
> ---
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index fe56b2b..b0cf726 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>   	hda_nid_t dac;
>
>   	spec->multiout.dac_nids = spec->private_dac_nids;
> +	spec->multiout.num_dacs = 0;
>   	for (i = 0; i<  cfg->line_outs; i++) {
>   		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>   		if (!dac)
> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>   	unsigned int location, defcfg;
>   	int num_pins;
>
> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&  cfg->hp_outs == 1) {
> +		/* use HP as primary out */
> +		cfg->speaker_outs = cfg->line_outs;
> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
> +		       sizeof(cfg->speaker_pins));
> +		cfg->line_outs = cfg->hp_outs;
> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
> +		cfg->hp_outs = 0;
> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
> +		alc662_auto_fill_dac_nids(codec, cfg);
> +	}
>   	if (cfg->line_outs != 1 ||
> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>   		return 0;
>
>   	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>   		spec->multi_ios = num_pins;
>   		spec->ext_channel_count = 2;
>   		spec->multiout.num_dacs = num_pins + 1;
> +		/* for avoiding multi HP mixers */
> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>   	}
>   	return 0;
>   }
Would you like me to test this patch? If so, what should I apply it to 
and how should I proceed?

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-23 16:40   ` Julian Sikorski
@ 2011-06-24  8:34     ` Takashi Iwai
  2011-06-24  9:12       ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-06-24  8:34 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Thu, 23 Jun 2011 18:40:47 +0200,
Julian Sikorski wrote:
> 
> On 23/06/2011 14:41, Takashi Iwai wrote:
> > At Thu, 23 Jun 2011 08:36:55 +0200,
> > Julian Sikorski wrote:
> >>
> >> Hi,
> >>
> >> I am coming here from pulseaudio-general mailing list [1]. I recently
> >> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
> >> microphone and the following connectors:
> >> - headphone out
> >> - microphone in; can be switched to center/lfe out
> >> - spdif out; can be switched to rear speaker out
> >> - line in; can be switched to side speaker out
> >> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
> >> sound, and there are two configs showing up in pavucontrol (analog
> >> output and analog headphones) which seem to be the same. I have uploaded
> >> the output of alsa-info.sh [2]. Please let me know if more information
> >> is needed.
> >
> > The current parser doesn't allow the multi-io pins when the primary
> > output is no line-out.  The patch below should fix (change) the
> > behavior.  It'll count HP out, too.
> >
> >
> > Takashi
> >
> > ---
> > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> > index fe56b2b..b0cf726 100644
> > --- a/sound/pci/hda/patch_realtek.c
> > +++ b/sound/pci/hda/patch_realtek.c
> > @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
> >   	hda_nid_t dac;
> >
> >   	spec->multiout.dac_nids = spec->private_dac_nids;
> > +	spec->multiout.num_dacs = 0;
> >   	for (i = 0; i<  cfg->line_outs; i++) {
> >   		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
> >   		if (!dac)
> > @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> >   	unsigned int location, defcfg;
> >   	int num_pins;
> >
> > +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&  cfg->hp_outs == 1) {
> > +		/* use HP as primary out */
> > +		cfg->speaker_outs = cfg->line_outs;
> > +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
> > +		       sizeof(cfg->speaker_pins));
> > +		cfg->line_outs = cfg->hp_outs;
> > +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
> > +		cfg->hp_outs = 0;
> > +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
> > +		cfg->line_out_type = AUTO_PIN_HP_OUT;
> > +		alc662_auto_fill_dac_nids(codec, cfg);
> > +	}
> >   	if (cfg->line_outs != 1 ||
> > -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
> > +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
> >   		return 0;
> >
> >   	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
> > @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> >   		spec->multi_ios = num_pins;
> >   		spec->ext_channel_count = 2;
> >   		spec->multiout.num_dacs = num_pins + 1;
> > +		/* for avoiding multi HP mixers */
> > +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
> >   	}
> >   	return 0;
> >   }
> Would you like me to test this patch? If so, what should I apply it to 
> and how should I proceed?

Yes, the test would be appreciated, of course.
Apply it to the latest 3.0-rc kernel and test.


thanks,

Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-24  8:34     ` Takashi Iwai
@ 2011-06-24  9:12       ` Takashi Iwai
  2011-06-24 11:25         ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-06-24  9:12 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Fri, 24 Jun 2011 10:34:01 +0200,
Takashi Iwai wrote:
> 
> At Thu, 23 Jun 2011 18:40:47 +0200,
> Julian Sikorski wrote:
> > 
> > On 23/06/2011 14:41, Takashi Iwai wrote:
> > > At Thu, 23 Jun 2011 08:36:55 +0200,
> > > Julian Sikorski wrote:
> > >>
> > >> Hi,
> > >>
> > >> I am coming here from pulseaudio-general mailing list [1]. I recently
> > >> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
> > >> microphone and the following connectors:
> > >> - headphone out
> > >> - microphone in; can be switched to center/lfe out
> > >> - spdif out; can be switched to rear speaker out
> > >> - line in; can be switched to side speaker out
> > >> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
> > >> sound, and there are two configs showing up in pavucontrol (analog
> > >> output and analog headphones) which seem to be the same. I have uploaded
> > >> the output of alsa-info.sh [2]. Please let me know if more information
> > >> is needed.
> > >
> > > The current parser doesn't allow the multi-io pins when the primary
> > > output is no line-out.  The patch below should fix (change) the
> > > behavior.  It'll count HP out, too.
> > >
> > >
> > > Takashi
> > >
> > > ---
> > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> > > index fe56b2b..b0cf726 100644
> > > --- a/sound/pci/hda/patch_realtek.c
> > > +++ b/sound/pci/hda/patch_realtek.c
> > > @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
> > >   	hda_nid_t dac;
> > >
> > >   	spec->multiout.dac_nids = spec->private_dac_nids;
> > > +	spec->multiout.num_dacs = 0;
> > >   	for (i = 0; i<  cfg->line_outs; i++) {
> > >   		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
> > >   		if (!dac)
> > > @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> > >   	unsigned int location, defcfg;
> > >   	int num_pins;
> > >
> > > +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&  cfg->hp_outs == 1) {
> > > +		/* use HP as primary out */
> > > +		cfg->speaker_outs = cfg->line_outs;
> > > +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
> > > +		       sizeof(cfg->speaker_pins));
> > > +		cfg->line_outs = cfg->hp_outs;
> > > +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
> > > +		cfg->hp_outs = 0;
> > > +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
> > > +		cfg->line_out_type = AUTO_PIN_HP_OUT;
> > > +		alc662_auto_fill_dac_nids(codec, cfg);
> > > +	}
> > >   	if (cfg->line_outs != 1 ||
> > > -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
> > > +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
> > >   		return 0;
> > >
> > >   	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
> > > @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> > >   		spec->multi_ios = num_pins;
> > >   		spec->ext_channel_count = 2;
> > >   		spec->multiout.num_dacs = num_pins + 1;
> > > +		/* for avoiding multi HP mixers */
> > > +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
> > >   	}
> > >   	return 0;
> > >   }
> > Would you like me to test this patch? If so, what should I apply it to 
> > and how should I proceed?
> 
> Yes, the test would be appreciated, of course.
> Apply it to the latest 3.0-rc kernel and test.

Also, the additional patch below will give "Headphone" mixer control
back while new "Surround", "Center" and "LFE" will appear.

Note that you'll need to change "Channel Mode" mixer control to "6ch"
for using the surround outputs even with these patches.  As default,
it's set as "2ch".


Takashi

---
Subject: [PATCH] ALSA: hda - Clean up multi-channel mixer name assignment in
 patch_realtek.c

Change alc_get_line_out_pfx() in patch_realtek.c to provide the channel
specific name and assign the index so that each caller doesn't have to
set the channel name by itself.

Also, check the multi-io case with the primary hp-out; for the multi-io
channels, assign the channel name instead of "Headphone" with indices.
This makes the mixer names more intuitive and reduces confusion.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/pci/hda/patch_realtek.c |   92 ++++++++++++++++-------------------------
 1 files changed, 36 insertions(+), 56 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index b0cf726..7858da5 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5359,11 +5359,15 @@ static int alc880_auto_fill_dac_nids(struct alc_spec *spec,
 	return 0;
 }
 
-static const char *alc_get_line_out_pfx(struct alc_spec *spec,
-					bool can_be_master)
+static const char *alc_get_line_out_pfx(struct alc_spec *spec, int ch,
+					bool can_be_master, int *index)
 {
 	struct auto_pin_cfg *cfg = &spec->autocfg;
+	static const char * const chname[4] = {
+		"Front", "Surround", NULL /*CLFE*/, "Side"
+	};
 
+	*index = 0;
 	if (cfg->line_outs == 1 && !spec->multi_ios &&
 	    !cfg->hp_outs && !cfg->speaker_outs && can_be_master)
 		return "Master";
@@ -5374,23 +5378,23 @@ static const char *alc_get_line_out_pfx(struct alc_spec *spec,
 			return "Speaker";
 		break;
 	case AUTO_PIN_HP_OUT:
+		/* for multi-io case, only the primary out */
+		if (ch && spec->multi_ios)
+			break;
+		*index = ch;
 		return "Headphone";
 	default:
 		if (cfg->line_outs == 1 && !spec->multi_ios)
 			return "PCM";
 		break;
 	}
-	return NULL;
+	return chname[ch];
 }
 
 /* add playback controls from the parsed DAC table */
 static int alc880_auto_create_multi_out_ctls(struct alc_spec *spec,
 					     const struct auto_pin_cfg *cfg)
 {
-	static const char * const chname[4] = {
-		"Front", "Surround", NULL /*CLFE*/, "Side"
-	};
-	const char *pfx = alc_get_line_out_pfx(spec, false);
 	hda_nid_t nid;
 	int i, err, noutputs;
 
@@ -5399,10 +5403,13 @@ static int alc880_auto_create_multi_out_ctls(struct alc_spec *spec,
 		noutputs += spec->multi_ios;
 
 	for (i = 0; i < noutputs; i++) {
+		const char *name;
+		int index;
 		if (!spec->multiout.dac_nids[i])
 			continue;
 		nid = alc880_idx_to_mixer(alc880_dac_to_idx(spec->multiout.dac_nids[i]));
-		if (!pfx && i == 2) {
+		name = alc_get_line_out_pfx(spec, i, false, &index);
+		if (!name) {
 			/* Center/LFE */
 			err = add_pb_vol_ctrl(spec, ALC_CTL_WIDGET_VOL,
 					      "Center",
@@ -5429,12 +5436,6 @@ static int alc880_auto_create_multi_out_ctls(struct alc_spec *spec,
 			if (err < 0)
 				return err;
 		} else {
-			const char *name = pfx;
-			int index = i;
-			if (!name) {
-				name = chname[i];
-				index = 0;
-			}
 			err = __add_pb_vol_ctrl(spec, ALC_CTL_WIDGET_VOL,
 						name, index,
 					  HDA_COMPOSE_AMP_VAL(nid, 3, 0,
@@ -12257,17 +12258,18 @@ static int alc262_auto_create_multi_out_ctls(struct alc_spec *spec,
 {
 	const char *pfx;
 	int vbits;
-	int i, err;
+	int i, index, err;
 
 	spec->multiout.num_dacs = 1;	/* only use one dac */
 	spec->multiout.dac_nids = spec->private_dac_nids;
 	spec->private_dac_nids[0] = 2;
 
-	pfx = alc_get_line_out_pfx(spec, true);
-	if (!pfx)
-		pfx = "Front";
 	for (i = 0; i < 2; i++) {
-		err = alc262_add_out_sw_ctl(spec, cfg->line_out_pins[i], pfx, i);
+		pfx = alc_get_line_out_pfx(spec, i, true, &index);
+		if (!pfx)
+			pfx = "PCM";
+		err = alc262_add_out_sw_ctl(spec, cfg->line_out_pins[i], pfx,
+					    index);
 		if (err < 0)
 			return err;
 		if (cfg->line_out_type != AUTO_PIN_SPEAKER_OUT) {
@@ -12287,10 +12289,11 @@ static int alc262_auto_create_multi_out_ctls(struct alc_spec *spec,
 	vbits = alc262_check_volbit(cfg->line_out_pins[0]) |
 		alc262_check_volbit(cfg->speaker_pins[0]) |
 		alc262_check_volbit(cfg->hp_pins[0]);
-	if (vbits == 1 || vbits == 2)
-		pfx = "Master"; /* only one mixer is used */
 	vbits = 0;
 	for (i = 0; i < 2; i++) {
+		pfx = alc_get_line_out_pfx(spec, i, true, &index);
+		if (!pfx)
+			pfx = "PCM";
 		err = alc262_add_out_vol_ctl(spec, cfg->line_out_pins[i], pfx,
 					     &vbits, i);
 		if (err < 0)
@@ -16035,10 +16038,6 @@ static int alc861_auto_create_multi_out_ctls(struct hda_codec *codec,
 					     const struct auto_pin_cfg *cfg)
 {
 	struct alc_spec *spec = codec->spec;
-	static const char * const chname[4] = {
-		"Front", "Surround", NULL /*CLFE*/, "Side"
-	};
-	const char *pfx = alc_get_line_out_pfx(spec, true);
 	hda_nid_t nid;
 	int i, err, noutputs;
 
@@ -16047,10 +16046,13 @@ static int alc861_auto_create_multi_out_ctls(struct hda_codec *codec,
 		noutputs += spec->multi_ios;
 
 	for (i = 0; i < noutputs; i++) {
+		const char *name;
+		int index;
 		nid = spec->multiout.dac_nids[i];
 		if (!nid)
 			continue;
-		if (!pfx && i == 2) {
+		name = alc_get_line_out_pfx(spec, i, true, &index);
+		if (!name) {
 			/* Center/LFE */
 			err = alc861_create_out_sw(codec, "Center", nid, 1);
 			if (err < 0)
@@ -16059,12 +16061,6 @@ static int alc861_auto_create_multi_out_ctls(struct hda_codec *codec,
 			if (err < 0)
 				return err;
 		} else {
-			const char *name = pfx;
-			int index = i;
-			if (!name) {
-				name = chname[i];
-				index = 0;
-			}
 			err = __alc861_create_out_sw(codec, name, nid, index, 3);
 			if (err < 0)
 				return err;
@@ -17178,10 +17174,6 @@ static void alc861vd_auto_init_analog_input(struct hda_codec *codec)
 static int alc861vd_auto_create_multi_out_ctls(struct alc_spec *spec,
 					     const struct auto_pin_cfg *cfg)
 {
-	static const char * const chname[4] = {
-		"Front", "Surround", "CLFE", "Side"
-	};
-	const char *pfx = alc_get_line_out_pfx(spec, true);
 	hda_nid_t nid_v, nid_s;
 	int i, err, noutputs;
 
@@ -17190,6 +17182,8 @@ static int alc861vd_auto_create_multi_out_ctls(struct alc_spec *spec,
 		noutputs += spec->multi_ios;
 
 	for (i = 0; i < noutputs; i++) {
+		const char *name;
+		int index;
 		if (!spec->multiout.dac_nids[i])
 			continue;
 		nid_v = alc861vd_idx_to_mixer_vol(
@@ -17199,7 +17193,8 @@ static int alc861vd_auto_create_multi_out_ctls(struct alc_spec *spec,
 				alc880_dac_to_idx(
 					spec->multiout.dac_nids[i]));
 
-		if (!pfx && i == 2) {
+		name = alc_get_line_out_pfx(spec, i, true, &index);
+		if (!name) {
 			/* Center/LFE */
 			err = add_pb_vol_ctrl(spec, ALC_CTL_WIDGET_VOL,
 					      "Center",
@@ -17226,12 +17221,6 @@ static int alc861vd_auto_create_multi_out_ctls(struct alc_spec *spec,
 			if (err < 0)
 				return err;
 		} else {
-			const char *name = pfx;
-			int index = i;
-			if (!name) {
-				name = chname[i];
-				index = 0;
-			}
 			err = __add_pb_vol_ctrl(spec, ALC_CTL_WIDGET_VOL,
 						name, index,
 					  HDA_COMPOSE_AMP_VAL(nid_v, 3, 0,
@@ -19030,10 +19019,6 @@ static int alc662_auto_create_multi_out_ctls(struct hda_codec *codec,
 					     const struct auto_pin_cfg *cfg)
 {
 	struct alc_spec *spec = codec->spec;
-	static const char * const chname[4] = {
-		"Front", "Surround", NULL /*CLFE*/, "Side"
-	};
-	const char *pfx = alc_get_line_out_pfx(spec, true);
 	hda_nid_t nid, mix, pin;
 	int i, err, noutputs;
 
@@ -19042,6 +19027,8 @@ static int alc662_auto_create_multi_out_ctls(struct hda_codec *codec,
 		noutputs += spec->multi_ios;
 
 	for (i = 0; i < noutputs; i++) {
+		const char *name;
+		int index;
 		nid = spec->multiout.dac_nids[i];
 		if (!nid)
 			continue;
@@ -19052,7 +19039,8 @@ static int alc662_auto_create_multi_out_ctls(struct hda_codec *codec,
 		mix = alc_auto_dac_to_mix(codec, pin, nid);
 		if (!mix)
 			continue;
-		if (!pfx && i == 2) {
+		name = alc_get_line_out_pfx(spec, i, true, &index);
+		if (!name) {
 			/* Center/LFE */
 			err = alc662_add_vol_ctl(spec, "Center", nid, 1);
 			if (err < 0)
@@ -19067,12 +19055,6 @@ static int alc662_auto_create_multi_out_ctls(struct hda_codec *codec,
 			if (err < 0)
 				return err;
 		} else {
-			const char *name = pfx;
-			int index = i;
-			if (!name) {
-				name = chname[i];
-				index = 0;
-			}
 			err = __alc662_add_vol_ctl(spec, name, nid, index, 3);
 			if (err < 0)
 				return err;
@@ -19361,8 +19343,6 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
 		spec->multi_ios = num_pins;
 		spec->ext_channel_count = 2;
 		spec->multiout.num_dacs = num_pins + 1;
-		/* for avoiding multi HP mixers */
-		cfg->line_out_type = AUTO_PIN_LINE_OUT;
 	}
 	return 0;
 }
-- 
1.7.5.4

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-24  9:12       ` Takashi Iwai
@ 2011-06-24 11:25         ` Julian Sikorski
  2011-06-25  7:11           ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-24 11:25 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 24/06/2011 11:12, Takashi Iwai wrote:
> At Fri, 24 Jun 2011 10:34:01 +0200,
> Takashi Iwai wrote:
>>
>> At Thu, 23 Jun 2011 18:40:47 +0200,
>> Julian Sikorski wrote:
>>>
>>> On 23/06/2011 14:41, Takashi Iwai wrote:
>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
>>>> Julian Sikorski wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>>>>> microphone and the following connectors:
>>>>> - headphone out
>>>>> - microphone in; can be switched to center/lfe out
>>>>> - spdif out; can be switched to rear speaker out
>>>>> - line in; can be switched to side speaker out
>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>>>>> sound, and there are two configs showing up in pavucontrol (analog
>>>>> output and analog headphones) which seem to be the same. I have uploaded
>>>>> the output of alsa-info.sh [2]. Please let me know if more information
>>>>> is needed.
>>>>
>>>> The current parser doesn't allow the multi-io pins when the primary
>>>> output is no line-out.  The patch below should fix (change) the
>>>> behavior.  It'll count HP out, too.
>>>>
>>>>
>>>> Takashi
>>>>
>>>> ---
>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>>>> index fe56b2b..b0cf726 100644
>>>> --- a/sound/pci/hda/patch_realtek.c
>>>> +++ b/sound/pci/hda/patch_realtek.c
>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>>>>    	hda_nid_t dac;
>>>>
>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
>>>> +	spec->multiout.num_dacs = 0;
>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>>>>    		if (!dac)
>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>    	unsigned int location, defcfg;
>>>>    	int num_pins;
>>>>
>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
>>>> +		/* use HP as primary out */
>>>> +		cfg->speaker_outs = cfg->line_outs;
>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
>>>> +		       sizeof(cfg->speaker_pins));
>>>> +		cfg->line_outs = cfg->hp_outs;
>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
>>>> +		cfg->hp_outs = 0;
>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
>>>> +	}
>>>>    	if (cfg->line_outs != 1 ||
>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>>>>    		return 0;
>>>>
>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>    		spec->multi_ios = num_pins;
>>>>    		spec->ext_channel_count = 2;
>>>>    		spec->multiout.num_dacs = num_pins + 1;
>>>> +		/* for avoiding multi HP mixers */
>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>>>>    	}
>>>>    	return 0;
>>>>    }
>>> Would you like me to test this patch? If so, what should I apply it to
>>> and how should I proceed?
>>
>> Yes, the test would be appreciated, of course.
>> Apply it to the latest 3.0-rc kernel and test.
>
> Also, the additional patch below will give "Headphone" mixer control
> back while new "Surround", "Center" and "LFE" will appear.
>
> Note that you'll need to change "Channel Mode" mixer control to "6ch"
> for using the surround outputs even with these patches.  As default,
> it's set as "2ch".
>
>
> Takashi
>
I will definitely try to give this a shot, but the outcome might be 
dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
kernel.
How about 8-channel sound btw? Under Windows the device claims to be 
capable of it.

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-24 11:25         ` Julian Sikorski
@ 2011-06-25  7:11           ` Takashi Iwai
  2011-06-25  9:22             ` Julian Sikorski
  2011-06-25 11:08             ` Julian Sikorski
  0 siblings, 2 replies; 69+ messages in thread
From: Takashi Iwai @ 2011-06-25  7:11 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Fri, 24 Jun 2011 13:25:53 +0200,
Julian Sikorski wrote:
> 
> On 24/06/2011 11:12, Takashi Iwai wrote:
> > At Fri, 24 Jun 2011 10:34:01 +0200,
> > Takashi Iwai wrote:
> >>
> >> At Thu, 23 Jun 2011 18:40:47 +0200,
> >> Julian Sikorski wrote:
> >>>
> >>> On 23/06/2011 14:41, Takashi Iwai wrote:
> >>>> At Thu, 23 Jun 2011 08:36:55 +0200,
> >>>> Julian Sikorski wrote:
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
> >>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
> >>>>> microphone and the following connectors:
> >>>>> - headphone out
> >>>>> - microphone in; can be switched to center/lfe out
> >>>>> - spdif out; can be switched to rear speaker out
> >>>>> - line in; can be switched to side speaker out
> >>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
> >>>>> sound, and there are two configs showing up in pavucontrol (analog
> >>>>> output and analog headphones) which seem to be the same. I have uploaded
> >>>>> the output of alsa-info.sh [2]. Please let me know if more information
> >>>>> is needed.
> >>>>
> >>>> The current parser doesn't allow the multi-io pins when the primary
> >>>> output is no line-out.  The patch below should fix (change) the
> >>>> behavior.  It'll count HP out, too.
> >>>>
> >>>>
> >>>> Takashi
> >>>>
> >>>> ---
> >>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> >>>> index fe56b2b..b0cf726 100644
> >>>> --- a/sound/pci/hda/patch_realtek.c
> >>>> +++ b/sound/pci/hda/patch_realtek.c
> >>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
> >>>>    	hda_nid_t dac;
> >>>>
> >>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
> >>>> +	spec->multiout.num_dacs = 0;
> >>>>    	for (i = 0; i<   cfg->line_outs; i++) {
> >>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
> >>>>    		if (!dac)
> >>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> >>>>    	unsigned int location, defcfg;
> >>>>    	int num_pins;
> >>>>
> >>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
> >>>> +		/* use HP as primary out */
> >>>> +		cfg->speaker_outs = cfg->line_outs;
> >>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
> >>>> +		       sizeof(cfg->speaker_pins));
> >>>> +		cfg->line_outs = cfg->hp_outs;
> >>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
> >>>> +		cfg->hp_outs = 0;
> >>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
> >>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
> >>>> +		alc662_auto_fill_dac_nids(codec, cfg);
> >>>> +	}
> >>>>    	if (cfg->line_outs != 1 ||
> >>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
> >>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
> >>>>    		return 0;
> >>>>
> >>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
> >>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> >>>>    		spec->multi_ios = num_pins;
> >>>>    		spec->ext_channel_count = 2;
> >>>>    		spec->multiout.num_dacs = num_pins + 1;
> >>>> +		/* for avoiding multi HP mixers */
> >>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
> >>>>    	}
> >>>>    	return 0;
> >>>>    }
> >>> Would you like me to test this patch? If so, what should I apply it to
> >>> and how should I proceed?
> >>
> >> Yes, the test would be appreciated, of course.
> >> Apply it to the latest 3.0-rc kernel and test.
> >
> > Also, the additional patch below will give "Headphone" mixer control
> > back while new "Surround", "Center" and "LFE" will appear.
> >
> > Note that you'll need to change "Channel Mode" mixer control to "6ch"
> > for using the surround outputs even with these patches.  As default,
> > it's set as "2ch".
> >
> >
> > Takashi
> >
> I will definitely try to give this a shot, but the outcome might be 
> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
> kernel.

You can build the kernel by yourself at any time...

> How about 8-channel sound btw? Under Windows the device claims to be 
> capable of it.

Do you have 4 jacks?  Otherwise it's nonsense.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-25  7:11           ` Takashi Iwai
@ 2011-06-25  9:22             ` Julian Sikorski
  2011-06-25 11:08             ` Julian Sikorski
  1 sibling, 0 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-06-25  9:22 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 25.06.2011 09:11, Takashi Iwai pisze:
> At Fri, 24 Jun 2011 13:25:53 +0200,
> Julian Sikorski wrote:
>>
>> On 24/06/2011 11:12, Takashi Iwai wrote:
>>> At Fri, 24 Jun 2011 10:34:01 +0200,
>>> Takashi Iwai wrote:
>>>>
>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
>>>> Julian Sikorski wrote:
>>>>>
>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
>>>>>> Julian Sikorski wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>>>>>>> microphone and the following connectors:
>>>>>>> - headphone out
>>>>>>> - microphone in; can be switched to center/lfe out
>>>>>>> - spdif out; can be switched to rear speaker out
>>>>>>> - line in; can be switched to side speaker out
>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
>>>>>>> is needed.
>>>>>>
>>>>>> The current parser doesn't allow the multi-io pins when the primary
>>>>>> output is no line-out.  The patch below should fix (change) the
>>>>>> behavior.  It'll count HP out, too.
>>>>>>
>>>>>>
>>>>>> Takashi
>>>>>>
>>>>>> ---
>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>>>>>> index fe56b2b..b0cf726 100644
>>>>>> --- a/sound/pci/hda/patch_realtek.c
>>>>>> +++ b/sound/pci/hda/patch_realtek.c
>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>>>>>>    	hda_nid_t dac;
>>>>>>
>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
>>>>>> +	spec->multiout.num_dacs = 0;
>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>>>>>>    		if (!dac)
>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>    	unsigned int location, defcfg;
>>>>>>    	int num_pins;
>>>>>>
>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
>>>>>> +		/* use HP as primary out */
>>>>>> +		cfg->speaker_outs = cfg->line_outs;
>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
>>>>>> +		       sizeof(cfg->speaker_pins));
>>>>>> +		cfg->line_outs = cfg->hp_outs;
>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
>>>>>> +		cfg->hp_outs = 0;
>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
>>>>>> +	}
>>>>>>    	if (cfg->line_outs != 1 ||
>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>>>>>>    		return 0;
>>>>>>
>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>    		spec->multi_ios = num_pins;
>>>>>>    		spec->ext_channel_count = 2;
>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
>>>>>> +		/* for avoiding multi HP mixers */
>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>>>>>>    	}
>>>>>>    	return 0;
>>>>>>    }
>>>>> Would you like me to test this patch? If so, what should I apply it to
>>>>> and how should I proceed?
>>>>
>>>> Yes, the test would be appreciated, of course.
>>>> Apply it to the latest 3.0-rc kernel and test.
>>>
>>> Also, the additional patch below will give "Headphone" mixer control
>>> back while new "Surround", "Center" and "LFE" will appear.
>>>
>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
>>> for using the surround outputs even with these patches.  As default,
>>> it's set as "2ch".
>>>
>>>
>>> Takashi
>>>
>> I will definitely try to give this a shot, but the outcome might be 
>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
>> kernel.
> 
> You can build the kernel by yourself at any time...

I will definitely try.

>> How about 8-channel sound btw? Under Windows the device claims to be 
>> capable of it.
> 
> Do you have 4 jacks?  Otherwise it's nonsense.

>From my 1st mail:

It has 2.1 speakers, a built-in microphone and the following connectors:
- headphone out
- microphone in; can be switched to center/lfe out
- spdif out; can be switched to rear speaker out
- line in; can be switched to side speaker out

Sorry if I wasn't clear, but the spdif out is a jack/optical hybrid.

> Takashi

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-25  7:11           ` Takashi Iwai
  2011-06-25  9:22             ` Julian Sikorski
@ 2011-06-25 11:08             ` Julian Sikorski
  2011-06-25 11:31               ` Julian Sikorski
  1 sibling, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-25 11:08 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 25.06.2011 09:11, Takashi Iwai pisze:
> At Fri, 24 Jun 2011 13:25:53 +0200,
> Julian Sikorski wrote:
>>
>> On 24/06/2011 11:12, Takashi Iwai wrote:
>>> At Fri, 24 Jun 2011 10:34:01 +0200,
>>> Takashi Iwai wrote:
>>>>
>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
>>>> Julian Sikorski wrote:
>>>>>
>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
>>>>>> Julian Sikorski wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>>>>>>> microphone and the following connectors:
>>>>>>> - headphone out
>>>>>>> - microphone in; can be switched to center/lfe out
>>>>>>> - spdif out; can be switched to rear speaker out
>>>>>>> - line in; can be switched to side speaker out
>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
>>>>>>> is needed.
>>>>>>
>>>>>> The current parser doesn't allow the multi-io pins when the primary
>>>>>> output is no line-out.  The patch below should fix (change) the
>>>>>> behavior.  It'll count HP out, too.
>>>>>>
>>>>>>
>>>>>> Takashi
>>>>>>
>>>>>> ---
>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>>>>>> index fe56b2b..b0cf726 100644
>>>>>> --- a/sound/pci/hda/patch_realtek.c
>>>>>> +++ b/sound/pci/hda/patch_realtek.c
>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>>>>>>    	hda_nid_t dac;
>>>>>>
>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
>>>>>> +	spec->multiout.num_dacs = 0;
>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>>>>>>    		if (!dac)
>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>    	unsigned int location, defcfg;
>>>>>>    	int num_pins;
>>>>>>
>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
>>>>>> +		/* use HP as primary out */
>>>>>> +		cfg->speaker_outs = cfg->line_outs;
>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
>>>>>> +		       sizeof(cfg->speaker_pins));
>>>>>> +		cfg->line_outs = cfg->hp_outs;
>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
>>>>>> +		cfg->hp_outs = 0;
>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
>>>>>> +	}
>>>>>>    	if (cfg->line_outs != 1 ||
>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>>>>>>    		return 0;
>>>>>>
>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>    		spec->multi_ios = num_pins;
>>>>>>    		spec->ext_channel_count = 2;
>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
>>>>>> +		/* for avoiding multi HP mixers */
>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>>>>>>    	}
>>>>>>    	return 0;
>>>>>>    }
>>>>> Would you like me to test this patch? If so, what should I apply it to
>>>>> and how should I proceed?
>>>>
>>>> Yes, the test would be appreciated, of course.
>>>> Apply it to the latest 3.0-rc kernel and test.
>>>
>>> Also, the additional patch below will give "Headphone" mixer control
>>> back while new "Surround", "Center" and "LFE" will appear.
>>>
>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
>>> for using the surround outputs even with these patches.  As default,
>>> it's set as "2ch".
>>>
>>>
>>> Takashi
>>>
>> I will definitely try to give this a shot, but the outcome might be 
>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
>> kernel.
> 
> You can build the kernel by yourself at any time...
> 
>> How about 8-channel sound btw? Under Windows the device claims to be 
>> capable of it.
> 
> Do you have 4 jacks?  Otherwise it's nonsense.
> 
> 
> Takashi
OK, I was able to successfully apply the patch and build the kernel. I
tested it using:
$ pasuspender bash
$ speaker-test -Dplug:surround51 -c6
Once I set sound to 6-channel using alsamixer -c0, I was able to hear
the sound for all 6 channels. Setting it to 4 channels took away LFE and
center. Pulseaudio outputs are still a little messy, but this is out of
ALSA scope, I think.

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-25 11:08             ` Julian Sikorski
@ 2011-06-25 11:31               ` Julian Sikorski
  2011-06-25 12:01                 ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-25 11:31 UTC (permalink / raw)
  Cc: Takashi Iwai, alsa-devel

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

W dniu 25.06.2011 13:08, Julian Sikorski pisze:
> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
>> At Fri, 24 Jun 2011 13:25:53 +0200,
>> Julian Sikorski wrote:
>>>
>>> On 24/06/2011 11:12, Takashi Iwai wrote:
>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
>>>> Takashi Iwai wrote:
>>>>>
>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
>>>>> Julian Sikorski wrote:
>>>>>>
>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
>>>>>>> Julian Sikorski wrote:
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>>>>>>>> microphone and the following connectors:
>>>>>>>> - headphone out
>>>>>>>> - microphone in; can be switched to center/lfe out
>>>>>>>> - spdif out; can be switched to rear speaker out
>>>>>>>> - line in; can be switched to side speaker out
>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
>>>>>>>> is needed.
>>>>>>>
>>>>>>> The current parser doesn't allow the multi-io pins when the primary
>>>>>>> output is no line-out.  The patch below should fix (change) the
>>>>>>> behavior.  It'll count HP out, too.
>>>>>>>
>>>>>>>
>>>>>>> Takashi
>>>>>>>
>>>>>>> ---
>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>>>>>>> index fe56b2b..b0cf726 100644
>>>>>>> --- a/sound/pci/hda/patch_realtek.c
>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>>>>>>>    	hda_nid_t dac;
>>>>>>>
>>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
>>>>>>> +	spec->multiout.num_dacs = 0;
>>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
>>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>>>>>>>    		if (!dac)
>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>    	unsigned int location, defcfg;
>>>>>>>    	int num_pins;
>>>>>>>
>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
>>>>>>> +		/* use HP as primary out */
>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
>>>>>>> +		       sizeof(cfg->speaker_pins));
>>>>>>> +		cfg->line_outs = cfg->hp_outs;
>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
>>>>>>> +		cfg->hp_outs = 0;
>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
>>>>>>> +	}
>>>>>>>    	if (cfg->line_outs != 1 ||
>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>>>>>>>    		return 0;
>>>>>>>
>>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>    		spec->multi_ios = num_pins;
>>>>>>>    		spec->ext_channel_count = 2;
>>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
>>>>>>> +		/* for avoiding multi HP mixers */
>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>>>>>>>    	}
>>>>>>>    	return 0;
>>>>>>>    }
>>>>>> Would you like me to test this patch? If so, what should I apply it to
>>>>>> and how should I proceed?
>>>>>
>>>>> Yes, the test would be appreciated, of course.
>>>>> Apply it to the latest 3.0-rc kernel and test.
>>>>
>>>> Also, the additional patch below will give "Headphone" mixer control
>>>> back while new "Surround", "Center" and "LFE" will appear.
>>>>
>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
>>>> for using the surround outputs even with these patches.  As default,
>>>> it's set as "2ch".
>>>>
>>>>
>>>> Takashi
>>>>
>>> I will definitely try to give this a shot, but the outcome might be 
>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
>>> kernel.
>>
>> You can build the kernel by yourself at any time...
>>
>>> How about 8-channel sound btw? Under Windows the device claims to be 
>>> capable of it.
>>
>> Do you have 4 jacks?  Otherwise it's nonsense.
>>
>>
>> Takashi
> OK, I was able to successfully apply the patch and build the kernel. I
> tested it using:
> $ pasuspender bash
> $ speaker-test -Dplug:surround51 -c6
> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
> the sound for all 6 channels. Setting it to 4 channels took away LFE and
> center. Pulseaudio outputs are still a little messy, but this is out of
> ALSA scope, I think.
> 
> Julian
It seems I spoke a bit too soon. The superfluous controls are still a
problem. Speaker and Headphone controls seem to be overlapping (new
output on amixer -c0 attached). They both control the headphones when
they are plugged in and internal speakers when not.

Julian

[-- Attachment #2: amixer.txt --]
[-- Type: text/plain, Size: 3863 bytes --]

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pswitch penum
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [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 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control '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 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [30.00dB] [on]
  Front Right: Capture 46 [100%] [30.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 16 [35%] [0.00dB] [off]
  Front Right: Capture 16 [35%] [0.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Internal Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

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



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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-25 11:31               ` Julian Sikorski
@ 2011-06-25 12:01                 ` Julian Sikorski
  2011-06-27  6:04                   ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-25 12:01 UTC (permalink / raw)
  Cc: Takashi Iwai, alsa-devel

W dniu 25.06.2011 13:31, Julian Sikorski pisze:
> W dniu 25.06.2011 13:08, Julian Sikorski pisze:
>> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
>>> At Fri, 24 Jun 2011 13:25:53 +0200,
>>> Julian Sikorski wrote:
>>>>
>>>> On 24/06/2011 11:12, Takashi Iwai wrote:
>>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
>>>>> Takashi Iwai wrote:
>>>>>>
>>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
>>>>>> Julian Sikorski wrote:
>>>>>>>
>>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
>>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
>>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>>>>>>>>> microphone and the following connectors:
>>>>>>>>> - headphone out
>>>>>>>>> - microphone in; can be switched to center/lfe out
>>>>>>>>> - spdif out; can be switched to rear speaker out
>>>>>>>>> - line in; can be switched to side speaker out
>>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
>>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
>>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
>>>>>>>>> is needed.
>>>>>>>>
>>>>>>>> The current parser doesn't allow the multi-io pins when the primary
>>>>>>>> output is no line-out.  The patch below should fix (change) the
>>>>>>>> behavior.  It'll count HP out, too.
>>>>>>>>
>>>>>>>>
>>>>>>>> Takashi
>>>>>>>>
>>>>>>>> ---
>>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>>>>>>>> index fe56b2b..b0cf726 100644
>>>>>>>> --- a/sound/pci/hda/patch_realtek.c
>>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
>>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>>>>>>>>    	hda_nid_t dac;
>>>>>>>>
>>>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
>>>>>>>> +	spec->multiout.num_dacs = 0;
>>>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
>>>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>>>>>>>>    		if (!dac)
>>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>    	unsigned int location, defcfg;
>>>>>>>>    	int num_pins;
>>>>>>>>
>>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
>>>>>>>> +		/* use HP as primary out */
>>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
>>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
>>>>>>>> +		       sizeof(cfg->speaker_pins));
>>>>>>>> +		cfg->line_outs = cfg->hp_outs;
>>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
>>>>>>>> +		cfg->hp_outs = 0;
>>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
>>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
>>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
>>>>>>>> +	}
>>>>>>>>    	if (cfg->line_outs != 1 ||
>>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
>>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>>>>>>>>    		return 0;
>>>>>>>>
>>>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
>>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>    		spec->multi_ios = num_pins;
>>>>>>>>    		spec->ext_channel_count = 2;
>>>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
>>>>>>>> +		/* for avoiding multi HP mixers */
>>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>>>>>>>>    	}
>>>>>>>>    	return 0;
>>>>>>>>    }
>>>>>>> Would you like me to test this patch? If so, what should I apply it to
>>>>>>> and how should I proceed?
>>>>>>
>>>>>> Yes, the test would be appreciated, of course.
>>>>>> Apply it to the latest 3.0-rc kernel and test.
>>>>>
>>>>> Also, the additional patch below will give "Headphone" mixer control
>>>>> back while new "Surround", "Center" and "LFE" will appear.
>>>>>
>>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
>>>>> for using the surround outputs even with these patches.  As default,
>>>>> it's set as "2ch".
>>>>>
>>>>>
>>>>> Takashi
>>>>>
>>>> I will definitely try to give this a shot, but the outcome might be 
>>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
>>>> kernel.
>>>
>>> You can build the kernel by yourself at any time...
>>>
>>>> How about 8-channel sound btw? Under Windows the device claims to be 
>>>> capable of it.
>>>
>>> Do you have 4 jacks?  Otherwise it's nonsense.
>>>
>>>
>>> Takashi
>> OK, I was able to successfully apply the patch and build the kernel. I
>> tested it using:
>> $ pasuspender bash
>> $ speaker-test -Dplug:surround51 -c6
>> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
>> the sound for all 6 channels. Setting it to 4 channels took away LFE and
>> center. Pulseaudio outputs are still a little messy, but this is out of
>> ALSA scope, I think.
>>
>> Julian
> It seems I spoke a bit too soon. The superfluous controls are still a
> problem. Speaker and Headphone controls seem to be overlapping (new
> output on amixer -c0 attached). They both control the headphones when
> they are plugged in and internal speakers when not.
> 
> Julian
> 
Sorry for this email bombardment, but I just booted back to stock F15
kernel (2.6.38.8-32.fc15.x86_64) and noticed that speaker and headphone
controls actually do what they advertise. Still, it is impossible to
make the sound go through the speakers when headphones are plugged in (I
tried pavucontrol for this). The converse might be true though - if you
select "analog headphones" in pavucontrols the speakers go silent.

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-25 12:01                 ` Julian Sikorski
@ 2011-06-27  6:04                   ` Takashi Iwai
  2011-06-27  6:21                     ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-06-27  6:04 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Sat, 25 Jun 2011 14:01:06 +0200,
Julian Sikorski wrote:
> 
> W dniu 25.06.2011 13:31, Julian Sikorski pisze:
> > W dniu 25.06.2011 13:08, Julian Sikorski pisze:
> >> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
> >>> At Fri, 24 Jun 2011 13:25:53 +0200,
> >>> Julian Sikorski wrote:
> >>>>
> >>>> On 24/06/2011 11:12, Takashi Iwai wrote:
> >>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
> >>>>> Takashi Iwai wrote:
> >>>>>>
> >>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
> >>>>>> Julian Sikorski wrote:
> >>>>>>>
> >>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
> >>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
> >>>>>>>> Julian Sikorski wrote:
> >>>>>>>>>
> >>>>>>>>> Hi,
> >>>>>>>>>
> >>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
> >>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
> >>>>>>>>> microphone and the following connectors:
> >>>>>>>>> - headphone out
> >>>>>>>>> - microphone in; can be switched to center/lfe out
> >>>>>>>>> - spdif out; can be switched to rear speaker out
> >>>>>>>>> - line in; can be switched to side speaker out
> >>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
> >>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
> >>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
> >>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
> >>>>>>>>> is needed.
> >>>>>>>>
> >>>>>>>> The current parser doesn't allow the multi-io pins when the primary
> >>>>>>>> output is no line-out.  The patch below should fix (change) the
> >>>>>>>> behavior.  It'll count HP out, too.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Takashi
> >>>>>>>>
> >>>>>>>> ---
> >>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> >>>>>>>> index fe56b2b..b0cf726 100644
> >>>>>>>> --- a/sound/pci/hda/patch_realtek.c
> >>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
> >>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
> >>>>>>>>    	hda_nid_t dac;
> >>>>>>>>
> >>>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
> >>>>>>>> +	spec->multiout.num_dacs = 0;
> >>>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
> >>>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
> >>>>>>>>    		if (!dac)
> >>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> >>>>>>>>    	unsigned int location, defcfg;
> >>>>>>>>    	int num_pins;
> >>>>>>>>
> >>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
> >>>>>>>> +		/* use HP as primary out */
> >>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
> >>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
> >>>>>>>> +		       sizeof(cfg->speaker_pins));
> >>>>>>>> +		cfg->line_outs = cfg->hp_outs;
> >>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
> >>>>>>>> +		cfg->hp_outs = 0;
> >>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
> >>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
> >>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
> >>>>>>>> +	}
> >>>>>>>>    	if (cfg->line_outs != 1 ||
> >>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
> >>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
> >>>>>>>>    		return 0;
> >>>>>>>>
> >>>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
> >>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> >>>>>>>>    		spec->multi_ios = num_pins;
> >>>>>>>>    		spec->ext_channel_count = 2;
> >>>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
> >>>>>>>> +		/* for avoiding multi HP mixers */
> >>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
> >>>>>>>>    	}
> >>>>>>>>    	return 0;
> >>>>>>>>    }
> >>>>>>> Would you like me to test this patch? If so, what should I apply it to
> >>>>>>> and how should I proceed?
> >>>>>>
> >>>>>> Yes, the test would be appreciated, of course.
> >>>>>> Apply it to the latest 3.0-rc kernel and test.
> >>>>>
> >>>>> Also, the additional patch below will give "Headphone" mixer control
> >>>>> back while new "Surround", "Center" and "LFE" will appear.
> >>>>>
> >>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
> >>>>> for using the surround outputs even with these patches.  As default,
> >>>>> it's set as "2ch".
> >>>>>
> >>>>>
> >>>>> Takashi
> >>>>>
> >>>> I will definitely try to give this a shot, but the outcome might be 
> >>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
> >>>> kernel.
> >>>
> >>> You can build the kernel by yourself at any time...
> >>>
> >>>> How about 8-channel sound btw? Under Windows the device claims to be 
> >>>> capable of it.
> >>>
> >>> Do you have 4 jacks?  Otherwise it's nonsense.
> >>>
> >>>
> >>> Takashi
> >> OK, I was able to successfully apply the patch and build the kernel. I
> >> tested it using:
> >> $ pasuspender bash
> >> $ speaker-test -Dplug:surround51 -c6
> >> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
> >> the sound for all 6 channels. Setting it to 4 channels took away LFE and
> >> center. Pulseaudio outputs are still a little messy, but this is out of
> >> ALSA scope, I think.
> >>
> >> Julian
> > It seems I spoke a bit too soon. The superfluous controls are still a
> > problem. Speaker and Headphone controls seem to be overlapping (new
> > output on amixer -c0 attached). They both control the headphones when
> > they are plugged in and internal speakers when not.
> > 
> > Julian
> > 
> Sorry for this email bombardment, but I just booted back to stock F15
> kernel (2.6.38.8-32.fc15.x86_64) and noticed that speaker and headphone
> controls actually do what they advertise. Still, it is impossible to
> make the sound go through the speakers when headphones are plugged in (I
> tried pavucontrol for this).

The auto-mute feature can be controlled "Auto-Mute Mode" mixer enum.
Set to "Disabled" will turn off the auto-mute in the driver side.
However...

> The converse might be true though - if you
> select "analog headphones" in pavucontrols the speakers go silent.

This is what PA does intentionally, independently from the driver
auto-mute behavior.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-27  6:04                   ` Takashi Iwai
@ 2011-06-27  6:21                     ` Julian Sikorski
  2011-06-27  9:19                       ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-27  6:21 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 27.06.2011 08:04, Takashi Iwai pisze:
> At Sat, 25 Jun 2011 14:01:06 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 25.06.2011 13:31, Julian Sikorski pisze:
>>> W dniu 25.06.2011 13:08, Julian Sikorski pisze:
>>>> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
>>>>> At Fri, 24 Jun 2011 13:25:53 +0200,
>>>>> Julian Sikorski wrote:
>>>>>>
>>>>>> On 24/06/2011 11:12, Takashi Iwai wrote:
>>>>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
>>>>>>> Takashi Iwai wrote:
>>>>>>>>
>>>>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>
>>>>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
>>>>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
>>>>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>>>>>>>>>>> microphone and the following connectors:
>>>>>>>>>>> - headphone out
>>>>>>>>>>> - microphone in; can be switched to center/lfe out
>>>>>>>>>>> - spdif out; can be switched to rear speaker out
>>>>>>>>>>> - line in; can be switched to side speaker out
>>>>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>>>>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
>>>>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
>>>>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
>>>>>>>>>>> is needed.
>>>>>>>>>>
>>>>>>>>>> The current parser doesn't allow the multi-io pins when the primary
>>>>>>>>>> output is no line-out.  The patch below should fix (change) the
>>>>>>>>>> behavior.  It'll count HP out, too.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Takashi
>>>>>>>>>>
>>>>>>>>>> ---
>>>>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>>>>>>>>>> index fe56b2b..b0cf726 100644
>>>>>>>>>> --- a/sound/pci/hda/patch_realtek.c
>>>>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
>>>>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>>>>>>>>>>    	hda_nid_t dac;
>>>>>>>>>>
>>>>>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
>>>>>>>>>> +	spec->multiout.num_dacs = 0;
>>>>>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
>>>>>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>>>>>>>>>>    		if (!dac)
>>>>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>    	unsigned int location, defcfg;
>>>>>>>>>>    	int num_pins;
>>>>>>>>>>
>>>>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
>>>>>>>>>> +		/* use HP as primary out */
>>>>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
>>>>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
>>>>>>>>>> +		       sizeof(cfg->speaker_pins));
>>>>>>>>>> +		cfg->line_outs = cfg->hp_outs;
>>>>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
>>>>>>>>>> +		cfg->hp_outs = 0;
>>>>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
>>>>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
>>>>>>>>>> +	}
>>>>>>>>>>    	if (cfg->line_outs != 1 ||
>>>>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
>>>>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>>>>>>>>>>    		return 0;
>>>>>>>>>>
>>>>>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
>>>>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>    		spec->multi_ios = num_pins;
>>>>>>>>>>    		spec->ext_channel_count = 2;
>>>>>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
>>>>>>>>>> +		/* for avoiding multi HP mixers */
>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>>>>>>>>>>    	}
>>>>>>>>>>    	return 0;
>>>>>>>>>>    }
>>>>>>>>> Would you like me to test this patch? If so, what should I apply it to
>>>>>>>>> and how should I proceed?
>>>>>>>>
>>>>>>>> Yes, the test would be appreciated, of course.
>>>>>>>> Apply it to the latest 3.0-rc kernel and test.
>>>>>>>
>>>>>>> Also, the additional patch below will give "Headphone" mixer control
>>>>>>> back while new "Surround", "Center" and "LFE" will appear.
>>>>>>>
>>>>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
>>>>>>> for using the surround outputs even with these patches.  As default,
>>>>>>> it's set as "2ch".
>>>>>>>
>>>>>>>
>>>>>>> Takashi
>>>>>>>
>>>>>> I will definitely try to give this a shot, but the outcome might be 
>>>>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
>>>>>> kernel.
>>>>>
>>>>> You can build the kernel by yourself at any time...
>>>>>
>>>>>> How about 8-channel sound btw? Under Windows the device claims to be 
>>>>>> capable of it.
>>>>>
>>>>> Do you have 4 jacks?  Otherwise it's nonsense.
>>>>>
>>>>>
>>>>> Takashi
>>>> OK, I was able to successfully apply the patch and build the kernel. I
>>>> tested it using:
>>>> $ pasuspender bash
>>>> $ speaker-test -Dplug:surround51 -c6
>>>> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
>>>> the sound for all 6 channels. Setting it to 4 channels took away LFE and
>>>> center. Pulseaudio outputs are still a little messy, but this is out of
>>>> ALSA scope, I think.
>>>>
>>>> Julian
>>> It seems I spoke a bit too soon. The superfluous controls are still a
>>> problem. Speaker and Headphone controls seem to be overlapping (new
>>> output on amixer -c0 attached). They both control the headphones when
>>> they are plugged in and internal speakers when not.
>>>
>>> Julian
>>>
>> Sorry for this email bombardment, but I just booted back to stock F15
>> kernel (2.6.38.8-32.fc15.x86_64) and noticed that speaker and headphone
>> controls actually do what they advertise. Still, it is impossible to
>> make the sound go through the speakers when headphones are plugged in (I
>> tried pavucontrol for this).
> 
> The auto-mute feature can be controlled "Auto-Mute Mode" mixer enum.
> Set to "Disabled" will turn off the auto-mute in the driver side.
> However...

You are right - when auto-mute is disabled sound goes via both speakers
and headphones when they are plugged. I did not know the function of
auto-mute.
However, the "Speaker" and "Headphone" controls still do influence both
outputs, and "Speaker" can only be muted - there is no volume control
available. So, in my opinion, they should either be merged altogether,
or switched back to the way they work in 2.6.38.8-32.fc15.x86_64, that
is setting the volume of speakers and headphones independently.

> 
>> The converse might be true though - if you
>> select "analog headphones" in pavucontrols the speakers go silent.
> 
> This is what PA does intentionally, independently from the driver
> auto-mute behavior.

OK, understood.

> Takashi

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-27  6:21                     ` Julian Sikorski
@ 2011-06-27  9:19                       ` Takashi Iwai
  2011-06-27 12:32                         ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-06-27  9:19 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Mon, 27 Jun 2011 08:21:26 +0200,
Julian Sikorski wrote:
> 
> W dniu 27.06.2011 08:04, Takashi Iwai pisze:
> > At Sat, 25 Jun 2011 14:01:06 +0200,
> > Julian Sikorski wrote:
> >>
> >> W dniu 25.06.2011 13:31, Julian Sikorski pisze:
> >>> W dniu 25.06.2011 13:08, Julian Sikorski pisze:
> >>>> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
> >>>>> At Fri, 24 Jun 2011 13:25:53 +0200,
> >>>>> Julian Sikorski wrote:
> >>>>>>
> >>>>>> On 24/06/2011 11:12, Takashi Iwai wrote:
> >>>>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
> >>>>>>> Takashi Iwai wrote:
> >>>>>>>>
> >>>>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
> >>>>>>>> Julian Sikorski wrote:
> >>>>>>>>>
> >>>>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
> >>>>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
> >>>>>>>>>> Julian Sikorski wrote:
> >>>>>>>>>>>
> >>>>>>>>>>> Hi,
> >>>>>>>>>>>
> >>>>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
> >>>>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
> >>>>>>>>>>> microphone and the following connectors:
> >>>>>>>>>>> - headphone out
> >>>>>>>>>>> - microphone in; can be switched to center/lfe out
> >>>>>>>>>>> - spdif out; can be switched to rear speaker out
> >>>>>>>>>>> - line in; can be switched to side speaker out
> >>>>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
> >>>>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
> >>>>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
> >>>>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
> >>>>>>>>>>> is needed.
> >>>>>>>>>>
> >>>>>>>>>> The current parser doesn't allow the multi-io pins when the primary
> >>>>>>>>>> output is no line-out.  The patch below should fix (change) the
> >>>>>>>>>> behavior.  It'll count HP out, too.
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> Takashi
> >>>>>>>>>>
> >>>>>>>>>> ---
> >>>>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> >>>>>>>>>> index fe56b2b..b0cf726 100644
> >>>>>>>>>> --- a/sound/pci/hda/patch_realtek.c
> >>>>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
> >>>>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
> >>>>>>>>>>    	hda_nid_t dac;
> >>>>>>>>>>
> >>>>>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
> >>>>>>>>>> +	spec->multiout.num_dacs = 0;
> >>>>>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
> >>>>>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
> >>>>>>>>>>    		if (!dac)
> >>>>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> >>>>>>>>>>    	unsigned int location, defcfg;
> >>>>>>>>>>    	int num_pins;
> >>>>>>>>>>
> >>>>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
> >>>>>>>>>> +		/* use HP as primary out */
> >>>>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
> >>>>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
> >>>>>>>>>> +		       sizeof(cfg->speaker_pins));
> >>>>>>>>>> +		cfg->line_outs = cfg->hp_outs;
> >>>>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
> >>>>>>>>>> +		cfg->hp_outs = 0;
> >>>>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
> >>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
> >>>>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
> >>>>>>>>>> +	}
> >>>>>>>>>>    	if (cfg->line_outs != 1 ||
> >>>>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
> >>>>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
> >>>>>>>>>>    		return 0;
> >>>>>>>>>>
> >>>>>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
> >>>>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> >>>>>>>>>>    		spec->multi_ios = num_pins;
> >>>>>>>>>>    		spec->ext_channel_count = 2;
> >>>>>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
> >>>>>>>>>> +		/* for avoiding multi HP mixers */
> >>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
> >>>>>>>>>>    	}
> >>>>>>>>>>    	return 0;
> >>>>>>>>>>    }
> >>>>>>>>> Would you like me to test this patch? If so, what should I apply it to
> >>>>>>>>> and how should I proceed?
> >>>>>>>>
> >>>>>>>> Yes, the test would be appreciated, of course.
> >>>>>>>> Apply it to the latest 3.0-rc kernel and test.
> >>>>>>>
> >>>>>>> Also, the additional patch below will give "Headphone" mixer control
> >>>>>>> back while new "Surround", "Center" and "LFE" will appear.
> >>>>>>>
> >>>>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
> >>>>>>> for using the surround outputs even with these patches.  As default,
> >>>>>>> it's set as "2ch".
> >>>>>>>
> >>>>>>>
> >>>>>>> Takashi
> >>>>>>>
> >>>>>> I will definitely try to give this a shot, but the outcome might be 
> >>>>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
> >>>>>> kernel.
> >>>>>
> >>>>> You can build the kernel by yourself at any time...
> >>>>>
> >>>>>> How about 8-channel sound btw? Under Windows the device claims to be 
> >>>>>> capable of it.
> >>>>>
> >>>>> Do you have 4 jacks?  Otherwise it's nonsense.
> >>>>>
> >>>>>
> >>>>> Takashi
> >>>> OK, I was able to successfully apply the patch and build the kernel. I
> >>>> tested it using:
> >>>> $ pasuspender bash
> >>>> $ speaker-test -Dplug:surround51 -c6
> >>>> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
> >>>> the sound for all 6 channels. Setting it to 4 channels took away LFE and
> >>>> center. Pulseaudio outputs are still a little messy, but this is out of
> >>>> ALSA scope, I think.
> >>>>
> >>>> Julian
> >>> It seems I spoke a bit too soon. The superfluous controls are still a
> >>> problem. Speaker and Headphone controls seem to be overlapping (new
> >>> output on amixer -c0 attached). They both control the headphones when
> >>> they are plugged in and internal speakers when not.
> >>>
> >>> Julian
> >>>
> >> Sorry for this email bombardment, but I just booted back to stock F15
> >> kernel (2.6.38.8-32.fc15.x86_64) and noticed that speaker and headphone
> >> controls actually do what they advertise. Still, it is impossible to
> >> make the sound go through the speakers when headphones are plugged in (I
> >> tried pavucontrol for this).
> > 
> > The auto-mute feature can be controlled "Auto-Mute Mode" mixer enum.
> > Set to "Disabled" will turn off the auto-mute in the driver side.
> > However...
> 
> You are right - when auto-mute is disabled sound goes via both speakers
> and headphones when they are plugged. I did not know the function of
> auto-mute.
> However, the "Speaker" and "Headphone" controls still do influence both
> outputs, and "Speaker" can only be muted - there is no volume control
> available. So, in my opinion, they should either be merged altogether,
> or switched back to the way they work in 2.6.38.8-32.fc15.x86_64, that
> is setting the volume of speakers and headphones independently.

Give alsa-info.sh outputs on your machine with the latest status for
further analysis.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-27  9:19                       ` Takashi Iwai
@ 2011-06-27 12:32                         ` Takashi Iwai
  2011-06-27 12:42                           ` Julian Sikorski
  2011-06-27 20:08                           ` Julian Sikorski
  0 siblings, 2 replies; 69+ messages in thread
From: Takashi Iwai @ 2011-06-27 12:32 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Mon, 27 Jun 2011 11:19:36 +0200,
Takashi Iwai wrote:
> 
> At Mon, 27 Jun 2011 08:21:26 +0200,
> Julian Sikorski wrote:
> > 
> > W dniu 27.06.2011 08:04, Takashi Iwai pisze:
> > > At Sat, 25 Jun 2011 14:01:06 +0200,
> > > Julian Sikorski wrote:
> > >>
> > >> W dniu 25.06.2011 13:31, Julian Sikorski pisze:
> > >>> W dniu 25.06.2011 13:08, Julian Sikorski pisze:
> > >>>> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
> > >>>>> At Fri, 24 Jun 2011 13:25:53 +0200,
> > >>>>> Julian Sikorski wrote:
> > >>>>>>
> > >>>>>> On 24/06/2011 11:12, Takashi Iwai wrote:
> > >>>>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
> > >>>>>>> Takashi Iwai wrote:
> > >>>>>>>>
> > >>>>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
> > >>>>>>>> Julian Sikorski wrote:
> > >>>>>>>>>
> > >>>>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
> > >>>>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
> > >>>>>>>>>> Julian Sikorski wrote:
> > >>>>>>>>>>>
> > >>>>>>>>>>> Hi,
> > >>>>>>>>>>>
> > >>>>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
> > >>>>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
> > >>>>>>>>>>> microphone and the following connectors:
> > >>>>>>>>>>> - headphone out
> > >>>>>>>>>>> - microphone in; can be switched to center/lfe out
> > >>>>>>>>>>> - spdif out; can be switched to rear speaker out
> > >>>>>>>>>>> - line in; can be switched to side speaker out
> > >>>>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
> > >>>>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
> > >>>>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
> > >>>>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
> > >>>>>>>>>>> is needed.
> > >>>>>>>>>>
> > >>>>>>>>>> The current parser doesn't allow the multi-io pins when the primary
> > >>>>>>>>>> output is no line-out.  The patch below should fix (change) the
> > >>>>>>>>>> behavior.  It'll count HP out, too.
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>> Takashi
> > >>>>>>>>>>
> > >>>>>>>>>> ---
> > >>>>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> > >>>>>>>>>> index fe56b2b..b0cf726 100644
> > >>>>>>>>>> --- a/sound/pci/hda/patch_realtek.c
> > >>>>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
> > >>>>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
> > >>>>>>>>>>    	hda_nid_t dac;
> > >>>>>>>>>>
> > >>>>>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
> > >>>>>>>>>> +	spec->multiout.num_dacs = 0;
> > >>>>>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
> > >>>>>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
> > >>>>>>>>>>    		if (!dac)
> > >>>>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> > >>>>>>>>>>    	unsigned int location, defcfg;
> > >>>>>>>>>>    	int num_pins;
> > >>>>>>>>>>
> > >>>>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
> > >>>>>>>>>> +		/* use HP as primary out */
> > >>>>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
> > >>>>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
> > >>>>>>>>>> +		       sizeof(cfg->speaker_pins));
> > >>>>>>>>>> +		cfg->line_outs = cfg->hp_outs;
> > >>>>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
> > >>>>>>>>>> +		cfg->hp_outs = 0;
> > >>>>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
> > >>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
> > >>>>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
> > >>>>>>>>>> +	}
> > >>>>>>>>>>    	if (cfg->line_outs != 1 ||
> > >>>>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
> > >>>>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
> > >>>>>>>>>>    		return 0;
> > >>>>>>>>>>
> > >>>>>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
> > >>>>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> > >>>>>>>>>>    		spec->multi_ios = num_pins;
> > >>>>>>>>>>    		spec->ext_channel_count = 2;
> > >>>>>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
> > >>>>>>>>>> +		/* for avoiding multi HP mixers */
> > >>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
> > >>>>>>>>>>    	}
> > >>>>>>>>>>    	return 0;
> > >>>>>>>>>>    }
> > >>>>>>>>> Would you like me to test this patch? If so, what should I apply it to
> > >>>>>>>>> and how should I proceed?
> > >>>>>>>>
> > >>>>>>>> Yes, the test would be appreciated, of course.
> > >>>>>>>> Apply it to the latest 3.0-rc kernel and test.
> > >>>>>>>
> > >>>>>>> Also, the additional patch below will give "Headphone" mixer control
> > >>>>>>> back while new "Surround", "Center" and "LFE" will appear.
> > >>>>>>>
> > >>>>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
> > >>>>>>> for using the surround outputs even with these patches.  As default,
> > >>>>>>> it's set as "2ch".
> > >>>>>>>
> > >>>>>>>
> > >>>>>>> Takashi
> > >>>>>>>
> > >>>>>> I will definitely try to give this a shot, but the outcome might be 
> > >>>>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
> > >>>>>> kernel.
> > >>>>>
> > >>>>> You can build the kernel by yourself at any time...
> > >>>>>
> > >>>>>> How about 8-channel sound btw? Under Windows the device claims to be 
> > >>>>>> capable of it.
> > >>>>>
> > >>>>> Do you have 4 jacks?  Otherwise it's nonsense.
> > >>>>>
> > >>>>>
> > >>>>> Takashi
> > >>>> OK, I was able to successfully apply the patch and build the kernel. I
> > >>>> tested it using:
> > >>>> $ pasuspender bash
> > >>>> $ speaker-test -Dplug:surround51 -c6
> > >>>> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
> > >>>> the sound for all 6 channels. Setting it to 4 channels took away LFE and
> > >>>> center. Pulseaudio outputs are still a little messy, but this is out of
> > >>>> ALSA scope, I think.
> > >>>>
> > >>>> Julian
> > >>> It seems I spoke a bit too soon. The superfluous controls are still a
> > >>> problem. Speaker and Headphone controls seem to be overlapping (new
> > >>> output on amixer -c0 attached). They both control the headphones when
> > >>> they are plugged in and internal speakers when not.
> > >>>
> > >>> Julian
> > >>>
> > >> Sorry for this email bombardment, but I just booted back to stock F15
> > >> kernel (2.6.38.8-32.fc15.x86_64) and noticed that speaker and headphone
> > >> controls actually do what they advertise. Still, it is impossible to
> > >> make the sound go through the speakers when headphones are plugged in (I
> > >> tried pavucontrol for this).
> > > 
> > > The auto-mute feature can be controlled "Auto-Mute Mode" mixer enum.
> > > Set to "Disabled" will turn off the auto-mute in the driver side.
> > > However...
> > 
> > You are right - when auto-mute is disabled sound goes via both speakers
> > and headphones when they are plugged. I did not know the function of
> > auto-mute.
> > However, the "Speaker" and "Headphone" controls still do influence both
> > outputs, and "Speaker" can only be muted - there is no volume control
> > available. So, in my opinion, they should either be merged altogether,
> > or switched back to the way they work in 2.6.38.8-32.fc15.x86_64, that
> > is setting the volume of speakers and headphones independently.
> 
> Give alsa-info.sh outputs on your machine with the latest status for
> further analysis.

I think this issue was fixed now in topic/hda branch in sound git tree:
  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

Give it a try.  You can pull the branch into the latest Linus git tree
for merging into the latest 3.0-rc.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-27 12:32                         ` Takashi Iwai
@ 2011-06-27 12:42                           ` Julian Sikorski
  2011-06-27 12:46                             ` Takashi Iwai
  2011-06-27 20:08                           ` Julian Sikorski
  1 sibling, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-27 12:42 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 27/06/2011 14:32, Takashi Iwai wrote:
> At Mon, 27 Jun 2011 11:19:36 +0200,
> Takashi Iwai wrote:
>>
>> At Mon, 27 Jun 2011 08:21:26 +0200,
>> Julian Sikorski wrote:
>>>
>>> W dniu 27.06.2011 08:04, Takashi Iwai pisze:
>>>> At Sat, 25 Jun 2011 14:01:06 +0200,
>>>> Julian Sikorski wrote:
>>>>>
>>>>> W dniu 25.06.2011 13:31, Julian Sikorski pisze:
>>>>>> W dniu 25.06.2011 13:08, Julian Sikorski pisze:
>>>>>>> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
>>>>>>>> At Fri, 24 Jun 2011 13:25:53 +0200,
>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>
>>>>>>>>> On 24/06/2011 11:12, Takashi Iwai wrote:
>>>>>>>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
>>>>>>>>>> Takashi Iwai wrote:
>>>>>>>>>>>
>>>>>>>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
>>>>>>>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
>>>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
>>>>>>>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>>>>>>>>>>>>>> microphone and the following connectors:
>>>>>>>>>>>>>> - headphone out
>>>>>>>>>>>>>> - microphone in; can be switched to center/lfe out
>>>>>>>>>>>>>> - spdif out; can be switched to rear speaker out
>>>>>>>>>>>>>> - line in; can be switched to side speaker out
>>>>>>>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>>>>>>>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
>>>>>>>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
>>>>>>>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
>>>>>>>>>>>>>> is needed.
>>>>>>>>>>>>>
>>>>>>>>>>>>> The current parser doesn't allow the multi-io pins when the primary
>>>>>>>>>>>>> output is no line-out.  The patch below should fix (change) the
>>>>>>>>>>>>> behavior.  It'll count HP out, too.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Takashi
>>>>>>>>>>>>>
>>>>>>>>>>>>> ---
>>>>>>>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>> index fe56b2b..b0cf726 100644
>>>>>>>>>>>>> --- a/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>>>>>>>>>>>>>     	hda_nid_t dac;
>>>>>>>>>>>>>
>>>>>>>>>>>>>     	spec->multiout.dac_nids = spec->private_dac_nids;
>>>>>>>>>>>>> +	spec->multiout.num_dacs = 0;
>>>>>>>>>>>>>     	for (i = 0; i<    cfg->line_outs; i++) {
>>>>>>>>>>>>>     		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>>>>>>>>>>>>>     		if (!dac)
>>>>>>>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>>>>     	unsigned int location, defcfg;
>>>>>>>>>>>>>     	int num_pins;
>>>>>>>>>>>>>
>>>>>>>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&    cfg->hp_outs == 1) {
>>>>>>>>>>>>> +		/* use HP as primary out */
>>>>>>>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
>>>>>>>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
>>>>>>>>>>>>> +		       sizeof(cfg->speaker_pins));
>>>>>>>>>>>>> +		cfg->line_outs = cfg->hp_outs;
>>>>>>>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
>>>>>>>>>>>>> +		cfg->hp_outs = 0;
>>>>>>>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
>>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
>>>>>>>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
>>>>>>>>>>>>> +	}
>>>>>>>>>>>>>     	if (cfg->line_outs != 1 ||
>>>>>>>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
>>>>>>>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>>>>>>>>>>>>>     		return 0;
>>>>>>>>>>>>>
>>>>>>>>>>>>>     	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
>>>>>>>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>>>>     		spec->multi_ios = num_pins;
>>>>>>>>>>>>>     		spec->ext_channel_count = 2;
>>>>>>>>>>>>>     		spec->multiout.num_dacs = num_pins + 1;
>>>>>>>>>>>>> +		/* for avoiding multi HP mixers */
>>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>>>>>>>>>>>>>     	}
>>>>>>>>>>>>>     	return 0;
>>>>>>>>>>>>>     }
>>>>>>>>>>>> Would you like me to test this patch? If so, what should I apply it to
>>>>>>>>>>>> and how should I proceed?
>>>>>>>>>>>
>>>>>>>>>>> Yes, the test would be appreciated, of course.
>>>>>>>>>>> Apply it to the latest 3.0-rc kernel and test.
>>>>>>>>>>
>>>>>>>>>> Also, the additional patch below will give "Headphone" mixer control
>>>>>>>>>> back while new "Surround", "Center" and "LFE" will appear.
>>>>>>>>>>
>>>>>>>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
>>>>>>>>>> for using the surround outputs even with these patches.  As default,
>>>>>>>>>> it's set as "2ch".
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Takashi
>>>>>>>>>>
>>>>>>>>> I will definitely try to give this a shot, but the outcome might be
>>>>>>>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc
>>>>>>>>> kernel.
>>>>>>>>
>>>>>>>> You can build the kernel by yourself at any time...
>>>>>>>>
>>>>>>>>> How about 8-channel sound btw? Under Windows the device claims to be
>>>>>>>>> capable of it.
>>>>>>>>
>>>>>>>> Do you have 4 jacks?  Otherwise it's nonsense.
>>>>>>>>
>>>>>>>>
>>>>>>>> Takashi
>>>>>>> OK, I was able to successfully apply the patch and build the kernel. I
>>>>>>> tested it using:
>>>>>>> $ pasuspender bash
>>>>>>> $ speaker-test -Dplug:surround51 -c6
>>>>>>> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
>>>>>>> the sound for all 6 channels. Setting it to 4 channels took away LFE and
>>>>>>> center. Pulseaudio outputs are still a little messy, but this is out of
>>>>>>> ALSA scope, I think.
>>>>>>>
>>>>>>> Julian
>>>>>> It seems I spoke a bit too soon. The superfluous controls are still a
>>>>>> problem. Speaker and Headphone controls seem to be overlapping (new
>>>>>> output on amixer -c0 attached). They both control the headphones when
>>>>>> they are plugged in and internal speakers when not.
>>>>>>
>>>>>> Julian
>>>>>>
>>>>> Sorry for this email bombardment, but I just booted back to stock F15
>>>>> kernel (2.6.38.8-32.fc15.x86_64) and noticed that speaker and headphone
>>>>> controls actually do what they advertise. Still, it is impossible to
>>>>> make the sound go through the speakers when headphones are plugged in (I
>>>>> tried pavucontrol for this).
>>>>
>>>> The auto-mute feature can be controlled "Auto-Mute Mode" mixer enum.
>>>> Set to "Disabled" will turn off the auto-mute in the driver side.
>>>> However...
>>>
>>> You are right - when auto-mute is disabled sound goes via both speakers
>>> and headphones when they are plugged. I did not know the function of
>>> auto-mute.
>>> However, the "Speaker" and "Headphone" controls still do influence both
>>> outputs, and "Speaker" can only be muted - there is no volume control
>>> available. So, in my opinion, they should either be merged altogether,
>>> or switched back to the way they work in 2.6.38.8-32.fc15.x86_64, that
>>> is setting the volume of speakers and headphones independently.
>>
>> Give alsa-info.sh outputs on your machine with the latest status for
>> further analysis.
>
> I think this issue was fixed now in topic/hda branch in sound git tree:
>    git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
>
> Give it a try.  You can pull the branch into the latest Linus git tree
> for merging into the latest 3.0-rc.
>
>
> Takashi
Do you mean this specific commit:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=3af9ee6b83c4c3f2577719e31e7d2af1ce996557 
?
The thing is that I only know how to build a kernel using Fedora RPM and 
I have never built it purely from source. As a result, I can easily test 
patches but testing whole trees might be tricky. If it is a problem, I 
can try to seek help how to create RPM out of your tree. I'll try to 
test it one way or the other once I get back home in the evening (I'm in 
CEST time zone).
Thank you for all the input so far.

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-27 12:42                           ` Julian Sikorski
@ 2011-06-27 12:46                             ` Takashi Iwai
  2011-06-27 12:55                               ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-06-27 12:46 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Mon, 27 Jun 2011 14:42:08 +0200,
Julian Sikorski wrote:
> 
> > I think this issue was fixed now in topic/hda branch in sound git tree:
> >    git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> >
> > Give it a try.  You can pull the branch into the latest Linus git tree
> > for merging into the latest 3.0-rc.
> >
> >
> > Takashi
> Do you mean this specific commit:
> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=3af9ee6b83c4c3f2577719e31e7d2af1ce996557 
> ?

Yes.  But the commit depends on other older commits, so you can't do
cherry-pick easily.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-27 12:46                             ` Takashi Iwai
@ 2011-06-27 12:55                               ` Julian Sikorski
  2011-06-27 16:12                                 ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-27 12:55 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 27/06/2011 14:46, Takashi Iwai wrote:
> At Mon, 27 Jun 2011 14:42:08 +0200,
> Julian Sikorski wrote:
>>
>>> I think this issue was fixed now in topic/hda branch in sound git tree:
>>>     git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
>>>
>>> Give it a try.  You can pull the branch into the latest Linus git tree
>>> for merging into the latest 3.0-rc.
>>>
>>>
>>> Takashi
>> Do you mean this specific commit:
>> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=3af9ee6b83c4c3f2577719e31e7d2af1ce996557
>> ?
>
> Yes.  But the commit depends on other older commits, so you can't do
> cherry-pick easily.
>
>
> Takashi
OK, how about obtaining a diff against Linus's tree? Would that work?
Moreover, does this tree include the two patches you asked me to test 
earlier?

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-27 12:55                               ` Julian Sikorski
@ 2011-06-27 16:12                                 ` Takashi Iwai
  0 siblings, 0 replies; 69+ messages in thread
From: Takashi Iwai @ 2011-06-27 16:12 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Mon, 27 Jun 2011 14:55:14 +0200,
Julian Sikorski wrote:
> 
> On 27/06/2011 14:46, Takashi Iwai wrote:
> > At Mon, 27 Jun 2011 14:42:08 +0200,
> > Julian Sikorski wrote:
> >>
> >>> I think this issue was fixed now in topic/hda branch in sound git tree:
> >>>     git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> >>>
> >>> Give it a try.  You can pull the branch into the latest Linus git tree
> >>> for merging into the latest 3.0-rc.
> >>>
> >>>
> >>> Takashi
> >> Do you mean this specific commit:
> >> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=3af9ee6b83c4c3f2577719e31e7d2af1ce996557
> >> ?
> >
> > Yes.  But the commit depends on other older commits, so you can't do
> > cherry-pick easily.
> >
> >
> > Takashi
> OK, how about obtaining a diff against Linus's tree? Would that work?

It should work, of course.  It's something like what git-merge does :)
But beware that it'll be a big patch with 12736 lines.

> Moreover, does this tree include the two patches you asked me to test 
> earlier?

Yes.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-27 12:32                         ` Takashi Iwai
  2011-06-27 12:42                           ` Julian Sikorski
@ 2011-06-27 20:08                           ` Julian Sikorski
  2011-06-28  7:12                             ` Takashi Iwai
  1 sibling, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-27 20:08 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 27.06.2011 14:32, Takashi Iwai pisze:
> At Mon, 27 Jun 2011 11:19:36 +0200,
> Takashi Iwai wrote:
>>
>> At Mon, 27 Jun 2011 08:21:26 +0200,
>> Julian Sikorski wrote:
>>>
>>> W dniu 27.06.2011 08:04, Takashi Iwai pisze:
>>>> At Sat, 25 Jun 2011 14:01:06 +0200,
>>>> Julian Sikorski wrote:
>>>>>
>>>>> W dniu 25.06.2011 13:31, Julian Sikorski pisze:
>>>>>> W dniu 25.06.2011 13:08, Julian Sikorski pisze:
>>>>>>> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
>>>>>>>> At Fri, 24 Jun 2011 13:25:53 +0200,
>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>
>>>>>>>>> On 24/06/2011 11:12, Takashi Iwai wrote:
>>>>>>>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
>>>>>>>>>> Takashi Iwai wrote:
>>>>>>>>>>>
>>>>>>>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
>>>>>>>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
>>>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
>>>>>>>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>>>>>>>>>>>>>> microphone and the following connectors:
>>>>>>>>>>>>>> - headphone out
>>>>>>>>>>>>>> - microphone in; can be switched to center/lfe out
>>>>>>>>>>>>>> - spdif out; can be switched to rear speaker out
>>>>>>>>>>>>>> - line in; can be switched to side speaker out
>>>>>>>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>>>>>>>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
>>>>>>>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
>>>>>>>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
>>>>>>>>>>>>>> is needed.
>>>>>>>>>>>>>
>>>>>>>>>>>>> The current parser doesn't allow the multi-io pins when the primary
>>>>>>>>>>>>> output is no line-out.  The patch below should fix (change) the
>>>>>>>>>>>>> behavior.  It'll count HP out, too.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Takashi
>>>>>>>>>>>>>
>>>>>>>>>>>>> ---
>>>>>>>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>> index fe56b2b..b0cf726 100644
>>>>>>>>>>>>> --- a/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>>>>>>>>>>>>>    	hda_nid_t dac;
>>>>>>>>>>>>>
>>>>>>>>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
>>>>>>>>>>>>> +	spec->multiout.num_dacs = 0;
>>>>>>>>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
>>>>>>>>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>>>>>>>>>>>>>    		if (!dac)
>>>>>>>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>>>>    	unsigned int location, defcfg;
>>>>>>>>>>>>>    	int num_pins;
>>>>>>>>>>>>>
>>>>>>>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
>>>>>>>>>>>>> +		/* use HP as primary out */
>>>>>>>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
>>>>>>>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
>>>>>>>>>>>>> +		       sizeof(cfg->speaker_pins));
>>>>>>>>>>>>> +		cfg->line_outs = cfg->hp_outs;
>>>>>>>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
>>>>>>>>>>>>> +		cfg->hp_outs = 0;
>>>>>>>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
>>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
>>>>>>>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
>>>>>>>>>>>>> +	}
>>>>>>>>>>>>>    	if (cfg->line_outs != 1 ||
>>>>>>>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
>>>>>>>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>>>>>>>>>>>>>    		return 0;
>>>>>>>>>>>>>
>>>>>>>>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
>>>>>>>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>>>>    		spec->multi_ios = num_pins;
>>>>>>>>>>>>>    		spec->ext_channel_count = 2;
>>>>>>>>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
>>>>>>>>>>>>> +		/* for avoiding multi HP mixers */
>>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>>>>>>>>>>>>>    	}
>>>>>>>>>>>>>    	return 0;
>>>>>>>>>>>>>    }
>>>>>>>>>>>> Would you like me to test this patch? If so, what should I apply it to
>>>>>>>>>>>> and how should I proceed?
>>>>>>>>>>>
>>>>>>>>>>> Yes, the test would be appreciated, of course.
>>>>>>>>>>> Apply it to the latest 3.0-rc kernel and test.
>>>>>>>>>>
>>>>>>>>>> Also, the additional patch below will give "Headphone" mixer control
>>>>>>>>>> back while new "Surround", "Center" and "LFE" will appear.
>>>>>>>>>>
>>>>>>>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
>>>>>>>>>> for using the surround outputs even with these patches.  As default,
>>>>>>>>>> it's set as "2ch".
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Takashi
>>>>>>>>>>
>>>>>>>>> I will definitely try to give this a shot, but the outcome might be 
>>>>>>>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
>>>>>>>>> kernel.
>>>>>>>>
>>>>>>>> You can build the kernel by yourself at any time...
>>>>>>>>
>>>>>>>>> How about 8-channel sound btw? Under Windows the device claims to be 
>>>>>>>>> capable of it.
>>>>>>>>
>>>>>>>> Do you have 4 jacks?  Otherwise it's nonsense.
>>>>>>>>
>>>>>>>>
>>>>>>>> Takashi
>>>>>>> OK, I was able to successfully apply the patch and build the kernel. I
>>>>>>> tested it using:
>>>>>>> $ pasuspender bash
>>>>>>> $ speaker-test -Dplug:surround51 -c6
>>>>>>> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
>>>>>>> the sound for all 6 channels. Setting it to 4 channels took away LFE and
>>>>>>> center. Pulseaudio outputs are still a little messy, but this is out of
>>>>>>> ALSA scope, I think.
>>>>>>>
>>>>>>> Julian
>>>>>> It seems I spoke a bit too soon. The superfluous controls are still a
>>>>>> problem. Speaker and Headphone controls seem to be overlapping (new
>>>>>> output on amixer -c0 attached). They both control the headphones when
>>>>>> they are plugged in and internal speakers when not.
>>>>>>
>>>>>> Julian
>>>>>>
>>>>> Sorry for this email bombardment, but I just booted back to stock F15
>>>>> kernel (2.6.38.8-32.fc15.x86_64) and noticed that speaker and headphone
>>>>> controls actually do what they advertise. Still, it is impossible to
>>>>> make the sound go through the speakers when headphones are plugged in (I
>>>>> tried pavucontrol for this).
>>>>
>>>> The auto-mute feature can be controlled "Auto-Mute Mode" mixer enum.
>>>> Set to "Disabled" will turn off the auto-mute in the driver side.
>>>> However...
>>>
>>> You are right - when auto-mute is disabled sound goes via both speakers
>>> and headphones when they are plugged. I did not know the function of
>>> auto-mute.
>>> However, the "Speaker" and "Headphone" controls still do influence both
>>> outputs, and "Speaker" can only be muted - there is no volume control
>>> available. So, in my opinion, they should either be merged altogether,
>>> or switched back to the way they work in 2.6.38.8-32.fc15.x86_64, that
>>> is setting the volume of speakers and headphones independently.
>>
>> Give alsa-info.sh outputs on your machine with the latest status for
>> further analysis.
> 
> I think this issue was fixed now in topic/hda branch in sound git tree:
>   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> 
> Give it a try.  You can pull the branch into the latest Linus git tree
> for merging into the latest 3.0-rc.
> 
> 
> Takashi
It seems like the problem is still there. The output of alsa-info.sh is
available here:
http://www.alsa-project.org/db/?f=38e2e44ab86691006a837715601aad4311fda0d3

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-27 20:08                           ` Julian Sikorski
@ 2011-06-28  7:12                             ` Takashi Iwai
  2011-06-28  8:03                               ` Julian Sikorski
  2011-06-29 17:36                               ` Julian Sikorski
  0 siblings, 2 replies; 69+ messages in thread
From: Takashi Iwai @ 2011-06-28  7:12 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Mon, 27 Jun 2011 22:08:29 +0200,
Julian Sikorski wrote:
> 
> W dniu 27.06.2011 14:32, Takashi Iwai pisze:
> > At Mon, 27 Jun 2011 11:19:36 +0200,
> > Takashi Iwai wrote:
> >>
> >> At Mon, 27 Jun 2011 08:21:26 +0200,
> >> Julian Sikorski wrote:
> >>>
> >>> W dniu 27.06.2011 08:04, Takashi Iwai pisze:
> >>>> At Sat, 25 Jun 2011 14:01:06 +0200,
> >>>> Julian Sikorski wrote:
> >>>>>
> >>>>> W dniu 25.06.2011 13:31, Julian Sikorski pisze:
> >>>>>> W dniu 25.06.2011 13:08, Julian Sikorski pisze:
> >>>>>>> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
> >>>>>>>> At Fri, 24 Jun 2011 13:25:53 +0200,
> >>>>>>>> Julian Sikorski wrote:
> >>>>>>>>>
> >>>>>>>>> On 24/06/2011 11:12, Takashi Iwai wrote:
> >>>>>>>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
> >>>>>>>>>> Takashi Iwai wrote:
> >>>>>>>>>>>
> >>>>>>>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
> >>>>>>>>>>> Julian Sikorski wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
> >>>>>>>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
> >>>>>>>>>>>>> Julian Sikorski wrote:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
> >>>>>>>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
> >>>>>>>>>>>>>> microphone and the following connectors:
> >>>>>>>>>>>>>> - headphone out
> >>>>>>>>>>>>>> - microphone in; can be switched to center/lfe out
> >>>>>>>>>>>>>> - spdif out; can be switched to rear speaker out
> >>>>>>>>>>>>>> - line in; can be switched to side speaker out
> >>>>>>>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
> >>>>>>>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
> >>>>>>>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
> >>>>>>>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
> >>>>>>>>>>>>>> is needed.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> The current parser doesn't allow the multi-io pins when the primary
> >>>>>>>>>>>>> output is no line-out.  The patch below should fix (change) the
> >>>>>>>>>>>>> behavior.  It'll count HP out, too.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Takashi
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ---
> >>>>>>>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> >>>>>>>>>>>>> index fe56b2b..b0cf726 100644
> >>>>>>>>>>>>> --- a/sound/pci/hda/patch_realtek.c
> >>>>>>>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
> >>>>>>>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
> >>>>>>>>>>>>>    	hda_nid_t dac;
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
> >>>>>>>>>>>>> +	spec->multiout.num_dacs = 0;
> >>>>>>>>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
> >>>>>>>>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
> >>>>>>>>>>>>>    		if (!dac)
> >>>>>>>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> >>>>>>>>>>>>>    	unsigned int location, defcfg;
> >>>>>>>>>>>>>    	int num_pins;
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
> >>>>>>>>>>>>> +		/* use HP as primary out */
> >>>>>>>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
> >>>>>>>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
> >>>>>>>>>>>>> +		       sizeof(cfg->speaker_pins));
> >>>>>>>>>>>>> +		cfg->line_outs = cfg->hp_outs;
> >>>>>>>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
> >>>>>>>>>>>>> +		cfg->hp_outs = 0;
> >>>>>>>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
> >>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
> >>>>>>>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
> >>>>>>>>>>>>> +	}
> >>>>>>>>>>>>>    	if (cfg->line_outs != 1 ||
> >>>>>>>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
> >>>>>>>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
> >>>>>>>>>>>>>    		return 0;
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
> >>>>>>>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
> >>>>>>>>>>>>>    		spec->multi_ios = num_pins;
> >>>>>>>>>>>>>    		spec->ext_channel_count = 2;
> >>>>>>>>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
> >>>>>>>>>>>>> +		/* for avoiding multi HP mixers */
> >>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
> >>>>>>>>>>>>>    	}
> >>>>>>>>>>>>>    	return 0;
> >>>>>>>>>>>>>    }
> >>>>>>>>>>>> Would you like me to test this patch? If so, what should I apply it to
> >>>>>>>>>>>> and how should I proceed?
> >>>>>>>>>>>
> >>>>>>>>>>> Yes, the test would be appreciated, of course.
> >>>>>>>>>>> Apply it to the latest 3.0-rc kernel and test.
> >>>>>>>>>>
> >>>>>>>>>> Also, the additional patch below will give "Headphone" mixer control
> >>>>>>>>>> back while new "Surround", "Center" and "LFE" will appear.
> >>>>>>>>>>
> >>>>>>>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
> >>>>>>>>>> for using the surround outputs even with these patches.  As default,
> >>>>>>>>>> it's set as "2ch".
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> Takashi
> >>>>>>>>>>
> >>>>>>>>> I will definitely try to give this a shot, but the outcome might be 
> >>>>>>>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
> >>>>>>>>> kernel.
> >>>>>>>>
> >>>>>>>> You can build the kernel by yourself at any time...
> >>>>>>>>
> >>>>>>>>> How about 8-channel sound btw? Under Windows the device claims to be 
> >>>>>>>>> capable of it.
> >>>>>>>>
> >>>>>>>> Do you have 4 jacks?  Otherwise it's nonsense.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Takashi
> >>>>>>> OK, I was able to successfully apply the patch and build the kernel. I
> >>>>>>> tested it using:
> >>>>>>> $ pasuspender bash
> >>>>>>> $ speaker-test -Dplug:surround51 -c6
> >>>>>>> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
> >>>>>>> the sound for all 6 channels. Setting it to 4 channels took away LFE and
> >>>>>>> center. Pulseaudio outputs are still a little messy, but this is out of
> >>>>>>> ALSA scope, I think.
> >>>>>>>
> >>>>>>> Julian
> >>>>>> It seems I spoke a bit too soon. The superfluous controls are still a
> >>>>>> problem. Speaker and Headphone controls seem to be overlapping (new
> >>>>>> output on amixer -c0 attached). They both control the headphones when
> >>>>>> they are plugged in and internal speakers when not.
> >>>>>>
> >>>>>> Julian
> >>>>>>
> >>>>> Sorry for this email bombardment, but I just booted back to stock F15
> >>>>> kernel (2.6.38.8-32.fc15.x86_64) and noticed that speaker and headphone
> >>>>> controls actually do what they advertise. Still, it is impossible to
> >>>>> make the sound go through the speakers when headphones are plugged in (I
> >>>>> tried pavucontrol for this).
> >>>>
> >>>> The auto-mute feature can be controlled "Auto-Mute Mode" mixer enum.
> >>>> Set to "Disabled" will turn off the auto-mute in the driver side.
> >>>> However...
> >>>
> >>> You are right - when auto-mute is disabled sound goes via both speakers
> >>> and headphones when they are plugged. I did not know the function of
> >>> auto-mute.
> >>> However, the "Speaker" and "Headphone" controls still do influence both
> >>> outputs, and "Speaker" can only be muted - there is no volume control
> >>> available. So, in my opinion, they should either be merged altogether,
> >>> or switched back to the way they work in 2.6.38.8-32.fc15.x86_64, that
> >>> is setting the volume of speakers and headphones independently.
> >>
> >> Give alsa-info.sh outputs on your machine with the latest status for
> >> further analysis.
> > 
> > I think this issue was fixed now in topic/hda branch in sound git tree:
> >   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> > 
> > Give it a try.  You can pull the branch into the latest Linus git tree
> > for merging into the latest 3.0-rc.
> > 
> > 
> > Takashi
> It seems like the problem is still there. The output of alsa-info.sh is
> available here:
> http://www.alsa-project.org/db/?f=38e2e44ab86691006a837715601aad4311fda0d3

Double-check whether you compiled really the right stuff.
The emulator works fine, so something wrong likely in your side.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-28  7:12                             ` Takashi Iwai
@ 2011-06-28  8:03                               ` Julian Sikorski
  2011-06-28  9:05                                 ` Takashi Iwai
  2011-06-29 17:36                               ` Julian Sikorski
  1 sibling, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-28  8:03 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 28/06/2011 09:12, Takashi Iwai wrote:
> Double-check whether you compiled really the right stuff.
> The emulator works fine, so something wrong likely in your side.
>
>
> Takashi
When I was asking for help how to build a different kernel tree and a 
fellow #fedora-kernel channel member offered to compile the stuff for 
me. The source RPM is here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3164043
Inside, you have alsa-fixups.patch and alsa-next_topic-hda.patch as an 
addition to the stock Fedora kernel. I looked into 
alsa-next_topic-hda.patch and it seemed like commit
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=3af9ee6b83c4c3f2577719e31e7d2af1ce996557
was included.

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-28  8:03                               ` Julian Sikorski
@ 2011-06-28  9:05                                 ` Takashi Iwai
  2011-06-28 10:36                                   ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-06-28  9:05 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Tue, 28 Jun 2011 10:03:34 +0200,
Julian Sikorski wrote:
> 
> On 28/06/2011 09:12, Takashi Iwai wrote:
> > Double-check whether you compiled really the right stuff.
> > The emulator works fine, so something wrong likely in your side.
> >
> >
> > Takashi
> When I was asking for help how to build a different kernel tree and a 
> fellow #fedora-kernel channel member offered to compile the stuff for 
> me. The source RPM is here:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=3164043
> Inside, you have alsa-fixups.patch and alsa-next_topic-hda.patch as an 
> addition to the stock Fedora kernel. I looked into 
> alsa-next_topic-hda.patch and it seemed like commit
> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=3af9ee6b83c4c3f2577719e31e7d2af1ce996557
> was included.

That doesn't explain anything, and I can't help any more, sorry.
The single patch won't work unless you really carefully pick up all
necessary stuff.  You'd better to copy the whole sound/pci/hda/*
files from the very latest sound git tree.

Any reason you can't use git and build manually?
It'll save your time very much in the end.
With a modern PC, you can build the kernel in 10 minutes or so if you
edit kernel config beforehand.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-28  9:05                                 ` Takashi Iwai
@ 2011-06-28 10:36                                   ` Julian Sikorski
  2011-06-28 12:40                                     ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-28 10:36 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 28/06/2011 11:05, Takashi Iwai wrote:
> At Tue, 28 Jun 2011 10:03:34 +0200,
> Julian Sikorski wrote:
>>
>> On 28/06/2011 09:12, Takashi Iwai wrote:
>>> Double-check whether you compiled really the right stuff.
>>> The emulator works fine, so something wrong likely in your side.
>>>
>>>
>>> Takashi
>> When I was asking for help how to build a different kernel tree and a
>> fellow #fedora-kernel channel member offered to compile the stuff for
>> me. The source RPM is here:
>> http://koji.fedoraproject.org/koji/taskinfo?taskID=3164043
>> Inside, you have alsa-fixups.patch and alsa-next_topic-hda.patch as an
>> addition to the stock Fedora kernel. I looked into
>> alsa-next_topic-hda.patch and it seemed like commit
>> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=3af9ee6b83c4c3f2577719e31e7d2af1ce996557
>> was included.
>
> That doesn't explain anything, and I can't help any more, sorry.
> The single patch won't work unless you really carefully pick up all
> necessary stuff.  You'd better to copy the whole sound/pci/hda/*
> files from the very latest sound git tree.
>
> Any reason you can't use git and build manually?
> It'll save your time very much in the end.
> With a modern PC, you can build the kernel in 10 minutes or so if you
> edit kernel config beforehand.
>
>
> Takashi
I just never did it and I am not sure how to steal the old config 
options. Would make oldconfig do the trick?

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-28 10:36                                   ` Julian Sikorski
@ 2011-06-28 12:40                                     ` Takashi Iwai
  0 siblings, 0 replies; 69+ messages in thread
From: Takashi Iwai @ 2011-06-28 12:40 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Tue, 28 Jun 2011 12:36:44 +0200,
Julian Sikorski wrote:
> 
> On 28/06/2011 11:05, Takashi Iwai wrote:
> > At Tue, 28 Jun 2011 10:03:34 +0200,
> > Julian Sikorski wrote:
> >>
> >> On 28/06/2011 09:12, Takashi Iwai wrote:
> >>> Double-check whether you compiled really the right stuff.
> >>> The emulator works fine, so something wrong likely in your side.
> >>>
> >>>
> >>> Takashi
> >> When I was asking for help how to build a different kernel tree and a
> >> fellow #fedora-kernel channel member offered to compile the stuff for
> >> me. The source RPM is here:
> >> http://koji.fedoraproject.org/koji/taskinfo?taskID=3164043
> >> Inside, you have alsa-fixups.patch and alsa-next_topic-hda.patch as an
> >> addition to the stock Fedora kernel. I looked into
> >> alsa-next_topic-hda.patch and it seemed like commit
> >> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=3af9ee6b83c4c3f2577719e31e7d2af1ce996557
> >> was included.
> >
> > That doesn't explain anything, and I can't help any more, sorry.
> > The single patch won't work unless you really carefully pick up all
> > necessary stuff.  You'd better to copy the whole sound/pci/hda/*
> > files from the very latest sound git tree.
> >
> > Any reason you can't use git and build manually?
> > It'll save your time very much in the end.
> > With a modern PC, you can build the kernel in 10 minutes or so if you
> > edit kernel config beforehand.
> >
> >
> > Takashi
> I just never did it and I am not sure how to steal the old config 
> options. Would make oldconfig do the trick?

Yes, and just press return for the questions.

Or you can try make localmodconfig.  This will give you a .config with
only the currently used modules, so many unused config items are
stripped down.

Note that you need to load some dynamically loaded modules (e.g. usb
stuff) before running the localmodconfig.  Otherwise the modules won't
be built for the new kernel. 


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-28  7:12                             ` Takashi Iwai
  2011-06-28  8:03                               ` Julian Sikorski
@ 2011-06-29 17:36                               ` Julian Sikorski
  2011-06-29 18:16                                 ` Julian Sikorski
  1 sibling, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-29 17:36 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

W dniu 28.06.2011 09:12, Takashi Iwai pisze:
> At Mon, 27 Jun 2011 22:08:29 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 27.06.2011 14:32, Takashi Iwai pisze:
>>> At Mon, 27 Jun 2011 11:19:36 +0200,
>>> Takashi Iwai wrote:
>>>>
>>>> At Mon, 27 Jun 2011 08:21:26 +0200,
>>>> Julian Sikorski wrote:
>>>>>
>>>>> W dniu 27.06.2011 08:04, Takashi Iwai pisze:
>>>>>> At Sat, 25 Jun 2011 14:01:06 +0200,
>>>>>> Julian Sikorski wrote:
>>>>>>>
>>>>>>> W dniu 25.06.2011 13:31, Julian Sikorski pisze:
>>>>>>>> W dniu 25.06.2011 13:08, Julian Sikorski pisze:
>>>>>>>>> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
>>>>>>>>>> At Fri, 24 Jun 2011 13:25:53 +0200,
>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>
>>>>>>>>>>> On 24/06/2011 11:12, Takashi Iwai wrote:
>>>>>>>>>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
>>>>>>>>>>>> Takashi Iwai wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
>>>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
>>>>>>>>>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
>>>>>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
>>>>>>>>>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>>>>>>>>>>>>>>>> microphone and the following connectors:
>>>>>>>>>>>>>>>> - headphone out
>>>>>>>>>>>>>>>> - microphone in; can be switched to center/lfe out
>>>>>>>>>>>>>>>> - spdif out; can be switched to rear speaker out
>>>>>>>>>>>>>>>> - line in; can be switched to side speaker out
>>>>>>>>>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>>>>>>>>>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
>>>>>>>>>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
>>>>>>>>>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
>>>>>>>>>>>>>>>> is needed.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The current parser doesn't allow the multi-io pins when the primary
>>>>>>>>>>>>>>> output is no line-out.  The patch below should fix (change) the
>>>>>>>>>>>>>>> behavior.  It'll count HP out, too.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Takashi
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>>>> index fe56b2b..b0cf726 100644
>>>>>>>>>>>>>>> --- a/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>>>>>>>>>>>>>>>    	hda_nid_t dac;
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
>>>>>>>>>>>>>>> +	spec->multiout.num_dacs = 0;
>>>>>>>>>>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
>>>>>>>>>>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>>>>>>>>>>>>>>>    		if (!dac)
>>>>>>>>>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>>>>>>    	unsigned int location, defcfg;
>>>>>>>>>>>>>>>    	int num_pins;
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
>>>>>>>>>>>>>>> +		/* use HP as primary out */
>>>>>>>>>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
>>>>>>>>>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
>>>>>>>>>>>>>>> +		       sizeof(cfg->speaker_pins));
>>>>>>>>>>>>>>> +		cfg->line_outs = cfg->hp_outs;
>>>>>>>>>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
>>>>>>>>>>>>>>> +		cfg->hp_outs = 0;
>>>>>>>>>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
>>>>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
>>>>>>>>>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
>>>>>>>>>>>>>>> +	}
>>>>>>>>>>>>>>>    	if (cfg->line_outs != 1 ||
>>>>>>>>>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
>>>>>>>>>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>>>>>>>>>>>>>>>    		return 0;
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
>>>>>>>>>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>>>>>>    		spec->multi_ios = num_pins;
>>>>>>>>>>>>>>>    		spec->ext_channel_count = 2;
>>>>>>>>>>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
>>>>>>>>>>>>>>> +		/* for avoiding multi HP mixers */
>>>>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>>>>>>>>>>>>>>>    	}
>>>>>>>>>>>>>>>    	return 0;
>>>>>>>>>>>>>>>    }
>>>>>>>>>>>>>> Would you like me to test this patch? If so, what should I apply it to
>>>>>>>>>>>>>> and how should I proceed?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Yes, the test would be appreciated, of course.
>>>>>>>>>>>>> Apply it to the latest 3.0-rc kernel and test.
>>>>>>>>>>>>
>>>>>>>>>>>> Also, the additional patch below will give "Headphone" mixer control
>>>>>>>>>>>> back while new "Surround", "Center" and "LFE" will appear.
>>>>>>>>>>>>
>>>>>>>>>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
>>>>>>>>>>>> for using the surround outputs even with these patches.  As default,
>>>>>>>>>>>> it's set as "2ch".
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Takashi
>>>>>>>>>>>>
>>>>>>>>>>> I will definitely try to give this a shot, but the outcome might be 
>>>>>>>>>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
>>>>>>>>>>> kernel.
>>>>>>>>>>
>>>>>>>>>> You can build the kernel by yourself at any time...
>>>>>>>>>>
>>>>>>>>>>> How about 8-channel sound btw? Under Windows the device claims to be 
>>>>>>>>>>> capable of it.
>>>>>>>>>>
>>>>>>>>>> Do you have 4 jacks?  Otherwise it's nonsense.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Takashi
>>>>>>>>> OK, I was able to successfully apply the patch and build the kernel. I
>>>>>>>>> tested it using:
>>>>>>>>> $ pasuspender bash
>>>>>>>>> $ speaker-test -Dplug:surround51 -c6
>>>>>>>>> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
>>>>>>>>> the sound for all 6 channels. Setting it to 4 channels took away LFE and
>>>>>>>>> center. Pulseaudio outputs are still a little messy, but this is out of
>>>>>>>>> ALSA scope, I think.
>>>>>>>>>
>>>>>>>>> Julian
>>>>>>>> It seems I spoke a bit too soon. The superfluous controls are still a
>>>>>>>> problem. Speaker and Headphone controls seem to be overlapping (new
>>>>>>>> output on amixer -c0 attached). They both control the headphones when
>>>>>>>> they are plugged in and internal speakers when not.
>>>>>>>>
>>>>>>>> Julian
>>>>>>>>
>>>>>>> Sorry for this email bombardment, but I just booted back to stock F15
>>>>>>> kernel (2.6.38.8-32.fc15.x86_64) and noticed that speaker and headphone
>>>>>>> controls actually do what they advertise. Still, it is impossible to
>>>>>>> make the sound go through the speakers when headphones are plugged in (I
>>>>>>> tried pavucontrol for this).
>>>>>>
>>>>>> The auto-mute feature can be controlled "Auto-Mute Mode" mixer enum.
>>>>>> Set to "Disabled" will turn off the auto-mute in the driver side.
>>>>>> However...
>>>>>
>>>>> You are right - when auto-mute is disabled sound goes via both speakers
>>>>> and headphones when they are plugged. I did not know the function of
>>>>> auto-mute.
>>>>> However, the "Speaker" and "Headphone" controls still do influence both
>>>>> outputs, and "Speaker" can only be muted - there is no volume control
>>>>> available. So, in my opinion, they should either be merged altogether,
>>>>> or switched back to the way they work in 2.6.38.8-32.fc15.x86_64, that
>>>>> is setting the volume of speakers and headphones independently.
>>>>
>>>> Give alsa-info.sh outputs on your machine with the latest status for
>>>> further analysis.
>>>
>>> I think this issue was fixed now in topic/hda branch in sound git tree:
>>>   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
>>>
>>> Give it a try.  You can pull the branch into the latest Linus git tree
>>> for merging into the latest 3.0-rc.
>>>
>>>
>>> Takashi
>> It seems like the problem is still there. The output of alsa-info.sh is
>> available here:
>> http://www.alsa-project.org/db/?f=38e2e44ab86691006a837715601aad4311fda0d3
> 
> Double-check whether you compiled really the right stuff.
> The emulator works fine, so something wrong likely in your side.
> 
> 
> Takashi
I compiled the latest origin/master of sound-2.6 tree and the problem is
still there. Output of alsa-info.sh is attached.

Julian

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

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

!!Script ran on: Wed Jun 29 17:30:29 UTC 2011


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

Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock)


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

Manufacturer:      CLEVO                            
Product Name:      P150HMx
Product Version:   Not Applicable                    


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

Kernel release:    3.0-0.rc2.git0.1.belegdol2.fc15.x86_64
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


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

Driver version:     1.0.24
Library version:    1.0.24
Utilities version:  1.0.24.1


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

snd_hda_intel
snd_hda_intel


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

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

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


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

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf6500000 irq 56
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf6080000 irq 17


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

00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
01:00.1 Audio device: nVidia Corporation Device 0beb (rev a1)


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

00:1b.0 0403: 8086:1c20 (rev 05)
	Subsystem: 1558:5102
--
01:00.1 0403: 10de:0beb (rev a1)
	Subsystem: 1558:5102


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

!!Module: snd_hda_intel
	bdl_pos_adj : 1,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N

!!Module: snd_hda_intel
	bdl_pos_adj : 1,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N


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

Codec: Realtek ALC892
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0892
Subsystem Id: 0x15585102
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, 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=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: 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=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x41d: 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=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x611: 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="ALC892 Digital", type="SPDIF", device=1
  Converter: stream=5, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Switch", index=1, device=0
  Control: name="Capture Volume", index=1, device=0
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x90 0x90]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x2e 0x2e]
  Converter: stream=1, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100711: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Internal Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Internal Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, 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] [0x80 0x80] [0x80 0x80]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=In, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x0b
Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x10
Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003e: IN OUT HP EAPD Detect Trigger
  EAPD 0x2: EAPD
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x03 0x03]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a11c30: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x99a30931: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x0181143f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001373e: IN OUT HP EAPD Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x598301f0: [N/A] Line In at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x01451120: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400681: Stereo Digital
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=24
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Input Source", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 12
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Input Source", index=1, device=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x26 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x25 0x0b
Codec: Nvidia GPU 12 HDMI/DP
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=6, channel=0
  Digital: Enabled GenLevel
  Digital category: 0x2
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  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
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 1
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=1, device=0
  Control: name="IEC958 Playback Pro Mask", index=1, device=0
  Control: name="IEC958 Playback Default", index=1, device=0
  Control: name="IEC958 Playback Switch", index=1, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=2, device=0
  Control: name="IEC958 Playback Pro Mask", index=2, device=0
  Control: name="IEC958 Playback Default", index=2, device=0
  Control: name="IEC958 Playback Switch", index=2, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=3, device=0
  Control: name="IEC958 Playback Pro Mask", index=3, device=0
  Control: name="IEC958 Playback Default", index=3, device=0
  Control: name="IEC958 Playback Switch", index=3, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
--endcollapse--


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

crw-rw----+ 1 root audio 116,  6 Jun 29 19:27 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 15 Jun 29 19:27 /dev/snd/controlC1
crw-rw----+ 1 root audio 116,  5 Jun 29 19:27 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 14 Jun 29 19:27 /dev/snd/hwC1D0
crw-rw----+ 1 root audio 116, 13 Jun 29 19:27 /dev/snd/hwC1D1
crw-rw----+ 1 root audio 116, 12 Jun 29 19:27 /dev/snd/hwC1D2
crw-rw----+ 1 root audio 116, 11 Jun 29 19:27 /dev/snd/hwC1D3
crw-rw----+ 1 root audio 116,  4 Jun 29 19:28 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Jun 29 19:29 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  2 Jun 29 19:28 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116, 10 Jun 29 19:28 /dev/snd/pcmC1D3p
crw-rw----+ 1 root audio 116,  9 Jun 29 19:27 /dev/snd/pcmC1D7p
crw-rw----+ 1 root audio 116,  8 Jun 29 19:27 /dev/snd/pcmC1D8p
crw-rw----+ 1 root audio 116,  7 Jun 29 19:27 /dev/snd/pcmC1D9p
crw-rw----+ 1 root audio 116,  1 Jun 29 19:27 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Jun 29 19:27 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x. 2 root root  80 Jun 29 19:27 .
drwxr-xr-x. 3 root root 380 Jun 29 19:27 ..
lrwxrwxrwx. 1 root root  12 Jun 29 19:27 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx. 1 root root  12 Jun 29 19:27 pci-0000:01:00.1 -> ../controlC1


!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

#
# Place your global alsa-lib configuration here...
#

@hooks [
	{
		func load
		files [
			"/etc/alsa/pulse-default.conf"
		]
		errors false
	}
]


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

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

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

Card hw:0 'PCH'/'HDA Intel PCH at 0xf6500000 irq 56'
  Mixer name	: 'Realtek ALC892'
  Components	: 'HDA:10ec0892,15585102,00100302'
  Controls      : 33
  Simple ctrls  : 20
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pswitch penum
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [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 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control '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 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [30.00dB] [on]
  Front Right: Capture 46 [100%] [30.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 16 [35%] [0.00dB] [off]
  Front Right: Capture 16 [35%] [0.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Internal Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

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

Card hw:1 'NVidia'/'HDA NVidia at 0xf6080000 irq 17'
  Mixer name	: 'Nvidia GPU 12 HDMI/DP'
  Components	: 'HDA:10de0012,10de0101,00100100'
  Controls      : 16
  Simple ctrls  : 4
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]


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

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Channel Mode'
		value '2ch'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 '2ch'
			item.1 '4ch'
			item.2 '6ch'
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.3 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.5 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.6 {
		iface MIXER
		name 'Center Playback Volume'
		value 64
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'LFE Playback Volume'
		value 64
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
		}
	}
	control.8 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.12 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Internal Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.14 {
		iface MIXER
		name 'Internal Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.15 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.16 {
		iface MIXER
		name 'Line Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.17 {
		iface MIXER
		name '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.18 {
		iface MIXER
		name 'Internal Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.19 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.20 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	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'
		value.0 46
		value.1 46
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 16
		value.1 16
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.24 {
		iface MIXER
		name 'Input Source'
		value 'Internal Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Mic
			item.1 'Internal Mic'
			item.2 Line
		}
	}
	control.25 {
		iface MIXER
		name 'Input Source'
		index 1
		value Mic
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Mic
			item.1 'Internal Mic'
			item.2 Line
		}
	}
	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 true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.30 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface MIXER
		name 'Master Playback Volume'
		value 64
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
		}
	}
	control.32 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		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
		}
	}
}
state.NVidia {
	control.1 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.6 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.7 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 2
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 2
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 2
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.12 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 2
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 3
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 3
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 3
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 3
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
}
--endcollapse--


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

Module
ebtable_nat
ebtables
ipt_MASQUERADE
iptable_nat
nf_nat
xt_CHECKSUM
iptable_mangle
bridge
stp
llc
sunrpc
cpufreq_ondemand
acpi_cpufreq
freq_table
mperf
bnep
bluetooth
nf_conntrack_ipv4
nf_defrag_ipv4
ip6t_REJECT
nf_conntrack_ipv6
nf_defrag_ipv6
xt_state
nf_conntrack
ip6table_filter
ip6_tables
fuse
arc4
uvcvideo
snd_hda_codec_hdmi
videodev
media
microcode
v4l2_compat_ioctl32
snd_hda_codec_realtek
joydev
snd_hda_intel
snd_hda_codec
serio_raw
pcspkr
snd_hwdep
snd_seq
i2c_i801
snd_seq_device
i2c_core
iTCO_wdt
iTCO_vendor_support
snd_pcm
iwlagn
mac80211
snd_timer
snd
xhci_hcd
jmb38x_ms
memstick
jme
cfg80211
rfkill
mii
soundcore
snd_page_alloc
virtio_net
kvm_intel
kvm
firewire_ohci
firewire_core
crc_itu_t
sdhci_pci
sdhci
mmc_core
wmi
video


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x11 0x411111f0
0x12 0x411111f0
0x14 0x99130110
0x15 0x411111f0
0x16 0x411111f0
0x17 0x411111f0
0x18 0x01a11c30
0x19 0x99a30931
0x1a 0x0181143f
0x1b 0x0121101f
0x1c 0x411111f0
0x1d 0x598301f0
0x1e 0x01451120
0x1f 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC1D0/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D0/driver_pin_configs:

/sys/class/sound/hwC1D0/user_pin_configs:

/sys/class/sound/hwC1D0/init_verbs:

/sys/class/sound/hwC1D1/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D1/driver_pin_configs:

/sys/class/sound/hwC1D1/user_pin_configs:

/sys/class/sound/hwC1D1/init_verbs:

/sys/class/sound/hwC1D2/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D2/driver_pin_configs:

/sys/class/sound/hwC1D2/user_pin_configs:

/sys/class/sound/hwC1D2/init_verbs:

/sys/class/sound/hwC1D3/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D3/driver_pin_configs:

/sys/class/sound/hwC1D3/user_pin_configs:

/sys/class/sound/hwC1D3/init_verbs:


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

[   19.861593] mtp-probe[622]: bus: 1, device: 3 was not an MTP device
[   19.896029] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   19.896237] snd_hda_intel 0000:00:1b.0: irq 56 for MSI/MSI-X
[   19.896377] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[   19.919918] mtp-probe[647]: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
[   19.960520] hda_codec: ALC892: SKU not ready 0x598301f0
[   19.960683] hda_codec: ALC892: BIOS auto-probing.
[   19.960690] ALSA sound/pci/hda/hda_codec.c:4831 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   19.960693] ALSA sound/pci/hda/hda_codec.c:4835    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   19.960696] ALSA sound/pci/hda/hda_codec.c:4839    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   19.960698] ALSA sound/pci/hda/hda_codec.c:4840    mono: mono_out=0x0
[   19.960701] ALSA sound/pci/hda/hda_codec.c:4843    dig-out=0x1e/0x0
[   19.960703] ALSA sound/pci/hda/hda_codec.c:4844    inputs:
[   19.960706] ALSA sound/pci/hda/hda_codec.c:4848  Mic=0x18
[   19.960708] ALSA sound/pci/hda/hda_codec.c:4848  Internal Mic=0x19
[   19.960710] ALSA sound/pci/hda/hda_codec.c:4848  Line=0x1a
[   19.960712] ALSA sound/pci/hda/hda_codec.c:4850 
[   19.962063] ALSA sound/pci/hda/patch_realtek.c:1789 realtek: No valid SSID, checking pincfg 0x598301f0 for NID 0x1d
[   19.962066] ALSA sound/pci/hda/patch_realtek.c:1870 realtek: Enable default setup for auto mode as fallback
[   19.987178] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   20.035939] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[   20.035956] hda_intel: Disabling MSI
[   20.036245] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[   20.043100] ALSA sound/pci/hda/hda_intel.c:1454 Enable delay in RIRB handling
[   20.103021] mtp-probe[647]: bus: 2, device: 3 was not an MTP device
--
[   20.277359] USB Video Class driver (v1.1.0)
[   20.295798] HDMI status: Codec=0 Pin=5 Presence_Detect=0 ELD_Valid=0
[   20.334784] HDMI status: Codec=1 Pin=5 Presence_Detect=0 ELD_Valid=0
[   20.351207] iwlagn 0000:04:00.0: loaded firmware version 17.168.5.1 build 33993
[   20.357260] Registered led device: phy0-led
[   20.374714] HDMI status: Codec=2 Pin=5 Presence_Detect=0 ELD_Valid=0
[   20.407236] microcode: CPU1 sig=0x206a7, pf=0x10, revision=0x14
[   20.413674] HDMI status: Codec=3 Pin=5 Presence_Detect=0 ELD_Valid=0
[   20.434741] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
[   20.435403] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
[   20.436074] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
[   20.436794] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[   20.438282] microcode: CPU2 sig=0x206a7, pf=0x10, revision=0x14
--
[   47.764496] DMAR:[fault reason 05] PTE Write access is not set
[   61.529629] hda-intel: Invalid position buffer, using LPIB read method instead.
[   61.715151] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
[   61.878197] hda-intel: Invalid position buffer, using LPIB read method instead.
[   72.242637] DRHD: handling fault status reg 2



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



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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-29 17:36                               ` Julian Sikorski
@ 2011-06-29 18:16                                 ` Julian Sikorski
  2011-06-29 19:29                                   ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-29 18:16 UTC (permalink / raw)
  Cc: Takashi Iwai, alsa-devel

W dniu 29.06.2011 19:36, Julian Sikorski pisze:
> W dniu 28.06.2011 09:12, Takashi Iwai pisze:
>> At Mon, 27 Jun 2011 22:08:29 +0200,
>> Julian Sikorski wrote:
>>>
>>> W dniu 27.06.2011 14:32, Takashi Iwai pisze:
>>>> At Mon, 27 Jun 2011 11:19:36 +0200,
>>>> Takashi Iwai wrote:
>>>>>
>>>>> At Mon, 27 Jun 2011 08:21:26 +0200,
>>>>> Julian Sikorski wrote:
>>>>>>
>>>>>> W dniu 27.06.2011 08:04, Takashi Iwai pisze:
>>>>>>> At Sat, 25 Jun 2011 14:01:06 +0200,
>>>>>>> Julian Sikorski wrote:
>>>>>>>>
>>>>>>>> W dniu 25.06.2011 13:31, Julian Sikorski pisze:
>>>>>>>>> W dniu 25.06.2011 13:08, Julian Sikorski pisze:
>>>>>>>>>> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
>>>>>>>>>>> At Fri, 24 Jun 2011 13:25:53 +0200,
>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> On 24/06/2011 11:12, Takashi Iwai wrote:
>>>>>>>>>>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
>>>>>>>>>>>>> Takashi Iwai wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
>>>>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
>>>>>>>>>>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
>>>>>>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
>>>>>>>>>>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>>>>>>>>>>>>>>>>> microphone and the following connectors:
>>>>>>>>>>>>>>>>> - headphone out
>>>>>>>>>>>>>>>>> - microphone in; can be switched to center/lfe out
>>>>>>>>>>>>>>>>> - spdif out; can be switched to rear speaker out
>>>>>>>>>>>>>>>>> - line in; can be switched to side speaker out
>>>>>>>>>>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>>>>>>>>>>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
>>>>>>>>>>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
>>>>>>>>>>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
>>>>>>>>>>>>>>>>> is needed.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The current parser doesn't allow the multi-io pins when the primary
>>>>>>>>>>>>>>>> output is no line-out.  The patch below should fix (change) the
>>>>>>>>>>>>>>>> behavior.  It'll count HP out, too.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Takashi
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>>>>> index fe56b2b..b0cf726 100644
>>>>>>>>>>>>>>>> --- a/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>>>>>>>>>>>>>>>>    	hda_nid_t dac;
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
>>>>>>>>>>>>>>>> +	spec->multiout.num_dacs = 0;
>>>>>>>>>>>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
>>>>>>>>>>>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>>>>>>>>>>>>>>>>    		if (!dac)
>>>>>>>>>>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>>>>>>>    	unsigned int location, defcfg;
>>>>>>>>>>>>>>>>    	int num_pins;
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
>>>>>>>>>>>>>>>> +		/* use HP as primary out */
>>>>>>>>>>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
>>>>>>>>>>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
>>>>>>>>>>>>>>>> +		       sizeof(cfg->speaker_pins));
>>>>>>>>>>>>>>>> +		cfg->line_outs = cfg->hp_outs;
>>>>>>>>>>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
>>>>>>>>>>>>>>>> +		cfg->hp_outs = 0;
>>>>>>>>>>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
>>>>>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
>>>>>>>>>>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
>>>>>>>>>>>>>>>> +	}
>>>>>>>>>>>>>>>>    	if (cfg->line_outs != 1 ||
>>>>>>>>>>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
>>>>>>>>>>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>>>>>>>>>>>>>>>>    		return 0;
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
>>>>>>>>>>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>>>>>>>    		spec->multi_ios = num_pins;
>>>>>>>>>>>>>>>>    		spec->ext_channel_count = 2;
>>>>>>>>>>>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
>>>>>>>>>>>>>>>> +		/* for avoiding multi HP mixers */
>>>>>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>>>>>>>>>>>>>>>>    	}
>>>>>>>>>>>>>>>>    	return 0;
>>>>>>>>>>>>>>>>    }
>>>>>>>>>>>>>>> Would you like me to test this patch? If so, what should I apply it to
>>>>>>>>>>>>>>> and how should I proceed?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Yes, the test would be appreciated, of course.
>>>>>>>>>>>>>> Apply it to the latest 3.0-rc kernel and test.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Also, the additional patch below will give "Headphone" mixer control
>>>>>>>>>>>>> back while new "Surround", "Center" and "LFE" will appear.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
>>>>>>>>>>>>> for using the surround outputs even with these patches.  As default,
>>>>>>>>>>>>> it's set as "2ch".
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Takashi
>>>>>>>>>>>>>
>>>>>>>>>>>> I will definitely try to give this a shot, but the outcome might be 
>>>>>>>>>>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
>>>>>>>>>>>> kernel.
>>>>>>>>>>>
>>>>>>>>>>> You can build the kernel by yourself at any time...
>>>>>>>>>>>
>>>>>>>>>>>> How about 8-channel sound btw? Under Windows the device claims to be 
>>>>>>>>>>>> capable of it.
>>>>>>>>>>>
>>>>>>>>>>> Do you have 4 jacks?  Otherwise it's nonsense.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Takashi
>>>>>>>>>> OK, I was able to successfully apply the patch and build the kernel. I
>>>>>>>>>> tested it using:
>>>>>>>>>> $ pasuspender bash
>>>>>>>>>> $ speaker-test -Dplug:surround51 -c6
>>>>>>>>>> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
>>>>>>>>>> the sound for all 6 channels. Setting it to 4 channels took away LFE and
>>>>>>>>>> center. Pulseaudio outputs are still a little messy, but this is out of
>>>>>>>>>> ALSA scope, I think.
>>>>>>>>>>
>>>>>>>>>> Julian
>>>>>>>>> It seems I spoke a bit too soon. The superfluous controls are still a
>>>>>>>>> problem. Speaker and Headphone controls seem to be overlapping (new
>>>>>>>>> output on amixer -c0 attached). They both control the headphones when
>>>>>>>>> they are plugged in and internal speakers when not.
>>>>>>>>>
>>>>>>>>> Julian
>>>>>>>>>
>>>>>>>> Sorry for this email bombardment, but I just booted back to stock F15
>>>>>>>> kernel (2.6.38.8-32.fc15.x86_64) and noticed that speaker and headphone
>>>>>>>> controls actually do what they advertise. Still, it is impossible to
>>>>>>>> make the sound go through the speakers when headphones are plugged in (I
>>>>>>>> tried pavucontrol for this).
>>>>>>>
>>>>>>> The auto-mute feature can be controlled "Auto-Mute Mode" mixer enum.
>>>>>>> Set to "Disabled" will turn off the auto-mute in the driver side.
>>>>>>> However...
>>>>>>
>>>>>> You are right - when auto-mute is disabled sound goes via both speakers
>>>>>> and headphones when they are plugged. I did not know the function of
>>>>>> auto-mute.
>>>>>> However, the "Speaker" and "Headphone" controls still do influence both
>>>>>> outputs, and "Speaker" can only be muted - there is no volume control
>>>>>> available. So, in my opinion, they should either be merged altogether,
>>>>>> or switched back to the way they work in 2.6.38.8-32.fc15.x86_64, that
>>>>>> is setting the volume of speakers and headphones independently.
>>>>>
>>>>> Give alsa-info.sh outputs on your machine with the latest status for
>>>>> further analysis.
>>>>
>>>> I think this issue was fixed now in topic/hda branch in sound git tree:
>>>>   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
>>>>
>>>> Give it a try.  You can pull the branch into the latest Linus git tree
>>>> for merging into the latest 3.0-rc.
>>>>
>>>>
>>>> Takashi
>>> It seems like the problem is still there. The output of alsa-info.sh is
>>> available here:
>>> http://www.alsa-project.org/db/?f=38e2e44ab86691006a837715601aad4311fda0d3
>>
>> Double-check whether you compiled really the right stuff.
>> The emulator works fine, so something wrong likely in your side.
>>
>>
>> Takashi
> I compiled the latest origin/master of sound-2.6 tree and the problem is
> still there. Output of alsa-info.sh is attached.
> 
> Julian
> 
I had a closer look at 2.6.38.8-32.fc15.x86_64 and the controls are not
completely separate. While you can regulate the volume of headphones and
speakers separately, muting one mutes the other.

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-29 18:16                                 ` Julian Sikorski
@ 2011-06-29 19:29                                   ` Julian Sikorski
  2011-06-30  5:26                                     ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-29 19:29 UTC (permalink / raw)
  Cc: Takashi Iwai, alsa-devel

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

W dniu 29.06.2011 20:16, Julian Sikorski pisze:
> W dniu 29.06.2011 19:36, Julian Sikorski pisze:
>> W dniu 28.06.2011 09:12, Takashi Iwai pisze:
>>> At Mon, 27 Jun 2011 22:08:29 +0200,
>>> Julian Sikorski wrote:
>>>>
>>>> W dniu 27.06.2011 14:32, Takashi Iwai pisze:
>>>>> At Mon, 27 Jun 2011 11:19:36 +0200,
>>>>> Takashi Iwai wrote:
>>>>>>
>>>>>> At Mon, 27 Jun 2011 08:21:26 +0200,
>>>>>> Julian Sikorski wrote:
>>>>>>>
>>>>>>> W dniu 27.06.2011 08:04, Takashi Iwai pisze:
>>>>>>>> At Sat, 25 Jun 2011 14:01:06 +0200,
>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>
>>>>>>>>> W dniu 25.06.2011 13:31, Julian Sikorski pisze:
>>>>>>>>>> W dniu 25.06.2011 13:08, Julian Sikorski pisze:
>>>>>>>>>>> W dniu 25.06.2011 09:11, Takashi Iwai pisze:
>>>>>>>>>>>> At Fri, 24 Jun 2011 13:25:53 +0200,
>>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 24/06/2011 11:12, Takashi Iwai wrote:
>>>>>>>>>>>>>> At Fri, 24 Jun 2011 10:34:01 +0200,
>>>>>>>>>>>>>> Takashi Iwai wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> At Thu, 23 Jun 2011 18:40:47 +0200,
>>>>>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 23/06/2011 14:41, Takashi Iwai wrote:
>>>>>>>>>>>>>>>>> At Thu, 23 Jun 2011 08:36:55 +0200,
>>>>>>>>>>>>>>>>> Julian Sikorski wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I am coming here from pulseaudio-general mailing list [1]. I recently
>>>>>>>>>>>>>>>>>> got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
>>>>>>>>>>>>>>>>>> microphone and the following connectors:
>>>>>>>>>>>>>>>>>> - headphone out
>>>>>>>>>>>>>>>>>> - microphone in; can be switched to center/lfe out
>>>>>>>>>>>>>>>>>> - spdif out; can be switched to rear speaker out
>>>>>>>>>>>>>>>>>> - line in; can be switched to side speaker out
>>>>>>>>>>>>>>>>>> Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
>>>>>>>>>>>>>>>>>> sound, and there are two configs showing up in pavucontrol (analog
>>>>>>>>>>>>>>>>>> output and analog headphones) which seem to be the same. I have uploaded
>>>>>>>>>>>>>>>>>> the output of alsa-info.sh [2]. Please let me know if more information
>>>>>>>>>>>>>>>>>> is needed.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> The current parser doesn't allow the multi-io pins when the primary
>>>>>>>>>>>>>>>>> output is no line-out.  The patch below should fix (change) the
>>>>>>>>>>>>>>>>> behavior.  It'll count HP out, too.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Takashi
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>>>> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>>>>>> index fe56b2b..b0cf726 100644
>>>>>>>>>>>>>>>>> --- a/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>>>>>> +++ b/sound/pci/hda/patch_realtek.c
>>>>>>>>>>>>>>>>> @@ -18992,6 +18992,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec,
>>>>>>>>>>>>>>>>>    	hda_nid_t dac;
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>    	spec->multiout.dac_nids = spec->private_dac_nids;
>>>>>>>>>>>>>>>>> +	spec->multiout.num_dacs = 0;
>>>>>>>>>>>>>>>>>    	for (i = 0; i<   cfg->line_outs; i++) {
>>>>>>>>>>>>>>>>>    		dac = alc_auto_look_for_dac(codec, cfg->line_out_pins[i]);
>>>>>>>>>>>>>>>>>    		if (!dac)
>>>>>>>>>>>>>>>>> @@ -19326,8 +19327,20 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>>>>>>>>    	unsigned int location, defcfg;
>>>>>>>>>>>>>>>>>    	int num_pins;
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> +	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT&&   cfg->hp_outs == 1) {
>>>>>>>>>>>>>>>>> +		/* use HP as primary out */
>>>>>>>>>>>>>>>>> +		cfg->speaker_outs = cfg->line_outs;
>>>>>>>>>>>>>>>>> +		memcpy(cfg->speaker_pins, cfg->line_out_pins,
>>>>>>>>>>>>>>>>> +		       sizeof(cfg->speaker_pins));
>>>>>>>>>>>>>>>>> +		cfg->line_outs = cfg->hp_outs;
>>>>>>>>>>>>>>>>> +		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
>>>>>>>>>>>>>>>>> +		cfg->hp_outs = 0;
>>>>>>>>>>>>>>>>> +		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
>>>>>>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_HP_OUT;
>>>>>>>>>>>>>>>>> +		alc662_auto_fill_dac_nids(codec, cfg);
>>>>>>>>>>>>>>>>> +	}
>>>>>>>>>>>>>>>>>    	if (cfg->line_outs != 1 ||
>>>>>>>>>>>>>>>>> -	    cfg->line_out_type != AUTO_PIN_LINE_OUT)
>>>>>>>>>>>>>>>>> +	    cfg->line_out_type == AUTO_PIN_SPEAKER_OUT)
>>>>>>>>>>>>>>>>>    		return 0;
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>    	defcfg = snd_hda_codec_get_pincfg(codec, cfg->line_out_pins[0]);
>>>>>>>>>>>>>>>>> @@ -19348,6 +19361,8 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec)
>>>>>>>>>>>>>>>>>    		spec->multi_ios = num_pins;
>>>>>>>>>>>>>>>>>    		spec->ext_channel_count = 2;
>>>>>>>>>>>>>>>>>    		spec->multiout.num_dacs = num_pins + 1;
>>>>>>>>>>>>>>>>> +		/* for avoiding multi HP mixers */
>>>>>>>>>>>>>>>>> +		cfg->line_out_type = AUTO_PIN_LINE_OUT;
>>>>>>>>>>>>>>>>>    	}
>>>>>>>>>>>>>>>>>    	return 0;
>>>>>>>>>>>>>>>>>    }
>>>>>>>>>>>>>>>> Would you like me to test this patch? If so, what should I apply it to
>>>>>>>>>>>>>>>> and how should I proceed?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Yes, the test would be appreciated, of course.
>>>>>>>>>>>>>>> Apply it to the latest 3.0-rc kernel and test.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Also, the additional patch below will give "Headphone" mixer control
>>>>>>>>>>>>>> back while new "Surround", "Center" and "LFE" will appear.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Note that you'll need to change "Channel Mode" mixer control to "6ch"
>>>>>>>>>>>>>> for using the surround outputs even with these patches.  As default,
>>>>>>>>>>>>>> it's set as "2ch".
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Takashi
>>>>>>>>>>>>>>
>>>>>>>>>>>>> I will definitely try to give this a shot, but the outcome might be 
>>>>>>>>>>>>> dependent on the fact whether Fedora 15 will want to work with 3.0-rc 
>>>>>>>>>>>>> kernel.
>>>>>>>>>>>>
>>>>>>>>>>>> You can build the kernel by yourself at any time...
>>>>>>>>>>>>
>>>>>>>>>>>>> How about 8-channel sound btw? Under Windows the device claims to be 
>>>>>>>>>>>>> capable of it.
>>>>>>>>>>>>
>>>>>>>>>>>> Do you have 4 jacks?  Otherwise it's nonsense.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Takashi
>>>>>>>>>>> OK, I was able to successfully apply the patch and build the kernel. I
>>>>>>>>>>> tested it using:
>>>>>>>>>>> $ pasuspender bash
>>>>>>>>>>> $ speaker-test -Dplug:surround51 -c6
>>>>>>>>>>> Once I set sound to 6-channel using alsamixer -c0, I was able to hear
>>>>>>>>>>> the sound for all 6 channels. Setting it to 4 channels took away LFE and
>>>>>>>>>>> center. Pulseaudio outputs are still a little messy, but this is out of
>>>>>>>>>>> ALSA scope, I think.
>>>>>>>>>>>
>>>>>>>>>>> Julian
>>>>>>>>>> It seems I spoke a bit too soon. The superfluous controls are still a
>>>>>>>>>> problem. Speaker and Headphone controls seem to be overlapping (new
>>>>>>>>>> output on amixer -c0 attached). They both control the headphones when
>>>>>>>>>> they are plugged in and internal speakers when not.
>>>>>>>>>>
>>>>>>>>>> Julian
>>>>>>>>>>
>>>>>>>>> Sorry for this email bombardment, but I just booted back to stock F15
>>>>>>>>> kernel (2.6.38.8-32.fc15.x86_64) and noticed that speaker and headphone
>>>>>>>>> controls actually do what they advertise. Still, it is impossible to
>>>>>>>>> make the sound go through the speakers when headphones are plugged in (I
>>>>>>>>> tried pavucontrol for this).
>>>>>>>>
>>>>>>>> The auto-mute feature can be controlled "Auto-Mute Mode" mixer enum.
>>>>>>>> Set to "Disabled" will turn off the auto-mute in the driver side.
>>>>>>>> However...
>>>>>>>
>>>>>>> You are right - when auto-mute is disabled sound goes via both speakers
>>>>>>> and headphones when they are plugged. I did not know the function of
>>>>>>> auto-mute.
>>>>>>> However, the "Speaker" and "Headphone" controls still do influence both
>>>>>>> outputs, and "Speaker" can only be muted - there is no volume control
>>>>>>> available. So, in my opinion, they should either be merged altogether,
>>>>>>> or switched back to the way they work in 2.6.38.8-32.fc15.x86_64, that
>>>>>>> is setting the volume of speakers and headphones independently.
>>>>>>
>>>>>> Give alsa-info.sh outputs on your machine with the latest status for
>>>>>> further analysis.
>>>>>
>>>>> I think this issue was fixed now in topic/hda branch in sound git tree:
>>>>>   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
>>>>>
>>>>> Give it a try.  You can pull the branch into the latest Linus git tree
>>>>> for merging into the latest 3.0-rc.
>>>>>
>>>>>
>>>>> Takashi
>>>> It seems like the problem is still there. The output of alsa-info.sh is
>>>> available here:
>>>> http://www.alsa-project.org/db/?f=38e2e44ab86691006a837715601aad4311fda0d3
>>>
>>> Double-check whether you compiled really the right stuff.
>>> The emulator works fine, so something wrong likely in your side.
>>>
>>>
>>> Takashi
>> I compiled the latest origin/master of sound-2.6 tree and the problem is
>> still there. Output of alsa-info.sh is attached.
>>
>> Julian
>>
> I had a closer look at 2.6.38.8-32.fc15.x86_64 and the controls are not
> completely separate. While you can regulate the volume of headphones and
> speakers separately, muting one mutes the other.
> 
> Julian

I also tried merging sound-2.6/master with Linus's tree, but this also
did not help.

Julian


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

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

!!Script ran on: Wed Jun 29 19:20:56 UTC 2011


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

Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock)


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

Manufacturer:      CLEVO                            
Product Name:      P150HMx
Product Version:   Not Applicable                    


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

Kernel release:    3.0-0.rc5.git0.1.belegdol3.fc15.x86_64
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


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

Driver version:     1.0.24
Library version:    1.0.24
Utilities version:  1.0.24.1


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

snd_hda_intel
snd_hda_intel


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

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

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


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

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf6500000 irq 55
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf6080000 irq 17


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

00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
01:00.1 Audio device: nVidia Corporation Device 0beb (rev a1)


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

00:1b.0 0403: 8086:1c20 (rev 05)
	Subsystem: 1558:5102
--
01:00.1 0403: 10de:0beb (rev a1)
	Subsystem: 1558:5102


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

!!Module: snd_hda_intel
	bdl_pos_adj : 1,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N

!!Module: snd_hda_intel
	bdl_pos_adj : 1,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N


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

Codec: Realtek ALC892
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0892
Subsystem Id: 0x15585102
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, 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=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: 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=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x41d: 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=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x611: 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="ALC892 Digital", type="SPDIF", device=1
  Converter: stream=5, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Switch", index=1, device=0
  Control: name="Capture Volume", index=1, device=0
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x90 0x90]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x2e 0x2e]
  Converter: stream=1, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100711: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Internal Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Internal Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, 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] [0x80 0x80] [0x80 0x80]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=In, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x0b
Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x10
Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003e: IN OUT HP EAPD Detect Trigger
  EAPD 0x2: EAPD
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x03 0x03]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a11c30: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x99a30931: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x0181143f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001373e: IN OUT HP EAPD Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x598301f0: [N/A] Line In at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x01451120: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400681: Stereo Digital
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=24
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Input Source", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 12
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Input Source", index=1, device=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x26 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x25 0x0b
Codec: Nvidia GPU 12 HDMI/DP
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=6, channel=0
  Digital: Enabled GenLevel
  Digital category: 0x2
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  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
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 1
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=1, device=0
  Control: name="IEC958 Playback Pro Mask", index=1, device=0
  Control: name="IEC958 Playback Default", index=1, device=0
  Control: name="IEC958 Playback Switch", index=1, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=2, device=0
  Control: name="IEC958 Playback Pro Mask", index=2, device=0
  Control: name="IEC958 Playback Default", index=2, device=0
  Control: name="IEC958 Playback Switch", index=2, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=3, device=0
  Control: name="IEC958 Playback Pro Mask", index=3, device=0
  Control: name="IEC958 Playback Default", index=3, device=0
  Control: name="IEC958 Playback Switch", index=3, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
--endcollapse--


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

crw-rw----+ 1 root audio 116,  6 Jun 29 21:18 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 15 Jun 29 21:18 /dev/snd/controlC1
crw-rw----+ 1 root audio 116,  5 Jun 29 21:18 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 14 Jun 29 21:18 /dev/snd/hwC1D0
crw-rw----+ 1 root audio 116, 13 Jun 29 21:18 /dev/snd/hwC1D1
crw-rw----+ 1 root audio 116, 12 Jun 29 21:18 /dev/snd/hwC1D2
crw-rw----+ 1 root audio 116, 11 Jun 29 21:18 /dev/snd/hwC1D3
crw-rw----+ 1 root audio 116,  4 Jun 29 21:19 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Jun 29 21:19 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  2 Jun 29 21:19 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116, 10 Jun 29 21:19 /dev/snd/pcmC1D3p
crw-rw----+ 1 root audio 116,  9 Jun 29 21:18 /dev/snd/pcmC1D7p
crw-rw----+ 1 root audio 116,  8 Jun 29 21:18 /dev/snd/pcmC1D8p
crw-rw----+ 1 root audio 116,  7 Jun 29 21:18 /dev/snd/pcmC1D9p
crw-rw----+ 1 root audio 116,  1 Jun 29 21:18 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Jun 29 21:18 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x. 2 root root  80 Jun 29 21:18 .
drwxr-xr-x. 3 root root 380 Jun 29 21:18 ..
lrwxrwxrwx. 1 root root  12 Jun 29 21:18 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx. 1 root root  12 Jun 29 21:18 pci-0000:01:00.1 -> ../controlC1


!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

#
# Place your global alsa-lib configuration here...
#

@hooks [
	{
		func load
		files [
			"/etc/alsa/pulse-default.conf"
		]
		errors false
	}
]


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

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

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

Card hw:0 'PCH'/'HDA Intel PCH at 0xf6500000 irq 55'
  Mixer name	: 'Realtek ALC892'
  Components	: 'HDA:10ec0892,15585102,00100302'
  Controls      : 33
  Simple ctrls  : 20
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pswitch penum
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [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 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control '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 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [30.00dB] [on]
  Front Right: Capture 46 [100%] [30.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 16 [35%] [0.00dB] [off]
  Front Right: Capture 16 [35%] [0.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Internal Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

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

Card hw:1 'NVidia'/'HDA NVidia at 0xf6080000 irq 17'
  Mixer name	: 'Nvidia GPU 12 HDMI/DP'
  Components	: 'HDA:10de0012,10de0101,00100100'
  Controls      : 16
  Simple ctrls  : 4
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]


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

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Channel Mode'
		value '2ch'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 '2ch'
			item.1 '4ch'
			item.2 '6ch'
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.3 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.5 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.6 {
		iface MIXER
		name 'Center Playback Volume'
		value 64
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'LFE Playback Volume'
		value 64
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
		}
	}
	control.8 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.12 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Internal Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.14 {
		iface MIXER
		name 'Internal Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.15 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.16 {
		iface MIXER
		name 'Line Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.17 {
		iface MIXER
		name '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.18 {
		iface MIXER
		name 'Internal Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.19 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.20 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	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'
		value.0 46
		value.1 46
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 16
		value.1 16
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.24 {
		iface MIXER
		name 'Input Source'
		value 'Internal Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Mic
			item.1 'Internal Mic'
			item.2 Line
		}
	}
	control.25 {
		iface MIXER
		name 'Input Source'
		index 1
		value Mic
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Mic
			item.1 'Internal Mic'
			item.2 Line
		}
	}
	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 true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.30 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface MIXER
		name 'Master Playback Volume'
		value 64
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
		}
	}
	control.32 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		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
		}
	}
}
state.NVidia {
	control.1 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.6 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.7 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 2
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 2
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 2
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.12 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 2
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 3
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 3
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 3
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 3
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
}
--endcollapse--


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

Module
ebtable_nat
ebtables
ipt_MASQUERADE
iptable_nat
nf_nat
xt_CHECKSUM
iptable_mangle
bridge
stp
llc
sunrpc
cpufreq_ondemand
acpi_cpufreq
freq_table
mperf
bnep
bluetooth
ip6t_REJECT
nf_conntrack_ipv6
nf_conntrack_ipv4
nf_defrag_ipv6
nf_defrag_ipv4
xt_state
nf_conntrack
ip6table_filter
ip6_tables
fuse
arc4
snd_hda_codec_hdmi
uvcvideo
videodev
media
v4l2_compat_ioctl32
microcode
snd_hda_codec_realtek
joydev
iwlagn
serio_raw
mac80211
cfg80211
iTCO_wdt
snd_hda_intel
i2c_i801
iTCO_vendor_support
i2c_core
rfkill
snd_hda_codec
snd_hwdep
snd_seq
snd_seq_device
xhci_hcd
jme
snd_pcm
jmb38x_ms
memstick
mii
snd_timer
snd
soundcore
snd_page_alloc
virtio_net
kvm_intel
kvm
firewire_ohci
firewire_core
crc_itu_t
sdhci_pci
sdhci
mmc_core
wmi
video


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x11 0x411111f0
0x12 0x411111f0
0x14 0x99130110
0x15 0x411111f0
0x16 0x411111f0
0x17 0x411111f0
0x18 0x01a11c30
0x19 0x99a30931
0x1a 0x0181143f
0x1b 0x0121101f
0x1c 0x411111f0
0x1d 0x598301f0
0x1e 0x01451120
0x1f 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC1D0/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D0/driver_pin_configs:

/sys/class/sound/hwC1D0/user_pin_configs:

/sys/class/sound/hwC1D0/init_verbs:

/sys/class/sound/hwC1D1/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D1/driver_pin_configs:

/sys/class/sound/hwC1D1/user_pin_configs:

/sys/class/sound/hwC1D1/init_verbs:

/sys/class/sound/hwC1D2/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D2/driver_pin_configs:

/sys/class/sound/hwC1D2/user_pin_configs:

/sys/class/sound/hwC1D2/init_verbs:

/sys/class/sound/hwC1D3/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D3/driver_pin_configs:

/sys/class/sound/hwC1D3/user_pin_configs:

/sys/class/sound/hwC1D3/init_verbs:


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

[   19.234472] i801_smbus 0000:00:1f.3: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[   19.239261] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   19.239428] snd_hda_intel 0000:00:1b.0: irq 55 for MSI/MSI-X
[   19.239536] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[   19.244616] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.06
--
[   19.351725] mtp-probe[615]: bus: 1, device: 3 was not an MTP device
[   19.353115] hda_codec: ALC892: SKU not ready 0x598301f0
[   19.353287] hda_codec: ALC892: BIOS auto-probing.
[   19.353298] ALSA sound/pci/hda/hda_codec.c:4799 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   19.353304] ALSA sound/pci/hda/hda_codec.c:4803    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   19.353310] ALSA sound/pci/hda/hda_codec.c:4807    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   19.353314] ALSA sound/pci/hda/hda_codec.c:4808    mono: mono_out=0x0
[   19.353318] ALSA sound/pci/hda/hda_codec.c:4811    dig-out=0x1e/0x0
[   19.353322] ALSA sound/pci/hda/hda_codec.c:4812    inputs:
[   19.353327] ALSA sound/pci/hda/hda_codec.c:4816  Mic=0x18
[   19.353331] ALSA sound/pci/hda/hda_codec.c:4816  Internal Mic=0x19
[   19.353333] ALSA sound/pci/hda/hda_codec.c:4816  Line=0x1a
[   19.353336] ALSA sound/pci/hda/hda_codec.c:4818 
[   19.354836] ALSA sound/pci/hda/patch_realtek.c:1799 realtek: No valid SSID, checking pincfg 0x598301f0 for NID 0x1d
[   19.354840] ALSA sound/pci/hda/patch_realtek.c:1880 realtek: Enable default setup for auto mode as fallback
[   19.397617] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   19.399587] microcode: CPU0 sig=0x206a7, pf=0x10, revision=0x14
--
[   19.399980] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[   19.433294] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[   19.433308] hda_intel: Disabling MSI
[   19.433571] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[   19.441890] ALSA sound/pci/hda/hda_intel.c:1454 Enable delay in RIRB handling
[   19.506458] mtp-probe[689]: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
--
[   19.689284] USB Video Class driver (v1.1.0)
[   19.716930] HDMI status: Codec=0 Pin=5 Presence_Detect=0 ELD_Valid=0
[   19.756819] HDMI status: Codec=1 Pin=5 Presence_Detect=0 ELD_Valid=0
[   19.796768] HDMI status: Codec=2 Pin=5 Presence_Detect=0 ELD_Valid=0
[   19.817243] cfg80211: World regulatory domain updated:
--
[   19.829519] microcode: CPU7 updated to revision 0x17, date = 2011-04-07
[   19.837751] HDMI status: Codec=3 Pin=5 Presence_Detect=0 ELD_Valid=0
[   19.868962] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input12
[   19.869902] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
[   19.870624] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
[   19.871728] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
[   19.919928] udev[516]: renamed network interface eth0 to p34p1
--
[   42.099000] wlan0: no IPv6 routers present
[   84.818146] hda-intel: Invalid position buffer, using LPIB read method instead.
[   85.212411] hda-intel: Invalid position buffer, using LPIB read method instead.
[   85.817501] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
[  169.487784] iwlagn 0000:04:00.0: Aggregation not enabled for tid 0 because load = 1



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



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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-29 19:29                                   ` Julian Sikorski
@ 2011-06-30  5:26                                     ` Takashi Iwai
  2011-06-30  6:33                                       ` Julian Sikorski
       [not found]                                       ` <4E0C17F2.5070704@gmail.com>
  0 siblings, 2 replies; 69+ messages in thread
From: Takashi Iwai @ 2011-06-30  5:26 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Wed, 29 Jun 2011 21:29:38 +0200,
Julian Sikorski wrote:
> 
> I also tried merging sound-2.6/master with Linus's tree, but this also
> did not help.

It's really strange.  Are you sure that this is the kernel you
modified properly?  Before further debugging, check two things:

- Run "git log sound/pci/hda/patch_realtek.c" and the first few
  entries, whether they come from sound git tree.  For example,
  check the commit below is contained:

  commit 7ec9c6ccc6007b14a916021d4ba7ffbcc7822ae3
  Author: Takashi Iwai <tiwai@suse.de>
  Date:   Mon Jun 27 15:53:38 2011 +0200

    ALSA: hda - Fix volume-init for ALC259 with invalid widget caps
    
- Confirm the running kernel is what you really built and installed.
  You can modify the suffix via $CONFIG_LOCALVERSION in .config file.
  Name it uniquely, rebuild, re-install and reboot.  The new suffix
  should appear in the output of "uname -r".

- Once when these are correct, check /proc/asound/card0/codec#0:
  the widget NID 0x02 should contain "Speaker Playback Volume" instead
  of "Headphone Playback Volume" with the latest driver.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-30  5:26                                     ` Takashi Iwai
@ 2011-06-30  6:33                                       ` Julian Sikorski
       [not found]                                       ` <4E0C17F2.5070704@gmail.com>
  1 sibling, 0 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-06-30  6:33 UTC (permalink / raw)
  To: alsa-devel

W dniu 30.06.2011 07:26, Takashi Iwai pisze:
> At Wed, 29 Jun 2011 21:29:38 +0200,
> Julian Sikorski wrote:
>>
>> I also tried merging sound-2.6/master with Linus's tree, but this also
>> did not help.
> 
> It's really strange.  Are you sure that this is the kernel you
> modified properly?  Before further debugging, check two things:
> 
> - Run "git log sound/pci/hda/patch_realtek.c" and the first few
>   entries, whether they come from sound git tree.  For example,
>   check the commit below is contained:
> 
>   commit 7ec9c6ccc6007b14a916021d4ba7ffbcc7822ae3
>   Author: Takashi Iwai <tiwai@suse.de>
>   Date:   Mon Jun 27 15:53:38 2011 +0200
> 
>     ALSA: hda - Fix volume-init for ALC259 with invalid widget caps

commit 0b0c8490670a77b937f502491ae9d5236aa4054a
Author: Takashi Iwai <tiwai@suse.de>
Date:   Tue Jun 28 12:45:47 2011 +0200

    ALSA: hda - Create snd_hda_get_conn_index() helper function

    Create snd_hda_get_conn_index() helper function for obtaining the
    connection index of the widget.  Replaced the similar codes used in
    several codec-drivers with this common helper.

    Signed-off-by: Takashi Iwai <tiwai@suse.de>

commit 4f574b7b1a1cc8aac617e938459e8f03a641e678
Author: Takashi Iwai <tiwai@suse.de>
Date:   Mon Jun 27 16:17:07 2011 +0200

    ALSA: hda - More volume-init fixes for ALC267 codec

    More similar fixes like previous commits: handle the exceptional case
    like ALC267 where no volume amp is found in ADC widget but in the
    capsrc widget instead.

    Also minor checks for avoiding possible erros: no connection-select
    when the pin has a single selection, and add beep verbs only when the
    0x1d is used for beep.

    Signed-off-by: Takashi Iwai <tiwai@suse.de>

To be even more sure, I re-synced your branch again and built a new
kernel. The patch_realtek.c file being built is here:
http://belegdol.fedorapeople.org/patch_realtek.c
Fresh alsa-info.sh is here:
http://www.alsa-project.org/db/?f=5051b2cb788b1db4273e06e98a78783dd0ec679f

>     
> - Confirm the running kernel is what you really built and installed.
>   You can modify the suffix via $CONFIG_LOCALVERSION in .config file.
>   Name it uniquely, rebuild, re-install and reboot.  The new suffix
>   should appear in the output of "uname -r".

belegdol4 is the suffix I added:
$ uname -r
3.0-0.rc5.git0.1.belegdol4.fc15.x86_64

> - Once when these are correct, check /proc/asound/card0/codec#0:
>   the widget NID 0x02 should contain "Speaker Playback Volume" instead
>   of "Headphone Playback Volume" with the latest driver.

Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0

Perhaps I need to specify a correct model to enable this code?

> Takashi

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
       [not found]                                       ` <4E0C17F2.5070704@gmail.com>
@ 2011-06-30  6:54                                         ` Takashi Iwai
  2011-06-30 17:00                                           ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-06-30  6:54 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Thu, 30 Jun 2011 08:30:10 +0200,
Julian Sikorski wrote:
> 
> W dniu 30.06.2011 07:26, Takashi Iwai pisze:
> > At Wed, 29 Jun 2011 21:29:38 +0200,
> > Julian Sikorski wrote:
> >>
> >> I also tried merging sound-2.6/master with Linus's tree, but this also
> >> did not help.
> > 
> > It's really strange.  Are you sure that this is the kernel you
> > modified properly?  Before further debugging, check two things:
> > 
> > - Run "git log sound/pci/hda/patch_realtek.c" and the first few
> >   entries, whether they come from sound git tree.  For example,
> >   check the commit below is contained:
> > 
> >   commit 7ec9c6ccc6007b14a916021d4ba7ffbcc7822ae3
> >   Author: Takashi Iwai <tiwai@suse.de>
> >   Date:   Mon Jun 27 15:53:38 2011 +0200
> > 
> >     ALSA: hda - Fix volume-init for ALC259 with invalid widget caps
> 
> commit 0b0c8490670a77b937f502491ae9d5236aa4054a
> Author: Takashi Iwai <tiwai@suse.de>
> Date:   Tue Jun 28 12:45:47 2011 +0200
> 
>     ALSA: hda - Create snd_hda_get_conn_index() helper function
> 
>     Create snd_hda_get_conn_index() helper function for obtaining the
>     connection index of the widget.  Replaced the similar codes used in
>     several codec-drivers with this common helper.
> 
>     Signed-off-by: Takashi Iwai <tiwai@suse.de>
> 
> commit 4f574b7b1a1cc8aac617e938459e8f03a641e678
> Author: Takashi Iwai <tiwai@suse.de>
> Date:   Mon Jun 27 16:17:07 2011 +0200
> 
>     ALSA: hda - More volume-init fixes for ALC267 codec
> 
>     More similar fixes like previous commits: handle the exceptional case
>     like ALC267 where no volume amp is found in ADC widget but in the
>     capsrc widget instead.
> 
>     Also minor checks for avoiding possible erros: no connection-select
>     when the pin has a single selection, and add beep verbs only when the
>     0x1d is used for beep.
> 
>     Signed-off-by: Takashi Iwai <tiwai@suse.de>
> 
> To be even more sure, I re-synced your branch again and built a new
> kernel. I am attaching patch_realtek.c file being built. Fresh
> alsa-info.sh is here:
> http://www.alsa-project.org/db/?f=5051b2cb788b1db4273e06e98a78783dd0ec679f

OK, then it's correct.

> >     
> > - Confirm the running kernel is what you really built and installed.
> >   You can modify the suffix via $CONFIG_LOCALVERSION in .config file.
> >   Name it uniquely, rebuild, re-install and reboot.  The new suffix
> >   should appear in the output of "uname -r".
> 
> belegdol4 is the suffix I added:
> $ uname -r
> 3.0-0.rc5.git0.1.belegdol4.fc15.x86_64
> 
> > - Once when these are correct, check /proc/asound/card0/codec#0:
> >   the widget NID 0x02 should contain "Speaker Playback Volume" instead
> >   of "Headphone Playback Volume" with the latest driver.
> 
> Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
>   Control: name="Headphone Playback Volume", index=0, device=0
> 
> Perhaps I need to specify a correct model to enable this code?

No, you shouldn't pass any model option.

Could you apply the patch below to add some debug prints, and give
the relevant kernel messages you get?  Just grep lines with 'XXX'.


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 7b96dce..3134555 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -18770,8 +18770,10 @@ static hda_nid_t alc_auto_look_for_dac(struct hda_codec *codec, hda_nid_t pin)
 static hda_nid_t get_dac_if_single(struct hda_codec *codec, hda_nid_t pin)
 {
 	hda_nid_t sel = alc_go_down_to_selector(codec, pin);
-	if (snd_hda_get_conn_list(codec, sel, NULL) == 1)
+	if (snd_hda_get_conn_list(codec, sel, NULL) == 1) {
+		printk(KERN_DEBUG "XXX pin %x coupled with a single DAC\n", pin);
 		return alc_auto_look_for_dac(codec, pin);
+	}
 	return 0;
 }
 
@@ -18783,6 +18785,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec)
 	bool redone;
 	int i;
 
+	printk(KERN_DEBUG "XXX alc662_auto_fill_dac_nids called\n");
  again:
 	spec->multiout.num_dacs = 0;
 	spec->multiout.hp_nid = 0;
@@ -18813,6 +18816,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec)
 			 * checking the hard-wired DACs
 			 */
 			redone = true;
+			printk(KERN_DEBUG "XXX redoing...\n");
 			goto again;
 		}
 	}
@@ -18826,6 +18830,17 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec)
 				sizeof(hda_nid_t) * (cfg->line_outs - i - 1));
 	}
 
+	printk(KERN_DEBUG "XXX filled dacs: %x/%x/%x/%x/%x, hp %x, ext %x/%x/%x\n",
+	       spec->private_dac_nids[0],
+	       spec->private_dac_nids[1],
+	       spec->private_dac_nids[2],
+	       spec->private_dac_nids[3],
+	       spec->private_dac_nids[4],
+	       spec->multiout.hp_nid,
+	       spec->multiout.extra_out_nid[0],
+	       spec->multiout.extra_out_nid[1],
+	       spec->multiout.extra_out_nid[2]);
+
 	return 0;
 }
 
@@ -18877,6 +18892,7 @@ static int alc662_auto_create_multi_out_ctls(struct hda_codec *codec,
 		mix = alc_auto_dac_to_mix(codec, pin, nid);
 		if (!mix)
 			continue;
+		printk(KERN_DEBUG "XXX create mixer ch %d pin %x dac %x mix %x\n", i, pin, nid, mix);
 		name = alc_get_line_out_pfx(spec, i, true, &index);
 		if (!name) {
 			/* Center/LFE */
@@ -19026,6 +19042,7 @@ static int alc_auto_fill_multi_ios(struct hda_codec *codec,
 			dac = alc_auto_look_for_dac(codec, nid);
 			if (!dac)
 				continue;
+			printk(KERN_DEBUG "XXX added multi-io pin %x, dac %x\n", nid, dac);
 			spec->multi_io[num_pins].pin = nid;
 			spec->multi_io[num_pins].dac = dac;
 			num_pins++;
@@ -19128,6 +19145,7 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec,
 
 	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT && cfg->hp_outs == 1) {
 		/* use HP as primary out */
+		printk(KERN_DEBUG "XXX swap primary out to HP\n");
 		cfg->speaker_outs = cfg->line_outs;
 		memcpy(cfg->speaker_pins, cfg->line_out_pins,
 		       sizeof(cfg->speaker_pins));

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-30  6:54                                         ` Takashi Iwai
@ 2011-06-30 17:00                                           ` Julian Sikorski
  2011-06-30 17:41                                             ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-30 17:00 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 30.06.2011 08:54, Takashi Iwai pisze:
> At Thu, 30 Jun 2011 08:30:10 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 30.06.2011 07:26, Takashi Iwai pisze:
>>> At Wed, 29 Jun 2011 21:29:38 +0200,
>>> Julian Sikorski wrote:
>>>>
>>>> I also tried merging sound-2.6/master with Linus's tree, but this also
>>>> did not help.
>>>
>>> It's really strange.  Are you sure that this is the kernel you
>>> modified properly?  Before further debugging, check two things:
>>>
>>> - Run "git log sound/pci/hda/patch_realtek.c" and the first few
>>>   entries, whether they come from sound git tree.  For example,
>>>   check the commit below is contained:
>>>
>>>   commit 7ec9c6ccc6007b14a916021d4ba7ffbcc7822ae3
>>>   Author: Takashi Iwai <tiwai@suse.de>
>>>   Date:   Mon Jun 27 15:53:38 2011 +0200
>>>
>>>     ALSA: hda - Fix volume-init for ALC259 with invalid widget caps
>>
>> commit 0b0c8490670a77b937f502491ae9d5236aa4054a
>> Author: Takashi Iwai <tiwai@suse.de>
>> Date:   Tue Jun 28 12:45:47 2011 +0200
>>
>>     ALSA: hda - Create snd_hda_get_conn_index() helper function
>>
>>     Create snd_hda_get_conn_index() helper function for obtaining the
>>     connection index of the widget.  Replaced the similar codes used in
>>     several codec-drivers with this common helper.
>>
>>     Signed-off-by: Takashi Iwai <tiwai@suse.de>
>>
>> commit 4f574b7b1a1cc8aac617e938459e8f03a641e678
>> Author: Takashi Iwai <tiwai@suse.de>
>> Date:   Mon Jun 27 16:17:07 2011 +0200
>>
>>     ALSA: hda - More volume-init fixes for ALC267 codec
>>
>>     More similar fixes like previous commits: handle the exceptional case
>>     like ALC267 where no volume amp is found in ADC widget but in the
>>     capsrc widget instead.
>>
>>     Also minor checks for avoiding possible erros: no connection-select
>>     when the pin has a single selection, and add beep verbs only when the
>>     0x1d is used for beep.
>>
>>     Signed-off-by: Takashi Iwai <tiwai@suse.de>
>>
>> To be even more sure, I re-synced your branch again and built a new
>> kernel. I am attaching patch_realtek.c file being built. Fresh
>> alsa-info.sh is here:
>> http://www.alsa-project.org/db/?f=5051b2cb788b1db4273e06e98a78783dd0ec679f
> 
> OK, then it's correct.
> 
>>>     
>>> - Confirm the running kernel is what you really built and installed.
>>>   You can modify the suffix via $CONFIG_LOCALVERSION in .config file.
>>>   Name it uniquely, rebuild, re-install and reboot.  The new suffix
>>>   should appear in the output of "uname -r".
>>
>> belegdol4 is the suffix I added:
>> $ uname -r
>> 3.0-0.rc5.git0.1.belegdol4.fc15.x86_64
>>
>>> - Once when these are correct, check /proc/asound/card0/codec#0:
>>>   the widget NID 0x02 should contain "Speaker Playback Volume" instead
>>>   of "Headphone Playback Volume" with the latest driver.
>>
>> Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
>>   Control: name="Headphone Playback Volume", index=0, device=0
>>
>> Perhaps I need to specify a correct model to enable this code?
> 
> No, you shouldn't pass any model option.
> 
> Could you apply the patch below to add some debug prints, and give
> the relevant kernel messages you get?  Just grep lines with 'XXX'.
> 
> 
> Takashi

Here you go:

$ dmesg | grep XXX
[   12.789557] XXX alc662_auto_fill_dac_nids called
[   12.789716] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
[   12.789718] XXX swap primary out to HP
[   12.789719] XXX alc662_auto_fill_dac_nids called
[   12.789845] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
[   12.790094] XXX added multi-io pin 1a, dac 3
[   12.790343] XXX added multi-io pin 18, dac 4
[   12.790347] XXX create mixer ch 0 pin 1b dac 2 mix c
[   12.790351] XXX create mixer ch 1 pin 1a dac 3 mix d
[   12.790354] XXX create mixer ch 2 pin 18 dac 4 mix e

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-30 17:00                                           ` Julian Sikorski
@ 2011-06-30 17:41                                             ` Takashi Iwai
  2011-06-30 18:09                                               ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-06-30 17:41 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Thu, 30 Jun 2011 19:00:44 +0200,
Julian Sikorski wrote:
> 
> W dniu 30.06.2011 08:54, Takashi Iwai pisze:
> > At Thu, 30 Jun 2011 08:30:10 +0200,
> > Julian Sikorski wrote:
> >>
> >> W dniu 30.06.2011 07:26, Takashi Iwai pisze:
> >>> At Wed, 29 Jun 2011 21:29:38 +0200,
> >>> Julian Sikorski wrote:
> >>>>
> >>>> I also tried merging sound-2.6/master with Linus's tree, but this also
> >>>> did not help.
> >>>
> >>> It's really strange.  Are you sure that this is the kernel you
> >>> modified properly?  Before further debugging, check two things:
> >>>
> >>> - Run "git log sound/pci/hda/patch_realtek.c" and the first few
> >>>   entries, whether they come from sound git tree.  For example,
> >>>   check the commit below is contained:
> >>>
> >>>   commit 7ec9c6ccc6007b14a916021d4ba7ffbcc7822ae3
> >>>   Author: Takashi Iwai <tiwai@suse.de>
> >>>   Date:   Mon Jun 27 15:53:38 2011 +0200
> >>>
> >>>     ALSA: hda - Fix volume-init for ALC259 with invalid widget caps
> >>
> >> commit 0b0c8490670a77b937f502491ae9d5236aa4054a
> >> Author: Takashi Iwai <tiwai@suse.de>
> >> Date:   Tue Jun 28 12:45:47 2011 +0200
> >>
> >>     ALSA: hda - Create snd_hda_get_conn_index() helper function
> >>
> >>     Create snd_hda_get_conn_index() helper function for obtaining the
> >>     connection index of the widget.  Replaced the similar codes used in
> >>     several codec-drivers with this common helper.
> >>
> >>     Signed-off-by: Takashi Iwai <tiwai@suse.de>
> >>
> >> commit 4f574b7b1a1cc8aac617e938459e8f03a641e678
> >> Author: Takashi Iwai <tiwai@suse.de>
> >> Date:   Mon Jun 27 16:17:07 2011 +0200
> >>
> >>     ALSA: hda - More volume-init fixes for ALC267 codec
> >>
> >>     More similar fixes like previous commits: handle the exceptional case
> >>     like ALC267 where no volume amp is found in ADC widget but in the
> >>     capsrc widget instead.
> >>
> >>     Also minor checks for avoiding possible erros: no connection-select
> >>     when the pin has a single selection, and add beep verbs only when the
> >>     0x1d is used for beep.
> >>
> >>     Signed-off-by: Takashi Iwai <tiwai@suse.de>
> >>
> >> To be even more sure, I re-synced your branch again and built a new
> >> kernel. I am attaching patch_realtek.c file being built. Fresh
> >> alsa-info.sh is here:
> >> http://www.alsa-project.org/db/?f=5051b2cb788b1db4273e06e98a78783dd0ec679f
> > 
> > OK, then it's correct.
> > 
> >>>     
> >>> - Confirm the running kernel is what you really built and installed.
> >>>   You can modify the suffix via $CONFIG_LOCALVERSION in .config file.
> >>>   Name it uniquely, rebuild, re-install and reboot.  The new suffix
> >>>   should appear in the output of "uname -r".
> >>
> >> belegdol4 is the suffix I added:
> >> $ uname -r
> >> 3.0-0.rc5.git0.1.belegdol4.fc15.x86_64
> >>
> >>> - Once when these are correct, check /proc/asound/card0/codec#0:
> >>>   the widget NID 0x02 should contain "Speaker Playback Volume" instead
> >>>   of "Headphone Playback Volume" with the latest driver.
> >>
> >> Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
> >>   Control: name="Headphone Playback Volume", index=0, device=0
> >>
> >> Perhaps I need to specify a correct model to enable this code?
> > 
> > No, you shouldn't pass any model option.
> > 
> > Could you apply the patch below to add some debug prints, and give
> > the relevant kernel messages you get?  Just grep lines with 'XXX'.
> > 
> > 
> > Takashi
> 
> Here you go:
> 
> $ dmesg | grep XXX
> [   12.789557] XXX alc662_auto_fill_dac_nids called
> [   12.789716] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
> [   12.789718] XXX swap primary out to HP
> [   12.789719] XXX alc662_auto_fill_dac_nids called
> [   12.789845] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0

OK, at this point, something is wrong.

Could you try the patch again (after reverting the previous debug patch)?
This will give a bit more outputs.

I have a vague idea what could be wrong now.  Maybe the connection list
is differently returned from the real hardware unlike the emulator.
But I need to see it in more details.


thanks,

Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 7b96dce..0a28371 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -18770,8 +18770,11 @@ static hda_nid_t alc_auto_look_for_dac(struct hda_codec *codec, hda_nid_t pin)
 static hda_nid_t get_dac_if_single(struct hda_codec *codec, hda_nid_t pin)
 {
 	hda_nid_t sel = alc_go_down_to_selector(codec, pin);
-	if (snd_hda_get_conn_list(codec, sel, NULL) == 1)
+	printk(KERN_DEBUG "XXX check single for pin %x, sel %x\n", pin, sel);
+	if (snd_hda_get_conn_list(codec, sel, NULL) == 1) {
+		printk(KERN_DEBUG "XXX pin %x coupled with a single DAC\n", pin);
 		return alc_auto_look_for_dac(codec, pin);
+	}
 	return 0;
 }
 
@@ -18783,6 +18786,13 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec)
 	bool redone;
 	int i;
 
+	printk(KERN_DEBUG "XXX alc662_auto_fill_dac_nids called\n");
+	printk(KERN_DEBUG "XXX line_outs=%d, %x/%x/%x\n",
+	       cfg->line_outs, cfg->line_out_pins[0], cfg->line_out_pins[1], cfg->line_out_pins[2]);
+	printk(KERN_DEBUG "XXX hp_outs=%d, %x/%x/%x\n",
+	       cfg->hp_outs, cfg->hp_pins[0], cfg->hp_pins[1], cfg->hp_pins[2]);
+	printk(KERN_DEBUG "XXX spk_outs=%d, %x/%x/%x\n",
+	       cfg->speaker_outs, cfg->speaker_pins[0], cfg->speaker_pins[1], cfg->speaker_pins[2]);
  again:
 	spec->multiout.num_dacs = 0;
 	spec->multiout.hp_nid = 0;
@@ -18813,6 +18823,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec)
 			 * checking the hard-wired DACs
 			 */
 			redone = true;
+			printk(KERN_DEBUG "XXX redoing...\n");
 			goto again;
 		}
 	}
@@ -18826,6 +18837,17 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec)
 				sizeof(hda_nid_t) * (cfg->line_outs - i - 1));
 	}
 
+	printk(KERN_DEBUG "XXX filled dacs: %x/%x/%x/%x/%x, hp %x, ext %x/%x/%x\n",
+	       spec->private_dac_nids[0],
+	       spec->private_dac_nids[1],
+	       spec->private_dac_nids[2],
+	       spec->private_dac_nids[3],
+	       spec->private_dac_nids[4],
+	       spec->multiout.hp_nid,
+	       spec->multiout.extra_out_nid[0],
+	       spec->multiout.extra_out_nid[1],
+	       spec->multiout.extra_out_nid[2]);
+
 	return 0;
 }
 
@@ -18877,6 +18899,7 @@ static int alc662_auto_create_multi_out_ctls(struct hda_codec *codec,
 		mix = alc_auto_dac_to_mix(codec, pin, nid);
 		if (!mix)
 			continue;
+		printk(KERN_DEBUG "XXX create mixer ch %d pin %x dac %x mix %x\n", i, pin, nid, mix);
 		name = alc_get_line_out_pfx(spec, i, true, &index);
 		if (!name) {
 			/* Center/LFE */
@@ -19026,6 +19049,7 @@ static int alc_auto_fill_multi_ios(struct hda_codec *codec,
 			dac = alc_auto_look_for_dac(codec, nid);
 			if (!dac)
 				continue;
+			printk(KERN_DEBUG "XXX added multi-io pin %x, dac %x\n", nid, dac);
 			spec->multi_io[num_pins].pin = nid;
 			spec->multi_io[num_pins].dac = dac;
 			num_pins++;
@@ -19128,13 +19152,16 @@ static int alc_auto_add_multi_channel_mode(struct hda_codec *codec,
 
 	if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT && cfg->hp_outs == 1) {
 		/* use HP as primary out */
+		printk(KERN_DEBUG "XXX swap primary out to HP\n");
 		cfg->speaker_outs = cfg->line_outs;
 		memcpy(cfg->speaker_pins, cfg->line_out_pins,
 		       sizeof(cfg->speaker_pins));
+		printk(KERN_DEBUG "XXX spk=%x\n", cfg->speaker_pins[0]);
 		cfg->line_outs = cfg->hp_outs;
 		memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins));
 		cfg->hp_outs = 0;
 		memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins));
+		printk(KERN_DEBUG "XXX line=%x\n", cfg->line_out_pins[0]);
 		cfg->line_out_type = AUTO_PIN_HP_OUT;
 		if (fill_dac)
 			fill_dac(codec);

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-30 17:41                                             ` Takashi Iwai
@ 2011-06-30 18:09                                               ` Julian Sikorski
  2011-06-30 19:28                                                 ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-30 18:09 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 30.06.2011 19:41, Takashi Iwai pisze:
> At Thu, 30 Jun 2011 19:00:44 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 30.06.2011 08:54, Takashi Iwai pisze:
>>> At Thu, 30 Jun 2011 08:30:10 +0200,
>>> Julian Sikorski wrote:
>>>>
>>>> W dniu 30.06.2011 07:26, Takashi Iwai pisze:
>>>>> At Wed, 29 Jun 2011 21:29:38 +0200,
>>>>> Julian Sikorski wrote:
>>>>>>
>>>>>> I also tried merging sound-2.6/master with Linus's tree, but this also
>>>>>> did not help.
>>>>>
>>>>> It's really strange.  Are you sure that this is the kernel you
>>>>> modified properly?  Before further debugging, check two things:
>>>>>
>>>>> - Run "git log sound/pci/hda/patch_realtek.c" and the first few
>>>>>   entries, whether they come from sound git tree.  For example,
>>>>>   check the commit below is contained:
>>>>>
>>>>>   commit 7ec9c6ccc6007b14a916021d4ba7ffbcc7822ae3
>>>>>   Author: Takashi Iwai <tiwai@suse.de>
>>>>>   Date:   Mon Jun 27 15:53:38 2011 +0200
>>>>>
>>>>>     ALSA: hda - Fix volume-init for ALC259 with invalid widget caps
>>>>
>>>> commit 0b0c8490670a77b937f502491ae9d5236aa4054a
>>>> Author: Takashi Iwai <tiwai@suse.de>
>>>> Date:   Tue Jun 28 12:45:47 2011 +0200
>>>>
>>>>     ALSA: hda - Create snd_hda_get_conn_index() helper function
>>>>
>>>>     Create snd_hda_get_conn_index() helper function for obtaining the
>>>>     connection index of the widget.  Replaced the similar codes used in
>>>>     several codec-drivers with this common helper.
>>>>
>>>>     Signed-off-by: Takashi Iwai <tiwai@suse.de>
>>>>
>>>> commit 4f574b7b1a1cc8aac617e938459e8f03a641e678
>>>> Author: Takashi Iwai <tiwai@suse.de>
>>>> Date:   Mon Jun 27 16:17:07 2011 +0200
>>>>
>>>>     ALSA: hda - More volume-init fixes for ALC267 codec
>>>>
>>>>     More similar fixes like previous commits: handle the exceptional case
>>>>     like ALC267 where no volume amp is found in ADC widget but in the
>>>>     capsrc widget instead.
>>>>
>>>>     Also minor checks for avoiding possible erros: no connection-select
>>>>     when the pin has a single selection, and add beep verbs only when the
>>>>     0x1d is used for beep.
>>>>
>>>>     Signed-off-by: Takashi Iwai <tiwai@suse.de>
>>>>
>>>> To be even more sure, I re-synced your branch again and built a new
>>>> kernel. I am attaching patch_realtek.c file being built. Fresh
>>>> alsa-info.sh is here:
>>>> http://www.alsa-project.org/db/?f=5051b2cb788b1db4273e06e98a78783dd0ec679f
>>>
>>> OK, then it's correct.
>>>
>>>>>     
>>>>> - Confirm the running kernel is what you really built and installed.
>>>>>   You can modify the suffix via $CONFIG_LOCALVERSION in .config file.
>>>>>   Name it uniquely, rebuild, re-install and reboot.  The new suffix
>>>>>   should appear in the output of "uname -r".
>>>>
>>>> belegdol4 is the suffix I added:
>>>> $ uname -r
>>>> 3.0-0.rc5.git0.1.belegdol4.fc15.x86_64
>>>>
>>>>> - Once when these are correct, check /proc/asound/card0/codec#0:
>>>>>   the widget NID 0x02 should contain "Speaker Playback Volume" instead
>>>>>   of "Headphone Playback Volume" with the latest driver.
>>>>
>>>> Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
>>>>   Control: name="Headphone Playback Volume", index=0, device=0
>>>>
>>>> Perhaps I need to specify a correct model to enable this code?
>>>
>>> No, you shouldn't pass any model option.
>>>
>>> Could you apply the patch below to add some debug prints, and give
>>> the relevant kernel messages you get?  Just grep lines with 'XXX'.
>>>
>>>
>>> Takashi
>>
>> Here you go:
>>
>> $ dmesg | grep XXX
>> [   12.789557] XXX alc662_auto_fill_dac_nids called
>> [   12.789716] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>> [   12.789718] XXX swap primary out to HP
>> [   12.789719] XXX alc662_auto_fill_dac_nids called
>> [   12.789845] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
> 
> OK, at this point, something is wrong.
> 
> Could you try the patch again (after reverting the previous debug patch)?
> This will give a bit more outputs.
> 
> I have a vague idea what could be wrong now.  Maybe the connection list
> is differently returned from the real hardware unlike the emulator.
> But I need to see it in more details.
> 
> 
> thanks,
> 
> Takashi

No problem:

$ dmesg | grep XXX
[   14.813013] XXX alc662_auto_fill_dac_nids called
[   14.813015] XXX line_outs=1, 14/0/0
[   14.813016] XXX hp_outs=1, 1b/0/0
[   14.813018] XXX spk_outs=0, 0/0/0
[   14.813186] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
[   14.813187] XXX swap primary out to HP
[   14.813188] XXX spk=14
[   14.813190] XXX line=1b
[   14.813191] XXX alc662_auto_fill_dac_nids called
[   14.813192] XXX line_outs=1, 1b/0/0
[   14.813194] XXX hp_outs=0, 0/0/0
[   14.813195] XXX spk_outs=1, 14/0/0
[   14.813311] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
[   14.813560] XXX added multi-io pin 1a, dac 3
[   14.813814] XXX added multi-io pin 18, dac 4
[   14.813818] XXX create mixer ch 0 pin 1b dac 2 mix c
[   14.813821] XXX create mixer ch 1 pin 1a dac 3 mix d
[   14.813825] XXX create mixer ch 2 pin 18 dac 4 mix e

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-30 18:09                                               ` Julian Sikorski
@ 2011-06-30 19:28                                                 ` Takashi Iwai
  2011-06-30 20:16                                                   ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-06-30 19:28 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Thu, 30 Jun 2011 20:09:49 +0200,
Julian Sikorski wrote:
> 
> $ dmesg | grep XXX
> [   14.813013] XXX alc662_auto_fill_dac_nids called
> [   14.813015] XXX line_outs=1, 14/0/0
> [   14.813016] XXX hp_outs=1, 1b/0/0
> [   14.813018] XXX spk_outs=0, 0/0/0
> [   14.813186] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
> [   14.813187] XXX swap primary out to HP
> [   14.813188] XXX spk=14
> [   14.813190] XXX line=1b
> [   14.813191] XXX alc662_auto_fill_dac_nids called
> [   14.813192] XXX line_outs=1, 1b/0/0
> [   14.813194] XXX hp_outs=0, 0/0/0
> [   14.813195] XXX spk_outs=1, 14/0/0
> [   14.813311] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
> [   14.813560] XXX added multi-io pin 1a, dac 3
> [   14.813814] XXX added multi-io pin 18, dac 4
> [   14.813818] XXX create mixer ch 0 pin 1b dac 2 mix c
> [   14.813821] XXX create mixer ch 1 pin 1a dac 3 mix d
> [   14.813825] XXX create mixer ch 2 pin 18 dac 4 mix e

How about the fix below?


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 7b96dce..757a8a3 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -18780,7 +18780,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec)
 {
 	struct alc_spec *spec = codec->spec;
 	const struct auto_pin_cfg *cfg = &spec->autocfg;
-	bool redone;
+	bool redone = false;
 	int i;
 
  again:

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-30 19:28                                                 ` Takashi Iwai
@ 2011-06-30 20:16                                                   ` Julian Sikorski
  2011-07-01  5:21                                                     ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-06-30 20:16 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 30.06.2011 21:28, Takashi Iwai pisze:
> At Thu, 30 Jun 2011 20:09:49 +0200,
> Julian Sikorski wrote:
>>
>> $ dmesg | grep XXX
>> [   14.813013] XXX alc662_auto_fill_dac_nids called
>> [   14.813015] XXX line_outs=1, 14/0/0
>> [   14.813016] XXX hp_outs=1, 1b/0/0
>> [   14.813018] XXX spk_outs=0, 0/0/0
>> [   14.813186] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>> [   14.813187] XXX swap primary out to HP
>> [   14.813188] XXX spk=14
>> [   14.813190] XXX line=1b
>> [   14.813191] XXX alc662_auto_fill_dac_nids called
>> [   14.813192] XXX line_outs=1, 1b/0/0
>> [   14.813194] XXX hp_outs=0, 0/0/0
>> [   14.813195] XXX spk_outs=1, 14/0/0
>> [   14.813311] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>> [   14.813560] XXX added multi-io pin 1a, dac 3
>> [   14.813814] XXX added multi-io pin 18, dac 4
>> [   14.813818] XXX create mixer ch 0 pin 1b dac 2 mix c
>> [   14.813821] XXX create mixer ch 1 pin 1a dac 3 mix d
>> [   14.813825] XXX create mixer ch 2 pin 18 dac 4 mix e
> 
> How about the fix below?
> 
> 
> Takashi

It works, thanks! In more detail, the Speaker/Headphone situation is
back to 2.6.38 state - you can regulate them independently, but muting
one mutes the other. LFE/Center and Surround keep working correctly too.
The new output of alsa-info.sh:
http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47

$ dmesg | grep XXX
[   13.944531] XXX alc662_auto_fill_dac_nids called
[   13.944533] XXX line_outs=1, 14/0/0
[   13.944534] XXX hp_outs=1, 1b/0/0
[   13.944536] XXX spk_outs=0, 0/0/0
[   13.944631] XXX check single for pin 14, sel 14
[   13.944632] XXX pin 14 coupled with a single DAC
[   13.944843] XXX check single for pin 1b, sel 1b
[   13.944845] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
[   13.944847] XXX swap primary out to HP
[   13.944848] XXX spk=14
[   13.944849] XXX line=1b
[   13.944850] XXX alc662_auto_fill_dac_nids called
[   13.944852] XXX line_outs=1, 1b/0/0
[   13.944853] XXX hp_outs=0, 0/0/0
[   13.944855] XXX spk_outs=1, 14/0/0
[   13.944856] XXX check single for pin 1b, sel 1b
[   13.944858] XXX check single for pin 14, sel 14
[   13.944859] XXX pin 14 coupled with a single DAC
[   13.944945] XXX filled dacs: 3/0/0/0/0, hp 0, ext 2/0/0
[   13.945189] XXX added multi-io pin 1a, dac 4
[   13.945440] XXX added multi-io pin 18, dac 5
[   13.945446] XXX create mixer ch 0 pin 1b dac 3 mix d
[   13.945452] XXX create mixer ch 1 pin 1a dac 4 mix e
[   13.945457] XXX create mixer ch 2 pin 18 dac 5 mix f

So it seems that the only things remaining are the SPDIF/rear channel
jack and the coupled muting issue.
Thanks for all the help so far,

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-06-30 20:16                                                   ` Julian Sikorski
@ 2011-07-01  5:21                                                     ` Takashi Iwai
  2011-07-01  6:14                                                       ` Julian Sikorski
                                                                         ` (3 more replies)
  0 siblings, 4 replies; 69+ messages in thread
From: Takashi Iwai @ 2011-07-01  5:21 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Thu, 30 Jun 2011 22:16:04 +0200,
Julian Sikorski wrote:
> 
> W dniu 30.06.2011 21:28, Takashi Iwai pisze:
> > At Thu, 30 Jun 2011 20:09:49 +0200,
> > Julian Sikorski wrote:
> >>
> >> $ dmesg | grep XXX
> >> [   14.813013] XXX alc662_auto_fill_dac_nids called
> >> [   14.813015] XXX line_outs=1, 14/0/0
> >> [   14.813016] XXX hp_outs=1, 1b/0/0
> >> [   14.813018] XXX spk_outs=0, 0/0/0
> >> [   14.813186] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
> >> [   14.813187] XXX swap primary out to HP
> >> [   14.813188] XXX spk=14
> >> [   14.813190] XXX line=1b
> >> [   14.813191] XXX alc662_auto_fill_dac_nids called
> >> [   14.813192] XXX line_outs=1, 1b/0/0
> >> [   14.813194] XXX hp_outs=0, 0/0/0
> >> [   14.813195] XXX spk_outs=1, 14/0/0
> >> [   14.813311] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
> >> [   14.813560] XXX added multi-io pin 1a, dac 3
> >> [   14.813814] XXX added multi-io pin 18, dac 4
> >> [   14.813818] XXX create mixer ch 0 pin 1b dac 2 mix c
> >> [   14.813821] XXX create mixer ch 1 pin 1a dac 3 mix d
> >> [   14.813825] XXX create mixer ch 2 pin 18 dac 4 mix e
> > 
> > How about the fix below?
> > 
> > 
> > Takashi
> 
> It works, thanks! In more detail, the Speaker/Headphone situation is
> back to 2.6.38 state - you can regulate them independently, but muting
> one mutes the other. LFE/Center and Surround keep working correctly too.
> The new output of alsa-info.sh:
> http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47

Right, it's because ALC892 has no mute-control in pin widgets but
only in the mixer widget.  And HP and speaker paths share the same
mixer, thus it's impossible to mute independently.

> So it seems that the only things remaining are the SPDIF/rear channel
> jack and the coupled muting issue.

It's a BIOS bug.  It doesn't tell SPDIF is available.
Ditto for the 4th stereo out.  No pin is exposed by BIOS.


thanks,

Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  5:21                                                     ` Takashi Iwai
@ 2011-07-01  6:14                                                       ` Julian Sikorski
  2011-07-01  6:24                                                         ` Takashi Iwai
  2011-07-01  7:32                                                       ` Takashi Iwai
                                                                         ` (2 subsequent siblings)
  3 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-07-01  6:14 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 01.07.2011 07:21, Takashi Iwai pisze:
> At Thu, 30 Jun 2011 22:16:04 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 30.06.2011 21:28, Takashi Iwai pisze:
>>> At Thu, 30 Jun 2011 20:09:49 +0200,
>>> Julian Sikorski wrote:
>>>>
>>>> $ dmesg | grep XXX
>>>> [   14.813013] XXX alc662_auto_fill_dac_nids called
>>>> [   14.813015] XXX line_outs=1, 14/0/0
>>>> [   14.813016] XXX hp_outs=1, 1b/0/0
>>>> [   14.813018] XXX spk_outs=0, 0/0/0
>>>> [   14.813186] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>>>> [   14.813187] XXX swap primary out to HP
>>>> [   14.813188] XXX spk=14
>>>> [   14.813190] XXX line=1b
>>>> [   14.813191] XXX alc662_auto_fill_dac_nids called
>>>> [   14.813192] XXX line_outs=1, 1b/0/0
>>>> [   14.813194] XXX hp_outs=0, 0/0/0
>>>> [   14.813195] XXX spk_outs=1, 14/0/0
>>>> [   14.813311] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>>>> [   14.813560] XXX added multi-io pin 1a, dac 3
>>>> [   14.813814] XXX added multi-io pin 18, dac 4
>>>> [   14.813818] XXX create mixer ch 0 pin 1b dac 2 mix c
>>>> [   14.813821] XXX create mixer ch 1 pin 1a dac 3 mix d
>>>> [   14.813825] XXX create mixer ch 2 pin 18 dac 4 mix e
>>>
>>> How about the fix below?
>>>
>>>
>>> Takashi
>>
>> It works, thanks! In more detail, the Speaker/Headphone situation is
>> back to 2.6.38 state - you can regulate them independently, but muting
>> one mutes the other. LFE/Center and Surround keep working correctly too.
>> The new output of alsa-info.sh:
>> http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47
> 
> Right, it's because ALC892 has no mute-control in pin widgets but
> only in the mixer widget.  And HP and speaker paths share the same
> mixer, thus it's impossible to mute independently.

I assume that the auto-mute function uses a different approach then - it
disables the speakers sound when headphone jack is plugged in.

>> So it seems that the only things remaining are the SPDIF/rear channel
>> jack and the coupled muting issue.
> 
> It's a BIOS bug.  It doesn't tell SPDIF is available.
> Ditto for the 4th stereo out.  No pin is exposed by BIOS.

I see. I can try updating the BIOS and see if it changes anything. If it
doesn't, is there a way to work the problem around in the driver?

> thanks,
> 
> Takashi

Cheers,
Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  6:14                                                       ` Julian Sikorski
@ 2011-07-01  6:24                                                         ` Takashi Iwai
  2011-07-01  6:27                                                           ` Julian Sikorski
  2011-07-05  8:16                                                           ` Julian Sikorski
  0 siblings, 2 replies; 69+ messages in thread
From: Takashi Iwai @ 2011-07-01  6:24 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Fri, 01 Jul 2011 08:14:26 +0200,
Julian Sikorski wrote:
> 
> W dniu 01.07.2011 07:21, Takashi Iwai pisze:
> > At Thu, 30 Jun 2011 22:16:04 +0200,
> > Julian Sikorski wrote:
> >>
> >> W dniu 30.06.2011 21:28, Takashi Iwai pisze:
> >>> At Thu, 30 Jun 2011 20:09:49 +0200,
> >>> Julian Sikorski wrote:
> >>>>
> >>>> $ dmesg | grep XXX
> >>>> [   14.813013] XXX alc662_auto_fill_dac_nids called
> >>>> [   14.813015] XXX line_outs=1, 14/0/0
> >>>> [   14.813016] XXX hp_outs=1, 1b/0/0
> >>>> [   14.813018] XXX spk_outs=0, 0/0/0
> >>>> [   14.813186] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
> >>>> [   14.813187] XXX swap primary out to HP
> >>>> [   14.813188] XXX spk=14
> >>>> [   14.813190] XXX line=1b
> >>>> [   14.813191] XXX alc662_auto_fill_dac_nids called
> >>>> [   14.813192] XXX line_outs=1, 1b/0/0
> >>>> [   14.813194] XXX hp_outs=0, 0/0/0
> >>>> [   14.813195] XXX spk_outs=1, 14/0/0
> >>>> [   14.813311] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
> >>>> [   14.813560] XXX added multi-io pin 1a, dac 3
> >>>> [   14.813814] XXX added multi-io pin 18, dac 4
> >>>> [   14.813818] XXX create mixer ch 0 pin 1b dac 2 mix c
> >>>> [   14.813821] XXX create mixer ch 1 pin 1a dac 3 mix d
> >>>> [   14.813825] XXX create mixer ch 2 pin 18 dac 4 mix e
> >>>
> >>> How about the fix below?
> >>>
> >>>
> >>> Takashi
> >>
> >> It works, thanks! In more detail, the Speaker/Headphone situation is
> >> back to 2.6.38 state - you can regulate them independently, but muting
> >> one mutes the other. LFE/Center and Surround keep working correctly too.
> >> The new output of alsa-info.sh:
> >> http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47
> > 
> > Right, it's because ALC892 has no mute-control in pin widgets but
> > only in the mixer widget.  And HP and speaker paths share the same
> > mixer, thus it's impossible to mute independently.
> 
> I assume that the auto-mute function uses a different approach then - it
> disables the speakers sound when headphone jack is plugged in.

Yes, it changes the pin-control value.

> >> So it seems that the only things remaining are the SPDIF/rear channel
> >> jack and the coupled muting issue.
> > 
> > It's a BIOS bug.  It doesn't tell SPDIF is available.
> > Ditto for the 4th stereo out.  No pin is exposed by BIOS.
> 
> I see. I can try updating the BIOS and see if it changes anything. If it
> doesn't, is there a way to work the problem around in the driver?

You need to figure out pins manually by yourself, then change the
driver code.  I leave it as a homework :)


thanks,

Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  6:24                                                         ` Takashi Iwai
@ 2011-07-01  6:27                                                           ` Julian Sikorski
  2011-07-01  7:07                                                             ` Julian Sikorski
  2011-07-05  8:16                                                           ` Julian Sikorski
  1 sibling, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-07-01  6:27 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 01.07.2011 08:24, Takashi Iwai pisze:
> At Fri, 01 Jul 2011 08:14:26 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 01.07.2011 07:21, Takashi Iwai pisze:
>>> At Thu, 30 Jun 2011 22:16:04 +0200,
>>> Julian Sikorski wrote:
>>>>
>>>> W dniu 30.06.2011 21:28, Takashi Iwai pisze:
>>>>> At Thu, 30 Jun 2011 20:09:49 +0200,
>>>>> Julian Sikorski wrote:
>>>>>>
>>>>>> $ dmesg | grep XXX
>>>>>> [   14.813013] XXX alc662_auto_fill_dac_nids called
>>>>>> [   14.813015] XXX line_outs=1, 14/0/0
>>>>>> [   14.813016] XXX hp_outs=1, 1b/0/0
>>>>>> [   14.813018] XXX spk_outs=0, 0/0/0
>>>>>> [   14.813186] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>>>>>> [   14.813187] XXX swap primary out to HP
>>>>>> [   14.813188] XXX spk=14
>>>>>> [   14.813190] XXX line=1b
>>>>>> [   14.813191] XXX alc662_auto_fill_dac_nids called
>>>>>> [   14.813192] XXX line_outs=1, 1b/0/0
>>>>>> [   14.813194] XXX hp_outs=0, 0/0/0
>>>>>> [   14.813195] XXX spk_outs=1, 14/0/0
>>>>>> [   14.813311] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>>>>>> [   14.813560] XXX added multi-io pin 1a, dac 3
>>>>>> [   14.813814] XXX added multi-io pin 18, dac 4
>>>>>> [   14.813818] XXX create mixer ch 0 pin 1b dac 2 mix c
>>>>>> [   14.813821] XXX create mixer ch 1 pin 1a dac 3 mix d
>>>>>> [   14.813825] XXX create mixer ch 2 pin 18 dac 4 mix e
>>>>>
>>>>> How about the fix below?
>>>>>
>>>>>
>>>>> Takashi
>>>>
>>>> It works, thanks! In more detail, the Speaker/Headphone situation is
>>>> back to 2.6.38 state - you can regulate them independently, but muting
>>>> one mutes the other. LFE/Center and Surround keep working correctly too.
>>>> The new output of alsa-info.sh:
>>>> http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47
>>>
>>> Right, it's because ALC892 has no mute-control in pin widgets but
>>> only in the mixer widget.  And HP and speaker paths share the same
>>> mixer, thus it's impossible to mute independently.
>>
>> I assume that the auto-mute function uses a different approach then - it
>> disables the speakers sound when headphone jack is plugged in.
> 
> Yes, it changes the pin-control value.

Thanks for clarification.

>>>> So it seems that the only things remaining are the SPDIF/rear channel
>>>> jack and the coupled muting issue.
>>>
>>> It's a BIOS bug.  It doesn't tell SPDIF is available.
>>> Ditto for the 4th stereo out.  No pin is exposed by BIOS.
>>
>> I see. I can try updating the BIOS and see if it changes anything. If it
>> doesn't, is there a way to work the problem around in the driver?
> 
> You need to figure out pins manually by yourself, then change the
> driver code.  I leave it as a homework :)

:) I cannot write code, so I would not count on myself doing that. I
will have a look into updating the BIOS though.

> thanks,
> 
> Takashi

Once again thanks for all the work you have done,

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  6:27                                                           ` Julian Sikorski
@ 2011-07-01  7:07                                                             ` Julian Sikorski
  2011-07-01  7:14                                                               ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-07-01  7:07 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 01.07.2011 08:27, Julian Sikorski pisze:
> W dniu 01.07.2011 08:24, Takashi Iwai pisze:
>> At Fri, 01 Jul 2011 08:14:26 +0200,
>> Julian Sikorski wrote:
>>>
>>> W dniu 01.07.2011 07:21, Takashi Iwai pisze:
>>>> At Thu, 30 Jun 2011 22:16:04 +0200,
>>>> Julian Sikorski wrote:
>>>>>
>>>>> W dniu 30.06.2011 21:28, Takashi Iwai pisze:
>>>>>> At Thu, 30 Jun 2011 20:09:49 +0200,
>>>>>> Julian Sikorski wrote:
>>>>>>>
>>>>>>> $ dmesg | grep XXX
>>>>>>> [   14.813013] XXX alc662_auto_fill_dac_nids called
>>>>>>> [   14.813015] XXX line_outs=1, 14/0/0
>>>>>>> [   14.813016] XXX hp_outs=1, 1b/0/0
>>>>>>> [   14.813018] XXX spk_outs=0, 0/0/0
>>>>>>> [   14.813186] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>>>>>>> [   14.813187] XXX swap primary out to HP
>>>>>>> [   14.813188] XXX spk=14
>>>>>>> [   14.813190] XXX line=1b
>>>>>>> [   14.813191] XXX alc662_auto_fill_dac_nids called
>>>>>>> [   14.813192] XXX line_outs=1, 1b/0/0
>>>>>>> [   14.813194] XXX hp_outs=0, 0/0/0
>>>>>>> [   14.813195] XXX spk_outs=1, 14/0/0
>>>>>>> [   14.813311] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>>>>>>> [   14.813560] XXX added multi-io pin 1a, dac 3
>>>>>>> [   14.813814] XXX added multi-io pin 18, dac 4
>>>>>>> [   14.813818] XXX create mixer ch 0 pin 1b dac 2 mix c
>>>>>>> [   14.813821] XXX create mixer ch 1 pin 1a dac 3 mix d
>>>>>>> [   14.813825] XXX create mixer ch 2 pin 18 dac 4 mix e
>>>>>>
>>>>>> How about the fix below?
>>>>>>
>>>>>>
>>>>>> Takashi
>>>>>
>>>>> It works, thanks! In more detail, the Speaker/Headphone situation is
>>>>> back to 2.6.38 state - you can regulate them independently, but muting
>>>>> one mutes the other. LFE/Center and Surround keep working correctly too.
>>>>> The new output of alsa-info.sh:
>>>>> http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47
>>>>
>>>> Right, it's because ALC892 has no mute-control in pin widgets but
>>>> only in the mixer widget.  And HP and speaker paths share the same
>>>> mixer, thus it's impossible to mute independently.
>>>
>>> I assume that the auto-mute function uses a different approach then - it
>>> disables the speakers sound when headphone jack is plugged in.
>>
>> Yes, it changes the pin-control value.
> 
> Thanks for clarification.
> 
>>>>> So it seems that the only things remaining are the SPDIF/rear channel
>>>>> jack and the coupled muting issue.
>>>>
>>>> It's a BIOS bug.  It doesn't tell SPDIF is available.
>>>> Ditto for the 4th stereo out.  No pin is exposed by BIOS.
>>>
>>> I see. I can try updating the BIOS and see if it changes anything. If it
>>> doesn't, is there a way to work the problem around in the driver?
>>
>> You need to figure out pins manually by yourself, then change the
>> driver code.  I leave it as a homework :)
> 
> :) I cannot write code, so I would not count on myself doing that. I
> will have a look into updating the BIOS though.
> 
>> thanks,
>>
>> Takashi
> 
> Once again thanks for all the work you have done,
> 
> Julian
Hmm, I googled a bit and it seems the way to find the pins is to write
values to user_pin_configs. So no coding knowledge seems needed, could
you give me some pointers on where to start?

Thanks,
Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  7:07                                                             ` Julian Sikorski
@ 2011-07-01  7:14                                                               ` Takashi Iwai
  2011-07-01 11:18                                                                 ` Julian Sikorski
  2011-07-01 22:09                                                                 ` Julian Sikorski
  0 siblings, 2 replies; 69+ messages in thread
From: Takashi Iwai @ 2011-07-01  7:14 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Fri, 01 Jul 2011 09:07:47 +0200,
Julian Sikorski wrote:
> 
> >>>>> So it seems that the only things remaining are the SPDIF/rear channel
> >>>>> jack and the coupled muting issue.
> >>>>
> >>>> It's a BIOS bug.  It doesn't tell SPDIF is available.
> >>>> Ditto for the 4th stereo out.  No pin is exposed by BIOS.
> >>>
> >>> I see. I can try updating the BIOS and see if it changes anything. If it
> >>> doesn't, is there a way to work the problem around in the driver?
> >>
> >> You need to figure out pins manually by yourself, then change the
> >> driver code.  I leave it as a homework :)
> > 
> > :) I cannot write code, so I would not count on myself doing that. I
> > will have a look into updating the BIOS though.
> > 
> >> thanks,
> >>
> >> Takashi
> > 
> > Once again thanks for all the work you have done,
> > 
> > Julian
> Hmm, I googled a bit and it seems the way to find the pins is to write
> values to user_pin_configs. So no coding knowledge seems needed, could
> you give me some pointers on where to start?

First off, read the HD-audio specification to understand what the values
represent.  Then, use hda-analyzer or manually via hda-verb, figure out
which widget corresponds to which I/O jack.  Compose the corresponding
pin-config value, and put it to the sysfs file.  A brief description
is found in Documentation/sound/alsa/HD-Audio.txt.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  5:21                                                     ` Takashi Iwai
  2011-07-01  6:14                                                       ` Julian Sikorski
@ 2011-07-01  7:32                                                       ` Takashi Iwai
  2011-07-01 18:57                                                         ` Julian Sikorski
  2011-07-03 11:22                                                       ` Julian Sikorski
  2011-07-04 22:50                                                       ` Julian Sikorski
  3 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-07-01  7:32 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Fri, 01 Jul 2011 07:21:34 +0200,
Takashi Iwai wrote:
> 
> At Thu, 30 Jun 2011 22:16:04 +0200,
> Julian Sikorski wrote:
> > 
> > It works, thanks! In more detail, the Speaker/Headphone situation is
> > back to 2.6.38 state - you can regulate them independently, but muting
> > one mutes the other. LFE/Center and Surround keep working correctly too.
> > The new output of alsa-info.sh:
> > http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47
> 
> Right, it's because ALC892 has no mute-control in pin widgets but
> only in the mixer widget.  And HP and speaker paths share the same
> mixer, thus it's impossible to mute independently.

I seem to have lied.  It should be possible, and the emulator shows it
must be working well.

Do I understand correctly that the problem is that both HP and speaker
outputs are muted simultaneously when you either of "Headphone" or
"Speaker" mixer switch is muted?

If so, please give alsa-info.sh outputs at the problematic state, i.e.
the speaker gets muted by the headphone mixer switch or vice versa,
just to confirm.


thanks,

Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  7:14                                                               ` Takashi Iwai
@ 2011-07-01 11:18                                                                 ` Julian Sikorski
  2011-07-01 22:09                                                                 ` Julian Sikorski
  1 sibling, 0 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-07-01 11:18 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 01/07/2011 09:14, Takashi Iwai wrote:
> At Fri, 01 Jul 2011 09:07:47 +0200,
> Julian Sikorski wrote:
>>
>>>>>>> So it seems that the only things remaining are the SPDIF/rear channel
>>>>>>> jack and the coupled muting issue.
>>>>>>
>>>>>> It's a BIOS bug.  It doesn't tell SPDIF is available.
>>>>>> Ditto for the 4th stereo out.  No pin is exposed by BIOS.
>>>>>
>>>>> I see. I can try updating the BIOS and see if it changes anything. If it
>>>>> doesn't, is there a way to work the problem around in the driver?
>>>>
>>>> You need to figure out pins manually by yourself, then change the
>>>> driver code.  I leave it as a homework :)
>>>
>>> :) I cannot write code, so I would not count on myself doing that. I
>>> will have a look into updating the BIOS though.
>>>
>>>> thanks,
>>>>
>>>> Takashi
>>>
>>> Once again thanks for all the work you have done,
>>>
>>> Julian
>> Hmm, I googled a bit and it seems the way to find the pins is to write
>> values to user_pin_configs. So no coding knowledge seems needed, could
>> you give me some pointers on where to start?
>
> First off, read the HD-audio specification to understand what the values
> represent.  Then, use hda-analyzer or manually via hda-verb, figure out
> which widget corresponds to which I/O jack.  Compose the corresponding
> pin-config value, and put it to the sysfs file.  A brief description
> is found in Documentation/sound/alsa/HD-Audio.txt.
>
>
> Takashi
I was reading a bit more and it is all very confusing, but luckily I 
have holidays coming to try and figure it out. In the meantime, should I 
also try to find the pin for the internal subwoofer?
WRT the alsa-info.sh output I'll send it once I get home later today.

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  7:32                                                       ` Takashi Iwai
@ 2011-07-01 18:57                                                         ` Julian Sikorski
  2011-07-01 19:25                                                           ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-07-01 18:57 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 01.07.2011 09:32, Takashi Iwai pisze:
> At Fri, 01 Jul 2011 07:21:34 +0200,
> Takashi Iwai wrote:
>>
>> At Thu, 30 Jun 2011 22:16:04 +0200,
>> Julian Sikorski wrote:
>>>
>>> It works, thanks! In more detail, the Speaker/Headphone situation is
>>> back to 2.6.38 state - you can regulate them independently, but muting
>>> one mutes the other. LFE/Center and Surround keep working correctly too.
>>> The new output of alsa-info.sh:
>>> http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47
>>
>> Right, it's because ALC892 has no mute-control in pin widgets but
>> only in the mixer widget.  And HP and speaker paths share the same
>> mixer, thus it's impossible to mute independently.
> 
> I seem to have lied.  It should be possible, and the emulator shows it
> must be working well.
> 
> Do I understand correctly that the problem is that both HP and speaker
> outputs are muted simultaneously when you either of "Headphone" or
> "Speaker" mixer switch is muted?
> 
> If so, please give alsa-info.sh outputs at the problematic state, i.e.
> the speaker gets muted by the headphone mixer switch or vice versa,
> just to confirm.
> 
> 
> thanks,
> 
> Takashi
Here you go:
http://www.alsa-project.org/db/?f=c8f1e149c155ed950aea1a7327a5800fc2b61da2
I muted the speakers and the headphones went silent.

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01 18:57                                                         ` Julian Sikorski
@ 2011-07-01 19:25                                                           ` Takashi Iwai
  2011-07-01 19:35                                                             ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-07-01 19:25 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Fri, 01 Jul 2011 20:57:23 +0200,
Julian Sikorski wrote:
> 
> W dniu 01.07.2011 09:32, Takashi Iwai pisze:
> > At Fri, 01 Jul 2011 07:21:34 +0200,
> > Takashi Iwai wrote:
> >>
> >> At Thu, 30 Jun 2011 22:16:04 +0200,
> >> Julian Sikorski wrote:
> >>>
> >>> It works, thanks! In more detail, the Speaker/Headphone situation is
> >>> back to 2.6.38 state - you can regulate them independently, but muting
> >>> one mutes the other. LFE/Center and Surround keep working correctly too.
> >>> The new output of alsa-info.sh:
> >>> http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47
> >>
> >> Right, it's because ALC892 has no mute-control in pin widgets but
> >> only in the mixer widget.  And HP and speaker paths share the same
> >> mixer, thus it's impossible to mute independently.
> > 
> > I seem to have lied.  It should be possible, and the emulator shows it
> > must be working well.
> > 
> > Do I understand correctly that the problem is that both HP and speaker
> > outputs are muted simultaneously when you either of "Headphone" or
> > "Speaker" mixer switch is muted?
> > 
> > If so, please give alsa-info.sh outputs at the problematic state, i.e.
> > the speaker gets muted by the headphone mixer switch or vice versa,
> > just to confirm.
> > 
> > 
> > thanks,
> > 
> > Takashi
> Here you go:
> http://www.alsa-project.org/db/?f=c8f1e149c155ed950aea1a7327a5800fc2b61da2
> I muted the speakers and the headphones went silent.

Hm, I see no obvious problem in the codec tree and alsa mixers.
Could you check whether the playback without PulseAudio has the same
issue?  Try pasuspender, e.g.

	% pasuspender aplay -Dplughw foo.wav

(Depending on the version of PA, you might need to put '--' between
 pasuspender and aplay.)


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01 19:25                                                           ` Takashi Iwai
@ 2011-07-01 19:35                                                             ` Julian Sikorski
  0 siblings, 0 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-07-01 19:35 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 01.07.2011 21:25, Takashi Iwai pisze:
> At Fri, 01 Jul 2011 20:57:23 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 01.07.2011 09:32, Takashi Iwai pisze:
>>> At Fri, 01 Jul 2011 07:21:34 +0200,
>>> Takashi Iwai wrote:
>>>>
>>>> At Thu, 30 Jun 2011 22:16:04 +0200,
>>>> Julian Sikorski wrote:
>>>>>
>>>>> It works, thanks! In more detail, the Speaker/Headphone situation is
>>>>> back to 2.6.38 state - you can regulate them independently, but muting
>>>>> one mutes the other. LFE/Center and Surround keep working correctly too.
>>>>> The new output of alsa-info.sh:
>>>>> http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47
>>>>
>>>> Right, it's because ALC892 has no mute-control in pin widgets but
>>>> only in the mixer widget.  And HP and speaker paths share the same
>>>> mixer, thus it's impossible to mute independently.
>>>
>>> I seem to have lied.  It should be possible, and the emulator shows it
>>> must be working well.
>>>
>>> Do I understand correctly that the problem is that both HP and speaker
>>> outputs are muted simultaneously when you either of "Headphone" or
>>> "Speaker" mixer switch is muted?
>>>
>>> If so, please give alsa-info.sh outputs at the problematic state, i.e.
>>> the speaker gets muted by the headphone mixer switch or vice versa,
>>> just to confirm.
>>>
>>>
>>> thanks,
>>>
>>> Takashi
>> Here you go:
>> http://www.alsa-project.org/db/?f=c8f1e149c155ed950aea1a7327a5800fc2b61da2
>> I muted the speakers and the headphones went silent.
> 
> Hm, I see no obvious problem in the codec tree and alsa mixers.
> Could you check whether the playback without PulseAudio has the same
> issue?  Try pasuspender, e.g.
> 
> 	% pasuspender aplay -Dplughw foo.wav
> 
> (Depending on the version of PA, you might need to put '--' between
>  pasuspender and aplay.)
> 
> 
> Takashi
You are right, with pulseaudio out of the way everything works fine.
Anything particular I should tell them?

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  7:14                                                               ` Takashi Iwai
  2011-07-01 11:18                                                                 ` Julian Sikorski
@ 2011-07-01 22:09                                                                 ` Julian Sikorski
  2011-07-01 22:37                                                                   ` Julian Sikorski
  1 sibling, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-07-01 22:09 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 01.07.2011 09:14, Takashi Iwai pisze:
> At Fri, 01 Jul 2011 09:07:47 +0200,
> Julian Sikorski wrote:
>>
>>>>>>> So it seems that the only things remaining are the SPDIF/rear channel
>>>>>>> jack and the coupled muting issue.
>>>>>>
>>>>>> It's a BIOS bug.  It doesn't tell SPDIF is available.
>>>>>> Ditto for the 4th stereo out.  No pin is exposed by BIOS.
>>>>>
>>>>> I see. I can try updating the BIOS and see if it changes anything. If it
>>>>> doesn't, is there a way to work the problem around in the driver?
>>>>
>>>> You need to figure out pins manually by yourself, then change the
>>>> driver code.  I leave it as a homework :)
>>>
>>> :) I cannot write code, so I would not count on myself doing that. I
>>> will have a look into updating the BIOS though.
>>>
>>>> thanks,
>>>>
>>>> Takashi
>>>
>>> Once again thanks for all the work you have done,
>>>
>>> Julian
>> Hmm, I googled a bit and it seems the way to find the pins is to write
>> values to user_pin_configs. So no coding knowledge seems needed, could
>> you give me some pointers on where to start?
> 
> First off, read the HD-audio specification to understand what the values
> represent.  Then, use hda-analyzer or manually via hda-verb, figure out
> which widget corresponds to which I/O jack.  Compose the corresponding
> pin-config value, and put it to the sysfs file.  A brief description
> is found in Documentation/sound/alsa/HD-Audio.txt.
> 
> 
> Takashi
I have been scratching my head for almost 2 h now without much progress.
Can I steal this values from Windows driver somehow? It seems to be
possible:

http://www.insanelymac.com/forum/index.php?s=3298551705d0d48ba8faa28b9a7d3283&showtopic=137188&st=20

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01 22:09                                                                 ` Julian Sikorski
@ 2011-07-01 22:37                                                                   ` Julian Sikorski
  2011-07-04 20:47                                                                     ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-07-01 22:37 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

W dniu 2011-07-02 00:09, Julian Sikorski pisze:
> W dniu 01.07.2011 09:14, Takashi Iwai pisze:
>> At Fri, 01 Jul 2011 09:07:47 +0200,
>> Julian Sikorski wrote:
>>>
>>>>>>>> So it seems that the only things remaining are the SPDIF/rear channel
>>>>>>>> jack and the coupled muting issue.
>>>>>>>
>>>>>>> It's a BIOS bug.  It doesn't tell SPDIF is available.
>>>>>>> Ditto for the 4th stereo out.  No pin is exposed by BIOS.
>>>>>>
>>>>>> I see. I can try updating the BIOS and see if it changes anything. If it
>>>>>> doesn't, is there a way to work the problem around in the driver?
>>>>>
>>>>> You need to figure out pins manually by yourself, then change the
>>>>> driver code.  I leave it as a homework :)
>>>>
>>>> :) I cannot write code, so I would not count on myself doing that. I
>>>> will have a look into updating the BIOS though.
>>>>
>>>>> thanks,
>>>>>
>>>>> Takashi
>>>>
>>>> Once again thanks for all the work you have done,
>>>>
>>>> Julian
>>> Hmm, I googled a bit and it seems the way to find the pins is to write
>>> values to user_pin_configs. So no coding knowledge seems needed, could
>>> you give me some pointers on where to start?
>>
>> First off, read the HD-audio specification to understand what the values
>> represent.  Then, use hda-analyzer or manually via hda-verb, figure out
>> which widget corresponds to which I/O jack.  Compose the corresponding
>> pin-config value, and put it to the sysfs file.  A brief description
>> is found in Documentation/sound/alsa/HD-Audio.txt.
>>
>>
>> Takashi
> I have been scratching my head for almost 2 h now without much progress.
> Can I steal this values from Windows driver somehow? It seems to be
> possible:
>
> http://www.insanelymac.com/forum/index.php?s=3298551705d0d48ba8faa28b9a7d3283&showtopic=137188&st=20
>
> Julian
I managed to get the data out of Windows install, does it look useful?

Julian

[-- Attachment #2: pinconfigoverrides.txt --]
[-- Type: text/plain, Size: 3078 bytes --]

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0000\PinConfigOverrideVerbs]
"0000"=hex:f0,1c,17,01
"0001"=hex:11,1d,17,01
"0002"=hex:11,1e,17,01
"0003"=hex:41,1f,17,01
"0004"=hex:f0,1c,27,01
"0005"=hex:11,1d,27,01
"0006"=hex:11,1e,27,01
"0007"=hex:41,1f,27,01
"0008"=hex:10,1c,47,01
"0009"=hex:01,1d,47,01
"0010"=hex:13,1e,47,01
"0011"=hex:99,1f,47,01
"0012"=hex:f0,1c,57,01
"0013"=hex:11,1d,57,01
"0014"=hex:11,1e,57,01
"0015"=hex:41,1f,57,01
"0016"=hex:f0,1c,67,01
"0017"=hex:11,1d,67,01
"0018"=hex:11,1e,67,01
"0019"=hex:41,1f,67,01
"0020"=hex:f0,1c,77,01
"0021"=hex:11,1d,77,01
"0022"=hex:11,1e,77,01
"0023"=hex:41,1f,77,01
"0024"=hex:30,1c,87,01
"0025"=hex:1c,1d,87,01
"0026"=hex:a1,1e,87,01
"0027"=hex:01,1f,87,01
"0028"=hex:31,1c,97,01
"0029"=hex:09,1d,97,01
"0030"=hex:a3,1e,97,01
"0031"=hex:99,1f,97,01
"0032"=hex:3f,1c,a7,01
"0033"=hex:14,1d,a7,01
"0034"=hex:81,1e,a7,01
"0035"=hex:01,1f,a7,01
"0036"=hex:1f,1c,b7,01
"0037"=hex:10,1d,b7,01
"0038"=hex:21,1e,b7,01
"0039"=hex:01,1f,b7,01
"0040"=hex:f0,1c,c7,01
"0041"=hex:11,1d,c7,01
"0042"=hex:11,1e,c7,01
"0043"=hex:41,1f,c7,01
"0044"=hex:f0,1c,d7,01
"0045"=hex:01,1d,d7,01
"0046"=hex:83,1e,d7,01
"0047"=hex:59,1f,d7,01
"0048"=hex:20,1c,e7,01
"0049"=hex:11,1d,e7,01
"0050"=hex:45,1e,e7,01
"0051"=hex:01,1f,e7,01
"0052"=hex:f0,1c,f7,01
"0053"=hex:11,1d,f7,01
"0054"=hex:11,1e,f7,01
"0055"=hex:41,1f,f7,01
"NumVerbs"=hex:38,00,00,00


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



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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  5:21                                                     ` Takashi Iwai
  2011-07-01  6:14                                                       ` Julian Sikorski
  2011-07-01  7:32                                                       ` Takashi Iwai
@ 2011-07-03 11:22                                                       ` Julian Sikorski
  2011-07-04 22:50                                                       ` Julian Sikorski
  3 siblings, 0 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-07-03 11:22 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 01.07.2011 07:21, Takashi Iwai pisze:
> At Thu, 30 Jun 2011 22:16:04 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 30.06.2011 21:28, Takashi Iwai pisze:
>>> At Thu, 30 Jun 2011 20:09:49 +0200,
>>> Julian Sikorski wrote:
>>>>
>>>> $ dmesg | grep XXX
>>>> [   14.813013] XXX alc662_auto_fill_dac_nids called
>>>> [   14.813015] XXX line_outs=1, 14/0/0
>>>> [   14.813016] XXX hp_outs=1, 1b/0/0
>>>> [   14.813018] XXX spk_outs=0, 0/0/0
>>>> [   14.813186] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>>>> [   14.813187] XXX swap primary out to HP
>>>> [   14.813188] XXX spk=14
>>>> [   14.813190] XXX line=1b
>>>> [   14.813191] XXX alc662_auto_fill_dac_nids called
>>>> [   14.813192] XXX line_outs=1, 1b/0/0
>>>> [   14.813194] XXX hp_outs=0, 0/0/0
>>>> [   14.813195] XXX spk_outs=1, 14/0/0
>>>> [   14.813311] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>>>> [   14.813560] XXX added multi-io pin 1a, dac 3
>>>> [   14.813814] XXX added multi-io pin 18, dac 4
>>>> [   14.813818] XXX create mixer ch 0 pin 1b dac 2 mix c
>>>> [   14.813821] XXX create mixer ch 1 pin 1a dac 3 mix d
>>>> [   14.813825] XXX create mixer ch 2 pin 18 dac 4 mix e
>>>
>>> How about the fix below?
>>>
>>>
>>> Takashi
>>
>> It works, thanks! In more detail, the Speaker/Headphone situation is
>> back to 2.6.38 state - you can regulate them independently, but muting
>> one mutes the other. LFE/Center and Surround keep working correctly too.
>> The new output of alsa-info.sh:
>> http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47
> 
> Right, it's because ALC892 has no mute-control in pin widgets but
> only in the mixer widget.  And HP and speaker paths share the same
> mixer, thus it's impossible to mute independently.
> 
>> So it seems that the only things remaining are the SPDIF/rear channel
>> jack and the coupled muting issue.
> 
> It's a BIOS bug.  It doesn't tell SPDIF is available.
> Ditto for the 4th stereo out.  No pin is exposed by BIOS.
> 
> 
> thanks,
> 
> Takashi

FYI I updated the BIOS to the latest available version, but it does not
seem to have changed anything. New alsa-info.sh output:
http://www.alsa-project.org/db/?f=89e03c194e599829e132517342cce70133f3fc7a

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01 22:37                                                                   ` Julian Sikorski
@ 2011-07-04 20:47                                                                     ` Julian Sikorski
  0 siblings, 0 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-07-04 20:47 UTC (permalink / raw)
  Cc: alsa-devel

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

W dniu 02.07.2011 00:37, Julian Sikorski pisze:
> W dniu 2011-07-02 00:09, Julian Sikorski pisze:
>> W dniu 01.07.2011 09:14, Takashi Iwai pisze:
>>> At Fri, 01 Jul 2011 09:07:47 +0200,
>>> Julian Sikorski wrote:
>>>>
>>>>>>>>> So it seems that the only things remaining are the SPDIF/rear
>>>>>>>>> channel
>>>>>>>>> jack and the coupled muting issue.
>>>>>>>>
>>>>>>>> It's a BIOS bug.  It doesn't tell SPDIF is available.
>>>>>>>> Ditto for the 4th stereo out.  No pin is exposed by BIOS.
>>>>>>>
>>>>>>> I see. I can try updating the BIOS and see if it changes
>>>>>>> anything. If it
>>>>>>> doesn't, is there a way to work the problem around in the driver?
>>>>>>
>>>>>> You need to figure out pins manually by yourself, then change the
>>>>>> driver code.  I leave it as a homework :)
>>>>>
>>>>> :) I cannot write code, so I would not count on myself doing that. I
>>>>> will have a look into updating the BIOS though.
>>>>>
>>>>>> thanks,
>>>>>>
>>>>>> Takashi
>>>>>
>>>>> Once again thanks for all the work you have done,
>>>>>
>>>>> Julian
>>>> Hmm, I googled a bit and it seems the way to find the pins is to write
>>>> values to user_pin_configs. So no coding knowledge seems needed, could
>>>> you give me some pointers on where to start?
>>>
>>> First off, read the HD-audio specification to understand what the values
>>> represent.  Then, use hda-analyzer or manually via hda-verb, figure out
>>> which widget corresponds to which I/O jack.  Compose the corresponding
>>> pin-config value, and put it to the sysfs file.  A brief description
>>> is found in Documentation/sound/alsa/HD-Audio.txt.
>>>
>>>
>>> Takashi
>> I have been scratching my head for almost 2 h now without much progress.
>> Can I steal this values from Windows driver somehow? It seems to be
>> possible:
>>
>> http://www.insanelymac.com/forum/index.php?s=3298551705d0d48ba8faa28b9a7d3283&showtopic=137188&st=20
>>
>>
>> Julian
> I managed to get the data out of Windows install, does it look useful?
> 
> Julian
> 
I managed to figure out which ini file is used for my device, I am
attaching both the 32- and 64-bit versions. Hopefully there is some
useful info inside.

Julian


[-- Attachment #2: thx2.tar.xz --]
[-- Type: application/x-xz, Size: 19968 bytes --]

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



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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  5:21                                                     ` Takashi Iwai
                                                                         ` (2 preceding siblings ...)
  2011-07-03 11:22                                                       ` Julian Sikorski
@ 2011-07-04 22:50                                                       ` Julian Sikorski
  2011-07-05  1:31                                                         ` Raymond Yau
  2011-07-05  5:32                                                         ` Takashi Iwai
  3 siblings, 2 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-07-04 22:50 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 01.07.2011 07:21, Takashi Iwai pisze:
> It's a BIOS bug.  It doesn't tell SPDIF is available.
> Ditto for the 4th stereo out.  No pin is exposed by BIOS.
> 
> 
> thanks,
> 
> Takashi
I finally managed to figure out what these numbers mean. But then I got
confused by your statement:

$ cat /sys/class/sound/card0/hwC0D0/init_pin_configs
0x11 0x411111f0
0x12 0x411111f0
0x14 0x99130110
0x15 0x411111f0
0x16 0x411111f0
0x17 0x411111f0
0x18 0x01a11c30
0x19 0x99a30931
0x1a 0x0181143f
0x1b 0x0121101f
0x1c 0x411111f0
0x1d 0x598301f0
0x1e 0x01451120
0x1f 0x411111f0

>From what I was able to decipher, 0x1e is a jack, external rear, with
spdif out default output and optical connection. It is black. The same
physical socket is used for the last 2 surround channels. Could you
please clarify? Thanks in advance.

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-04 22:50                                                       ` Julian Sikorski
@ 2011-07-05  1:31                                                         ` Raymond Yau
  2011-07-05  7:45                                                           ` Julian Sikorski
  2011-07-17 11:55                                                           ` Julian Sikorski
  2011-07-05  5:32                                                         ` Takashi Iwai
  1 sibling, 2 replies; 69+ messages in thread
From: Raymond Yau @ 2011-07-05  1:31 UTC (permalink / raw)
  To: ALSA Development Mailing List

2011/7/5 Julian Sikorski <belegdol@gmail.com>:

> From what I was able to decipher, 0x1e is a jack, external rear, with
> spdif out default output and optical connection. It is black. The same
> physical socket is used for the last 2 surround channels. Could you
> please clarify? Thanks in advance.

Take a look at Block Diagram of alc892 datasheet

http://www.realtek.com/products/productsView.aspx?Langid=1&PNid=24&PFid=28&Level=5&Conn=4&ProdID=284

if you can confirmed the internal mic, mic jack ,line in , line out
and internal speaker work as expected

the only pin complex which can be connected to rear [Audio Output] 0x0d is 0x15

seem that the pin complex for 4 jack 8-ch notebook are different from
desktop with 6 jacks at rear panel

a 10 channel codec is able to provide volume control for internal
speaker and 4 jacks

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-04 22:50                                                       ` Julian Sikorski
  2011-07-05  1:31                                                         ` Raymond Yau
@ 2011-07-05  5:32                                                         ` Takashi Iwai
  1 sibling, 0 replies; 69+ messages in thread
From: Takashi Iwai @ 2011-07-05  5:32 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Tue, 05 Jul 2011 00:50:43 +0200,
Julian Sikorski wrote:
> 
> W dniu 01.07.2011 07:21, Takashi Iwai pisze:
> > It's a BIOS bug.  It doesn't tell SPDIF is available.
> > Ditto for the 4th stereo out.  No pin is exposed by BIOS.
> > 
> > 
> > thanks,
> > 
> > Takashi
> I finally managed to figure out what these numbers mean. But then I got
> confused by your statement:
> 
> $ cat /sys/class/sound/card0/hwC0D0/init_pin_configs
> 0x11 0x411111f0
> 0x12 0x411111f0
> 0x14 0x99130110
> 0x15 0x411111f0
> 0x16 0x411111f0
> 0x17 0x411111f0
> 0x18 0x01a11c30
> 0x19 0x99a30931
> 0x1a 0x0181143f
> 0x1b 0x0121101f
> 0x1c 0x411111f0
> 0x1d 0x598301f0
> 0x1e 0x01451120
> 0x1f 0x411111f0
> 
> >From what I was able to decipher, 0x1e is a jack, external rear, with
> spdif out default output and optical connection. It is black. The same
> physical socket is used for the last 2 surround channels. Could you
> please clarify? Thanks in advance.

Two jacks shares the same place, but it doesn't mean that they share
the physical connection.  SPDIF is optical and the surround is
mini-jack.  Usually they are implemented in different pins, but placed
to a single position.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-05  1:31                                                         ` Raymond Yau
@ 2011-07-05  7:45                                                           ` Julian Sikorski
  2011-07-17 11:55                                                           ` Julian Sikorski
  1 sibling, 0 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-07-05  7:45 UTC (permalink / raw)
  To: alsa-devel

W dniu 05.07.2011 03:31, Raymond Yau pisze:
> 2011/7/5 Julian Sikorski <belegdol@gmail.com>:
> 
>> From what I was able to decipher, 0x1e is a jack, external rear, with
>> spdif out default output and optical connection. It is black. The same
>> physical socket is used for the last 2 surround channels. Could you
>> please clarify? Thanks in advance.
> 
> Take a look at Block Diagram of alc892 datasheet
> 
> http://www.realtek.com/products/productsView.aspx?Langid=1&PNid=24&PFid=28&Level=5&Conn=4&ProdID=284
> 
> if you can confirmed the internal mic, mic jack ,line in , line out
> and internal speaker work as expected
> 
> the only pin complex which can be connected to rear [Audio Output] 0x0d is 0x15
> 
> seem that the pin complex for 4 jack 8-ch notebook are different from
> desktop with 6 jacks at rear panel
> 
> a 10 channel codec is able to provide volume control for internal
> speaker and 4 jacks
I have tested int speakers, int mic, ext mic, line in, hp jack,
lfe/center and rear surround. All seem to work. The only thing untested
is the optical out.

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-01  6:24                                                         ` Takashi Iwai
  2011-07-01  6:27                                                           ` Julian Sikorski
@ 2011-07-05  8:16                                                           ` Julian Sikorski
  1 sibling, 0 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-07-05  8:16 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 01.07.2011 08:24, Takashi Iwai pisze:
> At Fri, 01 Jul 2011 08:14:26 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 01.07.2011 07:21, Takashi Iwai pisze:
>>> At Thu, 30 Jun 2011 22:16:04 +0200,
>>> Julian Sikorski wrote:
>>>>
>>>> W dniu 30.06.2011 21:28, Takashi Iwai pisze:
>>>>> At Thu, 30 Jun 2011 20:09:49 +0200,
>>>>> Julian Sikorski wrote:
>>>>>>
>>>>>> $ dmesg | grep XXX
>>>>>> [   14.813013] XXX alc662_auto_fill_dac_nids called
>>>>>> [   14.813015] XXX line_outs=1, 14/0/0
>>>>>> [   14.813016] XXX hp_outs=1, 1b/0/0
>>>>>> [   14.813018] XXX spk_outs=0, 0/0/0
>>>>>> [   14.813186] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>>>>>> [   14.813187] XXX swap primary out to HP
>>>>>> [   14.813188] XXX spk=14
>>>>>> [   14.813190] XXX line=1b
>>>>>> [   14.813191] XXX alc662_auto_fill_dac_nids called
>>>>>> [   14.813192] XXX line_outs=1, 1b/0/0
>>>>>> [   14.813194] XXX hp_outs=0, 0/0/0
>>>>>> [   14.813195] XXX spk_outs=1, 14/0/0
>>>>>> [   14.813311] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0
>>>>>> [   14.813560] XXX added multi-io pin 1a, dac 3
>>>>>> [   14.813814] XXX added multi-io pin 18, dac 4
>>>>>> [   14.813818] XXX create mixer ch 0 pin 1b dac 2 mix c
>>>>>> [   14.813821] XXX create mixer ch 1 pin 1a dac 3 mix d
>>>>>> [   14.813825] XXX create mixer ch 2 pin 18 dac 4 mix e
>>>>>
>>>>> How about the fix below?
>>>>>
>>>>>
>>>>> Takashi
>>>>
>>>> It works, thanks! In more detail, the Speaker/Headphone situation is
>>>> back to 2.6.38 state - you can regulate them independently, but muting
>>>> one mutes the other. LFE/Center and Surround keep working correctly too.
>>>> The new output of alsa-info.sh:
>>>> http://www.alsa-project.org/db/?f=45bc0df9747371b348bde6c4aa508b2ba44aff47
>>>
>>> Right, it's because ALC892 has no mute-control in pin widgets but
>>> only in the mixer widget.  And HP and speaker paths share the same
>>> mixer, thus it's impossible to mute independently.
>>
>> I assume that the auto-mute function uses a different approach then - it
>> disables the speakers sound when headphone jack is plugged in.
> 
> Yes, it changes the pin-control value.
> 
>>>> So it seems that the only things remaining are the SPDIF/rear channel
>>>> jack and the coupled muting issue.
>>>
>>> It's a BIOS bug.  It doesn't tell SPDIF is available.
>>> Ditto for the 4th stereo out.  No pin is exposed by BIOS.
>>
>> I see. I can try updating the BIOS and see if it changes anything. If it
>> doesn't, is there a way to work the problem around in the driver?
> 
> You need to figure out pins manually by yourself, then change the
> driver code.  I leave it as a homework :)
> 
> 
> thanks,
> 
> Takashi
I have figured out part of the value I need to assign: a black 1/8''
jack for speakers, rear external, will be 0x01111xxx.
I am having hard time figuring out the last 3 numbers:
- only the last one of misc bits is defined in the spec (jack sensing
override), yet the bios test it to values > 0001 for some of my jacks
- the default association and sequence seem to have more choices, should
I steal these from other pin configs to make it work with 8-channel sound?

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-05  1:31                                                         ` Raymond Yau
  2011-07-05  7:45                                                           ` Julian Sikorski
@ 2011-07-17 11:55                                                           ` Julian Sikorski
  2011-07-17 12:17                                                             ` Julian Sikorski
  1 sibling, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-07-17 11:55 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 05.07.2011 03:31, Raymond Yau pisze:
> 2011/7/5 Julian Sikorski<belegdol@gmail.com>:
>
>>  From what I was able to decipher, 0x1e is a jack, external rear, with
>> spdif out default output and optical connection. It is black. The same
>> physical socket is used for the last 2 surround channels. Could you
>> please clarify? Thanks in advance.
>
> Take a look at Block Diagram of alc892 datasheet
>
> http://www.realtek.com/products/productsView.aspx?Langid=1&PNid=24&PFid=28&Level=5&Conn=4&ProdID=284
>
> if you can confirmed the internal mic, mic jack ,line in , line out
> and internal speaker work as expected
>
> the only pin complex which can be connected to rear [Audio Output] 0x0d is 0x15
>
> seem that the pin complex for 4 jack 8-ch notebook are different from
> desktop with 6 jacks at rear panel
>
> a 10 channel codec is able to provide volume control for internal
> speaker and 4 jacks

Thanks to Raymond's advice I was finally able to make the sound come out 
of the copper part of the spdif/side surround jack. I am pasting the 
diff created with hda-analyzer, please let me know if this gives you 
enough information to add proper 7.1 sound support for this laptop.
Here is the alsa-info.sh with all jacks playing sound:
http://www.alsa-project.org/db/?f=8f23e499727ec612ed925b81d3f38928e8f6aebb
Of course, there is still no specific volume control for the side channel.

Julian

Diff for codec 0/0 (0x10ec0892):
---
+++
@@ -223,23 +223,23 @@
      Misc = NO_PRESENCE
    Pin-ctls: 0x20: IN
    Unsolicited: tag=0x00, enabled=0
    Power: setting=D0, actual=D0
    Connection: 1
       0x0e
  Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals: [0x80 0x80]
+  Amp-Out vals: [0x00 0x00]
    Pincap 0x00000036: IN OUT Detect Trigger
    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
      Conn = 1/8, Color = Black
      DefAssociation = 0xf, Sequence = 0x0
      Misc = NO_PRESENCE
-  Pin-ctls: 0x20: IN
+  Pin-ctls: 0x40: OUT
    Unsolicited: tag=0x00, enabled=0
    Power: setting=D0, actual=D0
    Connection: 1
       0x0f
  Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
    Control: name="Center Playback Switch", index=0, device=0
      ControlAmp: chs=1, dir=1, idx=0, ofs=0
    Control: name="LFE Playback Switch", index=0, device=

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-17 11:55                                                           ` Julian Sikorski
@ 2011-07-17 12:17                                                             ` Julian Sikorski
  2011-07-18  7:35                                                               ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-07-17 12:17 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 17.07.2011 13:55, Julian Sikorski pisze:
> W dniu 05.07.2011 03:31, Raymond Yau pisze:
>> 2011/7/5 Julian Sikorski<belegdol@gmail.com>:
>>
>>> From what I was able to decipher, 0x1e is a jack, external rear, with
>>> spdif out default output and optical connection. It is black. The same
>>> physical socket is used for the last 2 surround channels. Could you
>>> please clarify? Thanks in advance.
>>
>> Take a look at Block Diagram of alc892 datasheet
>>
>> http://www.realtek.com/products/productsView.aspx?Langid=1&PNid=24&PFid=28&Level=5&Conn=4&ProdID=284
>>
>>
>> if you can confirmed the internal mic, mic jack ,line in , line out
>> and internal speaker work as expected
>>
>> the only pin complex which can be connected to rear [Audio Output]
>> 0x0d is 0x15
>>
>> seem that the pin complex for 4 jack 8-ch notebook are different from
>> desktop with 6 jacks at rear panel
>>
>> a 10 channel codec is able to provide volume control for internal
>> speaker and 4 jacks
>
> Thanks to Raymond's advice I was finally able to make the sound come out
> of the copper part of the spdif/side surround jack. I am pasting the
> diff created with hda-analyzer, please let me know if this gives you
> enough information to add proper 7.1 sound support for this laptop.
> Here is the alsa-info.sh with all jacks playing sound:
> http://www.alsa-project.org/db/?f=8f23e499727ec612ed925b81d3f38928e8f6aebb
> Of course, there is still no specific volume control for the side channel.
>
> Julian
>

Upon further investigation I discovered that with the volume on the 0x17 
can be controlled with center/lfe in alsamixer. I don't think it is the 
intended behaviour.

Julian

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-17 12:17                                                             ` Julian Sikorski
@ 2011-07-18  7:35                                                               ` Takashi Iwai
  2011-07-18  8:52                                                                 ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-07-18  7:35 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Sun, 17 Jul 2011 14:17:22 +0200,
Julian Sikorski wrote:
> 
> W dniu 17.07.2011 13:55, Julian Sikorski pisze:
> > W dniu 05.07.2011 03:31, Raymond Yau pisze:
> >> 2011/7/5 Julian Sikorski<belegdol@gmail.com>:
> >>
> >>> From what I was able to decipher, 0x1e is a jack, external rear, with
> >>> spdif out default output and optical connection. It is black. The same
> >>> physical socket is used for the last 2 surround channels. Could you
> >>> please clarify? Thanks in advance.
> >>
> >> Take a look at Block Diagram of alc892 datasheet
> >>
> >> http://www.realtek.com/products/productsView.aspx?Langid=1&PNid=24&PFid=28&Level=5&Conn=4&ProdID=284
> >>
> >>
> >> if you can confirmed the internal mic, mic jack ,line in , line out
> >> and internal speaker work as expected
> >>
> >> the only pin complex which can be connected to rear [Audio Output]
> >> 0x0d is 0x15
> >>
> >> seem that the pin complex for 4 jack 8-ch notebook are different from
> >> desktop with 6 jacks at rear panel
> >>
> >> a 10 channel codec is able to provide volume control for internal
> >> speaker and 4 jacks
> >
> > Thanks to Raymond's advice I was finally able to make the sound come out
> > of the copper part of the spdif/side surround jack. I am pasting the
> > diff created with hda-analyzer, please let me know if this gives you
> > enough information to add proper 7.1 sound support for this laptop.
> > Here is the alsa-info.sh with all jacks playing sound:
> > http://www.alsa-project.org/db/?f=8f23e499727ec612ed925b81d3f38928e8f6aebb
> > Of course, there is still no specific volume control for the side channel.
> >
> > Julian
> >
> 
> Upon further investigation I discovered that with the volume on the 0x17 
> can be controlled with center/lfe in alsamixer. I don't think it is the 
> intended behaviour.

Is it with the very latest alsa-driver snapshot?


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-18  7:35                                                               ` Takashi Iwai
@ 2011-07-18  8:52                                                                 ` Takashi Iwai
  2011-07-18 11:15                                                                   ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-07-18  8:52 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Mon, 18 Jul 2011 09:35:33 +0200,
Takashi Iwai wrote:
> 
> At Sun, 17 Jul 2011 14:17:22 +0200,
> Julian Sikorski wrote:
> > 
> > W dniu 17.07.2011 13:55, Julian Sikorski pisze:
> > > W dniu 05.07.2011 03:31, Raymond Yau pisze:
> > >> 2011/7/5 Julian Sikorski<belegdol@gmail.com>:
> > >>
> > >>> From what I was able to decipher, 0x1e is a jack, external rear, with
> > >>> spdif out default output and optical connection. It is black. The same
> > >>> physical socket is used for the last 2 surround channels. Could you
> > >>> please clarify? Thanks in advance.
> > >>
> > >> Take a look at Block Diagram of alc892 datasheet
> > >>
> > >> http://www.realtek.com/products/productsView.aspx?Langid=1&PNid=24&PFid=28&Level=5&Conn=4&ProdID=284
> > >>
> > >>
> > >> if you can confirmed the internal mic, mic jack ,line in , line out
> > >> and internal speaker work as expected
> > >>
> > >> the only pin complex which can be connected to rear [Audio Output]
> > >> 0x0d is 0x15
> > >>
> > >> seem that the pin complex for 4 jack 8-ch notebook are different from
> > >> desktop with 6 jacks at rear panel
> > >>
> > >> a 10 channel codec is able to provide volume control for internal
> > >> speaker and 4 jacks
> > >
> > > Thanks to Raymond's advice I was finally able to make the sound come out
> > > of the copper part of the spdif/side surround jack. I am pasting the
> > > diff created with hda-analyzer, please let me know if this gives you
> > > enough information to add proper 7.1 sound support for this laptop.
> > > Here is the alsa-info.sh with all jacks playing sound:
> > > http://www.alsa-project.org/db/?f=8f23e499727ec612ed925b81d3f38928e8f6aebb
> > > Of course, there is still no specific volume control for the side channel.
> > >
> > > Julian
> > >
> > 
> > Upon further investigation I discovered that with the volume on the 0x17 
> > can be controlled with center/lfe in alsamixer. I don't think it is the 
> > intended behaviour.
> 
> Is it with the very latest alsa-driver snapshot?

And I can't reproduce your problem with the alsa-info.sh output above.
Give more exact information what you did and what is the problem.


thanks,

Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-18  8:52                                                                 ` Takashi Iwai
@ 2011-07-18 11:15                                                                   ` Julian Sikorski
  2011-07-18 11:18                                                                     ` Julian Sikorski
  2011-07-18 11:19                                                                     ` Takashi Iwai
  0 siblings, 2 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-07-18 11:15 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

W dniu 18.07.2011 10:52, Takashi Iwai pisze:
> And I can't reproduce your problem with the alsa-info.sh output above.
> Give more exact information what you did and what is the problem.
>
>
> thanks,
>
> Takashi
I'm sorry for the confusion - let me sum up the current situation. With 
the fixes you pushed to sound-2.6/master I was able to get 5.1 sound out 
of my laptop. The only missing bit was the 7.1 sound. And the last 
channel goes via a jack/optical spdif hybrid. The problem is that the 
BIOS does not announce that and as such alsa is unaware of the side 
surround channel.
Using Raymond's advice, I was able to make the sound come out of the 
last jack, by changing some values for pin 0x17 (described as sidesurr 
in the datasheet), diff is attached. I basically checked what was the 
difference in alsa-info.sh output when I was changing number of channels 
with alsamixer, and then did the same for pin 0x17.
Since, from what I understood, you wanted me to figure out which pin is 
connected to the last jack [1], I thought this information would be 
useful to fix BIOS shortcomings.
Other problem is that the volume on that jack is controlled by center 
and lfe sliders (in alsamixer), which is probably caused by the fact 
that alsa is unaware of the 7.1 sound.
If more information is needed, please let me know what do you need in 
addition to alsa-info.sh output.

Regards,
Julian

[1] http://article.gmane.org/gmane.linux.alsa.devel/86749

[-- Attachment #2: hda-analyze.diff --]
[-- Type: text/x-patch, Size: 944 bytes --]

Diff for codec 0/0 (0x10ec0892):
--- 
+++ 
@@ -223,23 +223,23 @@
     Misc = NO_PRESENCE
   Pin-ctls: 0x20: IN
   Unsolicited: tag=0x00, enabled=0
   Power: setting=D0, actual=D0
   Connection: 1
      0x0e
 Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals: [0x00 0x00]
+  Amp-Out vals: [0x80 0x80]
   Pincap 0x00000036: IN OUT Detect Trigger
   Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
     Conn = 1/8, Color = Black
     DefAssociation = 0xf, Sequence = 0x0
     Misc = NO_PRESENCE
-  Pin-ctls: 0x40: OUT
+  Pin-ctls: 0x20: IN
   Unsolicited: tag=0x00, enabled=0
   Power: setting=D0, actual=D0
   Connection: 1
      0x0f
 Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
   Control: name="Center Playback Switch", index=0, device=0
     ControlAmp: chs=1, dir=1, idx=0, ofs=0
   Control: name="LFE Playback Switch", index=0, device=0

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



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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-18 11:15                                                                   ` Julian Sikorski
@ 2011-07-18 11:18                                                                     ` Julian Sikorski
  2011-07-18 11:19                                                                     ` Takashi Iwai
  1 sibling, 0 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-07-18 11:18 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 18.07.2011 13:15, Julian Sikorski pisze:
> W dniu 18.07.2011 10:52, Takashi Iwai pisze:
>> And I can't reproduce your problem with the alsa-info.sh output above.
>> Give more exact information what you did and what is the problem.
>>
>>
>> thanks,
>>
>> Takashi
> I'm sorry for the confusion - let me sum up the current situation. With
> the fixes you pushed to sound-2.6/master I was able to get 5.1 sound out
> of my laptop. The only missing bit was the 7.1 sound. And the last
> channel goes via a jack/optical spdif hybrid. The problem is that the
> BIOS does not announce that and as such alsa is unaware of the side
> surround channel.
> Using Raymond's advice, I was able to make the sound come out of the
> last jack, by changing some values for pin 0x17 (described as sidesurr
> in the datasheet), diff is attached. I basically checked what was the
> difference in alsa-info.sh output when I was changing number of channels
> with alsamixer, and then did the same for pin 0x17.
> Since, from what I understood, you wanted me to figure out which pin is
> connected to the last jack [1], I thought this information would be
> useful to fix BIOS shortcomings.
> Other problem is that the volume on that jack is controlled by center
> and lfe sliders (in alsamixer), which is probably caused by the fact
> that alsa is unaware of the 7.1 sound.
> If more information is needed, please let me know what do you need in
> addition to alsa-info.sh output.
>
> Regards,
> Julian
>
> [1] http://article.gmane.org/gmane.linux.alsa.devel/86749
The diff is reverted for some reason - setting pin-ctls to 0x40: OUT and 
Amp-Out vals to [0x00 0x00] is what makes the sound appear. Sorry for 
the confusion.

Julian

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-18 11:15                                                                   ` Julian Sikorski
  2011-07-18 11:18                                                                     ` Julian Sikorski
@ 2011-07-18 11:19                                                                     ` Takashi Iwai
  2011-07-18 11:42                                                                       ` Julian Sikorski
  1 sibling, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-07-18 11:19 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Mon, 18 Jul 2011 13:15:14 +0200,
Julian Sikorski wrote:
> 
> W dniu 18.07.2011 10:52, Takashi Iwai pisze:
> > And I can't reproduce your problem with the alsa-info.sh output above.
> > Give more exact information what you did and what is the problem.
> >
> >
> > thanks,
> >
> > Takashi
> I'm sorry for the confusion - let me sum up the current situation. With 
> the fixes you pushed to sound-2.6/master I was able to get 5.1 sound out 
> of my laptop. The only missing bit was the 7.1 sound. And the last 
> channel goes via a jack/optical spdif hybrid. The problem is that the 
> BIOS does not announce that and as such alsa is unaware of the side 
> surround channel.
> Using Raymond's advice, I was able to make the sound come out of the 
> last jack, by changing some values for pin 0x17 (described as sidesurr 
> in the datasheet), diff is attached. I basically checked what was the 
> difference in alsa-info.sh output when I was changing number of channels 
> with alsamixer, and then did the same for pin 0x17.
> Since, from what I understood, you wanted me to figure out which pin is 
> connected to the last jack [1], I thought this information would be 
> useful to fix BIOS shortcomings.

Yes, and note that you can set up the initial pin configurations
dynamically via sysfs, too.

> Other problem is that the volume on that jack is controlled by center 
> and lfe sliders (in alsamixer), which is probably caused by the fact 
> that alsa is unaware of the 7.1 sound.

And this is not what I can't reproduce.

> If more information is needed, please let me know what do you need in 
> addition to alsa-info.sh output.

First off, double-check whether the CLFE mixer really changes the pin
amp.  At best, take alsa-info.sh output snapshot before and after
changing the mixer state, and compare the files (better give both
files in the mail).


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-18 11:19                                                                     ` Takashi Iwai
@ 2011-07-18 11:42                                                                       ` Julian Sikorski
  2011-07-18 12:16                                                                         ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-07-18 11:42 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

W dniu 18.07.2011 13:19, Takashi Iwai pisze:
> At Mon, 18 Jul 2011 13:15:14 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 18.07.2011 10:52, Takashi Iwai pisze:
>>> And I can't reproduce your problem with the alsa-info.sh output above.
>>> Give more exact information what you did and what is the problem.
>>>
>>>
>>> thanks,
>>>
>>> Takashi
>> I'm sorry for the confusion - let me sum up the current situation. With
>> the fixes you pushed to sound-2.6/master I was able to get 5.1 sound out
>> of my laptop. The only missing bit was the 7.1 sound. And the last
>> channel goes via a jack/optical spdif hybrid. The problem is that the
>> BIOS does not announce that and as such alsa is unaware of the side
>> surround channel.
>> Using Raymond's advice, I was able to make the sound come out of the
>> last jack, by changing some values for pin 0x17 (described as sidesurr
>> in the datasheet), diff is attached. I basically checked what was the
>> difference in alsa-info.sh output when I was changing number of channels
>> with alsamixer, and then did the same for pin 0x17.
>> Since, from what I understood, you wanted me to figure out which pin is
>> connected to the last jack [1], I thought this information would be
>> useful to fix BIOS shortcomings.
>
> Yes, and note that you can set up the initial pin configurations
> dynamically via sysfs, too.

I tried, but without much success [2] - I came up with 0x01111xxx, but I 
do not have enough understanding on what to put as the last 3 numbers. 
Moreover, I keep getting this upon trying to apply the new pin 
configuration:
# echo 0x17 0x011111f0 > user_pin_configs
# LANG=C pasuspender echo 1 > reconfig
echo: write error: Device or resource busy

>> Other problem is that the volume on that jack is controlled by center
>> and lfe sliders (in alsamixer), which is probably caused by the fact
>> that alsa is unaware of the 7.1 sound.
>
> And this is not what I can't reproduce.
>
>> If more information is needed, please let me know what do you need in
>> addition to alsa-info.sh output.
>
> First off, double-check whether the CLFE mixer really changes the pin
> amp.  At best, take alsa-info.sh output snapshot before and after
> changing the mixer state, and compare the files (better give both
> files in the mail).

Here you go. playing.txt is the state when sound comes out of the 
spdif/side pin, and the center-lfe-half-volume.txt is when the volume is 
reduced to 50 % afterwards.
Please keep in mind that if you enable 6-channel sound with alsamixer, 
the volume on center/lfe-mic jack will be reduced too 
(8-channel-half-volume.txt)

>
> Takashi

Julian

[2] http://article.gmane.org/gmane.linux.alsa.devel/86878

[-- Attachment #2: playing.txt --]
[-- Type: text/plain, Size: 55759 bytes --]

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

!!Script ran on: Mon Jul 18 11:22:55 UTC 2011


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

Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock)


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

Manufacturer:      CLEVO                            
Product Name:      P150HMx
Product Version:   Not Applicable                    


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

Kernel release:    3.0-0.rc7.git3.1.belegdol.fc15.x86_64
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


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

Driver version:     1.0.24
Library version:    1.0.24
Utilities version:  1.0.24.1


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

snd_hda_intel
snd_hda_intel


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

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

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


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

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf6500000 irq 52
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf6080000 irq 17


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

00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
01:00.1 Audio device: nVidia Corporation Device 0beb (rev a1)


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

00:1b.0 0403: 8086:1c20 (rev 05)
	Subsystem: 1558:5102
--
01:00.1 0403: 10de:0beb (rev a1)
	Subsystem: 1558:5102


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

!!Module: snd_hda_intel
	bdl_pos_adj : 1,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N

!!Module: snd_hda_intel
	bdl_pos_adj : 1,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N


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

Codec: Realtek ALC892
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0892
Subsystem Id: 0x15585102
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, 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=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x37 0x37]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x37 0x37]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x41d: 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=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x37 0x37]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x41d: 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=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x37 0x37]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x611: 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="ALC892 Digital", type="SPDIF", device=1
  Converter: stream=5, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x1b 0x1b]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Switch", index=1, device=0
  Control: name="Capture Volume", index=1, device=0
  Device: name="ALC892 Analog", type="Audio", device=2
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100711: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Internal Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Internal Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, 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] [0x80 0x80] [0x80 0x80]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x0b
Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x10
Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003e: IN OUT HP EAPD Detect Trigger
  EAPD 0x2: EAPD
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  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="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a11c30: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x99a30931: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x0181143f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001373e: IN OUT HP EAPD Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c 0x0d* 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x598301f0: [N/A] Line In at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x01451120: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400681: Stereo Digital
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=24
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Input Source", index=1, device=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 12
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Input Source", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x26 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x25 0x0b
Codec: Nvidia GPU 12 HDMI/DP
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital: Enabled GenLevel
  Digital category: 0x2
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  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
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 1
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=1, device=0
  Control: name="IEC958 Playback Pro Mask", index=1, device=0
  Control: name="IEC958 Playback Default", index=1, device=0
  Control: name="IEC958 Playback Switch", index=1, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=2, device=0
  Control: name="IEC958 Playback Pro Mask", index=2, device=0
  Control: name="IEC958 Playback Default", index=2, device=0
  Control: name="IEC958 Playback Switch", index=2, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=3, device=0
  Control: name="IEC958 Playback Pro Mask", index=3, device=0
  Control: name="IEC958 Playback Default", index=3, device=0
  Control: name="IEC958 Playback Switch", index=3, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
--endcollapse--


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

crw-rw----+ 1 root audio 116,  7 Jul 17 21:29 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 16 Jul 17 21:29 /dev/snd/controlC1
crw-rw----+ 1 root audio 116,  6 Jul 17 21:29 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 15 Jul 17 21:29 /dev/snd/hwC1D0
crw-rw----+ 1 root audio 116, 14 Jul 17 21:29 /dev/snd/hwC1D1
crw-rw----+ 1 root audio 116, 13 Jul 17 21:29 /dev/snd/hwC1D2
crw-rw----+ 1 root audio 116, 12 Jul 17 21:29 /dev/snd/hwC1D3
crw-rw----+ 1 root audio 116,  5 Jul 17 21:56 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  4 Jul 18 13:16 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  3 Jul 17 21:31 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116,  2 Jul 17 21:29 /dev/snd/pcmC0D2c
crw-rw----+ 1 root audio 116, 11 Jul 17 21:56 /dev/snd/pcmC1D3p
crw-rw----+ 1 root audio 116, 10 Jul 17 21:29 /dev/snd/pcmC1D7p
crw-rw----+ 1 root audio 116,  9 Jul 17 21:29 /dev/snd/pcmC1D8p
crw-rw----+ 1 root audio 116,  8 Jul 17 21:29 /dev/snd/pcmC1D9p
crw-rw----+ 1 root audio 116,  1 Jul 17 21:29 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Jul 17 21:29 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x. 2 root root  80 Jul 17 21:29 .
drwxr-xr-x. 3 root root 400 Jul 17 21:29 ..
lrwxrwxrwx. 1 root root  12 Jul 17 21:29 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx. 1 root root  12 Jul 17 21:29 pci-0000:01:00.1 -> ../controlC1


!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

#
# Place your global alsa-lib configuration here...
#

@hooks [
	{
		func load
		files [
			"/etc/alsa/pulse-default.conf"
		]
		errors false
	}
]


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

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

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

Card hw:0 'PCH'/'HDA Intel PCH at 0xf6500000 irq 52'
  Mixer name	: 'Realtek ALC892'
  Components	: 'HDA:10ec0892,15585102,00100302'
  Controls      : 34
  Simple ctrls  : 20
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 55 [86%] [-9.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [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 254 [100%] [0.20dB]
  Front Right: Playback 254 [100%] [0.20dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 27 [59%] [11.00dB] [on]
  Front Right: Capture 27 [59%] [11.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 0 [0%] [-16.00dB] [off]
  Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

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

Card hw:1 'NVidia'/'HDA NVidia at 0xf6080000 irq 17'
  Mixer name	: 'Nvidia GPU 12 HDMI/DP'
  Components	: 'HDA:10de0012,10de0101,00100100'
  Controls      : 16
  Simple ctrls  : 4
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]


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

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Channel Mode'
		value '2ch'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 '2ch'
			item.1 '4ch'
			item.2 '6ch'
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.3 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.5 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.6 {
		iface MIXER
		name 'Center Playback Volume'
		value 64
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'LFE Playback Volume'
		value 64
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
		}
	}
	control.8 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.11 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.12 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.13 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.14 {
		iface MIXER
		name 'Internal Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.15 {
		iface MIXER
		name 'Internal Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.16 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.17 {
		iface MIXER
		name 'Line Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.18 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.19 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.20 {
		iface MIXER
		name 'Internal Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.21 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Volume'
		value.0 27
		value.1 27
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 1100
			dbvalue.1 1100
		}
	}
	control.24 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 -1600
			dbvalue.1 -1600
		}
	}
	control.25 {
		iface MIXER
		name 'Input Source'
		value Mic
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Mic
			item.1 'Internal Mic'
			item.2 Line
		}
	}
	control.26 {
		iface MIXER
		name 'Input Source'
		index 1
		value Mic
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Mic
			item.1 'Internal Mic'
			item.2 Line
		}
	}
	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 true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface MIXER
		name 'Master Playback Volume'
		value 55
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -900
		}
	}
	control.33 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 254
		value.1 254
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -20
			dbvalue.1 -20
		}
	}
}
state.NVidia {
	control.1 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.6 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.7 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 2
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 2
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 2
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.12 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 2
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 3
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 3
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 3
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 3
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
}
--endcollapse--


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

Module
tcp_lp
ebtable_nat
ebtables
ipt_MASQUERADE
iptable_nat
nf_nat
xt_CHECKSUM
iptable_mangle
bridge
stp
llc
ppdev
parport_pc
lp
parport
sunrpc
bnep
bluetooth
nf_conntrack_ipv4
nf_defrag_ipv4
ip6t_REJECT
nf_conntrack_ipv6
nf_defrag_ipv6
xt_state
nf_conntrack
ip6table_filter
ip6_tables
nvidia
snd_hda_codec_hdmi
snd_hda_codec_realtek
fuse
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_seq
snd_seq_device
snd_pcm
snd_timer
snd
arc4
iwlagn
mac80211
uvcvideo
videodev
i2c_i801
soundcore
cfg80211
microcode
jmb38x_ms
xhci_hcd
joydev
media
v4l2_compat_ioctl32
snd_page_alloc
rfkill
jme
serio_raw
memstick
i2c_core
mii
iTCO_wdt
iTCO_vendor_support
binfmt_misc
virtio_net
kvm_intel
kvm
firewire_ohci
firewire_core
crc_itu_t
sdhci_pci
sdhci
mmc_core
wmi
video


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x11 0x411111f0
0x12 0x411111f0
0x14 0x99130110
0x15 0x411111f0
0x16 0x411111f0
0x17 0x411111f0
0x18 0x01a11c30
0x19 0x99a30931
0x1a 0x0181143f
0x1b 0x0121101f
0x1c 0x411111f0
0x1d 0x598301f0
0x1e 0x01451120
0x1f 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC1D0/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D0/driver_pin_configs:

/sys/class/sound/hwC1D0/user_pin_configs:

/sys/class/sound/hwC1D0/init_verbs:

/sys/class/sound/hwC1D1/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D1/driver_pin_configs:

/sys/class/sound/hwC1D1/user_pin_configs:

/sys/class/sound/hwC1D1/init_verbs:

/sys/class/sound/hwC1D2/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D2/driver_pin_configs:

/sys/class/sound/hwC1D2/user_pin_configs:

/sys/class/sound/hwC1D2/init_verbs:

/sys/class/sound/hwC1D3/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D3/driver_pin_configs:

/sys/class/sound/hwC1D3/user_pin_configs:

/sys/class/sound/hwC1D3/init_verbs:


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

[   11.619432] Disabling lock debugging due to kernel taint
[   11.631239] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   11.631334] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[   11.631356] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[   11.635107] fuse init (API version 7.16)
[   11.641039] SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
[   11.691510] hda_codec: ALC892: SKU not ready 0x598301f0
[   11.691680] hda_codec: ALC892: BIOS auto-probing.
[   11.691690] ALSA sound/pci/hda/hda_codec.c:4878 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   11.691695] ALSA sound/pci/hda/hda_codec.c:4882    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   11.691699] ALSA sound/pci/hda/hda_codec.c:4886    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   11.691703] ALSA sound/pci/hda/hda_codec.c:4887    mono: mono_out=0x0
[   11.691706] ALSA sound/pci/hda/hda_codec.c:4890    dig-out=0x1e/0x0
[   11.691709] ALSA sound/pci/hda/hda_codec.c:4891    inputs:
[   11.691714] ALSA sound/pci/hda/hda_codec.c:4895  Mic=0x18
[   11.691718] ALSA sound/pci/hda/hda_codec.c:4895  Internal Mic=0x19
[   11.691721] ALSA sound/pci/hda/hda_codec.c:4895  Line=0x1a
[   11.691724] ALSA sound/pci/hda/hda_codec.c:4897 
[   11.693727] ALSA sound/pci/hda/patch_realtek.c:1267 realtek: No valid SSID, checking pincfg 0x598301f0 for NID 0x1d
[   11.693732] ALSA sound/pci/hda/patch_realtek.c:1348 realtek: Enable default setup for auto mode as fallback
[   11.698816] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   11.699014] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[   11.699018] hda_intel: Disabling MSI
[   11.699119] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[   11.705661] ALSA sound/pci/hda/hda_intel.c:1454 Enable delay in RIRB handling
[   11.848573] SELinux: initialized (dev sda2, type fuseblk), uses genfs_contexts
--
[   11.850026] ntfs-3g[887]: Ownership and permissions disabled, configuration type 1
[   11.924388] HDMI status: Codec=0 Pin=5 Presence_Detect=0 ELD_Valid=0
[   11.963381] HDMI status: Codec=1 Pin=5 Presence_Detect=0 ELD_Valid=0
[   12.002301] HDMI status: Codec=2 Pin=5 Presence_Detect=0 ELD_Valid=0
[   12.041251] HDMI status: Codec=3 Pin=5 Presence_Detect=0 ELD_Valid=0
[   12.064072] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
[   12.064355] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
[   12.064601] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
[   12.064848] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[   12.158375] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
--
[   26.077130] SELinux: initialized (dev proc, type proc), uses genfs_contexts
[   31.161238] hda-intel: Invalid position buffer, using LPIB read method instead.
[   31.269629] hda-intel: Invalid position buffer, using LPIB read method instead.
[   31.296939] hda-intel: Invalid position buffer, using LPIB read method instead.
[   32.159940] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
[   32.267858] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
[   34.734137] wlan0: no IPv6 routers present
--
[17414.913286] ehci_hcd 0000:00:1d.0: PCI INT A disabled
[17415.204932] snd_hda_intel 0000:00:1b.0: PCI INT A disabled
[17415.317829] snd_hda_intel 0000:01:00.1: PCI INT B disabled
[17415.317883] ACPI handle has no context!
--
[17416.126533] ehci_hcd 0000:00:1a.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[17416.126557] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0xf (was 0x100, writing 0x103)
[17416.126569] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[17416.126573] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100002)
[17416.126597] pcieport 0000:00:1c.0: restoring config space at offset 0xf (was 0x100, writing 0x10010b)
--
[17416.126927] nvidia 0000:01:00.0: restoring config space at offset 0x3 (was 0x800010, writing 0x800000)
[17416.126962] snd_hda_intel 0000:01:00.1: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[17416.127008] xhci_hcd 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
--
[17416.127905] ehci_hcd 0000:00:1a.0: setting latency timer to 64
[17416.127949] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[17416.127955] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[17416.127988] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[17416.128020] ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
--
[17416.128056] ahci 0000:00:1f.2: setting latency timer to 64
[17416.128072] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[17416.128079] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[17416.128124] xhci_hcd 0000:02:00.0: setting latency timer to 64
--
[22590.768834] jmb38x_ms 0000:03:00.3: PCI INT B disabled
[22590.768930] snd_hda_intel 0000:01:00.1: PCI INT B disabled
[22590.768941] sdhci-pci 0000:03:00.1: PCI INT B disabled
--
[22590.779515] ehci_hcd 0000:00:1a.0: PCI INT A disabled
[22591.070773] snd_hda_intel 0000:00:1b.0: PCI INT A disabled
[22591.409020] PM: suspend of devices complete after 1206.070 msecs
--
[22592.164726] ehci_hcd 0000:00:1a.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[22592.164749] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0xf (was 0x100, writing 0x103)
[22592.164762] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[22592.164766] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100002)
[22592.164790] pcieport 0000:00:1c.0: restoring config space at offset 0xf (was 0x100, writing 0x10010b)
--
[22592.165121] nvidia 0000:01:00.0: restoring config space at offset 0x3 (was 0x800010, writing 0x800000)
[22592.165157] snd_hda_intel 0000:01:00.1: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[22592.165202] xhci_hcd 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
--
[22592.166108] ehci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[22592.166113] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[22592.166116] ehci_hcd 0000:00:1a.0: setting latency timer to 64
[22592.166121] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[22592.166132] ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[22592.166143] ehci_hcd 0000:00:1d.0: setting latency timer to 64
[22592.166170] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[22592.166182] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[22592.166185] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[22592.166272] xhci_hcd 0000:02:00.0: setting latency timer to 64



[-- Attachment #3: center-lfe-half-volume.txt --]
[-- Type: text/plain, Size: 55769 bytes --]

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

!!Script ran on: Mon Jul 18 11:23:47 UTC 2011


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

Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock)


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

Manufacturer:      CLEVO                            
Product Name:      P150HMx
Product Version:   Not Applicable                    


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

Kernel release:    3.0-0.rc7.git3.1.belegdol.fc15.x86_64
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


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

Driver version:     1.0.24
Library version:    1.0.24
Utilities version:  1.0.24.1


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

snd_hda_intel
snd_hda_intel


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

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

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


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

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf6500000 irq 52
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf6080000 irq 17


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

00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
01:00.1 Audio device: nVidia Corporation Device 0beb (rev a1)


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

00:1b.0 0403: 8086:1c20 (rev 05)
	Subsystem: 1558:5102
--
01:00.1 0403: 10de:0beb (rev a1)
	Subsystem: 1558:5102


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

!!Module: snd_hda_intel
	bdl_pos_adj : 1,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N

!!Module: snd_hda_intel
	bdl_pos_adj : 1,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N


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

Codec: Realtek ALC892
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0892
Subsystem Id: 0x15585102
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, 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=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x37 0x37]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x37 0x37]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x41d: 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=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x37 0x37]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x41d: 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=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x27 0x27]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x611: 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="ALC892 Digital", type="SPDIF", device=1
  Converter: stream=5, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x1b 0x1b]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Switch", index=1, device=0
  Control: name="Capture Volume", index=1, device=0
  Device: name="ALC892 Analog", type="Audio", device=2
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100711: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Internal Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Internal Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, 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] [0x80 0x80] [0x80 0x80]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x0b
Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x10
Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003e: IN OUT HP EAPD Detect Trigger
  EAPD 0x2: EAPD
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  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="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a11c30: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x99a30931: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x0181143f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001373e: IN OUT HP EAPD Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c 0x0d* 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x598301f0: [N/A] Line In at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x01451120: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400681: Stereo Digital
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=24
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Input Source", index=1, device=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 12
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Input Source", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x26 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x25 0x0b
Codec: Nvidia GPU 12 HDMI/DP
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital: Enabled GenLevel
  Digital category: 0x2
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  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
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 1
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=1, device=0
  Control: name="IEC958 Playback Pro Mask", index=1, device=0
  Control: name="IEC958 Playback Default", index=1, device=0
  Control: name="IEC958 Playback Switch", index=1, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=2, device=0
  Control: name="IEC958 Playback Pro Mask", index=2, device=0
  Control: name="IEC958 Playback Default", index=2, device=0
  Control: name="IEC958 Playback Switch", index=2, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=3, device=0
  Control: name="IEC958 Playback Pro Mask", index=3, device=0
  Control: name="IEC958 Playback Default", index=3, device=0
  Control: name="IEC958 Playback Switch", index=3, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
--endcollapse--


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

crw-rw----+ 1 root audio 116,  7 Jul 17 21:29 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 16 Jul 17 21:29 /dev/snd/controlC1
crw-rw----+ 1 root audio 116,  6 Jul 17 21:29 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 15 Jul 17 21:29 /dev/snd/hwC1D0
crw-rw----+ 1 root audio 116, 14 Jul 17 21:29 /dev/snd/hwC1D1
crw-rw----+ 1 root audio 116, 13 Jul 17 21:29 /dev/snd/hwC1D2
crw-rw----+ 1 root audio 116, 12 Jul 17 21:29 /dev/snd/hwC1D3
crw-rw----+ 1 root audio 116,  5 Jul 17 21:56 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  4 Jul 18 13:16 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  3 Jul 17 21:31 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116,  2 Jul 17 21:29 /dev/snd/pcmC0D2c
crw-rw----+ 1 root audio 116, 11 Jul 17 21:56 /dev/snd/pcmC1D3p
crw-rw----+ 1 root audio 116, 10 Jul 17 21:29 /dev/snd/pcmC1D7p
crw-rw----+ 1 root audio 116,  9 Jul 17 21:29 /dev/snd/pcmC1D8p
crw-rw----+ 1 root audio 116,  8 Jul 17 21:29 /dev/snd/pcmC1D9p
crw-rw----+ 1 root audio 116,  1 Jul 17 21:29 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Jul 17 21:29 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x. 2 root root  80 Jul 17 21:29 .
drwxr-xr-x. 3 root root 400 Jul 17 21:29 ..
lrwxrwxrwx. 1 root root  12 Jul 17 21:29 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx. 1 root root  12 Jul 17 21:29 pci-0000:01:00.1 -> ../controlC1


!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

#
# Place your global alsa-lib configuration here...
#

@hooks [
	{
		func load
		files [
			"/etc/alsa/pulse-default.conf"
		]
		errors false
	}
]


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

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

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

Card hw:0 'PCH'/'HDA Intel PCH at 0xf6500000 irq 52'
  Mixer name	: 'Realtek ALC892'
  Components	: 'HDA:10ec0892,15585102,00100302'
  Controls      : 34
  Simple ctrls  : 20
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 55 [86%] [-9.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [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 254 [100%] [0.20dB]
  Front Right: Playback 254 [100%] [0.20dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 48 [75%] [-16.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 48 [75%] [-16.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 27 [59%] [11.00dB] [on]
  Front Right: Capture 27 [59%] [11.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 0 [0%] [-16.00dB] [off]
  Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

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

Card hw:1 'NVidia'/'HDA NVidia at 0xf6080000 irq 17'
  Mixer name	: 'Nvidia GPU 12 HDMI/DP'
  Components	: 'HDA:10de0012,10de0101,00100100'
  Controls      : 16
  Simple ctrls  : 4
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]


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

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Channel Mode'
		value '2ch'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 '2ch'
			item.1 '4ch'
			item.2 '6ch'
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.3 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.5 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.6 {
		iface MIXER
		name 'Center Playback Volume'
		value 48
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -1600
		}
	}
	control.7 {
		iface MIXER
		name 'LFE Playback Volume'
		value 48
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -1600
		}
	}
	control.8 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.11 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.12 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.13 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.14 {
		iface MIXER
		name 'Internal Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.15 {
		iface MIXER
		name 'Internal Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.16 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.17 {
		iface MIXER
		name 'Line Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.18 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.19 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.20 {
		iface MIXER
		name 'Internal Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.21 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Volume'
		value.0 27
		value.1 27
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 1100
			dbvalue.1 1100
		}
	}
	control.24 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 -1600
			dbvalue.1 -1600
		}
	}
	control.25 {
		iface MIXER
		name 'Input Source'
		value Mic
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Mic
			item.1 'Internal Mic'
			item.2 Line
		}
	}
	control.26 {
		iface MIXER
		name 'Input Source'
		index 1
		value Mic
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Mic
			item.1 'Internal Mic'
			item.2 Line
		}
	}
	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 true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface MIXER
		name 'Master Playback Volume'
		value 55
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -900
		}
	}
	control.33 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 254
		value.1 254
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -20
			dbvalue.1 -20
		}
	}
}
state.NVidia {
	control.1 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.6 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.7 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 2
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 2
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 2
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.12 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 2
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 3
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 3
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 3
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 3
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
}
--endcollapse--


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

Module
tcp_lp
ebtable_nat
ebtables
ipt_MASQUERADE
iptable_nat
nf_nat
xt_CHECKSUM
iptable_mangle
bridge
stp
llc
ppdev
parport_pc
lp
parport
sunrpc
bnep
bluetooth
nf_conntrack_ipv4
nf_defrag_ipv4
ip6t_REJECT
nf_conntrack_ipv6
nf_defrag_ipv6
xt_state
nf_conntrack
ip6table_filter
ip6_tables
nvidia
snd_hda_codec_hdmi
snd_hda_codec_realtek
fuse
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_seq
snd_seq_device
snd_pcm
snd_timer
snd
arc4
iwlagn
mac80211
uvcvideo
videodev
i2c_i801
soundcore
cfg80211
microcode
jmb38x_ms
xhci_hcd
joydev
media
v4l2_compat_ioctl32
snd_page_alloc
rfkill
jme
serio_raw
memstick
i2c_core
mii
iTCO_wdt
iTCO_vendor_support
binfmt_misc
virtio_net
kvm_intel
kvm
firewire_ohci
firewire_core
crc_itu_t
sdhci_pci
sdhci
mmc_core
wmi
video


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x11 0x411111f0
0x12 0x411111f0
0x14 0x99130110
0x15 0x411111f0
0x16 0x411111f0
0x17 0x411111f0
0x18 0x01a11c30
0x19 0x99a30931
0x1a 0x0181143f
0x1b 0x0121101f
0x1c 0x411111f0
0x1d 0x598301f0
0x1e 0x01451120
0x1f 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC1D0/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D0/driver_pin_configs:

/sys/class/sound/hwC1D0/user_pin_configs:

/sys/class/sound/hwC1D0/init_verbs:

/sys/class/sound/hwC1D1/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D1/driver_pin_configs:

/sys/class/sound/hwC1D1/user_pin_configs:

/sys/class/sound/hwC1D1/init_verbs:

/sys/class/sound/hwC1D2/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D2/driver_pin_configs:

/sys/class/sound/hwC1D2/user_pin_configs:

/sys/class/sound/hwC1D2/init_verbs:

/sys/class/sound/hwC1D3/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D3/driver_pin_configs:

/sys/class/sound/hwC1D3/user_pin_configs:

/sys/class/sound/hwC1D3/init_verbs:


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

[   11.619432] Disabling lock debugging due to kernel taint
[   11.631239] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   11.631334] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[   11.631356] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[   11.635107] fuse init (API version 7.16)
[   11.641039] SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
[   11.691510] hda_codec: ALC892: SKU not ready 0x598301f0
[   11.691680] hda_codec: ALC892: BIOS auto-probing.
[   11.691690] ALSA sound/pci/hda/hda_codec.c:4878 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   11.691695] ALSA sound/pci/hda/hda_codec.c:4882    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   11.691699] ALSA sound/pci/hda/hda_codec.c:4886    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   11.691703] ALSA sound/pci/hda/hda_codec.c:4887    mono: mono_out=0x0
[   11.691706] ALSA sound/pci/hda/hda_codec.c:4890    dig-out=0x1e/0x0
[   11.691709] ALSA sound/pci/hda/hda_codec.c:4891    inputs:
[   11.691714] ALSA sound/pci/hda/hda_codec.c:4895  Mic=0x18
[   11.691718] ALSA sound/pci/hda/hda_codec.c:4895  Internal Mic=0x19
[   11.691721] ALSA sound/pci/hda/hda_codec.c:4895  Line=0x1a
[   11.691724] ALSA sound/pci/hda/hda_codec.c:4897 
[   11.693727] ALSA sound/pci/hda/patch_realtek.c:1267 realtek: No valid SSID, checking pincfg 0x598301f0 for NID 0x1d
[   11.693732] ALSA sound/pci/hda/patch_realtek.c:1348 realtek: Enable default setup for auto mode as fallback
[   11.698816] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   11.699014] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[   11.699018] hda_intel: Disabling MSI
[   11.699119] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[   11.705661] ALSA sound/pci/hda/hda_intel.c:1454 Enable delay in RIRB handling
[   11.848573] SELinux: initialized (dev sda2, type fuseblk), uses genfs_contexts
--
[   11.850026] ntfs-3g[887]: Ownership and permissions disabled, configuration type 1
[   11.924388] HDMI status: Codec=0 Pin=5 Presence_Detect=0 ELD_Valid=0
[   11.963381] HDMI status: Codec=1 Pin=5 Presence_Detect=0 ELD_Valid=0
[   12.002301] HDMI status: Codec=2 Pin=5 Presence_Detect=0 ELD_Valid=0
[   12.041251] HDMI status: Codec=3 Pin=5 Presence_Detect=0 ELD_Valid=0
[   12.064072] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
[   12.064355] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
[   12.064601] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
[   12.064848] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[   12.158375] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
--
[   26.077130] SELinux: initialized (dev proc, type proc), uses genfs_contexts
[   31.161238] hda-intel: Invalid position buffer, using LPIB read method instead.
[   31.269629] hda-intel: Invalid position buffer, using LPIB read method instead.
[   31.296939] hda-intel: Invalid position buffer, using LPIB read method instead.
[   32.159940] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
[   32.267858] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
[   34.734137] wlan0: no IPv6 routers present
--
[17414.913286] ehci_hcd 0000:00:1d.0: PCI INT A disabled
[17415.204932] snd_hda_intel 0000:00:1b.0: PCI INT A disabled
[17415.317829] snd_hda_intel 0000:01:00.1: PCI INT B disabled
[17415.317883] ACPI handle has no context!
--
[17416.126533] ehci_hcd 0000:00:1a.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[17416.126557] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0xf (was 0x100, writing 0x103)
[17416.126569] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[17416.126573] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100002)
[17416.126597] pcieport 0000:00:1c.0: restoring config space at offset 0xf (was 0x100, writing 0x10010b)
--
[17416.126927] nvidia 0000:01:00.0: restoring config space at offset 0x3 (was 0x800010, writing 0x800000)
[17416.126962] snd_hda_intel 0000:01:00.1: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[17416.127008] xhci_hcd 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
--
[17416.127905] ehci_hcd 0000:00:1a.0: setting latency timer to 64
[17416.127949] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[17416.127955] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[17416.127988] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[17416.128020] ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
--
[17416.128056] ahci 0000:00:1f.2: setting latency timer to 64
[17416.128072] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[17416.128079] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[17416.128124] xhci_hcd 0000:02:00.0: setting latency timer to 64
--
[22590.768834] jmb38x_ms 0000:03:00.3: PCI INT B disabled
[22590.768930] snd_hda_intel 0000:01:00.1: PCI INT B disabled
[22590.768941] sdhci-pci 0000:03:00.1: PCI INT B disabled
--
[22590.779515] ehci_hcd 0000:00:1a.0: PCI INT A disabled
[22591.070773] snd_hda_intel 0000:00:1b.0: PCI INT A disabled
[22591.409020] PM: suspend of devices complete after 1206.070 msecs
--
[22592.164726] ehci_hcd 0000:00:1a.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[22592.164749] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0xf (was 0x100, writing 0x103)
[22592.164762] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[22592.164766] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100002)
[22592.164790] pcieport 0000:00:1c.0: restoring config space at offset 0xf (was 0x100, writing 0x10010b)
--
[22592.165121] nvidia 0000:01:00.0: restoring config space at offset 0x3 (was 0x800010, writing 0x800000)
[22592.165157] snd_hda_intel 0000:01:00.1: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[22592.165202] xhci_hcd 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
--
[22592.166108] ehci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[22592.166113] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[22592.166116] ehci_hcd 0000:00:1a.0: setting latency timer to 64
[22592.166121] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[22592.166132] ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[22592.166143] ehci_hcd 0000:00:1d.0: setting latency timer to 64
[22592.166170] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[22592.166182] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[22592.166185] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[22592.166272] xhci_hcd 0000:02:00.0: setting latency timer to 64



[-- Attachment #4: 8-channel-half-volume.txt --]
[-- Type: text/plain, Size: 55772 bytes --]

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

!!Script ran on: Mon Jul 18 11:32:25 UTC 2011


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

Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock)


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

Manufacturer:      CLEVO                            
Product Name:      P150HMx
Product Version:   Not Applicable                    


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

Kernel release:    3.0-0.rc7.git3.1.belegdol.fc15.x86_64
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


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

Driver version:     1.0.24
Library version:    1.0.24
Utilities version:  1.0.24.1


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

snd_hda_intel
snd_hda_intel


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

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

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


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

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf6500000 irq 52
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf6080000 irq 17


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

00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
01:00.1 Audio device: nVidia Corporation Device 0beb (rev a1)


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

00:1b.0 0403: 8086:1c20 (rev 05)
	Subsystem: 1558:5102
--
01:00.1 0403: 10de:0beb (rev a1)
	Subsystem: 1558:5102


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

!!Module: snd_hda_intel
	bdl_pos_adj : 1,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N

!!Module: snd_hda_intel
	bdl_pos_adj : 1,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N


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

Codec: Realtek ALC892
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0892
Subsystem Id: 0x15585102
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, 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=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x37 0x37]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x37 0x37]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x41d: 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=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x37 0x37]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x41d: 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=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x27 0x27]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x611: 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="ALC892 Digital", type="SPDIF", device=1
  Converter: stream=5, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x1b 0x1b]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Switch", index=1, device=0
  Control: name="Capture Volume", index=1, device=0
  Device: name="ALC892 Analog", type="Audio", device=2
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100711: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Internal Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Internal Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, 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] [0x80 0x80] [0x80 0x80]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x0b
Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x10
Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003e: IN OUT HP EAPD Detect Trigger
  EAPD 0x2: EAPD
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  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="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a11c30: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c 0x0d 0x0e 0x0f* 0x26
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x99a30931: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x0181143f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0xf
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c 0x0d 0x0e* 0x0f 0x26
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001373e: IN OUT HP EAPD Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c 0x0d* 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x598301f0: [N/A] Line In at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x01451120: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400681: Stereo Digital
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=24
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Input Source", index=1, device=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 12
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Input Source", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x26 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x25 0x0b
Codec: Nvidia GPU 12 HDMI/DP
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital: Enabled GenLevel
  Digital category: 0x2
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  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
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 1
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=1, device=0
  Control: name="IEC958 Playback Pro Mask", index=1, device=0
  Control: name="IEC958 Playback Default", index=1, device=0
  Control: name="IEC958 Playback Switch", index=1, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=2, device=0
  Control: name="IEC958 Playback Pro Mask", index=2, device=0
  Control: name="IEC958 Playback Default", index=2, device=0
  Control: name="IEC958 Playback Switch", index=2, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
Codec: Nvidia GPU 12 HDMI/DP
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0012
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Control: name="IEC958 Playback Con Mask", index=3, device=0
  Control: name="IEC958 Playback Pro Mask", index=3, device=0
  Control: name="IEC958 Playback Default", index=3, device=0
  Control: name="IEC958 Playback Switch", index=3, device=0
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x04
--endcollapse--


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

crw-rw----+ 1 root audio 116,  7 Jul 17 21:29 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 16 Jul 17 21:29 /dev/snd/controlC1
crw-rw----+ 1 root audio 116,  6 Jul 17 21:29 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 15 Jul 17 21:29 /dev/snd/hwC1D0
crw-rw----+ 1 root audio 116, 14 Jul 17 21:29 /dev/snd/hwC1D1
crw-rw----+ 1 root audio 116, 13 Jul 17 21:29 /dev/snd/hwC1D2
crw-rw----+ 1 root audio 116, 12 Jul 17 21:29 /dev/snd/hwC1D3
crw-rw----+ 1 root audio 116,  5 Jul 17 21:56 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  4 Jul 18 13:31 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  3 Jul 17 21:31 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116,  2 Jul 17 21:29 /dev/snd/pcmC0D2c
crw-rw----+ 1 root audio 116, 11 Jul 17 21:56 /dev/snd/pcmC1D3p
crw-rw----+ 1 root audio 116, 10 Jul 17 21:29 /dev/snd/pcmC1D7p
crw-rw----+ 1 root audio 116,  9 Jul 17 21:29 /dev/snd/pcmC1D8p
crw-rw----+ 1 root audio 116,  8 Jul 17 21:29 /dev/snd/pcmC1D9p
crw-rw----+ 1 root audio 116,  1 Jul 17 21:29 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Jul 17 21:29 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x. 2 root root  80 Jul 17 21:29 .
drwxr-xr-x. 3 root root 400 Jul 17 21:29 ..
lrwxrwxrwx. 1 root root  12 Jul 17 21:29 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx. 1 root root  12 Jul 17 21:29 pci-0000:01:00.1 -> ../controlC1


!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

#
# Place your global alsa-lib configuration here...
#

@hooks [
	{
		func load
		files [
			"/etc/alsa/pulse-default.conf"
		]
		errors false
	}
]


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

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

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

Card hw:0 'PCH'/'HDA Intel PCH at 0xf6500000 irq 52'
  Mixer name	: 'Realtek ALC892'
  Components	: 'HDA:10ec0892,15585102,00100302'
  Controls      : 34
  Simple ctrls  : 20
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 55 [86%] [-9.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [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 254 [100%] [0.20dB]
  Front Right: Playback 254 [100%] [0.20dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 48 [75%] [-16.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 48 [75%] [-16.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 27 [59%] [11.00dB] [on]
  Front Right: Capture 27 [59%] [11.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 0 [0%] [-16.00dB] [off]
  Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '6ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Internal Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

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

Card hw:1 'NVidia'/'HDA NVidia at 0xf6080000 irq 17'
  Mixer name	: 'Nvidia GPU 12 HDMI/DP'
  Components	: 'HDA:10de0012,10de0101,00100100'
  Controls      : 16
  Simple ctrls  : 4
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]


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

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Channel Mode'
		value '6ch'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 '2ch'
			item.1 '4ch'
			item.2 '6ch'
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.3 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.5 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.6 {
		iface MIXER
		name 'Center Playback Volume'
		value 48
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -1600
		}
	}
	control.7 {
		iface MIXER
		name 'LFE Playback Volume'
		value 48
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -1600
		}
	}
	control.8 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.11 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.12 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.13 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.14 {
		iface MIXER
		name 'Internal Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.15 {
		iface MIXER
		name 'Internal Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.16 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.17 {
		iface MIXER
		name 'Line Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.18 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.19 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.20 {
		iface MIXER
		name 'Internal Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.21 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Volume'
		value.0 27
		value.1 27
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 1100
			dbvalue.1 1100
		}
	}
	control.24 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 -1600
			dbvalue.1 -1600
		}
	}
	control.25 {
		iface MIXER
		name 'Input Source'
		value Mic
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Mic
			item.1 'Internal Mic'
			item.2 Line
		}
	}
	control.26 {
		iface MIXER
		name 'Input Source'
		index 1
		value Mic
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Mic
			item.1 'Internal Mic'
			item.2 Line
		}
	}
	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 true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface MIXER
		name 'Master Playback Volume'
		value 55
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -900
		}
	}
	control.33 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 254
		value.1 254
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -20
			dbvalue.1 -20
		}
	}
}
state.NVidia {
	control.1 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.6 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.7 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 2
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 2
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 2
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.12 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 2
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 3
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 3
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 3
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 3
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
}
--endcollapse--


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

Module
tcp_lp
ebtable_nat
ebtables
ipt_MASQUERADE
iptable_nat
nf_nat
xt_CHECKSUM
iptable_mangle
bridge
stp
llc
ppdev
parport_pc
lp
parport
sunrpc
bnep
bluetooth
nf_conntrack_ipv4
nf_defrag_ipv4
ip6t_REJECT
nf_conntrack_ipv6
nf_defrag_ipv6
xt_state
nf_conntrack
ip6table_filter
ip6_tables
nvidia
snd_hda_codec_hdmi
snd_hda_codec_realtek
fuse
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_seq
snd_seq_device
snd_pcm
snd_timer
snd
arc4
iwlagn
mac80211
uvcvideo
videodev
i2c_i801
soundcore
cfg80211
microcode
jmb38x_ms
xhci_hcd
joydev
media
v4l2_compat_ioctl32
snd_page_alloc
rfkill
jme
serio_raw
memstick
i2c_core
mii
iTCO_wdt
iTCO_vendor_support
binfmt_misc
virtio_net
kvm_intel
kvm
firewire_ohci
firewire_core
crc_itu_t
sdhci_pci
sdhci
mmc_core
wmi
video


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x11 0x411111f0
0x12 0x411111f0
0x14 0x99130110
0x15 0x411111f0
0x16 0x411111f0
0x17 0x411111f0
0x18 0x01a11c30
0x19 0x99a30931
0x1a 0x0181143f
0x1b 0x0121101f
0x1c 0x411111f0
0x1d 0x598301f0
0x1e 0x01451120
0x1f 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC1D0/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D0/driver_pin_configs:

/sys/class/sound/hwC1D0/user_pin_configs:

/sys/class/sound/hwC1D0/init_verbs:

/sys/class/sound/hwC1D1/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D1/driver_pin_configs:

/sys/class/sound/hwC1D1/user_pin_configs:

/sys/class/sound/hwC1D1/init_verbs:

/sys/class/sound/hwC1D2/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D2/driver_pin_configs:

/sys/class/sound/hwC1D2/user_pin_configs:

/sys/class/sound/hwC1D2/init_verbs:

/sys/class/sound/hwC1D3/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D3/driver_pin_configs:

/sys/class/sound/hwC1D3/user_pin_configs:

/sys/class/sound/hwC1D3/init_verbs:


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

[   11.619432] Disabling lock debugging due to kernel taint
[   11.631239] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   11.631334] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[   11.631356] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[   11.635107] fuse init (API version 7.16)
[   11.641039] SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
[   11.691510] hda_codec: ALC892: SKU not ready 0x598301f0
[   11.691680] hda_codec: ALC892: BIOS auto-probing.
[   11.691690] ALSA sound/pci/hda/hda_codec.c:4878 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   11.691695] ALSA sound/pci/hda/hda_codec.c:4882    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   11.691699] ALSA sound/pci/hda/hda_codec.c:4886    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   11.691703] ALSA sound/pci/hda/hda_codec.c:4887    mono: mono_out=0x0
[   11.691706] ALSA sound/pci/hda/hda_codec.c:4890    dig-out=0x1e/0x0
[   11.691709] ALSA sound/pci/hda/hda_codec.c:4891    inputs:
[   11.691714] ALSA sound/pci/hda/hda_codec.c:4895  Mic=0x18
[   11.691718] ALSA sound/pci/hda/hda_codec.c:4895  Internal Mic=0x19
[   11.691721] ALSA sound/pci/hda/hda_codec.c:4895  Line=0x1a
[   11.691724] ALSA sound/pci/hda/hda_codec.c:4897 
[   11.693727] ALSA sound/pci/hda/patch_realtek.c:1267 realtek: No valid SSID, checking pincfg 0x598301f0 for NID 0x1d
[   11.693732] ALSA sound/pci/hda/patch_realtek.c:1348 realtek: Enable default setup for auto mode as fallback
[   11.698816] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   11.699014] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[   11.699018] hda_intel: Disabling MSI
[   11.699119] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[   11.705661] ALSA sound/pci/hda/hda_intel.c:1454 Enable delay in RIRB handling
[   11.848573] SELinux: initialized (dev sda2, type fuseblk), uses genfs_contexts
--
[   11.850026] ntfs-3g[887]: Ownership and permissions disabled, configuration type 1
[   11.924388] HDMI status: Codec=0 Pin=5 Presence_Detect=0 ELD_Valid=0
[   11.963381] HDMI status: Codec=1 Pin=5 Presence_Detect=0 ELD_Valid=0
[   12.002301] HDMI status: Codec=2 Pin=5 Presence_Detect=0 ELD_Valid=0
[   12.041251] HDMI status: Codec=3 Pin=5 Presence_Detect=0 ELD_Valid=0
[   12.064072] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
[   12.064355] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
[   12.064601] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
[   12.064848] input: HDA NVidia HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[   12.158375] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
--
[   26.077130] SELinux: initialized (dev proc, type proc), uses genfs_contexts
[   31.161238] hda-intel: Invalid position buffer, using LPIB read method instead.
[   31.269629] hda-intel: Invalid position buffer, using LPIB read method instead.
[   31.296939] hda-intel: Invalid position buffer, using LPIB read method instead.
[   32.159940] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
[   32.267858] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
[   34.734137] wlan0: no IPv6 routers present
--
[17414.913286] ehci_hcd 0000:00:1d.0: PCI INT A disabled
[17415.204932] snd_hda_intel 0000:00:1b.0: PCI INT A disabled
[17415.317829] snd_hda_intel 0000:01:00.1: PCI INT B disabled
[17415.317883] ACPI handle has no context!
--
[17416.126533] ehci_hcd 0000:00:1a.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[17416.126557] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0xf (was 0x100, writing 0x103)
[17416.126569] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[17416.126573] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100002)
[17416.126597] pcieport 0000:00:1c.0: restoring config space at offset 0xf (was 0x100, writing 0x10010b)
--
[17416.126927] nvidia 0000:01:00.0: restoring config space at offset 0x3 (was 0x800010, writing 0x800000)
[17416.126962] snd_hda_intel 0000:01:00.1: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[17416.127008] xhci_hcd 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
--
[17416.127905] ehci_hcd 0000:00:1a.0: setting latency timer to 64
[17416.127949] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[17416.127955] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[17416.127988] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[17416.128020] ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
--
[17416.128056] ahci 0000:00:1f.2: setting latency timer to 64
[17416.128072] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[17416.128079] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[17416.128124] xhci_hcd 0000:02:00.0: setting latency timer to 64
--
[22590.768834] jmb38x_ms 0000:03:00.3: PCI INT B disabled
[22590.768930] snd_hda_intel 0000:01:00.1: PCI INT B disabled
[22590.768941] sdhci-pci 0000:03:00.1: PCI INT B disabled
--
[22590.779515] ehci_hcd 0000:00:1a.0: PCI INT A disabled
[22591.070773] snd_hda_intel 0000:00:1b.0: PCI INT A disabled
[22591.409020] PM: suspend of devices complete after 1206.070 msecs
--
[22592.164726] ehci_hcd 0000:00:1a.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[22592.164749] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0xf (was 0x100, writing 0x103)
[22592.164762] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[22592.164766] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100002)
[22592.164790] pcieport 0000:00:1c.0: restoring config space at offset 0xf (was 0x100, writing 0x10010b)
--
[22592.165121] nvidia 0000:01:00.0: restoring config space at offset 0x3 (was 0x800010, writing 0x800000)
[22592.165157] snd_hda_intel 0000:01:00.1: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[22592.165202] xhci_hcd 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
--
[22592.166108] ehci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[22592.166113] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[22592.166116] ehci_hcd 0000:00:1a.0: setting latency timer to 64
[22592.166121] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[22592.166132] ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[22592.166143] ehci_hcd 0000:00:1d.0: setting latency timer to 64
[22592.166170] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[22592.166182] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[22592.166185] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[22592.166272] xhci_hcd 0000:02:00.0: setting latency timer to 64



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



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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-18 11:42                                                                       ` Julian Sikorski
@ 2011-07-18 12:16                                                                         ` Takashi Iwai
  2011-07-18 12:42                                                                           ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-07-18 12:16 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Mon, 18 Jul 2011 13:42:50 +0200,
Julian Sikorski wrote:
> 
> W dniu 18.07.2011 13:19, Takashi Iwai pisze:
> > At Mon, 18 Jul 2011 13:15:14 +0200,
> > Julian Sikorski wrote:
> >>
> >> W dniu 18.07.2011 10:52, Takashi Iwai pisze:
> >>> And I can't reproduce your problem with the alsa-info.sh output above.
> >>> Give more exact information what you did and what is the problem.
> >>>
> >>>
> >>> thanks,
> >>>
> >>> Takashi
> >> I'm sorry for the confusion - let me sum up the current situation. With
> >> the fixes you pushed to sound-2.6/master I was able to get 5.1 sound out
> >> of my laptop. The only missing bit was the 7.1 sound. And the last
> >> channel goes via a jack/optical spdif hybrid. The problem is that the
> >> BIOS does not announce that and as such alsa is unaware of the side
> >> surround channel.
> >> Using Raymond's advice, I was able to make the sound come out of the
> >> last jack, by changing some values for pin 0x17 (described as sidesurr
> >> in the datasheet), diff is attached. I basically checked what was the
> >> difference in alsa-info.sh output when I was changing number of channels
> >> with alsamixer, and then did the same for pin 0x17.
> >> Since, from what I understood, you wanted me to figure out which pin is
> >> connected to the last jack [1], I thought this information would be
> >> useful to fix BIOS shortcomings.
> >
> > Yes, and note that you can set up the initial pin configurations
> > dynamically via sysfs, too.
> 
> I tried, but without much success [2] - I came up with 0x01111xxx, but I 
> do not have enough understanding on what to put as the last 3 numbers. 

The last three numbers are pretty important, so check the HD-audio
specification.

> Moreover, I keep getting this upon trying to apply the new pin 
> configuration:
> # echo 0x17 0x011111f0 > user_pin_configs
> # LANG=C pasuspender echo 1 > reconfig
> echo: write error: Device or resource busy

You should log out, go to linux console, and kill all processes
accessing the sound devices, then do reconfig.

> 
> >> Other problem is that the volume on that jack is controlled by center
> >> and lfe sliders (in alsamixer), which is probably caused by the fact
> >> that alsa is unaware of the 7.1 sound.
> >
> > And this is not what I can't reproduce.
> >
> >> If more information is needed, please let me know what do you need in
> >> addition to alsa-info.sh output.
> >
> > First off, double-check whether the CLFE mixer really changes the pin
> > amp.  At best, take alsa-info.sh output snapshot before and after
> > changing the mixer state, and compare the files (better give both
> > files in the mail).
> 
> Here you go. playing.txt is the state when sound comes out of the 
> spdif/side pin, and the center-lfe-half-volume.txt is when the volume is 
> reduced to 50 % afterwards.

Between playing.txt and cneter-lfe-half-volume.txt, I see no change
regarding the pin 0x17.  The only difference is the DAC volume of NID
0x05.  What am I missing?


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-18 12:16                                                                         ` Takashi Iwai
@ 2011-07-18 12:42                                                                           ` Julian Sikorski
  2011-07-18 13:23                                                                             ` Takashi Iwai
  0 siblings, 1 reply; 69+ messages in thread
From: Julian Sikorski @ 2011-07-18 12:42 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 18.07.2011 14:16, Takashi Iwai pisze:
> At Mon, 18 Jul 2011 13:42:50 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 18.07.2011 13:19, Takashi Iwai pisze:
>>> At Mon, 18 Jul 2011 13:15:14 +0200,
>>> Julian Sikorski wrote:
>>>>
>>>> W dniu 18.07.2011 10:52, Takashi Iwai pisze:
>>>>> And I can't reproduce your problem with the alsa-info.sh output above.
>>>>> Give more exact information what you did and what is the problem.
>>>>>
>>>>>
>>>>> thanks,
>>>>>
>>>>> Takashi
>>>> I'm sorry for the confusion - let me sum up the current situation. With
>>>> the fixes you pushed to sound-2.6/master I was able to get 5.1 sound out
>>>> of my laptop. The only missing bit was the 7.1 sound. And the last
>>>> channel goes via a jack/optical spdif hybrid. The problem is that the
>>>> BIOS does not announce that and as such alsa is unaware of the side
>>>> surround channel.
>>>> Using Raymond's advice, I was able to make the sound come out of the
>>>> last jack, by changing some values for pin 0x17 (described as sidesurr
>>>> in the datasheet), diff is attached. I basically checked what was the
>>>> difference in alsa-info.sh output when I was changing number of channels
>>>> with alsamixer, and then did the same for pin 0x17.
>>>> Since, from what I understood, you wanted me to figure out which pin is
>>>> connected to the last jack [1], I thought this information would be
>>>> useful to fix BIOS shortcomings.
>>>
>>> Yes, and note that you can set up the initial pin configurations
>>> dynamically via sysfs, too.
>>
>> I tried, but without much success [2] - I came up with 0x01111xxx, but I
>> do not have enough understanding on what to put as the last 3 numbers.
>
> The last three numbers are pretty important, so check the HD-audio
> specification.

The specification [3] says the last 3 are misc, default association and 
sequence. So what I have now:
- misc: not sure here, since 3 out of 4 bits are reserved. 4th one 
should be 0 though, since the port has jack sensing functionality.
- default association: 3, as the working jacks have that set to 3
- sequence: since the working lfe has it set to 0 (center/lfe) and f 
(surround), I guess any value in between should work.
I am not sure if my reasoning is right though.

>
>> Moreover, I keep getting this upon trying to apply the new pin
>> configuration:
>> # echo 0x17 0x011111f0>  user_pin_configs
>> # LANG=C pasuspender echo 1>  reconfig
>> echo: write error: Device or resource busy
>
> You should log out, go to linux console, and kill all processes
> accessing the sound devices, then do reconfig.

OK, I will try with 0x17 0x111103b or something like that.

>
>>
>>>> Other problem is that the volume on that jack is controlled by center
>>>> and lfe sliders (in alsamixer), which is probably caused by the fact
>>>> that alsa is unaware of the 7.1 sound.
>>>
>>> And this is not what I can't reproduce.
>>>
>>>> If more information is needed, please let me know what do you need in
>>>> addition to alsa-info.sh output.
>>>
>>> First off, double-check whether the CLFE mixer really changes the pin
>>> amp.  At best, take alsa-info.sh output snapshot before and after
>>> changing the mixer state, and compare the files (better give both
>>> files in the mail).
>>
>> Here you go. playing.txt is the state when sound comes out of the
>> spdif/side pin, and the center-lfe-half-volume.txt is when the volume is
>> reduced to 50 % afterwards.
>
> Between playing.txt and cneter-lfe-half-volume.txt, I see no change
> regarding the pin 0x17.  The only difference is the DAC volume of NID
> 0x05.  What am I missing?

Nothing probably. I can only confirm that the volume on the spdif/side 
jack goes down if you move the slider. I will check what does windows do.

> Takashi

Julian

[3] 
http://www.intel.com/standards/hdaudio/pdf/High_Definition_Audio_1_0a.pdf

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-18 12:42                                                                           ` Julian Sikorski
@ 2011-07-18 13:23                                                                             ` Takashi Iwai
  2011-07-18 13:36                                                                               ` Julian Sikorski
  0 siblings, 1 reply; 69+ messages in thread
From: Takashi Iwai @ 2011-07-18 13:23 UTC (permalink / raw)
  To: Julian Sikorski; +Cc: alsa-devel

At Mon, 18 Jul 2011 14:42:55 +0200,
Julian Sikorski wrote:
> 
> >> I tried, but without much success [2] - I came up with 0x01111xxx, but I
> >> do not have enough understanding on what to put as the last 3 numbers.
> >
> > The last three numbers are pretty important, so check the HD-audio
> > specification.
> 
> The specification [3] says the last 3 are misc, default association and 
> sequence. So what I have now:
> - misc: not sure here, since 3 out of 4 bits are reserved. 4th one 
> should be 0 though, since the port has jack sensing functionality.
> - default association: 3, as the working jacks have that set to 3
> - sequence: since the working lfe has it set to 0 (center/lfe) and f 
> (surround), I guess any value in between should work.
> I am not sure if my reasoning is right though.

The sequence number is the point.  The driver assumes that the pins
are ordered as front/CLFE/rear/side.

But, currently the multi-io assignment doesn't check the sequence
number (because that number refers to the sequence of input pins).
The extra channels are assigned in the order of widget NIDs (first
from line-in pins, then mic-in pins).  Its logic assumes that there
are at most two valid input-pins.

That being said, you'd need to modify the driver anyway to make it
working properly as I mentioned early in this thread, if a certain
channel-map is required.


Takashi

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

* Re: model needed for Clevo P150HM (Realtek ALC892)
  2011-07-18 13:23                                                                             ` Takashi Iwai
@ 2011-07-18 13:36                                                                               ` Julian Sikorski
  0 siblings, 0 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-07-18 13:36 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

W dniu 2011-07-18 15:23, Takashi Iwai pisze:
> At Mon, 18 Jul 2011 14:42:55 +0200,
> Julian Sikorski wrote:
>>
>>>> I tried, but without much success [2] - I came up with 0x01111xxx, but I
>>>> do not have enough understanding on what to put as the last 3 numbers.
>>>
>>> The last three numbers are pretty important, so check the HD-audio
>>> specification.
>>
>> The specification [3] says the last 3 are misc, default association and
>> sequence. So what I have now:
>> - misc: not sure here, since 3 out of 4 bits are reserved. 4th one
>> should be 0 though, since the port has jack sensing functionality.
>> - default association: 3, as the working jacks have that set to 3
>> - sequence: since the working lfe has it set to 0 (center/lfe) and f
>> (surround), I guess any value in between should work.
>> I am not sure if my reasoning is right though.
>
> The sequence number is the point.  The driver assumes that the pins
> are ordered as front/CLFE/rear/side.
>
> But, currently the multi-io assignment doesn't check the sequence
> number (because that number refers to the sequence of input pins).
> The extra channels are assigned in the order of widget NIDs (first
> from line-in pins, then mic-in pins).  Its logic assumes that there
> are at most two valid input-pins.
>
> That being said, you'd need to modify the driver anyway to make it
> working properly as I mentioned early in this thread, if a certain
> channel-map is required.
>
>
> Takashi
I see. I am afraid there is not much more I can do then - I am a 
biologist and writing driver code is far beyond my IT skills.
In the meantime, I was able to run reconfig in runlevel 3, but assigning 
  neither 0x0111103e nor 0x011111f0 to 0x17 produced any changes in 
alsamixer output (which is expected in the light of what you wrote about 
modifying the driver).
When it comes to volume control issue, under windows it is possible to 
control center, lfe and side channels separately.


Julian

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

* model needed for Clevo P150HM (Realtek ALC892)
@ 2011-06-23  6:40 Julian Sikorski
  0 siblings, 0 replies; 69+ messages in thread
From: Julian Sikorski @ 2011-06-23  6:40 UTC (permalink / raw)
  To: alsa-devel

Hi,

I am coming here from pulseaudio-general mailing list [1]. I recently
got myself a Clevo P150HM laptop. It has 2.1 speakers, a built-in
microphone and the following connectors:
- headphone out
- microphone in; can be switched to center/lfe out
- spdif out; can be switched to rear speaker out
- line in; can be switched to side speaker out
Alsa does not seem to reflect that the device is capable of 5.1 and 7.1
sound, and there are two configs showing up in pavucontrol (analog
output and analog headphones) which seem to be the same. I have uploaded
the output of alsa-info.sh [2]. Please let me know if more information
is needed.

Regards,
Julian

[1] http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/10096
[2]
http://www.alsa-project.org/db/?f=7c91e874f4272387c2c51e448337567202c0edfe

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

end of thread, other threads:[~2011-07-18 13:36 UTC | newest]

Thread overview: 69+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-23  6:36 model needed for Clevo P150HM (Realtek ALC892) Julian Sikorski
2011-06-23 12:41 ` Takashi Iwai
2011-06-23 16:40   ` Julian Sikorski
2011-06-24  8:34     ` Takashi Iwai
2011-06-24  9:12       ` Takashi Iwai
2011-06-24 11:25         ` Julian Sikorski
2011-06-25  7:11           ` Takashi Iwai
2011-06-25  9:22             ` Julian Sikorski
2011-06-25 11:08             ` Julian Sikorski
2011-06-25 11:31               ` Julian Sikorski
2011-06-25 12:01                 ` Julian Sikorski
2011-06-27  6:04                   ` Takashi Iwai
2011-06-27  6:21                     ` Julian Sikorski
2011-06-27  9:19                       ` Takashi Iwai
2011-06-27 12:32                         ` Takashi Iwai
2011-06-27 12:42                           ` Julian Sikorski
2011-06-27 12:46                             ` Takashi Iwai
2011-06-27 12:55                               ` Julian Sikorski
2011-06-27 16:12                                 ` Takashi Iwai
2011-06-27 20:08                           ` Julian Sikorski
2011-06-28  7:12                             ` Takashi Iwai
2011-06-28  8:03                               ` Julian Sikorski
2011-06-28  9:05                                 ` Takashi Iwai
2011-06-28 10:36                                   ` Julian Sikorski
2011-06-28 12:40                                     ` Takashi Iwai
2011-06-29 17:36                               ` Julian Sikorski
2011-06-29 18:16                                 ` Julian Sikorski
2011-06-29 19:29                                   ` Julian Sikorski
2011-06-30  5:26                                     ` Takashi Iwai
2011-06-30  6:33                                       ` Julian Sikorski
     [not found]                                       ` <4E0C17F2.5070704@gmail.com>
2011-06-30  6:54                                         ` Takashi Iwai
2011-06-30 17:00                                           ` Julian Sikorski
2011-06-30 17:41                                             ` Takashi Iwai
2011-06-30 18:09                                               ` Julian Sikorski
2011-06-30 19:28                                                 ` Takashi Iwai
2011-06-30 20:16                                                   ` Julian Sikorski
2011-07-01  5:21                                                     ` Takashi Iwai
2011-07-01  6:14                                                       ` Julian Sikorski
2011-07-01  6:24                                                         ` Takashi Iwai
2011-07-01  6:27                                                           ` Julian Sikorski
2011-07-01  7:07                                                             ` Julian Sikorski
2011-07-01  7:14                                                               ` Takashi Iwai
2011-07-01 11:18                                                                 ` Julian Sikorski
2011-07-01 22:09                                                                 ` Julian Sikorski
2011-07-01 22:37                                                                   ` Julian Sikorski
2011-07-04 20:47                                                                     ` Julian Sikorski
2011-07-05  8:16                                                           ` Julian Sikorski
2011-07-01  7:32                                                       ` Takashi Iwai
2011-07-01 18:57                                                         ` Julian Sikorski
2011-07-01 19:25                                                           ` Takashi Iwai
2011-07-01 19:35                                                             ` Julian Sikorski
2011-07-03 11:22                                                       ` Julian Sikorski
2011-07-04 22:50                                                       ` Julian Sikorski
2011-07-05  1:31                                                         ` Raymond Yau
2011-07-05  7:45                                                           ` Julian Sikorski
2011-07-17 11:55                                                           ` Julian Sikorski
2011-07-17 12:17                                                             ` Julian Sikorski
2011-07-18  7:35                                                               ` Takashi Iwai
2011-07-18  8:52                                                                 ` Takashi Iwai
2011-07-18 11:15                                                                   ` Julian Sikorski
2011-07-18 11:18                                                                     ` Julian Sikorski
2011-07-18 11:19                                                                     ` Takashi Iwai
2011-07-18 11:42                                                                       ` Julian Sikorski
2011-07-18 12:16                                                                         ` Takashi Iwai
2011-07-18 12:42                                                                           ` Julian Sikorski
2011-07-18 13:23                                                                             ` Takashi Iwai
2011-07-18 13:36                                                                               ` Julian Sikorski
2011-07-05  5:32                                                         ` Takashi Iwai
2011-06-23  6:40 Julian Sikorski

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.