All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A
  2011-11-21 19:27 Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A Dmitry Nezhevenko
@ 2011-11-21 17:47 ` Takashi Iwai
  2011-11-21 18:38   ` Dmitry Nezhevenko
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2011-11-21 17:47 UTC (permalink / raw)
  To: Dmitry Nezhevenko; +Cc: alsa-devel

At Mon, 21 Nov 2011 21:27:13 +0200,
Dmitry Nezhevenko wrote:
> 
> Hi,
> 
> I've found that internal doesn't work on kernel 3.1 while previous verison
> (3.0) is ok.

This should have been already fixed in 3.1.1 kernel.  Give it a try.


Takashi

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

* Re: Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A
  2011-11-21 17:47 ` Takashi Iwai
@ 2011-11-21 18:38   ` Dmitry Nezhevenko
  2011-11-22  7:02     ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Nezhevenko @ 2011-11-21 18:38 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Mon, Nov 21, 2011 at 06:47:29PM +0100, Takashi Iwai wrote:
> At Mon, 21 Nov 2011 21:27:13 +0200,
> Dmitry Nezhevenko wrote:
> > 
> > Hi,
> > 
> > I've found that internal doesn't work on kernel 3.1 while previous verison
> > (3.0) is ok.
> 
> This should have been already fixed in 3.1.1 kernel.  Give it a try.

Sorry. I've not mentioned it before. I'm on 3.1.1 now and still no luck.
arecord just get silence and VU-meter display nothing.

Regards.

-- 
WBR, Dmitry

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

* Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A
@ 2011-11-21 19:27 Dmitry Nezhevenko
  2011-11-21 17:47 ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Nezhevenko @ 2011-11-21 19:27 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai

Hi,

I've found that internal doesn't work on kernel 3.1 while previous verison
(3.0) is ok.

I've bisected it between v3.0 and v3.1 using "arecord -V mono" command. It
wasn't easy because of NULL pointer dereference in patch_realtek.c that
was fixed by 60a6a8425a84fa46a3831ce79197640b8224311b.

So during bisect I was applying applicable part of 60a6a84 for every
attempt.

Finally I've found that commit d6cc9fabd58f33e829a3182aa856db0d57c726ef
breaks it. It's parent works well and just applying it on top breaks
internal mic on my laptop.

Unfortunately it's impossible to revert it on top of 3.1..

Alsa-info:
3.1 [working]: http://www.alsa-project.org/db/?f=0d7049d8892542ef89b7a3c40df2b1fd6b194282
3.0 [broken ]: http://www.alsa-project.org/db/?f=4792cc6c466c1dd5d01e2a80df1189ea5e34b83e_

Any ideas how to fix it?

commit d6cc9fabd58f33e829a3182aa856db0d57c726ef
Author: Takashi Iwai <tiwai @ suse.de>
Date:   Wed Jul 6 16:38:42 2011 +0200

    ALSA: hda - Parse ADCs and CAPSRCs dynamically for Realtek auto-parser

    Now with the new code for looking for ADCs and MUXs, we can replace
    the whole ADC assignment with the parsed results.

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

--
WBR, Dmitry

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

* Re: Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A
  2011-11-21 18:38   ` Dmitry Nezhevenko
@ 2011-11-22  7:02     ` Takashi Iwai
  2011-11-22  7:09       ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2011-11-22  7:02 UTC (permalink / raw)
  To: Dmitry Nezhevenko; +Cc: alsa-devel

At Mon, 21 Nov 2011 20:38:16 +0200,
Dmitry Nezhevenko wrote:
> 
> On Mon, Nov 21, 2011 at 06:47:29PM +0100, Takashi Iwai wrote:
> > At Mon, 21 Nov 2011 21:27:13 +0200,
> > Dmitry Nezhevenko wrote:
> > > 
> > > Hi,
> > > 
> > > I've found that internal doesn't work on kernel 3.1 while previous verison
> > > (3.0) is ok.
> > 
> > This should have been already fixed in 3.1.1 kernel.  Give it a try.
> 
> Sorry. I've not mentioned it before. I'm on 3.1.1 now and still no luck.
> arecord just get silence and VU-meter display nothing.

OK, then pass model=auto option to snd-hda-intel module (and adjust
the mixer elements appropriately after that).  It seems that the
static model config  got broken, and it's no longer needed.
In 3.2 tree, these static setups have been already removed.


thanks,

Takashi

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

* Re: Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A
  2011-11-22  7:02     ` Takashi Iwai
@ 2011-11-22  7:09       ` Takashi Iwai
  2011-11-22 13:27         ` Dmitry Nezhevenko
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2011-11-22  7:09 UTC (permalink / raw)
  To: Dmitry Nezhevenko; +Cc: alsa-devel

At Tue, 22 Nov 2011 08:02:44 +0100,
Takashi Iwai wrote:
> 
> At Mon, 21 Nov 2011 20:38:16 +0200,
> Dmitry Nezhevenko wrote:
> > 
> > On Mon, Nov 21, 2011 at 06:47:29PM +0100, Takashi Iwai wrote:
> > > At Mon, 21 Nov 2011 21:27:13 +0200,
> > > Dmitry Nezhevenko wrote:
> > > > 
> > > > Hi,
> > > > 
> > > > I've found that internal doesn't work on kernel 3.1 while previous verison
> > > > (3.0) is ok.
> > > 
> > > This should have been already fixed in 3.1.1 kernel.  Give it a try.
> > 
> > Sorry. I've not mentioned it before. I'm on 3.1.1 now and still no luck.
> > arecord just get silence and VU-meter display nothing.
> 
> OK, then pass model=auto option to snd-hda-intel module (and adjust
> the mixer elements appropriately after that).  It seems that the
> static model config  got broken, and it's no longer needed.
> In 3.2 tree, these static setups have been already removed.

Alternatively, try the patch below.  This will fix just the capture
bug but anything else is untouched.  If it's confirmed to work, I'll
send it to stable kernel separately since this can't be applied to the
upstream tree any longer.


thanks,

Takashi

---
diff --git a/sound/pci/hda/alc662_quirks.c b/sound/pci/hda/alc662_quirks.c
index e69a6ea..e5ea997 100644
--- a/sound/pci/hda/alc662_quirks.c
+++ b/sound/pci/hda/alc662_quirks.c
@@ -1230,7 +1230,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE1] = {
 		.mixers = { alc663_m51va_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_21jd_amic_init_verbs },
@@ -1246,7 +1245,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC662_ASUS_MODE2] = {
 		.mixers = { alc662_1bjd_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc662_1bjd_amic_init_verbs },
@@ -1261,7 +1259,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE3] = {
 		.mixers = { alc663_two_hp_m1_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_two_hp_amic_m1_init_verbs },
@@ -1277,7 +1274,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE4] = {
 		.mixers = { alc663_asus_21jd_clfe_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_21jd_amic_init_verbs},
@@ -1293,7 +1289,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE5] = {
 		.mixers = { alc663_asus_15jd_clfe_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_15jd_amic_init_verbs },
@@ -1309,7 +1304,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE6] = {
 		.mixers = { alc663_two_hp_m2_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_two_hp_amic_m2_init_verbs },
@@ -1325,7 +1319,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE7] = {
 		.mixers = { alc663_mode7_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_mode7_init_verbs },
@@ -1341,7 +1334,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE8] = {
 		.mixers = { alc663_mode8_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_mode8_init_verbs },

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

* Re: Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A
  2011-11-22  7:09       ` Takashi Iwai
@ 2011-11-22 13:27         ` Dmitry Nezhevenko
  2011-11-22 13:29           ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Nezhevenko @ 2011-11-22 13:27 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Tue, Nov 22, 2011 at 08:09:24AM +0100, Takashi Iwai wrote:
> > OK, then pass model=auto option to snd-hda-intel module (and adjust
> > the mixer elements appropriately after that).  It seems that the
> > static model config  got broken, and it's no longer needed.
> > In 3.2 tree, these static setups have been already removed.

This way works great on 3.1. Thanks.
 
> Alternatively, try the patch below.  This will fix just the capture
> bug but anything else is untouched.  If it's confirmed to work, I'll
> send it to stable kernel separately since this can't be applied to the
> upstream tree any longer.

It doesn't work. Still produces noise but a bit louder.

-- 
WBR, Dmitry

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

* Re: Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A
  2011-11-22 13:27         ` Dmitry Nezhevenko
@ 2011-11-22 13:29           ` Takashi Iwai
  2011-11-22 14:27             ` Dmitry Nezhevenko
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2011-11-22 13:29 UTC (permalink / raw)
  To: Dmitry Nezhevenko; +Cc: alsa-devel

At Tue, 22 Nov 2011 15:27:43 +0200,
Dmitry Nezhevenko wrote:
> 
> On Tue, Nov 22, 2011 at 08:09:24AM +0100, Takashi Iwai wrote:
> > > OK, then pass model=auto option to snd-hda-intel module (and adjust
> > > the mixer elements appropriately after that).  It seems that the
> > > static model config  got broken, and it's no longer needed.
> > > In 3.2 tree, these static setups have been already removed.
> 
> This way works great on 3.1. Thanks.
>  
> > Alternatively, try the patch below.  This will fix just the capture
> > bug but anything else is untouched.  If it's confirmed to work, I'll
> > send it to stable kernel separately since this can't be applied to the
> > upstream tree any longer.
> 
> It doesn't work. Still produces noise but a bit louder.

Then please give alsa-info.sh output with the patch (better run with
--no-upload option and attach the output).


thanks,

Takashi

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

* Re: Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A
  2011-11-22 13:29           ` Takashi Iwai
@ 2011-11-22 14:27             ` Dmitry Nezhevenko
  2011-11-22 17:29               ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Nezhevenko @ 2011-11-22 14:27 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

On Tue, Nov 22, 2011 at 02:29:39PM +0100, Takashi Iwai wrote:
> 
> Then please give alsa-info.sh output with the patch (better run with
> --no-upload option and attach the output).

Attaching it (snd_hda_intel was loaded without any parameters)

-- 
WBR, Dmitry

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

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

!!Script ran on: Tue Nov 22 14:23:58 UTC 2011


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

Debian GNU/Linux wheezy/sid \n \l


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

Manufacturer:      ASUSTeK Computer Inc.        
Product Name:      F6A                 
Product Version:   1.0       


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

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


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

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


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

snd_hda_intel


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

No sound servers found.


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfdef4000 irq 46


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

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)


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

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 1043:19c3


!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-pcsp: index=-2
snd-usb-audio: index=-2


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

!!Module: snd_hda_intel
	bdl_pos_adj : 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
	beep_mode : 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
	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 : 1
	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 ALC662 rev1
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0662
Subsystem Id: 0x104319c3
Revision Id: 0x100101
No Modem Function Group found
Default PCM:
    rates [0x160]: 44100 48000 96000
    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 0x1d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC662 rev1 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: 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 [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x1d: 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 [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: 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="ALC662 rev1 Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC662 rev1 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x1f 0x1f]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Device: name="ALC662 rev1 Analog", type="Audio", device=2
  Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
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="F-Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="F-Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x99 0x99] [0x9c 0x9c] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16
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] [0x00 0x00]
  Connection: 2
     0x04 0x0b
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: 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 0x0001003c: IN OUT HP EAPD Detect
  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
  Connection: 1
     0x0c
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010034: IN OUT EAPD Detect
  EAPD 0x2: EAPD
  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
  Connection: 1
     0x0d
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000034: IN OUT 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
  Connection: 1
     0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40018f: 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 0x00001734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x01a19830: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x0e
Node 0x19 [Pin Complex] wcaps 0x40018f: 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 0x0000173c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x99a3093f: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0xf
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c* 0x0e
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000034: IN OUT 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
  Connection: 1
     0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: 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 0x0000173c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x0121401f: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Connection: 2
     0x0c* 0x0e
Node 0x1c [Pin Complex] wcaps 0x400001: 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: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: 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
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
  Pincap 0x00000010: OUT
  Pin Default 0x99430120: [Fixed] SPDIF Out at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=12
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  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]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
Node 0x23 [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] [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 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono
Codec: LSI ID 1040
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x11c11040
Subsystem Id: 0x10431636
Revision Id: 0x100200
Modem Function Group: 0x1
Codec: Intel Cantiga HDMI
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862802
Subsystem Id: 0x80860101
Revision Id: 0x100000
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 0x02 [Audio Output] wcaps 0x6211: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
Node 0x03 [Pin Complex] wcaps 0x40739d: 8-Channels Digital Amp-Out 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
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=03, enabled=1
  Connection: 1
     0x02
--endcollapse--


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

crw-rw---T+ 1 root audio 116, 10 Nov 22 16:21 /dev/snd/controlC0
crw-rw---T+ 1 root audio 116,  9 Nov 22 16:21 /dev/snd/hwC0D0
crw-rw---T+ 1 root audio 116,  8 Nov 22 16:21 /dev/snd/hwC0D1
crw-rw---T+ 1 root audio 116,  7 Nov 22 16:21 /dev/snd/hwC0D2
crw-rw---T+ 1 root audio 116,  6 Nov 22 16:22 /dev/snd/pcmC0D0c
crw-rw---T+ 1 root audio 116,  5 Nov 22 16:21 /dev/snd/pcmC0D0p
crw-rw---T+ 1 root audio 116,  4 Nov 22 16:21 /dev/snd/pcmC0D1p
crw-rw---T+ 1 root audio 116,  3 Nov 22 16:21 /dev/snd/pcmC0D2c
crw-rw---T+ 1 root audio 116,  2 Nov 22 16:21 /dev/snd/pcmC0D3p
crw-rw---T+ 1 root audio 116, 33 Nov 22 16:21 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Nov 22 16:21 .
drwxr-xr-x 3 root root 260 Nov 22 16:21 ..
lrwxrwxrwx 1 root root  12 Nov 22 16:21 pci-0000:00:1b.0 -> ../controlC0


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

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

pcm.record {
	type hw
	card 0
	device 2
}


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xfdef4000 irq 46'
  Mixer name	: 'Intel Cantiga HDMI'
  Components	: 'HDA:10ec0662,104319c3,00100101 HDA:11c11040,10431636,00100200 HDA:80862802,80860101,00100000'
  Controls      : 24
  Simple ctrls  : 12
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: pswitch penum
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [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 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 25 [81%] [3.00dB] [off]
  Front Right: Playback 25 [81%] [3.00dB] [off]
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 'IEC958',1
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',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 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 31 [100%] [33.00dB] [on]
  Front Right: Capture 31 [100%] [33.00dB] [on]
Simple mixer control 'Digital',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 78 [65%] [9.00dB]
  Front Right: Capture 78 [65%] [9.00dB]
Simple mixer control 'F-Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 28 [90%] [7.50dB] [off]
  Front Right: Playback 28 [90%] [7.50dB] [off]


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

--startcollapse--
state.Intel {
	control.1 {
		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.2 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	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 'Mic Playback Volume'
		value.0 25
		value.1 25
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 300
			dbvalue.1 300
		}
	}
	control.5 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.6 {
		iface MIXER
		name 'F-Mic Playback Volume'
		value.0 28
		value.1 28
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 750
			dbvalue.1 750
		}
	}
	control.7 {
		iface MIXER
		name 'F-Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.8 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.9 {
		iface MIXER
		name 'Capture Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -1350
			dbmax 3300
			dbvalue.0 3300
			dbvalue.1 3300
		}
	}
	control.10 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.12 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.13 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'Beep 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 'Beep Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.17 {
		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.18 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.19 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.20 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.21 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.22 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.23 {
		iface MIXER
		name 'Digital Capture Volume'
		value.0 78
		value.1 78
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 120'
			tlv '0000000100000008fffff44800000032'
			dbmin -3000
			dbmax 3000
			dbvalue.0 900
			dbvalue.1 900
		}
	}
	control.24 {
		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
		}
	}
}
--endcollapse--


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

Module
i915
drm_kms_helper
drm
snd_hda_codec_hdmi
snd_hda_codec_realtek
snd_hda_intel
snd_hda_codec
asus_laptop
i2c_algo_bit
i2c_core
sparse_keymap
evdev
psmouse
snd_hwdep
snd_pcm
snd_timer
snd
soundcore
video
snd_page_alloc
rfkill
processor
button
sha256_generic
aes_x86_64
aes_generic
cbc
dm_crypt
dm_mod
ohci_hcd
ata_piix
scsi_tgt
reiserfs
lzo
ext3
jbd
mbcache
sd_mod
crc_t10dif
usb_storage
uhci_hcd
ahci
libahci
libata
thermal
thermal_sys
ehci_hcd
scsi_mod
usbcore
r8169
mii


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x14 0x99130110
0x15 0x411111f0
0x16 0x411111f0
0x18 0x01a19830
0x19 0x99a3093f
0x1a 0x411111f0
0x1b 0x0121401f
0x1c 0x411111f0
0x1d 0x598301f0
0x1e 0x99430120

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D1/init_pin_configs:

/sys/class/sound/hwC0D1/driver_pin_configs:

/sys/class/sound/hwC0D1/user_pin_configs:

/sys/class/sound/hwC0D1/init_verbs:

/sys/class/sound/hwC0D2/init_pin_configs:
0x03 0x18560010

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:


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

[   10.205564] input: Asus Laptop extra buttons as /devices/platform/asus_laptop/input/input4
[   10.366792] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   10.366958] snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-X
[   10.366995] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[   10.570644] hda_codec: ALC662 rev1: SKU not ready 0x598301f0
[   10.571603] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input5
[   10.611978] HDMI status: Codec=2 Pin=3 Presence_Detect=0 ELD_Valid=0
[   10.614984] input: HDA Intel HDMI/DP as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[   10.615162] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[   10.615341] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[   10.653603] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x1a0b1, caps: 0xa04711/0x200000/0x0



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



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

* Re: Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A
  2011-11-22 14:27             ` Dmitry Nezhevenko
@ 2011-11-22 17:29               ` Takashi Iwai
  2011-11-23 11:36                 ` Dmitry Nezhevenko
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2011-11-22 17:29 UTC (permalink / raw)
  To: Dmitry Nezhevenko; +Cc: alsa-devel

At Tue, 22 Nov 2011 16:27:37 +0200,
Dmitry Nezhevenko wrote:
> 
> On Tue, Nov 22, 2011 at 02:29:39PM +0100, Takashi Iwai wrote:
> > 
> > Then please give alsa-info.sh output with the patch (better run with
> > --no-upload option and attach the output).
> 
> Attaching it (snd_hda_intel was loaded without any parameters)

Thanks.  I found another bug that happens almost only with static
configs.  Try the patch below in addition to the previous one.


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 14feecf..6ab92fe 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1071,8 +1071,20 @@ static bool alc_rebuild_imux_for_auto_mic(struct hda_codec *codec)
 	spec->imux_pins[2] = spec->dock_mic_pin;
 	for (i = 0; i < 3; i++) {
 		strcpy(imux->items[i].label, texts[i]);
-		if (spec->imux_pins[i])
+		if (spec->imux_pins[i]) {
+			hda_nid_t pin = spec->imux_pins[i];
+			int c;
+			for (c = 0; c < spec->num_adc_nids; c++) {
+				hda_nid_t cap = spec->capsrc_nids ?
+				spec->capsrc_nids[c] : spec->adc_nids[c];
+				int idx = get_connection_index(codec, cap, pin);
+				if (idx >= 0) {
+					imux->items[i].index = idx;
+					break;
+				}
+			}
 			imux->num_items = i + 1;
+		}
 	}
 	spec->num_mux_defs = 1;
 	spec->input_mux = imux;

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

* Re: Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A
  2011-11-22 17:29               ` Takashi Iwai
@ 2011-11-23 11:36                 ` Dmitry Nezhevenko
  0 siblings, 0 replies; 10+ messages in thread
From: Dmitry Nezhevenko @ 2011-11-23 11:36 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Tue, Nov 22, 2011 at 06:29:35PM +0100, Takashi Iwai wrote:
> > Attaching it (snd_hda_intel was loaded without any parameters)
> 
> Thanks.  I found another bug that happens almost only with static
> configs.  Try the patch below in addition to the previous one.
> 

It looks like now I'm more lucky. Two patches fixes my issue without
model=auto.

Thanks a lot!.
-- 
WBR, Dmitry

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

end of thread, other threads:[~2011-11-23 11:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21 19:27 Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A Dmitry Nezhevenko
2011-11-21 17:47 ` Takashi Iwai
2011-11-21 18:38   ` Dmitry Nezhevenko
2011-11-22  7:02     ` Takashi Iwai
2011-11-22  7:09       ` Takashi Iwai
2011-11-22 13:27         ` Dmitry Nezhevenko
2011-11-22 13:29           ` Takashi Iwai
2011-11-22 14:27             ` Dmitry Nezhevenko
2011-11-22 17:29               ` Takashi Iwai
2011-11-23 11:36                 ` Dmitry Nezhevenko

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.