All of lore.kernel.org
 help / color / mirror / Atom feed
* HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
@ 2009-11-11 15:22 Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-11 17:28 ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-11 17:35 ` Takashi Iwai
  0 siblings, 2 replies; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-11 15:22 UTC (permalink / raw)
  To: alsa-devel

On Wed, Jul 29, 2009 at 8:55 AM, Takashi Iwai<tiwai at suse.de> wrote:
> At Tue, 28 Jul 2009 20:07:29 +0200,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>
>> On Mon, Jul 27, 2009 at 3:15 PM, Takashi Iwai <tiwai at suse.de> wrote:
>>
>>     At Sat, 25 Jul 2009 21:44:46 +0200,
>>     Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>     >
>>     > I still got no solution for this problem,
>>
>>     Which problem?
>>     It'd be helpful if you give a problem summary and what you've done
>>     until now (and don't do top-posting)...
>>
>>     thanks,
>>
>>     Takashi
>>
>> Hi Takashi,
>>
>> I'm sorry I didn't notice that the problem wasn't quoted in my last message,
>> anyway the whole topic is included in the forwarded message below, I tried
>> using hda-verb and hda-analyzer, like you suggested in one of your emails, but
>> since I don't even know what I'm looking for nor what to try, I did not got
>> too far!
>>
>> What else do you suggest? Are you aware of anyone having a similar issue I can
>> query to help me figure it out ?
>
> First off, try the very latest alsa-driver snapshot.
>  ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>
> The problem is that BIOS sets only one stereo speaker in the pin
> configuration, so the driver cannot know what to do with another
> speaker.  In short, it's a BIOS bug.
>
> To overcome that, you need to figure out which pin corresponds to the
> speaker.  The rest available (analog) output pins are 0x0f and 0x14.
> Set these as output pins, and connect to DAC.  For example,
>
>        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
>        # hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0
>
> which enables the output of the pin 0x0f, then connects to the first
> DAC (= 0x10).  Similarly,
>
>        # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40
>        # hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0
>
> which enables the output of the pin 0x14, then changes the connection
> of its mux (0x15) to the first DAC (0x10).
>
> If these don't help, it's possible that some GPIO bits play any role.
> Play with GPIO bits, which can be also changed via hda-verb.
>
>
> Takashi
>

Hey Takashi,

I tried what you have suggested above, and I also tried to upgrade the
BIOS (it's F.2C now) but I still have the same problem with my sound,
here's an updated alsa-info output

http://www.alsa-project.org/db/?f=2cdfc5aa67bc0baf98d38c13806739afb6f5163f

I also tried to play a bit with GPIO bits but I don't know much about
that topic either, I tried

hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x0f
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0f

and

hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x0f
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0f

But that did not affect anything, the output is only from one speaker
(left one), what do you suggest?

Thanks

--
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
  would never make a good program. (L. Torvalds 1995) :.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-11 15:22 HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-11 17:28 ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-11 17:35 ` Takashi Iwai
  1 sibling, 0 replies; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-11 17:28 UTC (permalink / raw)
  To: alsa-devel

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

On Wed, Nov 11, 2009 at 16:22, Wael Nasreddine (a.k.a eMxyzptlk)
<mla@nasreddine.com> wrote:
> On Wed, Jul 29, 2009 at 8:55 AM, Takashi Iwai<tiwai at suse.de> wrote:
>> At Tue, 28 Jul 2009 20:07:29 +0200,
>> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>>
>>> On Mon, Jul 27, 2009 at 3:15 PM, Takashi Iwai <tiwai at suse.de> wrote:
>>>
>>>     At Sat, 25 Jul 2009 21:44:46 +0200,
>>>     Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>>     >
>>>     > I still got no solution for this problem,
>>>
>>>     Which problem?
>>>     It'd be helpful if you give a problem summary and what you've done
>>>     until now (and don't do top-posting)...
>>>
>>>     thanks,
>>>
>>>     Takashi
>>>
>>> Hi Takashi,
>>>
>>> I'm sorry I didn't notice that the problem wasn't quoted in my last message,
>>> anyway the whole topic is included in the forwarded message below, I tried
>>> using hda-verb and hda-analyzer, like you suggested in one of your emails, but
>>> since I don't even know what I'm looking for nor what to try, I did not got
>>> too far!
>>>
>>> What else do you suggest? Are you aware of anyone having a similar issue I can
>>> query to help me figure it out ?
>>
>> First off, try the very latest alsa-driver snapshot.
>>  ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>>
>> The problem is that BIOS sets only one stereo speaker in the pin
>> configuration, so the driver cannot know what to do with another
>> speaker.  In short, it's a BIOS bug.
>>
>> To overcome that, you need to figure out which pin corresponds to the
>> speaker.  The rest available (analog) output pins are 0x0f and 0x14.
>> Set these as output pins, and connect to DAC.  For example,
>>
>>        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
>>        # hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0
>>
>> which enables the output of the pin 0x0f, then connects to the first
>> DAC (= 0x10).  Similarly,
>>
>>        # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40
>>        # hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0
>>
>> which enables the output of the pin 0x14, then changes the connection
>> of its mux (0x15) to the first DAC (0x10).
>>
>> If these don't help, it's possible that some GPIO bits play any role.
>> Play with GPIO bits, which can be also changed via hda-verb.
>>
>>
>> Takashi
>>
>
> Hey Takashi,
>
> I tried what you have suggested above, and I also tried to upgrade the
> BIOS (it's F.2C now) but I still have the same problem with my sound,
> here's an updated alsa-info output
>
> http://www.alsa-project.org/db/?f=2cdfc5aa67bc0baf98d38c13806739afb6f5163f
>
> I also tried to play a bit with GPIO bits but I don't know much about
> that topic either, I tried
>
> hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x0f
> hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0f
>
> and
>
> hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x0f
> hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0f
>
> But that did not affect anything, the output is only from one speaker
> (left one), what do you suggest?
>
> Thanks
>
> --
> Wael Nasreddine
>
> Weem Chief-Development Officer - http://www.weem.com
>
> Blog    : http://wael.nasreddine.com
> E-mail  : wael.nasreddine@weem.com
> gTalk   : wael.nasreddine@gmail.com
> Tel     : +33.6.32.94.70.13
> Skype   : eMxyzptlk
> Twitter : @eMxyzptlk
>
> PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2
>
> .: An infinite number of monkeys typing into GNU emacs,
>   would never make a good program. (L. Torvalds 1995) :.
>

Someone else has the same PC as mine (HP DV7-1299EF) and it happens
that we are running the exact OS and the exact kernel version, I asked
him to send me the alsa-info (attached in this mail), The difference I
noticed:

Mine:
 0 [Intel          ]: HDA-Intel - HDA Intel
                     HDA Intel at 0xdf000000 irq 33

His:
0 [Intel          ]: HDA-Intel - HDA Intel
                     HDA Intel at 0xdf000000 irq 34

In the codec section:
Mine:
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
 Pincap 0x0000001c: OUT HP Detect
 Pin Default 0x0221401f: [Jack] HP Out at Ext Front
   Conn = 1/8, Color = Green
   DefAssociation = 0x1, Sequence = 0xf
 Pin-ctls: 0xc0: OUT HP
 Unsolicited: tag=01, enabled=1
 Connection: 3
    0x10 0x11* 0x17
Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
 Amp-Out caps: N/A
 Amp-Out vals:  [0x63 0x63]
 Converter: stream=5, channel=0
 Power: setting=D0, actual=D0
 Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
 Amp-Out caps: N/A
 Amp-Out vals:  [0x63 0x63]
 Converter: stream=5, channel=0
 Power: setting=D0, actual=D0
 Delay: 13 samples
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
 Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x09 0x09]
 Connection: 4
    0x1a* 0x17 0x18 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
 Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x89 0x89]
 Connection: 4
    0x1b* 0x17 0x18 0x19
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
 Converter: stream=5, channel=0
 Digital: Enabled
 Digital category: 0x0
 PCM:
   rates [0x7e0]: 44100 48000 88200 96000 176400 192000
   bits [0xe]: 16 20 24
   formats [0x5]: PCM AC3
 Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
 Converter: stream=5, channel=0
 Digital: Enabled
 Digital category: 0x0
 PCM:
   rates [0x7e0]: 44100 48000 88200 96000 176400 192000
   bits [0xe]: 16 20 24
   formats [0x5]: PCM AC3
 Delay: 4 samples
Node 0x04 [Audio Output] wcaps 0x211: Stereo Digital
 Converter: stream=0, channel=0
 Digital: Enabled
 Digital category: 0x0
 PCM:
   rates [0xc0]: 48000 88200
   bits [0xf]: 8 16 20 24
   formats [0x1]: PCM


His:
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
 Pincap 0x0000001c: OUT HP Detect
 Pin Default 0x0221401f: [Jack] HP Out at Ext Front
   Conn = 1/8, Color = Green
   DefAssociation = 0x1, Sequence = 0xf
 Pin-ctls: 0x00:
 Unsolicited: tag=01, enabled=1
 Connection: 3
    0x10 0x11* 0x17
Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
 Amp-Out caps: N/A
 Amp-Out vals:  [0x5f 0x5f]
 Converter: stream=0, channel=0
 Power: setting=D0, actual=D0
 Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
 Amp-Out caps: N/A
 Amp-Out vals:  [0x5f 0x5f]
 Converter: stream=0, channel=0
 Power: setting=D0, actual=D0
 Delay: 13 samples
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
 Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x8a 0x8a]
 Connection: 4
    0x1a 0x17 0x18* 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
 Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x80 0x80]
 Connection: 4
    0x1b 0x17 0x18* 0x19
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
 Converter: stream=0, channel=0
 Digital:
 Digital category: 0x0
 PCM:
   rates [0x7e0]: 44100 48000 88200 96000 176400 192000
   bits [0xe]: 16 20 24
   formats [0x5]: PCM AC3
 Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
 Converter: stream=0, channel=0
 Digital:
 Digital category: 0x0
 PCM:
   rates [0x7e0]: 44100 48000 88200 96000 176400 192000
   bits [0xe]: 16 20 24
   formats [0x5]: PCM AC3
 Delay: 4 samples
Node 0x04 [Audio Output] wcaps 0x211: Stereo Digital
 Converter: stream=0, channel=0
 Digital:
 Digital category: 0x0
 PCM:
   rates [0xc0]: 48000 88200
   bits [0xf]: 8 16 20 24
   formats [0x1]: PCM


The full diff between both info files can be viewed here
http://pastebin.com/f314869e


Hopefully someone have an insight on what's going on...

-- 
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.

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

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

!!Script ran on: Wed Nov 11 16:18:26 UTC 2009


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

Arch Linux \r (\n) (\l)


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

Manufacturer:      Hewlett-Packard
Product Name:      HP Pavilion dv7 Notebook PC


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

Kernel release:    2.6.31-ARCH
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
SMP Enabled:       Yes


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

Driver version:     1.0.20
Library version:    1.0.21a
Utilities version:  1.0.21


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

snd_hda_intel


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

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No

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


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdf000000 irq 34


!!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/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 103c:30f4


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

snd-hda-intel: enable_msi=1


!!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
	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>
	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 : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	single_cmd : N


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

Codec: IDT 92HD71B7X
Address: 0
Function Id: 0x1
Vendor Id: 0x111d76b2
Subsystem Id: 0x103c30f6
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=8, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Power-Map: 0x01
Analog Loopback: 0x00
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x00:
  Unsolicited: tag=01, enabled=1
  Connection: 3
     0x10 0x11* 0x17
Node 0x0b [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f0: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x90170010: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f2: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x2
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x40f100f7: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x7
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10 0x11 0x17*
Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x5f 0x5f]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x5f 0x5f]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x12 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1c
  Processing caps: benign=0, ncoeff=0
Node 0x13 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1d
  Processing caps: benign=0, ncoeff=0
Node 0x14 [Pin Complex] wcaps 0x400100: Mono
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f3: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x3
  Pin-ctls: 0x00:
  Connection: 1
     0x16
Node 0x15 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x10* 0x11 0x17
Node 0x16 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x15
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 5
     0x10 0x11 0x27 0x1a 0x1b
Node 0x18 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x85a61150: [Fixed] Mic at Ext Top
    Conn = Digital, Color = Black
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x19 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40f100f4: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x4
  Pin-ctls: 0x00:
Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x8a 0x8a]
  Connection: 4
     0x1a 0x17 0x18* 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 4
     0x1b 0x17 0x18* 0x19
Node 0x1e [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x014411a0: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x24
Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00010010: OUT EAPD
  EAPD 0x0:
  Pin Default 0x40f100f5: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x5
  Pin-ctls: 0x00:
  Power: setting=D0, actual=D0
  Connection: 2
     0x24* 0x25
Node 0x20 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f6: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x6
  Pin-ctls: 0x00:
  Connection: 1
     0x25
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x21* 0x1c 0x1d
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x22* 0x1c 0x1d
Node 0x26 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1
  Amp-Out vals:  [0x00]
Node 0x27 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40f100f8: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x8
  Pin-ctls: 0x00:
Node 0x28 [Volume Knob Widget] wcaps 0x600000: Mono
  Volume-Knob: delta=1, steps=127, direct=1, val=127
  Connection: 2
     0x10 0x11
Codec: Nvidia MCP78 HDMI
Address: 2
Function Id: 0x1
Vendor Id: 0x10de0006
Subsystem Id: 0x10de0101
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 0x04 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x07 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560121: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x08 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x09 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560122: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x0a [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0b [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560123: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x3
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0a
Node 0x0c [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0d [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560124: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x4
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0c
--endcollapse--


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

crw-rw---- 1 root audio 116,  9 Nov 11 15:15 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  8 Nov 11 15:15 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  7 Nov 11 15:15 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116,  6 Nov 11 15:15 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116,  5 Nov 11 15:22 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116,  4 Nov 11 15:15 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116,  3 Nov 11 15:15 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116, 10 Nov 11 15:15 /dev/snd/seq
crw-rw---- 1 root audio 116,  2 Nov 11 15:15 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Nov 11 15:15 .
drwxr-xr-x 3 root root 240 Nov 11 15:15 ..
lrwxrwxrwx 1 root root  12 Nov 11 15:15 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

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

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xdf000000 irq 34'
  Mixer name	: 'Nvidia MCP78 HDMI'
  Components	: 'HDA:111d76b2,103c30f6,00100302 HDA:10de0006,10de0101,00100000'
  Controls      : 36
  Simple ctrls  : 20
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 48 [75%] [-12.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 48 [75%] [-12.00dB] [on]
  Front Right: Playback 48 [75%] [-12.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 48 [75%] [-12.00dB] [on]
  Front Right: Playback 48 [75%] [-12.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 231 [91%] [-4.80dB]
  Front Right: Playback 231 [91%] [-4.80dB]
Simple mixer control 'Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
  Item0: 'Digital Playback'
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 10 [67%] [15.00dB] [off]
  Front Right: Capture 10 [67%] [15.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'DAC0',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'DAC1',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Digital Input Source',0
  Capabilities: enum
  Items: 'Analog Inputs' 'Mixer' 'Digital Mic 1'
  Item0: 'Digital Mic 1'
Simple mixer control 'Digital Input Source',1
  Capabilities: enum
  Items: 'Analog Inputs' 'Mixer' 'Digital Mic 1'
  Item0: 'Digital Mic 1'
Simple mixer control 'Import0 Mux',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Import1 Mux',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',1
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'PC Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 1 [33%] [-12.00dB] [off]


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

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		value.0 10
		value.1 10
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
	}
	control.3 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 0
		value.1 0
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
	}
	control.5 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import0 Mux Capture Switch'
		value.0 false
		value.1 false
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Import0 Mux Capture Volume'
		value.0 23
		value.1 23
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import1 Mux Capture Switch'
		value.0 false
		value.1 false
	}
	control.8 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Import1 Mux Capture Volume'
		value.0 23
		value.1 23
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC0 Capture Switch'
		value.0 false
		value.1 false
	}
	control.10 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'DAC0 Capture Volume'
		value.0 23
		value.1 23
	}
	control.11 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC1 Capture Switch'
		value.0 false
		value.1 false
	}
	control.12 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'DAC1 Capture Volume'
		value.0 23
		value.1 23
	}
	control.13 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 48
		value.1 48
	}
	control.14 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
	}
	control.15 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Mic In'
		comment.item.1 'Line In'
		iface MIXER
		name 'Mic Jack Mode'
		value 'Mic In'
	}
	control.16 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'PC Beep Playback Switch'
		value false
	}
	control.17 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 3'
		comment.dbmin -1800
		comment.dbmax 0
		iface MIXER
		name 'PC Beep Playback Volume'
		value 1
	}
	control.18 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 48
		value.1 48
	}
	control.19 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.20 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		value.0 0
		value.1 0
	}
	control.21 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		index 1
		value.0 0
		value.1 0
	}
	control.22 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Analog Inputs'
		comment.item.1 Mixer
		comment.item.2 'Digital Mic 1'
		iface MIXER
		name 'Digital Input Source'
		value 'Digital Mic 1'
	}
	control.23 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Analog Inputs'
		comment.item.1 Mixer
		comment.item.2 'Digital Mic 1'
		iface MIXER
		name 'Digital Input Source'
		index 1
		value 'Digital Mic 1'
	}
	control.24 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Digital Playback'
		comment.item.1 'Analog Mux 1'
		comment.item.2 'Analog Mux 2'
		iface MIXER
		name 'IEC958 Playback Source'
		value 'Digital Playback'
	}
	control.25 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.26 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.27 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.28 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
	}
	control.29 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.30 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 48
	}
	control.31 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.32 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.33 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.34 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.35 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value false
	}
	control.36 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 231
		value.1 231
	}
}
--endcollapse--


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

Module
cryptd
aes_x86_64
aes_generic
ipv6
cpufreq_ondemand
ipt_REJECT
xt_multiport
xt_conntrack
nf_conntrack_ftp
xt_TCPMSS
ipt_LOG
xt_limit
xt_state
iptable_filter
xt_tcpudp
xt_DSCP
iptable_mangle
iptable_nat
nf_nat
nf_conntrack_ipv4
nf_conntrack
nf_defrag_ipv4
ip_tables
x_tables
ext2
snd_seq_dummy
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
usbhid
hid
snd_hda_codec_nvhdmi
snd_hda_codec_idt
uvcvideo
videodev
arc4
v4l1_compat
v4l2_compat_ioctl32
snd_pcm_oss
snd_mixer_oss
ecb
fuse
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm
snd_timer
snd
soundcore
iwlagn
joydev
acpi_cpufreq
snd_page_alloc
fan
iwlcore
mac80211
nvidia
cfg80211
rfkill
jmb38x_ms
ohci1394
r8169
sdhci_pci
sdhci
hp_accel
lis3lv02d
video
output
psmouse
wmi
input_polldev
mmc_core
led_class
mii
uhci_hcd
memstick
freq_table
ac
battery
thermal
button
sg
ieee1394
i2c_i801
i2c_core
serio_raw
iTCO_wdt
iTCO_vendor_support
ehci_hcd
usbcore
evdev
intel_agp
processor
rtc_cmos
rtc_core
rtc_lib
ext4
mbcache
jbd2
crc16
dm_mod
sr_mod
cdrom
sd_mod
ahci
libata
scsi_mod


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0a 0x0221401f
0x0b 0x02a19020
0x0c 0x40f100f0
0x0d 0x90171110
0x0e 0x40f100f2
0x0f 0x40f100f7
0x14 0x40f100f3
0x18 0x85a61150
0x19 0x40f100f4
0x1e 0x014411a0
0x1f 0x40f100f5
0x20 0x40f100f6
0x27 0x40f100f8

/sys/class/sound/hwC0D0/driver_pin_configs:
0x0d 0x90170010

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D2/init_pin_configs:
0x05 0x18560110
0x07 0x58560121
0x09 0x58560122
0x0b 0x58560123
0x0d 0x58560124

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:


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

iwlagn 0000:02:00.0: irq 33 for MSI/MSI-X
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 34 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
usb 8-1: configuration #1 chosen from 1 choice
--
Synaptics Touchpad, model: 1, fw: 7.2, id: 0x1a0b1, caps: 0xd04751/0xa00000
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input10
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[8c3f0200d1ed40d9]
input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
usbcore: registered new interface driver hiddev



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

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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-11 15:22 HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-11 17:28 ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-11 17:35 ` Takashi Iwai
  2009-11-11 17:40   ` Wael Nasreddine (a.k.a eMxyzptlk)
  1 sibling, 1 reply; 26+ messages in thread
From: Takashi Iwai @ 2009-11-11 17:35 UTC (permalink / raw)
  To: Wael Nasreddine (a.k.a eMxyzptlk); +Cc: alsa-devel

At Wed, 11 Nov 2009 16:22:47 +0100,
Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> 
> On Wed, Jul 29, 2009 at 8:55 AM, Takashi Iwai<tiwai at suse.de> wrote:
> > At Tue, 28 Jul 2009 20:07:29 +0200,
> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >>
> >> On Mon, Jul 27, 2009 at 3:15 PM, Takashi Iwai <tiwai at suse.de> wrote:
> >>
> >>     At Sat, 25 Jul 2009 21:44:46 +0200,
> >>     Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >>     >
> >>     > I still got no solution for this problem,
> >>
> >>     Which problem?
> >>     It'd be helpful if you give a problem summary and what you've done
> >>     until now (and don't do top-posting)...
> >>
> >>     thanks,
> >>
> >>     Takashi
> >>
> >> Hi Takashi,
> >>
> >> I'm sorry I didn't notice that the problem wasn't quoted in my last message,
> >> anyway the whole topic is included in the forwarded message below, I tried
> >> using hda-verb and hda-analyzer, like you suggested in one of your emails, but
> >> since I don't even know what I'm looking for nor what to try, I did not got
> >> too far!
> >>
> >> What else do you suggest? Are you aware of anyone having a similar issue I can
> >> query to help me figure it out ?
> >
> > First off, try the very latest alsa-driver snapshot.
> >  ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> >
> > The problem is that BIOS sets only one stereo speaker in the pin
> > configuration, so the driver cannot know what to do with another
> > speaker.  In short, it's a BIOS bug.
> >
> > To overcome that, you need to figure out which pin corresponds to the
> > speaker.  The rest available (analog) output pins are 0x0f and 0x14.
> > Set these as output pins, and connect to DAC.  For example,
> >
> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0
> >
> > which enables the output of the pin 0x0f, then connects to the first
> > DAC (= 0x10).  Similarly,
> >
> >        # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40
> >        # hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0
> >
> > which enables the output of the pin 0x14, then changes the connection
> > of its mux (0x15) to the first DAC (0x10).
> >
> > If these don't help, it's possible that some GPIO bits play any role.
> > Play with GPIO bits, which can be also changed via hda-verb.
> >
> >
> > Takashi
> >
> 
> Hey Takashi,
> 
> I tried what you have suggested above, and I also tried to upgrade the
> BIOS (it's F.2C now) but I still have the same problem with my sound,
> here's an updated alsa-info output
> 
> http://www.alsa-project.org/db/?f=2cdfc5aa67bc0baf98d38c13806739afb6f5163f

This is obviously from the very old alsa-driver version.
Double-check whether the installation was correct.

Also, please attach alsa-info.sh output (run with --no-upload option) 
instead of uploading to a server.

Anyway, try the very latest snapshot (as of today).  A few new fixes
for HD laptops are there.  And remove all module options for
snd-hda-intel once.


HTH,

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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-11 17:35 ` Takashi Iwai
@ 2009-11-11 17:40   ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-11 17:45     ` Takashi Iwai
  0 siblings, 1 reply; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-11 17:40 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

On Wed, Nov 11, 2009 at 18:35, Takashi Iwai <tiwai@suse.de> wrote:
> At Wed, 11 Nov 2009 16:22:47 +0100,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>
>> On Wed, Jul 29, 2009 at 8:55 AM, Takashi Iwai<tiwai at suse.de> wrote:
>> > At Tue, 28 Jul 2009 20:07:29 +0200,
>> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>> >>
>> >> On Mon, Jul 27, 2009 at 3:15 PM, Takashi Iwai <tiwai at suse.de> wrote:
>> >>
>> >>     At Sat, 25 Jul 2009 21:44:46 +0200,
>> >>     Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>> >>     >
>> >>     > I still got no solution for this problem,
>> >>
>> >>     Which problem?
>> >>     It'd be helpful if you give a problem summary and what you've done
>> >>     until now (and don't do top-posting)...
>> >>
>> >>     thanks,
>> >>
>> >>     Takashi
>> >>
>> >> Hi Takashi,
>> >>
>> >> I'm sorry I didn't notice that the problem wasn't quoted in my last message,
>> >> anyway the whole topic is included in the forwarded message below, I tried
>> >> using hda-verb and hda-analyzer, like you suggested in one of your emails, but
>> >> since I don't even know what I'm looking for nor what to try, I did not got
>> >> too far!
>> >>
>> >> What else do you suggest? Are you aware of anyone having a similar issue I can
>> >> query to help me figure it out ?
>> >
>> > First off, try the very latest alsa-driver snapshot.
>> >  ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>> >
>> > The problem is that BIOS sets only one stereo speaker in the pin
>> > configuration, so the driver cannot know what to do with another
>> > speaker.  In short, it's a BIOS bug.
>> >
>> > To overcome that, you need to figure out which pin corresponds to the
>> > speaker.  The rest available (analog) output pins are 0x0f and 0x14.
>> > Set these as output pins, and connect to DAC.  For example,
>> >
>> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
>> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0
>> >
>> > which enables the output of the pin 0x0f, then connects to the first
>> > DAC (= 0x10).  Similarly,
>> >
>> >        # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40
>> >        # hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0
>> >
>> > which enables the output of the pin 0x14, then changes the connection
>> > of its mux (0x15) to the first DAC (0x10).
>> >
>> > If these don't help, it's possible that some GPIO bits play any role.
>> > Play with GPIO bits, which can be also changed via hda-verb.
>> >
>> >
>> > Takashi
>> >
>>
>> Hey Takashi,
>>
>> I tried what you have suggested above, and I also tried to upgrade the
>> BIOS (it's F.2C now) but I still have the same problem with my sound,
>> here's an updated alsa-info output
>>
>> http://www.alsa-project.org/db/?f=2cdfc5aa67bc0baf98d38c13806739afb6f5163f
>
> This is obviously from the very old alsa-driver version.
> Double-check whether the installation was correct.
>
> Also, please attach alsa-info.sh output (run with --no-upload option)
> instead of uploading to a server.
>
> Anyway, try the very latest snapshot (as of today).  A few new fixes
> for HD laptops are there.  And remove all module options for
> snd-hda-intel once.
>
>
> HTH,
>
> Takashi
>

Hey Takashi,

Here's one from the code in kernel 2.6.31.6 and only with enable_msi=1

I will get a snapshot of the alsa driver and compile install it and I
will reply to this topic with the one taken from the snapshot..

Thanks

-- 
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.

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

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

!!Script ran on: Wed Nov 11 17:38:30 UTC 2009


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

Arch Linux \r (\n) (\l)


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

Manufacturer:      Hewlett-Packard
Product Name:      HP Pavilion dv7 Notebook PC


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

Kernel release:    2.6.31-ARCH
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
SMP Enabled:       Yes


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

Driver version:     1.0.20
Library version:    1.0.21a
Utilities version:  1.0.21


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

snd_hda_intel


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

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


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdf000000 irq 33


!!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/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 103c:30f4


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

snd-hda-intel: enable_msi=1


!!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
	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>
	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 : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	single_cmd : N


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

Codec: IDT 92HD71B7X
Address: 0
Function Id: 0x1
Vendor Id: 0x111d76b2
Subsystem Id: 0x103c30f6
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=8, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Power-Map: 0x00
Analog Loopback: 0x00
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Connection: 3
     0x10 0x11* 0x17
Node 0x0b [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f0: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x90170010: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f2: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x2
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x40f100f7: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x7
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10 0x11 0x17*
Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x7f 0x7f]
  Converter: stream=5, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x7f 0x7f]
  Converter: stream=5, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x12 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1c
  Processing caps: benign=0, ncoeff=0
Node 0x13 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1d
  Processing caps: benign=0, ncoeff=0
Node 0x14 [Pin Complex] wcaps 0x400100: Mono
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f3: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x3
  Pin-ctls: 0x00:
  Connection: 1
     0x16
Node 0x15 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x10* 0x11 0x17
Node 0x16 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x15
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 5
     0x10 0x11 0x27 0x1a 0x1b
Node 0x18 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x85a61150: [Fixed] Mic at Ext Top
    Conn = Digital, Color = Black
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x19 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40f100f4: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x4
  Pin-ctls: 0x00:
Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x09 0x09]
  Connection: 4
     0x1a* 0x17 0x18 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x89 0x89]
  Connection: 4
     0x1b* 0x17 0x18 0x19
Node 0x1e [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x014411a0: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x24
Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00010010: OUT EAPD
  EAPD 0x0:
  Pin Default 0x40f100f5: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x5
  Pin-ctls: 0x00:
  Power: setting=D0, actual=D0
  Connection: 2
     0x24* 0x25
Node 0x20 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f6: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x6
  Pin-ctls: 0x00:
  Connection: 1
     0x25
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x21* 0x1c 0x1d
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x22* 0x1c 0x1d
Node 0x26 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1
  Amp-Out vals:  [0x00]
Node 0x27 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40f100f8: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x8
  Pin-ctls: 0x00:
Node 0x28 [Volume Knob Widget] wcaps 0x600000: Mono
  Volume-Knob: delta=1, steps=127, direct=1, val=127
  Connection: 2
     0x10 0x11
Codec: Nvidia MCP78 HDMI
Address: 2
Function Id: 0x1
Vendor Id: 0x10de0006
Subsystem Id: 0x10de0101
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 0x04 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x07 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560121: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x08 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x09 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560122: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x0a [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0b [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560123: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x3
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0a
Node 0x0c [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0d [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560124: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x4
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0c
--endcollapse--


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

crw-rw---- 1 root audio 116,  9 Nov 11 16:35 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  8 Nov 11 16:35 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  7 Nov 11 16:35 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116,  6 Nov 11 16:35 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116,  5 Nov 11 18:30 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116,  4 Nov 11 16:35 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116,  3 Nov 11 16:35 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116, 10 Nov 11 16:35 /dev/snd/seq
crw-rw---- 1 root audio 116,  2 Nov 11 16:35 /dev/snd/timer

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


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

APLAY

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

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xdf000000 irq 33'
  Mixer name	: 'Nvidia MCP78 HDMI'
  Components	: 'HDA:111d76b2,103c30f6,00100302 HDA:10de0006,10de0101,00100000'
  Controls      : 37
  Simple ctrls  : 21
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  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
  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
  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 Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
  Item0: 'Digital Playback'
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 9 [60%] [13.50dB] [on]
  Front Right: Capture 9 [60%] [13.50dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 9 [60%] [13.50dB] [off]
  Front Right: Capture 9 [60%] [13.50dB] [off]
Simple mixer control 'DAC0',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'DAC1',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Digital Input Source',0
  Capabilities: enum
  Items: 'Analog Inputs' 'Mixer' 'Digital Mic 1'
  Item0: 'Analog Inputs'
Simple mixer control 'Digital Input Source',1
  Capabilities: enum
  Items: 'Analog Inputs' 'Mixer' 'Digital Mic 1'
  Item0: 'Analog Inputs'
Simple mixer control 'Import0 Mux',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Import1 Mux',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',1
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'PC Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-18.00dB] [off]


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

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		value.0 9
		value.1 9
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 9
		value.1 9
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
	}
	control.5 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import0 Mux Capture Switch'
		value.0 false
		value.1 false
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Import0 Mux Capture Volume'
		value.0 23
		value.1 23
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import1 Mux Capture Switch'
		value.0 false
		value.1 false
	}
	control.8 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Import1 Mux Capture Volume'
		value.0 23
		value.1 23
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC0 Capture Switch'
		value.0 false
		value.1 false
	}
	control.10 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'DAC0 Capture Volume'
		value.0 23
		value.1 23
	}
	control.11 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC1 Capture Switch'
		value.0 false
		value.1 false
	}
	control.12 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'DAC1 Capture Volume'
		value.0 23
		value.1 23
	}
	control.13 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 64
		value.1 64
	}
	control.14 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
	}
	control.15 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Mic In'
		comment.item.1 'Line In'
		iface MIXER
		name 'Mic Jack Mode'
		value 'Mic In'
	}
	control.16 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'PC Beep Playback Switch'
		value false
	}
	control.17 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 3'
		comment.dbmin -1800
		comment.dbmax 0
		iface MIXER
		name 'PC Beep Playback Volume'
		value 0
	}
	control.18 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
	}
	control.19 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.20 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		value.0 0
		value.1 0
	}
	control.21 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		index 1
		value.0 0
		value.1 0
	}
	control.22 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Analog Inputs'
		comment.item.1 Mixer
		comment.item.2 'Digital Mic 1'
		iface MIXER
		name 'Digital Input Source'
		value 'Analog Inputs'
	}
	control.23 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Analog Inputs'
		comment.item.1 Mixer
		comment.item.2 'Digital Mic 1'
		iface MIXER
		name 'Digital Input Source'
		index 1
		value 'Analog Inputs'
	}
	control.24 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Digital Playback'
		comment.item.1 'Analog Mux 1'
		comment.item.2 'Analog Mux 2'
		iface MIXER
		name 'IEC958 Playback Source'
		value 'Digital Playback'
	}
	control.25 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.26 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.27 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.28 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
	}
	control.29 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.30 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 64
	}
	control.31 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.32 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.33 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.34 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.35 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
	}
	control.36 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
	}
	control.37 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 120'
		comment.tlv '0000000100000008fffff44800000032'
		comment.dbmin -3000
		comment.dbmax 3000
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
	}
}
--endcollapse--


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

Module
ipv6
ext3
jbd
snd_seq_dummy
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
usbhid
snd_hda_codec_nvhdmi
hid
snd_hda_codec_idt
joydev
fan
snd_hda_intel
snd_hda_codec
snd_hwdep
hp_accel
lis3lv02d
snd_pcm_oss
uvcvideo
snd_pcm
videodev
v4l1_compat
snd_mixer_oss
v4l2_compat_ioctl32
snd_timer
sr_mod
usb_storage
psmouse
input_polldev
thermal
wmi
video
output
battery
snd
soundcore
snd_page_alloc
ac
serio_raw
button
cdrom
nvidia
evdev
ohci1394
sdhci_pci
sdhci
mmc_core
led_class
r8169
mii
rt3070sta
sg
iTCO_wdt
iTCO_vendor_support
ieee1394
intel_agp
jmb38x_ms
uhci_hcd
i2c_i801
i2c_core
ehci_hcd
memstick
usbcore
acpi_cpufreq
freq_table
processor
rtc_cmos
rtc_core
rtc_lib
ext4
mbcache
jbd2
crc16
raid0
raid1
md_mod
uvesafb
cn
sd_mod
ahci
libata
scsi_mod


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0a 0x0221401f
0x0b 0x02a19020
0x0c 0x40f100f0
0x0d 0x90171110
0x0e 0x40f100f2
0x0f 0x40f100f7
0x14 0x40f100f3
0x18 0x85a61150
0x19 0x40f100f4
0x1e 0x014411a0
0x1f 0x40f100f5
0x20 0x40f100f6
0x27 0x40f100f8

/sys/class/sound/hwC0D0/driver_pin_configs:
0x0d 0x90170010

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D2/init_pin_configs:
0x05 0x18560110
0x07 0x58560121
0x09 0x58560122
0x0b 0x58560123
0x0d 0x58560124

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:


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

lis3lv02d driver loaded.
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 33 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
usb 5-1: configuration #1 chosen from 1 choice
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9
fan PNP0C0B:00: registered as cooling_device3
ACPI: Fan [FAN] (off)
input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
usbcore: registered new interface driver hiddev
--
#
hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
#



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

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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-11 17:40   ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-11 17:45     ` Takashi Iwai
  2009-11-11 17:58       ` Wael Nasreddine (a.k.a eMxyzptlk)
  0 siblings, 1 reply; 26+ messages in thread
From: Takashi Iwai @ 2009-11-11 17:45 UTC (permalink / raw)
  To: Wael Nasreddine (a.k.a eMxyzptlk); +Cc: alsa-devel

At Wed, 11 Nov 2009 18:40:48 +0100,
Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> 
> On Wed, Nov 11, 2009 at 18:35, Takashi Iwai <tiwai@suse.de> wrote:
> > At Wed, 11 Nov 2009 16:22:47 +0100,
> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >>
> >> On Wed, Jul 29, 2009 at 8:55 AM, Takashi Iwai<tiwai at suse.de> wrote:
> >> > At Tue, 28 Jul 2009 20:07:29 +0200,
> >> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >> >>
> >> >> On Mon, Jul 27, 2009 at 3:15 PM, Takashi Iwai <tiwai at suse.de> wrote:
> >> >>
> >> >>     At Sat, 25 Jul 2009 21:44:46 +0200,
> >> >>     Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >> >>     >
> >> >>     > I still got no solution for this problem,
> >> >>
> >> >>     Which problem?
> >> >>     It'd be helpful if you give a problem summary and what you've done
> >> >>     until now (and don't do top-posting)...
> >> >>
> >> >>     thanks,
> >> >>
> >> >>     Takashi
> >> >>
> >> >> Hi Takashi,
> >> >>
> >> >> I'm sorry I didn't notice that the problem wasn't quoted in my last message,
> >> >> anyway the whole topic is included in the forwarded message below, I tried
> >> >> using hda-verb and hda-analyzer, like you suggested in one of your emails, but
> >> >> since I don't even know what I'm looking for nor what to try, I did not got
> >> >> too far!
> >> >>
> >> >> What else do you suggest? Are you aware of anyone having a similar issue I can
> >> >> query to help me figure it out ?
> >> >
> >> > First off, try the very latest alsa-driver snapshot.
> >> >  ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> >> >
> >> > The problem is that BIOS sets only one stereo speaker in the pin
> >> > configuration, so the driver cannot know what to do with another
> >> > speaker.  In short, it's a BIOS bug.
> >> >
> >> > To overcome that, you need to figure out which pin corresponds to the
> >> > speaker.  The rest available (analog) output pins are 0x0f and 0x14.
> >> > Set these as output pins, and connect to DAC.  For example,
> >> >
> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0
> >> >
> >> > which enables the output of the pin 0x0f, then connects to the first
> >> > DAC (= 0x10).  Similarly,
> >> >
> >> >        # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40
> >> >        # hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0
> >> >
> >> > which enables the output of the pin 0x14, then changes the connection
> >> > of its mux (0x15) to the first DAC (0x10).
> >> >
> >> > If these don't help, it's possible that some GPIO bits play any role.
> >> > Play with GPIO bits, which can be also changed via hda-verb.
> >> >
> >> >
> >> > Takashi
> >> >
> >>
> >> Hey Takashi,
> >>
> >> I tried what you have suggested above, and I also tried to upgrade the
> >> BIOS (it's F.2C now) but I still have the same problem with my sound,
> >> here's an updated alsa-info output
> >>
> >> http://www.alsa-project.org/db/?f=2cdfc5aa67bc0baf98d38c13806739afb6f5163f
> >
> > This is obviously from the very old alsa-driver version.
> > Double-check whether the installation was correct.
> >
> > Also, please attach alsa-info.sh output (run with --no-upload option)
> > instead of uploading to a server.
> >
> > Anyway, try the very latest snapshot (as of today).  A few new fixes
> > for HD laptops are there.  And remove all module options for
> > snd-hda-intel once.
> >
> >
> > HTH,
> >
> > Takashi
> >
> 
> Hey Takashi,
> 
> Here's one from the code in kernel 2.6.31.6 and only with enable_msi=1

2.6.31.x is also too old to debug :)

> I will get a snapshot of the alsa driver and compile install it and I
> will reply to this topic with the one taken from the snapshot..

Yes, please.  That'll be helpful.

With the latest version, you don't need any option (hopefully).
Try without options at first.


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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-11 17:45     ` Takashi Iwai
@ 2009-11-11 17:58       ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-11 19:09         ` Takashi Iwai
  0 siblings, 1 reply; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-11 17:58 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

On Wed, Nov 11, 2009 at 18:45, Takashi Iwai <tiwai@suse.de> wrote:
> At Wed, 11 Nov 2009 18:40:48 +0100,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>
>> On Wed, Nov 11, 2009 at 18:35, Takashi Iwai <tiwai@suse.de> wrote:
>> > At Wed, 11 Nov 2009 16:22:47 +0100,
>> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>> >>
>> >> On Wed, Jul 29, 2009 at 8:55 AM, Takashi Iwai<tiwai at suse.de> wrote:
>> >> > At Tue, 28 Jul 2009 20:07:29 +0200,
>> >> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>> >> >>
>> >> >> On Mon, Jul 27, 2009 at 3:15 PM, Takashi Iwai <tiwai at suse.de> wrote:
>> >> >>
>> >> >>     At Sat, 25 Jul 2009 21:44:46 +0200,
>> >> >>     Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>> >> >>     >
>> >> >>     > I still got no solution for this problem,
>> >> >>
>> >> >>     Which problem?
>> >> >>     It'd be helpful if you give a problem summary and what you've done
>> >> >>     until now (and don't do top-posting)...
>> >> >>
>> >> >>     thanks,
>> >> >>
>> >> >>     Takashi
>> >> >>
>> >> >> Hi Takashi,
>> >> >>
>> >> >> I'm sorry I didn't notice that the problem wasn't quoted in my last message,
>> >> >> anyway the whole topic is included in the forwarded message below, I tried
>> >> >> using hda-verb and hda-analyzer, like you suggested in one of your emails, but
>> >> >> since I don't even know what I'm looking for nor what to try, I did not got
>> >> >> too far!
>> >> >>
>> >> >> What else do you suggest? Are you aware of anyone having a similar issue I can
>> >> >> query to help me figure it out ?
>> >> >
>> >> > First off, try the very latest alsa-driver snapshot.
>> >> >  ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>> >> >
>> >> > The problem is that BIOS sets only one stereo speaker in the pin
>> >> > configuration, so the driver cannot know what to do with another
>> >> > speaker.  In short, it's a BIOS bug.
>> >> >
>> >> > To overcome that, you need to figure out which pin corresponds to the
>> >> > speaker.  The rest available (analog) output pins are 0x0f and 0x14.
>> >> > Set these as output pins, and connect to DAC.  For example,
>> >> >
>> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
>> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0
>> >> >
>> >> > which enables the output of the pin 0x0f, then connects to the first
>> >> > DAC (= 0x10).  Similarly,
>> >> >
>> >> >        # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40
>> >> >        # hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0
>> >> >
>> >> > which enables the output of the pin 0x14, then changes the connection
>> >> > of its mux (0x15) to the first DAC (0x10).
>> >> >
>> >> > If these don't help, it's possible that some GPIO bits play any role.
>> >> > Play with GPIO bits, which can be also changed via hda-verb.
>> >> >
>> >> >
>> >> > Takashi
>> >> >
>> >>
>> >> Hey Takashi,
>> >>
>> >> I tried what you have suggested above, and I also tried to upgrade the
>> >> BIOS (it's F.2C now) but I still have the same problem with my sound,
>> >> here's an updated alsa-info output
>> >>
>> >> http://www.alsa-project.org/db/?f=2cdfc5aa67bc0baf98d38c13806739afb6f5163f
>> >
>> > This is obviously from the very old alsa-driver version.
>> > Double-check whether the installation was correct.
>> >
>> > Also, please attach alsa-info.sh output (run with --no-upload option)
>> > instead of uploading to a server.
>> >
>> > Anyway, try the very latest snapshot (as of today).  A few new fixes
>> > for HD laptops are there.  And remove all module options for
>> > snd-hda-intel once.
>> >
>> >
>> > HTH,
>> >
>> > Takashi
>> >
>>
>> Hey Takashi,
>>
>> Here's one from the code in kernel 2.6.31.6 and only with enable_msi=1
>
> 2.6.31.x is also too old to debug :)
>
>> I will get a snapshot of the alsa driver and compile install it and I
>> will reply to this topic with the one taken from the snapshot..
>
> Yes, please.  That'll be helpful.
>
> With the latest version, you don't need any option (hopefully).
> Try without options at first.
>
>
> Takashi
>

Sadly I get the same result, only the left speaker is working, last
month you suggested that I try

# hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
# hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0

Or

# hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40
# hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0

and some GPIO bits, could you specify more GPIO bits that I can try?

Thanks.

-- 
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.

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

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

!!Script ran on: Wed Nov 11 17:55:44 UTC 2009


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

Arch Linux \r (\n) (\l)


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

Manufacturer:      Hewlett-Packard
Product Name:      HP Pavilion dv7 Notebook PC


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

Kernel release:    2.6.31-ARCH
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
SMP Enabled:       Yes


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

Driver version:     1.0.21.30.g5ed31.314.g6aea2
Library version:    1.0.21a
Utilities version:  1.0.21


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

snd_hda_intel


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

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


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdf000000 irq 33


!!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/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 103c:30f4


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

!!Module: snd_hda_intel
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
	enable : Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	index : -1,-1,-1,-1,-1,-1,-1,-1
	model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	position_fix : 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
	probe_only : N,N,N,N,N,N,N,N
	single_cmd : N


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

Codec: IDT 92HD71B7X
Address: 0
Function Id: 0x1
Vendor Id: 0x111d76b2
Subsystem Id: 0x103c30f6
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=8, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Power-Map: 0x01
Analog Loopback: 0x00
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x00:
  Unsolicited: tag=01, enabled=1
  Connection: 3
     0x10 0x11* 0x17
Node 0x0b [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f0: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x90170010: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f2: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x2
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x40f100f7: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x7
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x67 0x67]
  Device: name="STAC92xx Analog", type="Audio", device=0, substream=0
  Converter: stream=5, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x67 0x67]
  Converter: stream=5, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x12 [Audio Input] wcaps 0x1d0541: Stereo
  Device: name="STAC92xx Analog", type="Audio", device=0, substream=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1c
  Processing caps: benign=0, ncoeff=0
Node 0x13 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D0, actual=D0
  Delay: 13 samples
  Connection: 1
     0x1d
  Processing caps: benign=0, ncoeff=0
Node 0x14 [Pin Complex] wcaps 0x400100: Mono
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f3: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x3
  Pin-ctls: 0x00:
  Connection: 1
     0x16
Node 0x15 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x10* 0x11 0x17
Node 0x16 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x15
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 5
     0x10 0x11 0x27 0x1a 0x1b
Node 0x18 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x85a61150: [Fixed] Mic at Ext Top
    Conn = Digital, Color = Black
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x19 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40f100f4: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x4
  Pin-ctls: 0x00:
Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x09 0x09]
  Connection: 4
     0x1a 0x17 0x18* 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 4
     0x1b* 0x17 0x18 0x19
Node 0x1e [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x014411a0: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x24
Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00010010: OUT EAPD
  EAPD 0x0:
  Pin Default 0x40f100f5: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x5
  Pin-ctls: 0x00:
  Power: setting=D0, actual=D0
  Connection: 2
     0x24* 0x25
Node 0x20 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f6: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x6
  Pin-ctls: 0x00:
  Connection: 1
     0x25
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
  Device: name="STAC92xx Digital", type="SPDIF", device=1, substream=0
  Converter: stream=5, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=5, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x21* 0x1c 0x1d
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x22* 0x1c 0x1d
Node 0x26 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1
  Amp-Out vals:  [0x00]
Node 0x27 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40f100f8: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x8
  Pin-ctls: 0x00:
Node 0x28 [Volume Knob Widget] wcaps 0x600000: Mono
  Volume-Knob: delta=1, steps=127, direct=1, val=127
  Connection: 2
     0x10 0x11
Codec: Nvidia MCP78 HDMI
Address: 2
Function Id: 0x1
Vendor Id: 0x10de0006
Subsystem Id: 0x10de0101
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 0x04 [Audio Output] wcaps 0x211: Stereo Digital
  Device: name="NVIDIA HDMI", type="HDMI", device=3, substream=0
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x07 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560121: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x08 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x09 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560122: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x0a [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0b [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560123: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x3
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0a
Node 0x0c [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0d [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560124: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x4
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0c
--endcollapse--


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

crw-rw---- 1 root audio 116,  0 Nov 11 18:53 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  4 Nov 11 18:53 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  6 Nov 11 18:53 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116, 24 Nov 11 18:53 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Nov 11 18:55 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 17 Nov 11 18:53 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 19 Nov 11 18:53 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116,  1 Nov 11 18:53 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Nov 11 18:53 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Nov 11 18:53 .
drwxr-xr-x 3 root root 240 Nov 11 18:53 ..
lrwxrwxrwx 1 root root  12 Nov 11 18:53 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

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

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xdf000000 irq 33'
  Mixer name	: 'Nvidia MCP78 HDMI'
  Components	: 'HDA:111d76b2,103c30f6,00100302 HDA:10de0006,10de0101,00100000'
  Controls      : 25
  Simple ctrls  : 14
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 40 [62%] [-18.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  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
  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
  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 Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
  Item0: 'Digital Playback'
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-18.00dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 9 [60%] [13.50dB] [on]
  Front Right: Capture 9 [60%] [13.50dB] [on]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Digital Mic',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]


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

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 64
		value.1 64
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Mic In'
		comment.item.1 'Line In'
		iface MIXER
		name 'Mic Jack Mode'
		value 'Mic In'
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Beep Playback Switch'
		value false
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 3'
		comment.dbmin -1800
		comment.dbmax 0
		iface MIXER
		name 'Beep Playback Volume'
		value 0
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.8 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		value.0 9
		value.1 9
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.10 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Digital Mic Capture Volume'
		value.0 0
		value.1 0
	}
	control.11 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		value.0 0
		value.1 0
	}
	control.12 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Digital Playback'
		comment.item.1 'Analog Mux 1'
		comment.item.2 'Analog Mux 2'
		iface MIXER
		name 'IEC958 Playback Source'
		value 'Digital Playback'
	}
	control.13 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.14 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.15 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.16 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
	}
	control.17 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.18 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 40
	}
	control.19 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.20 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.21 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.22 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.23 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
	}
	control.24 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
	}
	control.25 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 120'
		comment.tlv '0000000100000008fffff44800000032'
		comment.dbmin -3000
		comment.dbmax 3000
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
	}
}
--endcollapse--


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

Module
ipv6
ext3
jbd
usbhid
hid
snd_seq_dummy
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
snd_pcm_oss
snd_mixer_oss
snd_hda_codec_nvhdmi
joydev
snd_hda_codec_idt
fan
snd_hda_intel
snd_hda_codec
snd_hwdep
uvcvideo
videodev
v4l1_compat
snd_pcm
snd_timer
snd
hp_accel
lis3lv02d
soundcore
video
v4l2_compat_ioctl32
input_polldev
output
nvidia
wmi
thermal
snd_page_alloc
button
battery
ac
r8169
mii
sr_mod
cdrom
sdhci_pci
sdhci
rt3070sta
sg
iTCO_wdt
iTCO_vendor_support
jmb38x_ms
ohci1394
intel_agp
mmc_core
led_class
evdev
psmouse
memstick
uhci_hcd
ieee1394
i2c_i801
i2c_core
serio_raw
ehci_hcd
usbcore
acpi_cpufreq
freq_table
processor
rtc_cmos
rtc_core
rtc_lib
ext4
mbcache
jbd2
crc16
raid0
raid1
md_mod
uvesafb
cn
sd_mod
ahci
libata
scsi_mod


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0a 0x0221401f
0x0b 0x02a19020
0x0c 0x40f100f0
0x0d 0x90171110
0x0e 0x40f100f2
0x0f 0x40f100f7
0x14 0x40f100f3
0x18 0x85a61150
0x19 0x40f100f4
0x1e 0x014411a0
0x1f 0x40f100f5
0x20 0x40f100f6
0x27 0x40f100f8

/sys/class/sound/hwC0D0/driver_pin_configs:
0x0d 0x90170010

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D2/init_pin_configs:
0x05 0x18560110
0x07 0x58560121
0x09 0x58560122
0x0b 0x58560123
0x0d 0x58560124

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:


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

usb 3-2: new full speed USB device using uhci_hcd and address 2
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 33 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
fan PNP0C0B:00: registered as cooling_device3
--
usb 3-2: configuration #1 chosen from 1 choice
input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16



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

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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-11 17:58       ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-11 19:09         ` Takashi Iwai
  2009-11-11 19:15           ` Wael Nasreddine (a.k.a eMxyzptlk)
  0 siblings, 1 reply; 26+ messages in thread
From: Takashi Iwai @ 2009-11-11 19:09 UTC (permalink / raw)
  To: Wael Nasreddine (a.k.a eMxyzptlk); +Cc: alsa-devel

At Wed, 11 Nov 2009 18:58:29 +0100,
Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> 
> On Wed, Nov 11, 2009 at 18:45, Takashi Iwai <tiwai@suse.de> wrote:
> > At Wed, 11 Nov 2009 18:40:48 +0100,
> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >>
> >> On Wed, Nov 11, 2009 at 18:35, Takashi Iwai <tiwai@suse.de> wrote:
> >> > At Wed, 11 Nov 2009 16:22:47 +0100,
> >> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >> >>
> >> >> On Wed, Jul 29, 2009 at 8:55 AM, Takashi Iwai<tiwai at suse.de> wrote:
> >> >> > At Tue, 28 Jul 2009 20:07:29 +0200,
> >> >> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >> >> >>
> >> >> >> On Mon, Jul 27, 2009 at 3:15 PM, Takashi Iwai <tiwai at suse.de> wrote:
> >> >> >>
> >> >> >>     At Sat, 25 Jul 2009 21:44:46 +0200,
> >> >> >>     Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >> >> >>     >
> >> >> >>     > I still got no solution for this problem,
> >> >> >>
> >> >> >>     Which problem?
> >> >> >>     It'd be helpful if you give a problem summary and what you've done
> >> >> >>     until now (and don't do top-posting)...
> >> >> >>
> >> >> >>     thanks,
> >> >> >>
> >> >> >>     Takashi
> >> >> >>
> >> >> >> Hi Takashi,
> >> >> >>
> >> >> >> I'm sorry I didn't notice that the problem wasn't quoted in my last message,
> >> >> >> anyway the whole topic is included in the forwarded message below, I tried
> >> >> >> using hda-verb and hda-analyzer, like you suggested in one of your emails, but
> >> >> >> since I don't even know what I'm looking for nor what to try, I did not got
> >> >> >> too far!
> >> >> >>
> >> >> >> What else do you suggest? Are you aware of anyone having a similar issue I can
> >> >> >> query to help me figure it out ?
> >> >> >
> >> >> > First off, try the very latest alsa-driver snapshot.
> >> >> >  ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> >> >> >
> >> >> > The problem is that BIOS sets only one stereo speaker in the pin
> >> >> > configuration, so the driver cannot know what to do with another
> >> >> > speaker.  In short, it's a BIOS bug.
> >> >> >
> >> >> > To overcome that, you need to figure out which pin corresponds to the
> >> >> > speaker.  The rest available (analog) output pins are 0x0f and 0x14.
> >> >> > Set these as output pins, and connect to DAC.  For example,
> >> >> >
> >> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
> >> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0
> >> >> >
> >> >> > which enables the output of the pin 0x0f, then connects to the first
> >> >> > DAC (= 0x10).  Similarly,
> >> >> >
> >> >> >        # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40
> >> >> >        # hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0
> >> >> >
> >> >> > which enables the output of the pin 0x14, then changes the connection
> >> >> > of its mux (0x15) to the first DAC (0x10).
> >> >> >
> >> >> > If these don't help, it's possible that some GPIO bits play any role.
> >> >> > Play with GPIO bits, which can be also changed via hda-verb.
> >> >> >
> >> >> >
> >> >> > Takashi
> >> >> >
> >> >>
> >> >> Hey Takashi,
> >> >>
> >> >> I tried what you have suggested above, and I also tried to upgrade the
> >> >> BIOS (it's F.2C now) but I still have the same problem with my sound,
> >> >> here's an updated alsa-info output
> >> >>
> >> >> http://www.alsa-project.org/db/?f=2cdfc5aa67bc0baf98d38c13806739afb6f5163f
> >> >
> >> > This is obviously from the very old alsa-driver version.
> >> > Double-check whether the installation was correct.
> >> >
> >> > Also, please attach alsa-info.sh output (run with --no-upload option)
> >> > instead of uploading to a server.
> >> >
> >> > Anyway, try the very latest snapshot (as of today).  A few new fixes
> >> > for HD laptops are there.  And remove all module options for
> >> > snd-hda-intel once.
> >> >
> >> >
> >> > HTH,
> >> >
> >> > Takashi
> >> >
> >>
> >> Hey Takashi,
> >>
> >> Here's one from the code in kernel 2.6.31.6 and only with enable_msi=1
> >
> > 2.6.31.x is also too old to debug :)
> >
> >> I will get a snapshot of the alsa driver and compile install it and I
> >> will reply to this topic with the one taken from the snapshot..
> >
> > Yes, please.  That'll be helpful.
> >
> > With the latest version, you don't need any option (hopefully).
> > Try without options at first.
> >
> >
> > Takashi
> >
> 
> Sadly I get the same result, only the left speaker is working,

To be sure, did you try the driver from below?
    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz


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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-11 19:09         ` Takashi Iwai
@ 2009-11-11 19:15           ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-11 19:25             ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-12  9:46             ` Wael Nasreddine (a.k.a eMxyzptlk)
  0 siblings, 2 replies; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-11 19:15 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Wed, Nov 11, 2009 at 20:09, Takashi Iwai <tiwai@suse.de> wrote:
> At Wed, 11 Nov 2009 18:58:29 +0100,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>
>> On Wed, Nov 11, 2009 at 18:45, Takashi Iwai <tiwai@suse.de> wrote:
>> > At Wed, 11 Nov 2009 18:40:48 +0100,
>> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>> >>
>> >> On Wed, Nov 11, 2009 at 18:35, Takashi Iwai <tiwai@suse.de> wrote:
>> >> > At Wed, 11 Nov 2009 16:22:47 +0100,
>> >> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>> >> >>
>> >> >> On Wed, Jul 29, 2009 at 8:55 AM, Takashi Iwai<tiwai at suse.de> wrote:
>> >> >> > At Tue, 28 Jul 2009 20:07:29 +0200,
>> >> >> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>> >> >> >>
>> >> >> >> On Mon, Jul 27, 2009 at 3:15 PM, Takashi Iwai <tiwai at suse.de> wrote:
>> >> >> >>
>> >> >> >>     At Sat, 25 Jul 2009 21:44:46 +0200,
>> >> >> >>     Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>> >> >> >>     >
>> >> >> >>     > I still got no solution for this problem,
>> >> >> >>
>> >> >> >>     Which problem?
>> >> >> >>     It'd be helpful if you give a problem summary and what you've done
>> >> >> >>     until now (and don't do top-posting)...
>> >> >> >>
>> >> >> >>     thanks,
>> >> >> >>
>> >> >> >>     Takashi
>> >> >> >>
>> >> >> >> Hi Takashi,
>> >> >> >>
>> >> >> >> I'm sorry I didn't notice that the problem wasn't quoted in my last message,
>> >> >> >> anyway the whole topic is included in the forwarded message below, I tried
>> >> >> >> using hda-verb and hda-analyzer, like you suggested in one of your emails, but
>> >> >> >> since I don't even know what I'm looking for nor what to try, I did not got
>> >> >> >> too far!
>> >> >> >>
>> >> >> >> What else do you suggest? Are you aware of anyone having a similar issue I can
>> >> >> >> query to help me figure it out ?
>> >> >> >
>> >> >> > First off, try the very latest alsa-driver snapshot.
>> >> >> >  ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>> >> >> >
>> >> >> > The problem is that BIOS sets only one stereo speaker in the pin
>> >> >> > configuration, so the driver cannot know what to do with another
>> >> >> > speaker.  In short, it's a BIOS bug.
>> >> >> >
>> >> >> > To overcome that, you need to figure out which pin corresponds to the
>> >> >> > speaker.  The rest available (analog) output pins are 0x0f and 0x14.
>> >> >> > Set these as output pins, and connect to DAC.  For example,
>> >> >> >
>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0
>> >> >> >
>> >> >> > which enables the output of the pin 0x0f, then connects to the first
>> >> >> > DAC (= 0x10).  Similarly,
>> >> >> >
>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40
>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0
>> >> >> >
>> >> >> > which enables the output of the pin 0x14, then changes the connection
>> >> >> > of its mux (0x15) to the first DAC (0x10).
>> >> >> >
>> >> >> > If these don't help, it's possible that some GPIO bits play any role.
>> >> >> > Play with GPIO bits, which can be also changed via hda-verb.
>> >> >> >
>> >> >> >
>> >> >> > Takashi
>> >> >> >
>> >> >>
>> >> >> Hey Takashi,
>> >> >>
>> >> >> I tried what you have suggested above, and I also tried to upgrade the
>> >> >> BIOS (it's F.2C now) but I still have the same problem with my sound,
>> >> >> here's an updated alsa-info output
>> >> >>
>> >> >> http://www.alsa-project.org/db/?f=2cdfc5aa67bc0baf98d38c13806739afb6f5163f
>> >> >
>> >> > This is obviously from the very old alsa-driver version.
>> >> > Double-check whether the installation was correct.
>> >> >
>> >> > Also, please attach alsa-info.sh output (run with --no-upload option)
>> >> > instead of uploading to a server.
>> >> >
>> >> > Anyway, try the very latest snapshot (as of today).  A few new fixes
>> >> > for HD laptops are there.  And remove all module options for
>> >> > snd-hda-intel once.
>> >> >
>> >> >
>> >> > HTH,
>> >> >
>> >> > Takashi
>> >> >
>> >>
>> >> Hey Takashi,
>> >>
>> >> Here's one from the code in kernel 2.6.31.6 and only with enable_msi=1
>> >
>> > 2.6.31.x is also too old to debug :)
>> >
>> >> I will get a snapshot of the alsa driver and compile install it and I
>> >> will reply to this topic with the one taken from the snapshot..
>> >
>> > Yes, please.  That'll be helpful.
>> >
>> > With the latest version, you don't need any option (hopefully).
>> > Try without options at first.
>> >
>> >
>> > Takashi
>> >
>>
>> Sadly I get the same result, only the left speaker is working,
>
> To be sure, did you try the driver from below?
>    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>
>
> Takashi
>

Nope I tried this one

http://www.alsa-project.org/snapshot/?package=alsa-driver

I will try this one right now


-- 
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-11 19:15           ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-11 19:25             ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-12  9:46             ` Wael Nasreddine (a.k.a eMxyzptlk)
  1 sibling, 0 replies; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-11 19:25 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

On Wed, Nov 11, 2009 at 20:15, Wael Nasreddine (a.k.a eMxyzptlk)
<mla@nasreddine.com> wrote:
> On Wed, Nov 11, 2009 at 20:09, Takashi Iwai <tiwai@suse.de> wrote:
>> At Wed, 11 Nov 2009 18:58:29 +0100,
>> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>>
>>> On Wed, Nov 11, 2009 at 18:45, Takashi Iwai <tiwai@suse.de> wrote:
>>> > At Wed, 11 Nov 2009 18:40:48 +0100,
>>> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>> >>
>>> >> On Wed, Nov 11, 2009 at 18:35, Takashi Iwai <tiwai@suse.de> wrote:
>>> >> > At Wed, 11 Nov 2009 16:22:47 +0100,
>>> >> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>> >> >>
>>> >> >> On Wed, Jul 29, 2009 at 8:55 AM, Takashi Iwai<tiwai at suse.de> wrote:
>>> >> >> > At Tue, 28 Jul 2009 20:07:29 +0200,
>>> >> >> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>> >> >> >>
>>> >> >> >> On Mon, Jul 27, 2009 at 3:15 PM, Takashi Iwai <tiwai at suse.de> wrote:
>>> >> >> >>
>>> >> >> >>     At Sat, 25 Jul 2009 21:44:46 +0200,
>>> >> >> >>     Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>> >> >> >>     >
>>> >> >> >>     > I still got no solution for this problem,
>>> >> >> >>
>>> >> >> >>     Which problem?
>>> >> >> >>     It'd be helpful if you give a problem summary and what you've done
>>> >> >> >>     until now (and don't do top-posting)...
>>> >> >> >>
>>> >> >> >>     thanks,
>>> >> >> >>
>>> >> >> >>     Takashi
>>> >> >> >>
>>> >> >> >> Hi Takashi,
>>> >> >> >>
>>> >> >> >> I'm sorry I didn't notice that the problem wasn't quoted in my last message,
>>> >> >> >> anyway the whole topic is included in the forwarded message below, I tried
>>> >> >> >> using hda-verb and hda-analyzer, like you suggested in one of your emails, but
>>> >> >> >> since I don't even know what I'm looking for nor what to try, I did not got
>>> >> >> >> too far!
>>> >> >> >>
>>> >> >> >> What else do you suggest? Are you aware of anyone having a similar issue I can
>>> >> >> >> query to help me figure it out ?
>>> >> >> >
>>> >> >> > First off, try the very latest alsa-driver snapshot.
>>> >> >> >  ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>>> >> >> >
>>> >> >> > The problem is that BIOS sets only one stereo speaker in the pin
>>> >> >> > configuration, so the driver cannot know what to do with another
>>> >> >> > speaker.  In short, it's a BIOS bug.
>>> >> >> >
>>> >> >> > To overcome that, you need to figure out which pin corresponds to the
>>> >> >> > speaker.  The rest available (analog) output pins are 0x0f and 0x14.
>>> >> >> > Set these as output pins, and connect to DAC.  For example,
>>> >> >> >
>>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
>>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0
>>> >> >> >
>>> >> >> > which enables the output of the pin 0x0f, then connects to the first
>>> >> >> > DAC (= 0x10).  Similarly,
>>> >> >> >
>>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40
>>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0
>>> >> >> >
>>> >> >> > which enables the output of the pin 0x14, then changes the connection
>>> >> >> > of its mux (0x15) to the first DAC (0x10).
>>> >> >> >
>>> >> >> > If these don't help, it's possible that some GPIO bits play any role.
>>> >> >> > Play with GPIO bits, which can be also changed via hda-verb.
>>> >> >> >
>>> >> >> >
>>> >> >> > Takashi
>>> >> >> >
>>> >> >>
>>> >> >> Hey Takashi,
>>> >> >>
>>> >> >> I tried what you have suggested above, and I also tried to upgrade the
>>> >> >> BIOS (it's F.2C now) but I still have the same problem with my sound,
>>> >> >> here's an updated alsa-info output
>>> >> >>
>>> >> >> http://www.alsa-project.org/db/?f=2cdfc5aa67bc0baf98d38c13806739afb6f5163f
>>> >> >
>>> >> > This is obviously from the very old alsa-driver version.
>>> >> > Double-check whether the installation was correct.
>>> >> >
>>> >> > Also, please attach alsa-info.sh output (run with --no-upload option)
>>> >> > instead of uploading to a server.
>>> >> >
>>> >> > Anyway, try the very latest snapshot (as of today).  A few new fixes
>>> >> > for HD laptops are there.  And remove all module options for
>>> >> > snd-hda-intel once.
>>> >> >
>>> >> >
>>> >> > HTH,
>>> >> >
>>> >> > Takashi
>>> >> >
>>> >>
>>> >> Hey Takashi,
>>> >>
>>> >> Here's one from the code in kernel 2.6.31.6 and only with enable_msi=1
>>> >
>>> > 2.6.31.x is also too old to debug :)
>>> >
>>> >> I will get a snapshot of the alsa driver and compile install it and I
>>> >> will reply to this topic with the one taken from the snapshot..
>>> >
>>> > Yes, please.  That'll be helpful.
>>> >
>>> > With the latest version, you don't need any option (hopefully).
>>> > Try without options at first.
>>> >
>>> >
>>> > Takashi
>>> >
>>>
>>> Sadly I get the same result, only the left speaker is working,
>>
>> To be sure, did you try the driver from below?
>>    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>>
>>
>> Takashi
>>
>
> Nope I tried this one
>
> http://www.alsa-project.org/snapshot/?package=alsa-driver
>
> I will try this one right now
>

Still no go :'(


-- 
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.

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

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

!!Script ran on: Wed Nov 11 19:24:24 UTC 2009


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

Arch Linux \r (\n) (\l)


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

Manufacturer:      Hewlett-Packard
Product Name:      HP Pavilion dv7 Notebook PC


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

Kernel release:    2.6.31-ARCH
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
SMP Enabled:       Yes


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

Driver version:     1.0.21
Library version:    1.0.21a
Utilities version:  1.0.21


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

snd_hda_intel


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

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


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdf000000 irq 33


!!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/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 103c:30f4


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

!!Module: snd_hda_intel
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
	enable : Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	index : -1,-1,-1,-1,-1,-1,-1,-1
	model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	position_fix : 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
	probe_only : N,N,N,N,N,N,N,N
	single_cmd : N


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

Codec: IDT 92HD71B7X
Address: 0
Function Id: 0x1
Vendor Id: 0x111d76b2
Subsystem Id: 0x103c30f6
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=8, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Power-Map: 0x01
Analog Loopback: 0x00
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x00:
  Unsolicited: tag=01, enabled=1
  Connection: 3
     0x10 0x11* 0x17
Node 0x0b [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f0: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x90170010: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f2: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x2
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x40f100f7: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x7
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x63 0x63]
  Device: name="STAC92xx Analog", type="Audio", device=0, substream=0
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x63 0x63]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x12 [Audio Input] wcaps 0x1d0541: Stereo
  Device: name="STAC92xx Analog", type="Audio", device=0, substream=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1c
  Processing caps: benign=0, ncoeff=0
Node 0x13 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D0, actual=D0
  Delay: 13 samples
  Connection: 1
     0x1d
  Processing caps: benign=0, ncoeff=0
Node 0x14 [Pin Complex] wcaps 0x400100: Mono
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f3: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x3
  Pin-ctls: 0x00:
  Connection: 1
     0x16
Node 0x15 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x10* 0x11 0x17
Node 0x16 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x15
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 5
     0x10 0x11 0x27 0x1a 0x1b
Node 0x18 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x85a61150: [Fixed] Mic at Ext Top
    Conn = Digital, Color = Black
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x19 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40f100f4: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x4
  Pin-ctls: 0x00:
Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x09 0x09]
  Connection: 4
     0x1a 0x17 0x18* 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 4
     0x1b* 0x17 0x18 0x19
Node 0x1e [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x014411a0: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x24
Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00010010: OUT EAPD
  EAPD 0x0:
  Pin Default 0x40f100f5: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x5
  Pin-ctls: 0x00:
  Power: setting=D0, actual=D0
  Connection: 2
     0x24* 0x25
Node 0x20 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f6: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x6
  Pin-ctls: 0x00:
  Connection: 1
     0x25
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
  Device: name="STAC92xx Digital", type="SPDIF", device=1, substream=0
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x21* 0x1c 0x1d
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x22* 0x1c 0x1d
Node 0x26 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1
  Amp-Out vals:  [0x00]
Node 0x27 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40f100f8: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x8
  Pin-ctls: 0x00:
Node 0x28 [Volume Knob Widget] wcaps 0x600000: Mono
  Volume-Knob: delta=1, steps=127, direct=1, val=127
  Connection: 2
     0x10 0x11
Codec: Nvidia MCP78 HDMI
Address: 2
Function Id: 0x1
Vendor Id: 0x10de0006
Subsystem Id: 0x10de0101
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 0x04 [Audio Output] wcaps 0x211: Stereo Digital
  Device: name="NVIDIA HDMI", type="HDMI", device=3, substream=0
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x07 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560121: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x08 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x09 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560122: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x0a [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0b [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560123: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x3
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0a
Node 0x0c [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0d [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560124: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x4
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0c
--endcollapse--


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

crw-rw---- 1 root audio 116,  0 Nov 11 20:23 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  4 Nov 11 20:23 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  6 Nov 11 20:23 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116, 24 Nov 11 20:23 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Nov 11 20:24 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 17 Nov 11 20:23 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 19 Nov 11 20:23 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116,  1 Nov 11 20:23 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Nov 11 20:23 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Nov 11 20:23 .
drwxr-xr-x 3 root root 240 Nov 11 20:23 ..
lrwxrwxrwx 1 root root  12 Nov 11 20:23 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

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

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xdf000000 irq 33'
  Mixer name	: 'Nvidia MCP78 HDMI'
  Components	: 'HDA:111d76b2,103c30f6,00100302 HDA:10de0006,10de0101,00100000'
  Controls      : 25
  Simple ctrls  : 14
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 36 [56%] [-21.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  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
  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
  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 Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
  Item0: 'Digital Playback'
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-18.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 9 [60%] [13.50dB] [on]
  Front Right: Capture 9 [60%] [13.50dB] [on]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Digital Mic',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]


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

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 64
		value.1 64
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Mic In'
		comment.item.1 'Line In'
		iface MIXER
		name 'Mic Jack Mode'
		value 'Mic In'
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Beep Playback Switch'
		value true
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 3'
		comment.dbmin -1800
		comment.dbmax 0
		iface MIXER
		name 'Beep Playback Volume'
		value 0
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.8 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		value.0 9
		value.1 9
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.10 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Digital Mic Capture Volume'
		value.0 0
		value.1 0
	}
	control.11 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		value.0 0
		value.1 0
	}
	control.12 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Digital Playback'
		comment.item.1 'Analog Mux 1'
		comment.item.2 'Analog Mux 2'
		iface MIXER
		name 'IEC958 Playback Source'
		value 'Digital Playback'
	}
	control.13 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.14 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.15 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.16 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
	}
	control.17 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.18 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 36
	}
	control.19 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.20 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.21 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.22 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.23 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
	}
	control.24 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
	}
	control.25 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 120'
		comment.tlv '0000000100000008fffff44800000032'
		comment.dbmin -3000
		comment.dbmax 3000
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
	}
}
--endcollapse--


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

Module
ipv6
ext3
jbd
usbhid
hid
snd_seq_dummy
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
snd_pcm_oss
snd_mixer_oss
snd_hda_codec_nvhdmi
snd_hda_codec_idt
joydev
fan
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm
uvcvideo
videodev
v4l1_compat
v4l2_compat_ioctl32
sdhci_pci
hp_accel
lis3lv02d
video
output
snd_timer
snd
soundcore
snd_page_alloc
sdhci
nvidia
input_polldev
wmi
psmouse
thermal
battery
mmc_core
led_class
r8169
mii
button
ac
iTCO_wdt
iTCO_vendor_support
serio_raw
rt3070sta
ohci1394
sg
i2c_i801
i2c_core
ieee1394
jmb38x_ms
memstick
sr_mod
cdrom
intel_agp
evdev
uhci_hcd
ehci_hcd
usbcore
acpi_cpufreq
freq_table
processor
rtc_cmos
rtc_core
rtc_lib
ext4
mbcache
jbd2
crc16
raid0
raid1
md_mod
uvesafb
cn
sd_mod
ahci
libata
scsi_mod


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0a 0x0221401f
0x0b 0x02a19020
0x0c 0x40f100f0
0x0d 0x90171110
0x0e 0x40f100f2
0x0f 0x40f100f7
0x14 0x40f100f3
0x18 0x85a61150
0x19 0x40f100f4
0x1e 0x014411a0
0x1f 0x40f100f5
0x20 0x40f100f6
0x27 0x40f100f8

/sys/class/sound/hwC0D0/driver_pin_configs:
0x0d 0x90170010

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D2/init_pin_configs:
0x05 0x18560110
0x07 0x58560121
0x09 0x58560122
0x0b 0x58560123
0x0d 0x58560124

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:


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

lis3lv02d driver loaded.
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 33 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
fan PNP0C0B:00: registered as cooling_device3
--
NVRM: loading NVIDIA UNIX x86_64 Kernel Module  190.42  Tue Oct 20 20:25:42 PDT 2009
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9
input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[913f020087f640d9]



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

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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-11 19:15           ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-11 19:25             ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-12  9:46             ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-12 10:16               ` Takashi Iwai
  1 sibling, 1 reply; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-12  9:46 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

On Wed, Nov 11, 2009 at 20:15, Wael Nasreddine (a.k.a eMxyzptlk)
<mla@nasreddine.com> wrote:
> On Wed, Nov 11, 2009 at 20:09, Takashi Iwai <tiwai@suse.de> wrote:
>> At Wed, 11 Nov 2009 18:58:29 +0100,
>> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>>
>>> On Wed, Nov 11, 2009 at 18:45, Takashi Iwai <tiwai@suse.de> wrote:
>>> > At Wed, 11 Nov 2009 18:40:48 +0100,
>>> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>> >>
>>> >> On Wed, Nov 11, 2009 at 18:35, Takashi Iwai <tiwai@suse.de> wrote:
>>> >> > At Wed, 11 Nov 2009 16:22:47 +0100,
>>> >> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>> >> >>
>>> >> >> On Wed, Jul 29, 2009 at 8:55 AM, Takashi Iwai<tiwai at suse.de> wrote:
>>> >> >> > At Tue, 28 Jul 2009 20:07:29 +0200,
>>> >> >> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>> >> >> >>
>>> >> >> >> On Mon, Jul 27, 2009 at 3:15 PM, Takashi Iwai <tiwai at suse.de> wrote:
>>> >> >> >>
>>> >> >> >>     At Sat, 25 Jul 2009 21:44:46 +0200,
>>> >> >> >>     Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>> >> >> >>     >
>>> >> >> >>     > I still got no solution for this problem,
>>> >> >> >>
>>> >> >> >>     Which problem?
>>> >> >> >>     It'd be helpful if you give a problem summary and what you've done
>>> >> >> >>     until now (and don't do top-posting)...
>>> >> >> >>
>>> >> >> >>     thanks,
>>> >> >> >>
>>> >> >> >>     Takashi
>>> >> >> >>
>>> >> >> >> Hi Takashi,
>>> >> >> >>
>>> >> >> >> I'm sorry I didn't notice that the problem wasn't quoted in my last message,
>>> >> >> >> anyway the whole topic is included in the forwarded message below, I tried
>>> >> >> >> using hda-verb and hda-analyzer, like you suggested in one of your emails, but
>>> >> >> >> since I don't even know what I'm looking for nor what to try, I did not got
>>> >> >> >> too far!
>>> >> >> >>
>>> >> >> >> What else do you suggest? Are you aware of anyone having a similar issue I can
>>> >> >> >> query to help me figure it out ?
>>> >> >> >
>>> >> >> > First off, try the very latest alsa-driver snapshot.
>>> >> >> >  ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>>> >> >> >
>>> >> >> > The problem is that BIOS sets only one stereo speaker in the pin
>>> >> >> > configuration, so the driver cannot know what to do with another
>>> >> >> > speaker.  In short, it's a BIOS bug.
>>> >> >> >
>>> >> >> > To overcome that, you need to figure out which pin corresponds to the
>>> >> >> > speaker.  The rest available (analog) output pins are 0x0f and 0x14.
>>> >> >> > Set these as output pins, and connect to DAC.  For example,
>>> >> >> >
>>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
>>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0
>>> >> >> >
>>> >> >> > which enables the output of the pin 0x0f, then connects to the first
>>> >> >> > DAC (= 0x10).  Similarly,
>>> >> >> >
>>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40
>>> >> >> >        # hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0
>>> >> >> >
>>> >> >> > which enables the output of the pin 0x14, then changes the connection
>>> >> >> > of its mux (0x15) to the first DAC (0x10).
>>> >> >> >
>>> >> >> > If these don't help, it's possible that some GPIO bits play any role.
>>> >> >> > Play with GPIO bits, which can be also changed via hda-verb.
>>> >> >> >
>>> >> >> >
>>> >> >> > Takashi
>>> >> >> >
>>> >> >>
>>> >> >> Hey Takashi,
>>> >> >>
>>> >> >> I tried what you have suggested above, and I also tried to upgrade the
>>> >> >> BIOS (it's F.2C now) but I still have the same problem with my sound,
>>> >> >> here's an updated alsa-info output
>>> >> >>
>>> >> >> http://www.alsa-project.org/db/?f=2cdfc5aa67bc0baf98d38c13806739afb6f5163f
>>> >> >
>>> >> > This is obviously from the very old alsa-driver version.
>>> >> > Double-check whether the installation was correct.
>>> >> >
>>> >> > Also, please attach alsa-info.sh output (run with --no-upload option)
>>> >> > instead of uploading to a server.
>>> >> >
>>> >> > Anyway, try the very latest snapshot (as of today).  A few new fixes
>>> >> > for HD laptops are there.  And remove all module options for
>>> >> > snd-hda-intel once.
>>> >> >
>>> >> >
>>> >> > HTH,
>>> >> >
>>> >> > Takashi
>>> >> >
>>> >>
>>> >> Hey Takashi,
>>> >>
>>> >> Here's one from the code in kernel 2.6.31.6 and only with enable_msi=1
>>> >
>>> > 2.6.31.x is also too old to debug :)
>>> >
>>> >> I will get a snapshot of the alsa driver and compile install it and I
>>> >> will reply to this topic with the one taken from the snapshot..
>>> >
>>> > Yes, please.  That'll be helpful.
>>> >
>>> > With the latest version, you don't need any option (hopefully).
>>> > Try without options at first.
>>> >
>>> >
>>> > Takashi
>>> >
>>>
>>> Sadly I get the same result, only the left speaker is working,
>>
>> To be sure, did you try the driver from below?
>>    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>>
>>
>> Takashi
>>
>
> Nope I tried this one
>
> http://www.alsa-project.org/snapshot/?package=alsa-driver
>
> I will try this one right now
>

Takashi,

I tried the snapshot from
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
last night with and without options still no go, the options I've
tried:

- options snd-hda-intel enable_msi=
- options snd-hda-intel enable_msi=1 single_cmd=0
power_save_controller=0 power_save=0 model=hp-dv5

What do you suggest I try next?

alsa-info attached.

>
> --
> Wael Nasreddine
>
> Weem Chief-Development Officer - http://www.weem.com
>
> Blog    : http://wael.nasreddine.com
> E-mail  : wael.nasreddine@weem.com
> gTalk   : wael.nasreddine@gmail.com
> Tel     : +33.6.32.94.70.13
> Skype   : eMxyzptlk
> Twitter : @eMxyzptlk
>
> PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2
>
> .: An infinite number of monkeys typing into GNU emacs,
>   would never make a good program. (L. Torvalds 1995) :.
>



-- 
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.

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

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

!!Script ran on: Wed Nov 11 19:24:24 UTC 2009


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

Arch Linux \r (\n) (\l)


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

Manufacturer:      Hewlett-Packard
Product Name:      HP Pavilion dv7 Notebook PC


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

Kernel release:    2.6.31-ARCH
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
SMP Enabled:       Yes


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

Driver version:     1.0.21
Library version:    1.0.21a
Utilities version:  1.0.21


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

snd_hda_intel


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

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


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdf000000 irq 33


!!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/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 103c:30f4


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

!!Module: snd_hda_intel
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
	enable : Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	index : -1,-1,-1,-1,-1,-1,-1,-1
	model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	position_fix : 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
	probe_only : N,N,N,N,N,N,N,N
	single_cmd : N


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

Codec: IDT 92HD71B7X
Address: 0
Function Id: 0x1
Vendor Id: 0x111d76b2
Subsystem Id: 0x103c30f6
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=8, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Power-Map: 0x01
Analog Loopback: 0x00
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x00:
  Unsolicited: tag=01, enabled=1
  Connection: 3
     0x10 0x11* 0x17
Node 0x0b [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f0: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x90170010: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f2: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x2
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x40f100f7: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x7
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x63 0x63]
  Device: name="STAC92xx Analog", type="Audio", device=0, substream=0
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x63 0x63]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x12 [Audio Input] wcaps 0x1d0541: Stereo
  Device: name="STAC92xx Analog", type="Audio", device=0, substream=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1c
  Processing caps: benign=0, ncoeff=0
Node 0x13 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D0, actual=D0
  Delay: 13 samples
  Connection: 1
     0x1d
  Processing caps: benign=0, ncoeff=0
Node 0x14 [Pin Complex] wcaps 0x400100: Mono
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f3: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x3
  Pin-ctls: 0x00:
  Connection: 1
     0x16
Node 0x15 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x10* 0x11 0x17
Node 0x16 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x15
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 5
     0x10 0x11 0x27 0x1a 0x1b
Node 0x18 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x85a61150: [Fixed] Mic at Ext Top
    Conn = Digital, Color = Black
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x19 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40f100f4: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x4
  Pin-ctls: 0x00:
Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x09 0x09]
  Connection: 4
     0x1a 0x17 0x18* 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 4
     0x1b* 0x17 0x18 0x19
Node 0x1e [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x014411a0: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x24
Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00010010: OUT EAPD
  EAPD 0x0:
  Pin Default 0x40f100f5: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x5
  Pin-ctls: 0x00:
  Power: setting=D0, actual=D0
  Connection: 2
     0x24* 0x25
Node 0x20 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f6: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x6
  Pin-ctls: 0x00:
  Connection: 1
     0x25
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
  Device: name="STAC92xx Digital", type="SPDIF", device=1, substream=0
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x21* 0x1c 0x1d
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x22* 0x1c 0x1d
Node 0x26 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1
  Amp-Out vals:  [0x00]
Node 0x27 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40f100f8: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x8
  Pin-ctls: 0x00:
Node 0x28 [Volume Knob Widget] wcaps 0x600000: Mono
  Volume-Knob: delta=1, steps=127, direct=1, val=127
  Connection: 2
     0x10 0x11
Codec: Nvidia MCP78 HDMI
Address: 2
Function Id: 0x1
Vendor Id: 0x10de0006
Subsystem Id: 0x10de0101
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 0x04 [Audio Output] wcaps 0x211: Stereo Digital
  Device: name="NVIDIA HDMI", type="HDMI", device=3, substream=0
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x07 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560121: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x08 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x09 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560122: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x0a [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0b [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560123: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x3
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0a
Node 0x0c [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0d [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560124: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x4
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0c
--endcollapse--


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

crw-rw---- 1 root audio 116,  0 Nov 11 20:23 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  4 Nov 11 20:23 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  6 Nov 11 20:23 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116, 24 Nov 11 20:23 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Nov 11 20:24 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 17 Nov 11 20:23 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 19 Nov 11 20:23 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116,  1 Nov 11 20:23 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Nov 11 20:23 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Nov 11 20:23 .
drwxr-xr-x 3 root root 240 Nov 11 20:23 ..
lrwxrwxrwx 1 root root  12 Nov 11 20:23 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

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

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xdf000000 irq 33'
  Mixer name	: 'Nvidia MCP78 HDMI'
  Components	: 'HDA:111d76b2,103c30f6,00100302 HDA:10de0006,10de0101,00100000'
  Controls      : 25
  Simple ctrls  : 14
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 36 [56%] [-21.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  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
  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
  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 Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
  Item0: 'Digital Playback'
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-18.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 9 [60%] [13.50dB] [on]
  Front Right: Capture 9 [60%] [13.50dB] [on]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Digital Mic',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]


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

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 64
		value.1 64
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Mic In'
		comment.item.1 'Line In'
		iface MIXER
		name 'Mic Jack Mode'
		value 'Mic In'
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Beep Playback Switch'
		value true
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 3'
		comment.dbmin -1800
		comment.dbmax 0
		iface MIXER
		name 'Beep Playback Volume'
		value 0
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.8 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		value.0 9
		value.1 9
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.10 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Digital Mic Capture Volume'
		value.0 0
		value.1 0
	}
	control.11 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		value.0 0
		value.1 0
	}
	control.12 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Digital Playback'
		comment.item.1 'Analog Mux 1'
		comment.item.2 'Analog Mux 2'
		iface MIXER
		name 'IEC958 Playback Source'
		value 'Digital Playback'
	}
	control.13 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.14 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.15 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.16 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
	}
	control.17 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.18 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 36
	}
	control.19 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.20 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.21 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.22 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.23 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
	}
	control.24 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
	}
	control.25 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 120'
		comment.tlv '0000000100000008fffff44800000032'
		comment.dbmin -3000
		comment.dbmax 3000
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
	}
}
--endcollapse--


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

Module
ipv6
ext3
jbd
usbhid
hid
snd_seq_dummy
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
snd_pcm_oss
snd_mixer_oss
snd_hda_codec_nvhdmi
snd_hda_codec_idt
joydev
fan
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm
uvcvideo
videodev
v4l1_compat
v4l2_compat_ioctl32
sdhci_pci
hp_accel
lis3lv02d
video
output
snd_timer
snd
soundcore
snd_page_alloc
sdhci
nvidia
input_polldev
wmi
psmouse
thermal
battery
mmc_core
led_class
r8169
mii
button
ac
iTCO_wdt
iTCO_vendor_support
serio_raw
rt3070sta
ohci1394
sg
i2c_i801
i2c_core
ieee1394
jmb38x_ms
memstick
sr_mod
cdrom
intel_agp
evdev
uhci_hcd
ehci_hcd
usbcore
acpi_cpufreq
freq_table
processor
rtc_cmos
rtc_core
rtc_lib
ext4
mbcache
jbd2
crc16
raid0
raid1
md_mod
uvesafb
cn
sd_mod
ahci
libata
scsi_mod


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0a 0x0221401f
0x0b 0x02a19020
0x0c 0x40f100f0
0x0d 0x90171110
0x0e 0x40f100f2
0x0f 0x40f100f7
0x14 0x40f100f3
0x18 0x85a61150
0x19 0x40f100f4
0x1e 0x014411a0
0x1f 0x40f100f5
0x20 0x40f100f6
0x27 0x40f100f8

/sys/class/sound/hwC0D0/driver_pin_configs:
0x0d 0x90170010

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D2/init_pin_configs:
0x05 0x18560110
0x07 0x58560121
0x09 0x58560122
0x0b 0x58560123
0x0d 0x58560124

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:


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

lis3lv02d driver loaded.
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 33 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
fan PNP0C0B:00: registered as cooling_device3
--
NVRM: loading NVIDIA UNIX x86_64 Kernel Module  190.42  Tue Oct 20 20:25:42 PDT 2009
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9
input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[913f020087f640d9]



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

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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-12  9:46             ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-12 10:16               ` Takashi Iwai
  2009-11-12 15:09                 ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-14 12:46                 ` Wael Nasreddine (a.k.a eMxyzptlk)
  0 siblings, 2 replies; 26+ messages in thread
From: Takashi Iwai @ 2009-11-12 10:16 UTC (permalink / raw)
  To: Wael Nasreddine (a.k.a eMxyzptlk); +Cc: alsa-devel

At Thu, 12 Nov 2009 10:46:24 +0100,
Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> 
> Takashi,
> 
> I tried the snapshot from
> ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> last night with and without options still no go, the options I've
> tried:
> 
> - options snd-hda-intel enable_msi=
> - options snd-hda-intel enable_msi=1 single_cmd=0
> power_save_controller=0 power_save=0 model=hp-dv5

power_save should be irrelevant.  And model=hp-dv5 and enable_msi=1
are already turned on as default in the recent version.

The next would be model=auto to avoid hp-dv5 quirk.

Also, it's helpful if you give a summary of your problems again.


Takashi

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-12 10:16               ` Takashi Iwai
@ 2009-11-12 15:09                 ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-14 12:46                 ` Wael Nasreddine (a.k.a eMxyzptlk)
  1 sibling, 0 replies; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-12 15:09 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, julien.cynober

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

On Thu, Nov 12, 2009 at 11:16, Takashi Iwai <tiwai@suse.de> wrote:
> At Thu, 12 Nov 2009 10:46:24 +0100,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
>>
>> Takashi,
>>
>> I tried the snapshot from
>> ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>> last night with and without options still no go, the options I've
>> tried:
>>
>> - options snd-hda-intel enable_msi=
>> - options snd-hda-intel enable_msi=1 single_cmd=0
>> power_save_controller=0 power_save=0 model=hp-dv5
>
> power_save should be irrelevant.  And model=hp-dv5 and enable_msi=1
> are already turned on as default in the recent version.
>
> The next would be model=auto to avoid hp-dv5 quirk.
>
> Also, it's helpful if you give a summary of your problems again.
>
>
> Takashi
>

Takashi,

I just tried 'options snd-hda-intel enable_msi=1 model=auto' Didn't
have much effect, the same problem (sound only from left speaker),
always the same result with 'speaker-test -c6 -twav' I can only hear
'Front Left'


Summary:
=======

I have an HP DV7-1299EF, BIOS Version F.2C, Due to a BIOS BUG, the
BIOS report only one speaker as an output so the driver does not know
how to use pins in order to have a stereo output ( at least that's
what you told me last month when you analysed the alsa-info output)...
But this can be confirmed, someone else (Cc'ed by this email) has the
same Laptop bought in France as well, using the same OS (Arch Linux
64bit), same Kernel (2.6.31.6) but his BIOS is Version F.23, He does
not have this problem, he can hear sound coming out of The left, right
and LFE, but in my case only the left works..

First I suspected a hardware problem so 2 days ago I restored Windows,
tried the sound it works, and I updated my BIOS (it was version F.2A
before) but sadly it has the same BUG.

Attached to this mail, my alsa-info.txt (mine-alsa-info.txt) and his
alsa-info.txt (his-alsa-info.txt)

Thank you for helping me!!

Regards,
Wael

-- 
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.

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

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

!!Script ran on: Thu Nov 12 15:04:54 UTC 2009


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

Arch Linux \r (\n) (\l)


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

Manufacturer:      Hewlett-Packard
Product Name:      HP Pavilion dv7 Notebook PC


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

Kernel release:    2.6.31-ARCH
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
SMP Enabled:       Yes


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

Driver version:     1.0.21
Library version:    1.0.21a
Utilities version:  1.0.21


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

snd_hda_intel


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

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


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdf000000 irq 33


!!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/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 103c:30f4


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

snd-hda-intel: enable_msi=1 model=auto


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

!!Module: snd_hda_intel
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
	enable : Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : 1
	id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	index : -1,-1,-1,-1,-1,-1,-1,-1
	model : auto,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	position_fix : 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
	probe_only : N,N,N,N,N,N,N,N
	single_cmd : N


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

Codec: IDT 92HD71B7X
Address: 0
Function Id: 0x1
Vendor Id: 0x111d76b2
Subsystem Id: 0x103c30f6
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=8, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Power-Map: 0x01
Analog Loopback: 0x00
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x00:
  Unsolicited: tag=01, enabled=1
  Connection: 3
     0x10 0x11* 0x17
Node 0x0b [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f0: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x90171110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Black
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f2: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x2
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x40f100f7: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x7
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x6e 0x6e]
  Device: name="STAC92xx Analog", type="Audio", device=0, substream=0
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x6e 0x6e]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x12 [Audio Input] wcaps 0x1d0541: Stereo
  Device: name="STAC92xx Analog", type="Audio", device=0, substream=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1c
  Processing caps: benign=0, ncoeff=0
Node 0x13 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D0, actual=D0
  Delay: 13 samples
  Connection: 1
     0x1d
  Processing caps: benign=0, ncoeff=0
Node 0x14 [Pin Complex] wcaps 0x400100: Mono
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f3: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x3
  Pin-ctls: 0x00:
  Connection: 1
     0x16
Node 0x15 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x10* 0x11 0x17
Node 0x16 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x15
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 5
     0x10 0x11 0x27 0x1a 0x1b
Node 0x18 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x85a61150: [Fixed] Mic at Ext Top
    Conn = Digital, Color = Black
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x19 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40f100f4: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x4
  Pin-ctls: 0x00:
Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 4
     0x1a 0x17 0x18* 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 4
     0x1b* 0x17 0x18 0x19
Node 0x1e [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x014411a0: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x24
Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00010010: OUT EAPD
  EAPD 0x0:
  Pin Default 0x40f100f5: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x5
  Pin-ctls: 0x00:
  Power: setting=D0, actual=D0
  Connection: 2
     0x24* 0x25
Node 0x20 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f6: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x6
  Pin-ctls: 0x00:
  Connection: 1
     0x25
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
  Device: name="STAC92xx Digital", type="SPDIF", device=1, substream=0
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x21* 0x1c 0x1d
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x22* 0x1c 0x1d
Node 0x26 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1
  Amp-Out vals:  [0x00]
Node 0x27 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40f100f8: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x8
  Pin-ctls: 0x00:
Node 0x28 [Volume Knob Widget] wcaps 0x600000: Mono
  Volume-Knob: delta=1, steps=127, direct=1, val=127
  Connection: 2
     0x10 0x11
Codec: Nvidia MCP78 HDMI
Address: 2
Function Id: 0x1
Vendor Id: 0x10de0006
Subsystem Id: 0x10de0101
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 0x04 [Audio Output] wcaps 0x211: Stereo Digital
  Device: name="NVIDIA HDMI", type="HDMI", device=3, substream=0
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x07 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560121: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x08 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x09 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560122: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x0a [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0b [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560123: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x3
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0a
Node 0x0c [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0d [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560124: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x4
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0c
--endcollapse--


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

crw-rw---- 1 root audio 116,  0 Nov 12 15:56 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  4 Nov 12 15:56 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  6 Nov 12 15:56 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116, 24 Nov 12 15:56 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Nov 12 15:57 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 17 Nov 12 15:56 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 19 Nov 12 15:56 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116,  1 Nov 12 10:22 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Nov 12 10:22 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Nov 12 15:56 .
drwxr-xr-x 3 root root 240 Nov 12 15:56 ..
lrwxrwxrwx 1 root root  12 Nov 12 15:56 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

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

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xdf000000 irq 33'
  Mixer name	: 'Nvidia MCP78 HDMI'
  Components	: 'HDA:111d76b2,103c30f6,00100302 HDA:10de0006,10de0101,00100000'
  Controls      : 25
  Simple ctrls  : 14
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 47 [73%] [-12.75dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  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
  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
  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 Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
  Item0: 'Digital Playback'
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-18.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Digital Mic',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]


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

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 64
		value.1 64
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Mic In'
		comment.item.1 'Line In'
		iface MIXER
		name 'Mic Jack Mode'
		value 'Mic In'
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Beep Playback Switch'
		value true
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 3'
		comment.dbmin -1800
		comment.dbmax 0
		iface MIXER
		name 'Beep Playback Volume'
		value 0
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.8 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		value.0 0
		value.1 0
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
	}
	control.10 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Digital Mic Capture Volume'
		value.0 0
		value.1 0
	}
	control.11 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		value.0 0
		value.1 0
	}
	control.12 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Digital Playback'
		comment.item.1 'Analog Mux 1'
		comment.item.2 'Analog Mux 2'
		iface MIXER
		name 'IEC958 Playback Source'
		value 'Digital Playback'
	}
	control.13 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.14 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.15 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.16 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
	}
	control.17 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.18 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 47
	}
	control.19 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.20 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.21 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.22 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.23 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value false
	}
	control.24 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
	}
	control.25 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 120'
		comment.tlv '0000000100000008fffff44800000032'
		comment.dbmin -3000
		comment.dbmax 3000
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
	}
}
--endcollapse--


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

Module
snd_hda_intel
nls_cp437
vfat
fat
usb_storage
ipv6
ext3
jbd
usbhid
hid
snd_seq_dummy
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
snd_hda_codec_nvhdmi
snd_pcm_oss
snd_mixer_oss
joydev
snd_hda_codec_idt
fan
uvcvideo
videodev
v4l1_compat
v4l2_compat_ioctl32
snd_hda_codec
snd_hwdep
snd_pcm
snd_timer
snd
soundcore
hp_accel
lis3lv02d
input_polldev
nvidia
video
wmi
snd_page_alloc
output
thermal
ac
button
psmouse
battery
rt3070sta
uhci_hcd
sdhci_pci
sdhci
vboxnetflt
mmc_core
led_class
ohci1394
iTCO_wdt
iTCO_vendor_support
sr_mod
cdrom
sg
i2c_i801
i2c_core
serio_raw
ehci_hcd
usbcore
vboxdrv
ieee1394
jmb38x_ms
memstick
intel_agp
evdev
r8169
mii
acpi_cpufreq
freq_table
processor
rtc_cmos
rtc_core
rtc_lib
ext4
mbcache
jbd2
crc16
raid0
raid1
md_mod
uvesafb
cn
sd_mod
ahci
libata
scsi_mod


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0a 0x0221401f
0x0b 0x02a19020
0x0c 0x40f100f0
0x0d 0x90171110
0x0e 0x40f100f2
0x0f 0x40f100f7
0x14 0x40f100f3
0x18 0x85a61150
0x19 0x40f100f4
0x1e 0x014411a0
0x1f 0x40f100f5
0x20 0x40f100f6
0x27 0x40f100f8

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D2/init_pin_configs:
0x05 0x18560110
0x07 0x58560121
0x09 0x58560122
0x0b 0x58560123
0x0d 0x58560124

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:


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

USB Video Class driver (v0.1.0)
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 33 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
fan PNP0C0B:00: registered as cooling_device3
ACPI: Fan [FAN] (off)
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9
usb 3-2: configuration #1 chosen from 1 choice
input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
--
#
HDA Intel 0000:00:1b.0: PCI INT B disabled
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 33 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input15
input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
#



[-- Attachment #3: his-alsa-info.txt --]
[-- Type: text/plain, Size: 30631 bytes --]

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

!!Script ran on: Wed Nov 11 16:18:26 UTC 2009


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

Arch Linux \r (\n) (\l)


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

Manufacturer:      Hewlett-Packard
Product Name:      HP Pavilion dv7 Notebook PC


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

Kernel release:    2.6.31-ARCH
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
SMP Enabled:       Yes


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

Driver version:     1.0.20
Library version:    1.0.21a
Utilities version:  1.0.21


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

snd_hda_intel


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

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No

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


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdf000000 irq 34


!!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/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 103c:30f4


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

snd-hda-intel: enable_msi=1


!!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
	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>
	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 : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	single_cmd : N


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

Codec: IDT 92HD71B7X
Address: 0
Function Id: 0x1
Vendor Id: 0x111d76b2
Subsystem Id: 0x103c30f6
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=8, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Power-Map: 0x01
Analog Loopback: 0x00
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x00:
  Unsolicited: tag=01, enabled=1
  Connection: 3
     0x10 0x11* 0x17
Node 0x0b [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f0: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x90170010: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f2: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x2
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x40f100f7: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x7
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10 0x11 0x17*
Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x5f 0x5f]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x5f 0x5f]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x12 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1c
  Processing caps: benign=0, ncoeff=0
Node 0x13 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1d
  Processing caps: benign=0, ncoeff=0
Node 0x14 [Pin Complex] wcaps 0x400100: Mono
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f3: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x3
  Pin-ctls: 0x00:
  Connection: 1
     0x16
Node 0x15 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x10* 0x11 0x17
Node 0x16 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x15
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 5
     0x10 0x11 0x27 0x1a 0x1b
Node 0x18 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x85a61150: [Fixed] Mic at Ext Top
    Conn = Digital, Color = Black
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x19 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40f100f4: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x4
  Pin-ctls: 0x00:
Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x8a 0x8a]
  Connection: 4
     0x1a 0x17 0x18* 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 4
     0x1b 0x17 0x18* 0x19
Node 0x1e [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x014411a0: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x24
Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00010010: OUT EAPD
  EAPD 0x0:
  Pin Default 0x40f100f5: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x5
  Pin-ctls: 0x00:
  Power: setting=D0, actual=D0
  Connection: 2
     0x24* 0x25
Node 0x20 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f6: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x6
  Pin-ctls: 0x00:
  Connection: 1
     0x25
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x21* 0x1c 0x1d
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x22* 0x1c 0x1d
Node 0x26 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1
  Amp-Out vals:  [0x00]
Node 0x27 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40f100f8: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x8
  Pin-ctls: 0x00:
Node 0x28 [Volume Knob Widget] wcaps 0x600000: Mono
  Volume-Knob: delta=1, steps=127, direct=1, val=127
  Connection: 2
     0x10 0x11
Codec: Nvidia MCP78 HDMI
Address: 2
Function Id: 0x1
Vendor Id: 0x10de0006
Subsystem Id: 0x10de0101
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 0x04 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x07 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560121: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x08 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x09 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560122: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x0a [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0b [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560123: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x3
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0a
Node 0x0c [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0d [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560124: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x4
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0c
--endcollapse--


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

crw-rw---- 1 root audio 116,  9 Nov 11 15:15 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  8 Nov 11 15:15 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  7 Nov 11 15:15 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116,  6 Nov 11 15:15 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116,  5 Nov 11 15:22 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116,  4 Nov 11 15:15 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116,  3 Nov 11 15:15 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116, 10 Nov 11 15:15 /dev/snd/seq
crw-rw---- 1 root audio 116,  2 Nov 11 15:15 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Nov 11 15:15 .
drwxr-xr-x 3 root root 240 Nov 11 15:15 ..
lrwxrwxrwx 1 root root  12 Nov 11 15:15 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

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

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xdf000000 irq 34'
  Mixer name	: 'Nvidia MCP78 HDMI'
  Components	: 'HDA:111d76b2,103c30f6,00100302 HDA:10de0006,10de0101,00100000'
  Controls      : 36
  Simple ctrls  : 20
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 48 [75%] [-12.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 48 [75%] [-12.00dB] [on]
  Front Right: Playback 48 [75%] [-12.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 48 [75%] [-12.00dB] [on]
  Front Right: Playback 48 [75%] [-12.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 231 [91%] [-4.80dB]
  Front Right: Playback 231 [91%] [-4.80dB]
Simple mixer control 'Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
  Item0: 'Digital Playback'
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 10 [67%] [15.00dB] [off]
  Front Right: Capture 10 [67%] [15.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'DAC0',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'DAC1',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Digital Input Source',0
  Capabilities: enum
  Items: 'Analog Inputs' 'Mixer' 'Digital Mic 1'
  Item0: 'Digital Mic 1'
Simple mixer control 'Digital Input Source',1
  Capabilities: enum
  Items: 'Analog Inputs' 'Mixer' 'Digital Mic 1'
  Item0: 'Digital Mic 1'
Simple mixer control 'Import0 Mux',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Import1 Mux',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',1
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'PC Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 1 [33%] [-12.00dB] [off]


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

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		value.0 10
		value.1 10
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
	}
	control.3 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 0
		value.1 0
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
	}
	control.5 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import0 Mux Capture Switch'
		value.0 false
		value.1 false
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Import0 Mux Capture Volume'
		value.0 23
		value.1 23
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import1 Mux Capture Switch'
		value.0 false
		value.1 false
	}
	control.8 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Import1 Mux Capture Volume'
		value.0 23
		value.1 23
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC0 Capture Switch'
		value.0 false
		value.1 false
	}
	control.10 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'DAC0 Capture Volume'
		value.0 23
		value.1 23
	}
	control.11 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC1 Capture Switch'
		value.0 false
		value.1 false
	}
	control.12 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'DAC1 Capture Volume'
		value.0 23
		value.1 23
	}
	control.13 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 48
		value.1 48
	}
	control.14 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
	}
	control.15 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Mic In'
		comment.item.1 'Line In'
		iface MIXER
		name 'Mic Jack Mode'
		value 'Mic In'
	}
	control.16 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'PC Beep Playback Switch'
		value false
	}
	control.17 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 3'
		comment.dbmin -1800
		comment.dbmax 0
		iface MIXER
		name 'PC Beep Playback Volume'
		value 1
	}
	control.18 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 48
		value.1 48
	}
	control.19 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.20 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		value.0 0
		value.1 0
	}
	control.21 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		index 1
		value.0 0
		value.1 0
	}
	control.22 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Analog Inputs'
		comment.item.1 Mixer
		comment.item.2 'Digital Mic 1'
		iface MIXER
		name 'Digital Input Source'
		value 'Digital Mic 1'
	}
	control.23 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Analog Inputs'
		comment.item.1 Mixer
		comment.item.2 'Digital Mic 1'
		iface MIXER
		name 'Digital Input Source'
		index 1
		value 'Digital Mic 1'
	}
	control.24 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Digital Playback'
		comment.item.1 'Analog Mux 1'
		comment.item.2 'Analog Mux 2'
		iface MIXER
		name 'IEC958 Playback Source'
		value 'Digital Playback'
	}
	control.25 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.26 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.27 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.28 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
	}
	control.29 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.30 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 48
	}
	control.31 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.32 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.33 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.34 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.35 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value false
	}
	control.36 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 231
		value.1 231
	}
}
--endcollapse--


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

Module
cryptd
aes_x86_64
aes_generic
ipv6
cpufreq_ondemand
ipt_REJECT
xt_multiport
xt_conntrack
nf_conntrack_ftp
xt_TCPMSS
ipt_LOG
xt_limit
xt_state
iptable_filter
xt_tcpudp
xt_DSCP
iptable_mangle
iptable_nat
nf_nat
nf_conntrack_ipv4
nf_conntrack
nf_defrag_ipv4
ip_tables
x_tables
ext2
snd_seq_dummy
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
usbhid
hid
snd_hda_codec_nvhdmi
snd_hda_codec_idt
uvcvideo
videodev
arc4
v4l1_compat
v4l2_compat_ioctl32
snd_pcm_oss
snd_mixer_oss
ecb
fuse
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm
snd_timer
snd
soundcore
iwlagn
joydev
acpi_cpufreq
snd_page_alloc
fan
iwlcore
mac80211
nvidia
cfg80211
rfkill
jmb38x_ms
ohci1394
r8169
sdhci_pci
sdhci
hp_accel
lis3lv02d
video
output
psmouse
wmi
input_polldev
mmc_core
led_class
mii
uhci_hcd
memstick
freq_table
ac
battery
thermal
button
sg
ieee1394
i2c_i801
i2c_core
serio_raw
iTCO_wdt
iTCO_vendor_support
ehci_hcd
usbcore
evdev
intel_agp
processor
rtc_cmos
rtc_core
rtc_lib
ext4
mbcache
jbd2
crc16
dm_mod
sr_mod
cdrom
sd_mod
ahci
libata
scsi_mod


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0a 0x0221401f
0x0b 0x02a19020
0x0c 0x40f100f0
0x0d 0x90171110
0x0e 0x40f100f2
0x0f 0x40f100f7
0x14 0x40f100f3
0x18 0x85a61150
0x19 0x40f100f4
0x1e 0x014411a0
0x1f 0x40f100f5
0x20 0x40f100f6
0x27 0x40f100f8

/sys/class/sound/hwC0D0/driver_pin_configs:
0x0d 0x90170010

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D2/init_pin_configs:
0x05 0x18560110
0x07 0x58560121
0x09 0x58560122
0x0b 0x58560123
0x0d 0x58560124

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:


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

iwlagn 0000:02:00.0: irq 33 for MSI/MSI-X
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 34 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
usb 8-1: configuration #1 chosen from 1 choice
--
Synaptics Touchpad, model: 1, fw: 7.2, id: 0x1a0b1, caps: 0xd04751/0xa00000
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input10
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[8c3f0200d1ed40d9]
input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
usbcore: registered new interface driver hiddev



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

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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-12 10:16               ` Takashi Iwai
  2009-11-12 15:09                 ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-14 12:46                 ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-14 13:03                   ` Takashi Iwai
  1 sibling, 1 reply; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-14 12:46 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, julien.cynober

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

On Thu, Nov 12, 2009 at 11:16, Takashi Iwai <tiwai@suse.de> wrote:

> At Thu, 12 Nov 2009 10:46:24 +0100,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >
> > Takashi,
> >
> > I tried the snapshot from
> >
> ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> > last night with and without options still no go, the options I've
> > tried:
> >
> > - options snd-hda-intel enable_msi=
> > - options snd-hda-intel enable_msi=1 single_cmd=0
> > power_save_controller=0 power_save=0 model=hp-dv5
>
> power_save should be irrelevant.  And model=hp-dv5 and enable_msi=1
> are already turned on as default in the recent version.
>
> The next would be model=auto to avoid hp-dv5 quirk.
>
> Also, it's helpful if you give a summary of your problems again.
>
>
> Takashi
>

Takashi,

I just tried 'options snd-hda-intel enable_msi=1 model=auto' Didn't
have much effect, the same problem (sound only from left speaker),
always the same result with 'speaker-test -c6 -twav' I can only hear
'Front Left'


Summary:
=======

I have an HP DV7-1299EF, BIOS (Version F.2C, F.2A and F.23) , Due to a BIOS
BUG, the
BIOS report only one speaker as an output so the driver does not know
how to use pins in order to have a stereo output ( at least that's
what you told me last month when you analysed the alsa-info output)... And
so one speaker, the left speaker is the only speaker currently working under
Linux.


First I suspected a hardware problem so 2 days ago I restored Windows,
tried the sound it works, and I updated my BIOS (it was version F.2A
before) but sadly it has the same BUG, I also tried reverting back to F.2A
and further back to F.23 same result...

Attached to this mail, my alsa-info.txt

Thank you for helping me!!

Regards,
Wael

-- 
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
  would never make a good program. (L. Torvalds 1995) :.

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

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

!!Script ran on: Thu Nov 12 15:04:54 UTC 2009


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

Arch Linux \r (\n) (\l)


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

Manufacturer:      Hewlett-Packard
Product Name:      HP Pavilion dv7 Notebook PC


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

Kernel release:    2.6.31-ARCH
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
SMP Enabled:       Yes


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

Driver version:     1.0.21
Library version:    1.0.21a
Utilities version:  1.0.21


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

snd_hda_intel


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

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


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdf000000 irq 33


!!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/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 103c:30f4


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

snd-hda-intel: enable_msi=1 model=auto


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

!!Module: snd_hda_intel
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
	enable : Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : 1
	id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	index : -1,-1,-1,-1,-1,-1,-1,-1
	model : auto,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	position_fix : 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
	probe_only : N,N,N,N,N,N,N,N
	single_cmd : N


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

Codec: IDT 92HD71B7X
Address: 0
Function Id: 0x1
Vendor Id: 0x111d76b2
Subsystem Id: 0x103c30f6
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=8, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Power-Map: 0x01
Analog Loopback: 0x00
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x00:
  Unsolicited: tag=01, enabled=1
  Connection: 3
     0x10 0x11* 0x17
Node 0x0b [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f0: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x90171110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Black
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40f100f2: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x2
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x40f100f7: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x7
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10* 0x11 0x17
Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x6e 0x6e]
  Device: name="STAC92xx Analog", type="Audio", device=0, substream=0
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals:  [0x6e 0x6e]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x12 [Audio Input] wcaps 0x1d0541: Stereo
  Device: name="STAC92xx Analog", type="Audio", device=0, substream=0
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1c
  Processing caps: benign=0, ncoeff=0
Node 0x13 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D0, actual=D0
  Delay: 13 samples
  Connection: 1
     0x1d
  Processing caps: benign=0, ncoeff=0
Node 0x14 [Pin Complex] wcaps 0x400100: Mono
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f3: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x3
  Pin-ctls: 0x00:
  Connection: 1
     0x16
Node 0x15 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x10* 0x11 0x17
Node 0x16 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x15
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 5
     0x10 0x11 0x27 0x1a 0x1b
Node 0x18 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x85a61150: [Fixed] Mic at Ext Top
    Conn = Digital, Color = Black
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x19 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40f100f4: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x4
  Pin-ctls: 0x00:
Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 4
     0x1a 0x17 0x18* 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 4
     0x1b* 0x17 0x18 0x19
Node 0x1e [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x014411a0: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x24
Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00010010: OUT EAPD
  EAPD 0x0:
  Pin Default 0x40f100f5: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x5
  Pin-ctls: 0x00:
  Power: setting=D0, actual=D0
  Connection: 2
     0x24* 0x25
Node 0x20 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f100f6: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x6
  Pin-ctls: 0x00:
  Connection: 1
     0x25
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
  Device: name="STAC92xx Digital", type="SPDIF", device=1, substream=0
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x21* 0x1c 0x1d
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x22* 0x1c 0x1d
Node 0x26 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1
  Amp-Out vals:  [0x00]
Node 0x27 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40f100f8: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x8
  Pin-ctls: 0x00:
Node 0x28 [Volume Knob Widget] wcaps 0x600000: Mono
  Volume-Knob: delta=1, steps=127, direct=1, val=127
  Connection: 2
     0x10 0x11
Codec: Nvidia MCP78 HDMI
Address: 2
Function Id: 0x1
Vendor Id: 0x10de0006
Subsystem Id: 0x10de0101
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 0x04 [Audio Output] wcaps 0x211: Stereo Digital
  Device: name="NVIDIA HDMI", type="HDMI", device=3, substream=0
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x07 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560121: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x08 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x09 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560122: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x0a [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0b [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560123: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x3
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0a
Node 0x0c [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0xc0]: 48000 88200
    bits [0xf]: 8 16 20 24
    formats [0x1]: PCM
Node 0x0d [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x58560124: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x4
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0c
--endcollapse--


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

crw-rw---- 1 root audio 116,  0 Nov 12 15:56 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  4 Nov 12 15:56 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  6 Nov 12 15:56 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116, 24 Nov 12 15:56 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Nov 12 15:57 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 17 Nov 12 15:56 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 19 Nov 12 15:56 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116,  1 Nov 12 10:22 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Nov 12 10:22 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Nov 12 15:56 .
drwxr-xr-x 3 root root 240 Nov 12 15:56 ..
lrwxrwxrwx 1 root root  12 Nov 12 15:56 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

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

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xdf000000 irq 33'
  Mixer name	: 'Nvidia MCP78 HDMI'
  Components	: 'HDA:111d76b2,103c30f6,00100302 HDA:10de0006,10de0101,00100000'
  Controls      : 25
  Simple ctrls  : 14
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 47 [73%] [-12.75dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  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
  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
  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 Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
  Item0: 'Digital Playback'
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-18.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Digital Mic',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]


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

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 64
		value.1 64
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Mic In'
		comment.item.1 'Line In'
		iface MIXER
		name 'Mic Jack Mode'
		value 'Mic In'
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Beep Playback Switch'
		value true
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 3'
		comment.dbmin -1800
		comment.dbmax 0
		iface MIXER
		name 'Beep Playback Volume'
		value 0
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.8 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		value.0 0
		value.1 0
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
	}
	control.10 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Digital Mic Capture Volume'
		value.0 0
		value.1 0
	}
	control.11 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		value.0 0
		value.1 0
	}
	control.12 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Digital Playback'
		comment.item.1 'Analog Mux 1'
		comment.item.2 'Analog Mux 2'
		iface MIXER
		name 'IEC958 Playback Source'
		value 'Digital Playback'
	}
	control.13 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.14 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.15 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.16 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
	}
	control.17 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.18 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 47
	}
	control.19 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.20 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.21 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.22 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.23 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value false
	}
	control.24 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
	}
	control.25 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 120'
		comment.tlv '0000000100000008fffff44800000032'
		comment.dbmin -3000
		comment.dbmax 3000
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
	}
}
--endcollapse--


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

Module
snd_hda_intel
nls_cp437
vfat
fat
usb_storage
ipv6
ext3
jbd
usbhid
hid
snd_seq_dummy
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
snd_hda_codec_nvhdmi
snd_pcm_oss
snd_mixer_oss
joydev
snd_hda_codec_idt
fan
uvcvideo
videodev
v4l1_compat
v4l2_compat_ioctl32
snd_hda_codec
snd_hwdep
snd_pcm
snd_timer
snd
soundcore
hp_accel
lis3lv02d
input_polldev
nvidia
video
wmi
snd_page_alloc
output
thermal
ac
button
psmouse
battery
rt3070sta
uhci_hcd
sdhci_pci
sdhci
vboxnetflt
mmc_core
led_class
ohci1394
iTCO_wdt
iTCO_vendor_support
sr_mod
cdrom
sg
i2c_i801
i2c_core
serio_raw
ehci_hcd
usbcore
vboxdrv
ieee1394
jmb38x_ms
memstick
intel_agp
evdev
r8169
mii
acpi_cpufreq
freq_table
processor
rtc_cmos
rtc_core
rtc_lib
ext4
mbcache
jbd2
crc16
raid0
raid1
md_mod
uvesafb
cn
sd_mod
ahci
libata
scsi_mod


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0a 0x0221401f
0x0b 0x02a19020
0x0c 0x40f100f0
0x0d 0x90171110
0x0e 0x40f100f2
0x0f 0x40f100f7
0x14 0x40f100f3
0x18 0x85a61150
0x19 0x40f100f4
0x1e 0x014411a0
0x1f 0x40f100f5
0x20 0x40f100f6
0x27 0x40f100f8

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D2/init_pin_configs:
0x05 0x18560110
0x07 0x58560121
0x09 0x58560122
0x0b 0x58560123
0x0d 0x58560124

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:


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

USB Video Class driver (v0.1.0)
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 33 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
fan PNP0C0B:00: registered as cooling_device3
ACPI: Fan [FAN] (off)
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9
usb 3-2: configuration #1 chosen from 1 choice
input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
--
#
HDA Intel 0000:00:1b.0: PCI INT B disabled
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 33 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input15
input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
#



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

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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-14 12:46                 ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-14 13:03                   ` Takashi Iwai
  2009-11-14 14:25                     ` Wael Nasreddine (a.k.a eMxyzptlk)
  0 siblings, 1 reply; 26+ messages in thread
From: Takashi Iwai @ 2009-11-14 13:03 UTC (permalink / raw)
  To: Wael Nasreddine (a.k.a eMxyzptlk); +Cc: alsa-devel, julien.cynober

At Sat, 14 Nov 2009 13:46:37 +0100,
Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; UTF-8 (7bit)>]
> On Thu, Nov 12, 2009 at 11:16, Takashi Iwai <tiwai@suse.de> wrote:
> 
> > At Thu, 12 Nov 2009 10:46:24 +0100,
> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > >
> > > Takashi,
> > >
> > > I tried the snapshot from
> > >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> > > last night with and without options still no go, the options I've
> > > tried:
> > >
> > > - options snd-hda-intel enable_msi=
> > > - options snd-hda-intel enable_msi=1 single_cmd=0
> > > power_save_controller=0 power_save=0 model=hp-dv5
> >
> > power_save should be irrelevant.  And model=hp-dv5 and enable_msi=1
> > are already turned on as default in the recent version.
> >
> > The next would be model=auto to avoid hp-dv5 quirk.
> >
> > Also, it's helpful if you give a summary of your problems again.
> >
> >
> > Takashi
> >
> 
> Takashi,
> 
> I just tried 'options snd-hda-intel enable_msi=1 model=auto' Didn't
> have much effect, the same problem (sound only from left speaker),
> always the same result with 'speaker-test -c6 -twav' I can only hear
> 'Front Left'

OK.  But the headphone works, right?


> Summary:
> =======
> 
> I have an HP DV7-1299EF, BIOS (Version F.2C, F.2A and F.23) , Due to a BIOS
> BUG, the
> BIOS report only one speaker as an output so the driver does not know
> how to use pins in order to have a stereo output ( at least that's
> what you told me last month when you analysed the alsa-info output)... And
> so one speaker, the left speaker is the only speaker currently working under
> Linux.
> 
> 
> First I suspected a hardware problem so 2 days ago I restored Windows,
> tried the sound it works, and I updated my BIOS (it was version F.2A
> before) but sadly it has the same BUG, I also tried reverting back to F.2A
> and further back to F.23 same result...
> 
> Attached to this mail, my alsa-info.txt

The codec registers look OK through a quick look.

You can try GPIO pin up/down for each pin.  Also each pin has two
directions, so you'll have 8 x 2 x 2 trials.
For example, to test GPIO 3, pass 0x08 (= 1 << 3), try the commands
below and check aplay at each.  (the lines '//' are just my comments)

	// dir = 0, data = 1
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x00
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x08

	// dir = 0, data = 0
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x00
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00

	// dir = 1, data = 0
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x08
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00

	// dir = 1, data = 1
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x08
	hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x08

Repeat these for each GPIO pin, from 0 to 7.

One another possibility is to use the output pin NID 0x0f.
For testing this, build with the reconfig feature (usually enabled),
then change the pin 0x0f default config, such as

	echo 0x0f 0x90171111 > /sys/class/sound/hwC0D0/user_pin_configs

then quit all sound apps and reconfigure

	echo 1 > /sys/class/sound/hwC0D0/reconfig

Restore the mixer setup once via alsactl

	alsactl restore

Then check the mixer volumes again, try aplay.  With this setup,
try GPIO procedures above, too.


thanks,

Takashi

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-14 13:03                   ` Takashi Iwai
@ 2009-11-14 14:25                     ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-15 16:26                       ` Wael Nasreddine (a.k.a eMxyzptlk)
  0 siblings, 1 reply; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-14 14:25 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, julien.cynober

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

On Sat, Nov 14, 2009 at 14:03, Takashi Iwai <tiwai@suse.de> wrote:
>
> At Sat, 14 Nov 2009 13:46:37 +0100,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >
> > [1  <multipart/alternative (7bit)>]
> > [1.1  <text/plain; UTF-8 (7bit)>]
> > On Thu, Nov 12, 2009 at 11:16, Takashi Iwai <tiwai@suse.de> wrote:
> >
> > > At Thu, 12 Nov 2009 10:46:24 +0100,
> > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > >
> > > > Takashi,
> > > >
> > > > I tried the snapshot from
> > > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> > > > last night with and without options still no go, the options I've
> > > > tried:
> > > >
> > > > - options snd-hda-intel enable_msi=
> > > > - options snd-hda-intel enable_msi=1 single_cmd=0
> > > > power_save_controller=0 power_save=0 model=hp-dv5
> > >
> > > power_save should be irrelevant.  And model=hp-dv5 and enable_msi=1
> > > are already turned on as default in the recent version.
> > >
> > > The next would be model=auto to avoid hp-dv5 quirk.
> > >
> > > Also, it's helpful if you give a summary of your problems again.
> > >
> > >
> > > Takashi
> > >
> >
> > Takashi,
> >
> > I just tried 'options snd-hda-intel enable_msi=1 model=auto' Didn't
> > have much effect, the same problem (sound only from left speaker),
> > always the same result with 'speaker-test -c6 -twav' I can only hear
> > 'Front Left'
>
> OK.  But the headphone works, right?
>
Yes Headphones works, even mics works

>
> > Summary:
> > =======
> >
> > I have an HP DV7-1299EF, BIOS (Version F.2C, F.2A and F.23) , Due to a BIOS
> > BUG, the
> > BIOS report only one speaker as an output so the driver does not know
> > how to use pins in order to have a stereo output ( at least that's
> > what you told me last month when you analysed the alsa-info output)... And
> > so one speaker, the left speaker is the only speaker currently working under
> > Linux.
> >
> >
> > First I suspected a hardware problem so 2 days ago I restored Windows,
> > tried the sound it works, and I updated my BIOS (it was version F.2A
> > before) but sadly it has the same BUG, I also tried reverting back to F.2A
> > and further back to F.23 same result...
> >
> > Attached to this mail, my alsa-info.txt
>
> The codec registers look OK through a quick look.
>
> You can try GPIO pin up/down for each pin.  Also each pin has two
> directions, so you'll have 8 x 2 x 2 trials.
> For example, to test GPIO 3, pass 0x08 (= 1 << 3), try the commands
> below and check aplay at each.  (the lines '//' are just my comments)
>
>        // dir = 0, data = 1
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x00
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x08
>
>        // dir = 0, data = 0
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x00
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
>
>        // dir = 1, data = 0
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x08
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
>
>        // dir = 1, data = 1
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x08
>        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x08
>
> Repeat these for each GPIO pin, from 0 to 7.
>
> One another possibility is to use the output pin NID 0x0f.
> For testing this, build with the reconfig feature (usually enabled),
> then change the pin 0x0f default config, such as
>
>        echo 0x0f 0x90171111 > /sys/class/sound/hwC0D0/user_pin_configs
>
> then quit all sound apps and reconfigure
>
>        echo 1 > /sys/class/sound/hwC0D0/reconfig
>
> Restore the mixer setup once via alsactl
>
>        alsactl restore
>
> Then check the mixer volumes again, try aplay.  With this setup,
> try GPIO procedures above, too.
>
>
> thanks,
>
> Takashi

For the tests I've created a little script (attached for review if I
done something wrong), Here's the results

0x01:
-------> dir = 0, data = 1  =====> Front Left
-------> dir = 0, data = 0  =====> Front Left
-------> dir = 1, data = 1  =====> Front Left
-------> dir = 1, data = 0  =====> No Sound

0x02:
-------> dir = 0, data = 1  =====> No Sound
-------> dir = 0, data = 0  =====> No Sound
-------> dir = 1, data = 1  =====> No Sound
-------> dir = 1, data = 0  =====> No Sound

0x04:
-------> dir = 0, data = 1  =====> No Sound
-------> dir = 0, data = 0  =====> No Sound
-------> dir = 1, data = 1  =====> No Sound
-------> dir = 1, data = 0  =====> No Sound

0x16:
-------> dir = 0, data = 1  =====> No Sound
-------> dir = 0, data = 0  =====> No Sound
-------> dir = 1, data = 1  =====> No Sound
-------> dir = 1, data = 0  =====> No Sound

0x32:
-------> dir = 0, data = 1  =====> No Sound
-------> dir = 0, data = 0  =====> No Sound
-------> dir = 1, data = 1  =====> LFE
-------> dir = 1, data = 0  =====> No Sound

0x64:
-------> dir = 0, data = 1  =====> No Sound
-------> dir = 0, data = 0  =====> No Sound
-------> dir = 1, data = 1  =====> LFE
-------> dir = 1, data = 0  =====> No Sound

0x128:
-------> dir = 0, data = 1  =====> No Sound
-------> dir = 0, data = 0  =====> No Sound
-------> dir = 1, data = 1  =====> LFE
-------> dir = 1, data = 0  =====> No Sound


I've got the same results with the NID 0x0f

--
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
  would never make a good program. (L. Torvalds 1995) :.

[-- Attachment #2: test.sh --]
[-- Type: application/x-sh, Size: 1782 bytes --]

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

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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-14 14:25                     ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-15 16:26                       ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-16 16:28                         ` Takashi Iwai
  0 siblings, 1 reply; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-15 16:26 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, julien.cynober

On Sat, Nov 14, 2009 at 15:25, Wael Nasreddine (a.k.a eMxyzptlk) <
mla@nasreddine.com> wrote:

> On Sat, Nov 14, 2009 at 14:03, Takashi Iwai <tiwai@suse.de> wrote:
> >
> > At Sat, 14 Nov 2009 13:46:37 +0100,
> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > >
> > > [1  <multipart/alternative (7bit)>]
> > > [1.1  <text/plain; UTF-8 (7bit)>]
> > > On Thu, Nov 12, 2009 at 11:16, Takashi Iwai <tiwai@suse.de> wrote:
> > >
> > > > At Thu, 12 Nov 2009 10:46:24 +0100,
> > > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > > >
> > > > > Takashi,
> > > > >
> > > > > I tried the snapshot from
> > > > >
> > > >
> ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> > > > > last night with and without options still no go, the options I've
> > > > > tried:
> > > > >
> > > > > - options snd-hda-intel enable_msi=
> > > > > - options snd-hda-intel enable_msi=1 single_cmd=0
> > > > > power_save_controller=0 power_save=0 model=hp-dv5
> > > >
> > > > power_save should be irrelevant.  And model=hp-dv5 and enable_msi=1
> > > > are already turned on as default in the recent version.
> > > >
> > > > The next would be model=auto to avoid hp-dv5 quirk.
> > > >
> > > > Also, it's helpful if you give a summary of your problems again.
> > > >
> > > >
> > > > Takashi
> > > >
> > >
> > > Takashi,
> > >
> > > I just tried 'options snd-hda-intel enable_msi=1 model=auto' Didn't
> > > have much effect, the same problem (sound only from left speaker),
> > > always the same result with 'speaker-test -c6 -twav' I can only hear
> > > 'Front Left'
> >
> > OK.  But the headphone works, right?
> >
> Yes Headphones works, even mics works
>
> >
> > > Summary:
> > > =======
> > >
> > > I have an HP DV7-1299EF, BIOS (Version F.2C, F.2A and F.23) , Due to a
> BIOS
> > > BUG, the
> > > BIOS report only one speaker as an output so the driver does not know
> > > how to use pins in order to have a stereo output ( at least that's
> > > what you told me last month when you analysed the alsa-info output)...
> And
> > > so one speaker, the left speaker is the only speaker currently working
> under
> > > Linux.
> > >
> > >
> > > First I suspected a hardware problem so 2 days ago I restored Windows,
> > > tried the sound it works, and I updated my BIOS (it was version F.2A
> > > before) but sadly it has the same BUG, I also tried reverting back to
> F.2A
> > > and further back to F.23 same result...
> > >
> > > Attached to this mail, my alsa-info.txt
> >
> > The codec registers look OK through a quick look.
> >
> > You can try GPIO pin up/down for each pin.  Also each pin has two
> > directions, so you'll have 8 x 2 x 2 trials.
> > For example, to test GPIO 3, pass 0x08 (= 1 << 3), try the commands
> > below and check aplay at each.  (the lines '//' are just my comments)
> >
> >        // dir = 0, data = 1
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x00
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x08
> >
> >        // dir = 0, data = 0
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x00
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
> >
> >        // dir = 1, data = 0
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x08
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
> >
> >        // dir = 1, data = 1
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x08
> >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x08
> >
> > Repeat these for each GPIO pin, from 0 to 7.
> >
> > One another possibility is to use the output pin NID 0x0f.
> > For testing this, build with the reconfig feature (usually enabled),
> > then change the pin 0x0f default config, such as
> >
> >        echo 0x0f 0x90171111 > /sys/class/sound/hwC0D0/user_pin_configs
> >
> > then quit all sound apps and reconfigure
> >
> >        echo 1 > /sys/class/sound/hwC0D0/reconfig
> >
> > Restore the mixer setup once via alsactl
> >
> >        alsactl restore
> >
> > Then check the mixer volumes again, try aplay.  With this setup,
> > try GPIO procedures above, too.
> >
> >
> > thanks,
> >
> > Takashi
>
> For the tests I've created a little script (attached for review if I
> done something wrong), Here's the results
>
> 0x01:
> -------> dir = 0, data = 1  =====> Front Left
> -------> dir = 0, data = 0  =====> Front Left
> -------> dir = 1, data = 1  =====> Front Left
> -------> dir = 1, data = 0  =====> No Sound
>
> 0x02:
> -------> dir = 0, data = 1  =====> No Sound
> -------> dir = 0, data = 0  =====> No Sound
> -------> dir = 1, data = 1  =====> No Sound
> -------> dir = 1, data = 0  =====> No Sound
>
> 0x04:
> -------> dir = 0, data = 1  =====> No Sound
> -------> dir = 0, data = 0  =====> No Sound
> -------> dir = 1, data = 1  =====> No Sound
> -------> dir = 1, data = 0  =====> No Sound
>
> 0x16:
> -------> dir = 0, data = 1  =====> No Sound
> -------> dir = 0, data = 0  =====> No Sound
> -------> dir = 1, data = 1  =====> No Sound
> -------> dir = 1, data = 0  =====> No Sound
>
> 0x32:
> -------> dir = 0, data = 1  =====> No Sound
> -------> dir = 0, data = 0  =====> No Sound
> -------> dir = 1, data = 1  =====> LFE
> -------> dir = 1, data = 0  =====> No Sound
>
> 0x64:
> -------> dir = 0, data = 1  =====> No Sound
> -------> dir = 0, data = 0  =====> No Sound
> -------> dir = 1, data = 1  =====> LFE
> -------> dir = 1, data = 0  =====> No Sound
>
> 0x128:
> -------> dir = 0, data = 1  =====> No Sound
> -------> dir = 0, data = 0  =====> No Sound
> -------> dir = 1, data = 1  =====> LFE
> -------> dir = 1, data = 0  =====> No Sound
>
>
> I've got the same results with the NID 0x0f
>
>
Hey Takashi,

I forgot the

0x08:
-------> dir = 0, data = 1  =====> No Sound
-------> dir = 0, data = 0  =====> No Sound
-------> dir = 1, data = 1  =====> No Sound
-------> dir = 1, data = 0  =====> No Sound


Looking at the results above, how can I get both the Front Left and LFE to
output sound? and hopefully we get the right speaker later to work

Thanks


-- 
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
  would never make a good program. (L. Torvalds 1995) :.

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-15 16:26                       ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-16 16:28                         ` Takashi Iwai
  2009-11-16 17:07                           ` Wael Nasreddine (a.k.a eMxyzptlk)
  0 siblings, 1 reply; 26+ messages in thread
From: Takashi Iwai @ 2009-11-16 16:28 UTC (permalink / raw)
  To: Wael Nasreddine (a.k.a eMxyzptlk); +Cc: alsa-devel, julien.cynober

At Sun, 15 Nov 2009 17:26:00 +0100,
Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> 
> On Sat, Nov 14, 2009 at 15:25, Wael Nasreddine (a.k.a eMxyzptlk) <
> mla@nasreddine.com> wrote:
> 
> > On Sat, Nov 14, 2009 at 14:03, Takashi Iwai <tiwai@suse.de> wrote:
> > >
> > > At Sat, 14 Nov 2009 13:46:37 +0100,
> > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > >
> > > > [1  <multipart/alternative (7bit)>]
> > > > [1.1  <text/plain; UTF-8 (7bit)>]
> > > > On Thu, Nov 12, 2009 at 11:16, Takashi Iwai <tiwai@suse.de> wrote:
> > > >
> > > > > At Thu, 12 Nov 2009 10:46:24 +0100,
> > > > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > > > >
> > > > > > Takashi,
> > > > > >
> > > > > > I tried the snapshot from
> > > > > >
> > > > >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> > > > > > last night with and without options still no go, the options I've
> > > > > > tried:
> > > > > >
> > > > > > - options snd-hda-intel enable_msi=
> > > > > > - options snd-hda-intel enable_msi=1 single_cmd=0
> > > > > > power_save_controller=0 power_save=0 model=hp-dv5
> > > > >
> > > > > power_save should be irrelevant.  And model=hp-dv5 and enable_msi=1
> > > > > are already turned on as default in the recent version.
> > > > >
> > > > > The next would be model=auto to avoid hp-dv5 quirk.
> > > > >
> > > > > Also, it's helpful if you give a summary of your problems again.
> > > > >
> > > > >
> > > > > Takashi
> > > > >
> > > >
> > > > Takashi,
> > > >
> > > > I just tried 'options snd-hda-intel enable_msi=1 model=auto' Didn't
> > > > have much effect, the same problem (sound only from left speaker),
> > > > always the same result with 'speaker-test -c6 -twav' I can only hear
> > > > 'Front Left'
> > >
> > > OK.  But the headphone works, right?
> > >
> > Yes Headphones works, even mics works
> >
> > >
> > > > Summary:
> > > > =======
> > > >
> > > > I have an HP DV7-1299EF, BIOS (Version F.2C, F.2A and F.23) , Due to a
> > BIOS
> > > > BUG, the
> > > > BIOS report only one speaker as an output so the driver does not know
> > > > how to use pins in order to have a stereo output ( at least that's
> > > > what you told me last month when you analysed the alsa-info output)...
> > And
> > > > so one speaker, the left speaker is the only speaker currently working
> > under
> > > > Linux.
> > > >
> > > >
> > > > First I suspected a hardware problem so 2 days ago I restored Windows,
> > > > tried the sound it works, and I updated my BIOS (it was version F.2A
> > > > before) but sadly it has the same BUG, I also tried reverting back to
> > F.2A
> > > > and further back to F.23 same result...
> > > >
> > > > Attached to this mail, my alsa-info.txt
> > >
> > > The codec registers look OK through a quick look.
> > >
> > > You can try GPIO pin up/down for each pin.  Also each pin has two
> > > directions, so you'll have 8 x 2 x 2 trials.
> > > For example, to test GPIO 3, pass 0x08 (= 1 << 3), try the commands
> > > below and check aplay at each.  (the lines '//' are just my comments)
> > >
> > >        // dir = 0, data = 1
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x00
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x08
> > >
> > >        // dir = 0, data = 0
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x00
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
> > >
> > >        // dir = 1, data = 0
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x08
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
> > >
> > >        // dir = 1, data = 1
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x08
> > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x08
> > >
> > > Repeat these for each GPIO pin, from 0 to 7.
> > >
> > > One another possibility is to use the output pin NID 0x0f.
> > > For testing this, build with the reconfig feature (usually enabled),
> > > then change the pin 0x0f default config, such as
> > >
> > >        echo 0x0f 0x90171111 > /sys/class/sound/hwC0D0/user_pin_configs
> > >
> > > then quit all sound apps and reconfigure
> > >
> > >        echo 1 > /sys/class/sound/hwC0D0/reconfig
> > >
> > > Restore the mixer setup once via alsactl
> > >
> > >        alsactl restore
> > >
> > > Then check the mixer volumes again, try aplay.  With this setup,
> > > try GPIO procedures above, too.
> > >
> > >
> > > thanks,
> > >
> > > Takashi
> >
> > For the tests I've created a little script (attached for review if I
> > done something wrong), Here's the results
> >
> > 0x01:
> > -------> dir = 0, data = 1  =====> Front Left
> > -------> dir = 0, data = 0  =====> Front Left
> > -------> dir = 1, data = 1  =====> Front Left
> > -------> dir = 1, data = 0  =====> No Sound
> >
> > 0x02:
> > -------> dir = 0, data = 1  =====> No Sound
> > -------> dir = 0, data = 0  =====> No Sound
> > -------> dir = 1, data = 1  =====> No Sound
> > -------> dir = 1, data = 0  =====> No Sound
> >
> > 0x04:
> > -------> dir = 0, data = 1  =====> No Sound
> > -------> dir = 0, data = 0  =====> No Sound
> > -------> dir = 1, data = 1  =====> No Sound
> > -------> dir = 1, data = 0  =====> No Sound
> >
> > 0x16:
> > -------> dir = 0, data = 1  =====> No Sound
> > -------> dir = 0, data = 0  =====> No Sound
> > -------> dir = 1, data = 1  =====> No Sound
> > -------> dir = 1, data = 0  =====> No Sound
> >
> > 0x32:
> > -------> dir = 0, data = 1  =====> No Sound
> > -------> dir = 0, data = 0  =====> No Sound
> > -------> dir = 1, data = 1  =====> LFE
> > -------> dir = 1, data = 0  =====> No Sound
> >
> > 0x64:
> > -------> dir = 0, data = 1  =====> No Sound
> > -------> dir = 0, data = 0  =====> No Sound
> > -------> dir = 1, data = 1  =====> LFE
> > -------> dir = 1, data = 0  =====> No Sound
> >
> > 0x128:
> > -------> dir = 0, data = 1  =====> No Sound
> > -------> dir = 0, data = 0  =====> No Sound
> > -------> dir = 1, data = 1  =====> LFE
> > -------> dir = 1, data = 0  =====> No Sound
> >
> >
> > I've got the same results with the NID 0x0f
> >
> >
> Hey Takashi,
> 
> I forgot the
> 
> 0x08:
> -------> dir = 0, data = 1  =====> No Sound
> -------> dir = 0, data = 0  =====> No Sound
> -------> dir = 1, data = 1  =====> No Sound
> -------> dir = 1, data = 0  =====> No Sound
> 
> 
> Looking at the results above, how can I get both the Front Left and LFE to
> output sound? and hopefully we get the right speaker later to work

The LFE could be enabled by the patch below.  Give it a try.

Takashi

---
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 7f76a97..57a561d 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -5468,6 +5468,18 @@ again:
 		break;
 	}
 
+	/* enable LFE on HP dv7 if available */
+	if (spec->board_config == STAC_HP_DV5) {
+		unsigned int cap;
+		cap = snd_hda_param_read(codec, 0x1, AC_PAR_GPIO_CAP);
+		cap &= AC_GPIO_IO_COUNT;
+		if (cap >= 6) {
+			spec->gpio_mask |= 0x20;
+			spec->gpio_dir |= 0x20;
+			spec->gpio_data |= 0x20;
+		}
+	}
+
 	if (hp_bseries_system(codec->subsystem_id)) {
 		pin_cfg = snd_hda_codec_get_pincfg(codec, 0x0f);
 		if (get_defcfg_device(pin_cfg) == AC_JACK_LINE_OUT ||

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-16 16:28                         ` Takashi Iwai
@ 2009-11-16 17:07                           ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-16 17:15                             ` Takashi Iwai
  0 siblings, 1 reply; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-16 17:07 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, julien.cynober

2009/11/16 Takashi Iwai <tiwai@suse.de>

> At Sun, 15 Nov 2009 17:26:00 +0100,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >
> > On Sat, Nov 14, 2009 at 15:25, Wael Nasreddine (a.k.a eMxyzptlk) <
> > mla@nasreddine.com> wrote:
> >
> > > On Sat, Nov 14, 2009 at 14:03, Takashi Iwai <tiwai@suse.de> wrote:
> > > >
> > > > At Sat, 14 Nov 2009 13:46:37 +0100,
> > > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > > >
> > > > > [1  <multipart/alternative (7bit)>]
> > > > > [1.1  <text/plain; UTF-8 (7bit)>]
> > > > > On Thu, Nov 12, 2009 at 11:16, Takashi Iwai <tiwai@suse.de> wrote:
> > > > >
> > > > > > At Thu, 12 Nov 2009 10:46:24 +0100,
> > > > > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > > > > >
> > > > > > > Takashi,
> > > > > > >
> > > > > > > I tried the snapshot from
> > > > > > >
> > > > > >
> > >
> ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> > > > > > > last night with and without options still no go, the options
> I've
> > > > > > > tried:
> > > > > > >
> > > > > > > - options snd-hda-intel enable_msi=
> > > > > > > - options snd-hda-intel enable_msi=1 single_cmd=0
> > > > > > > power_save_controller=0 power_save=0 model=hp-dv5
> > > > > >
> > > > > > power_save should be irrelevant.  And model=hp-dv5 and
> enable_msi=1
> > > > > > are already turned on as default in the recent version.
> > > > > >
> > > > > > The next would be model=auto to avoid hp-dv5 quirk.
> > > > > >
> > > > > > Also, it's helpful if you give a summary of your problems again.
> > > > > >
> > > > > >
> > > > > > Takashi
> > > > > >
> > > > >
> > > > > Takashi,
> > > > >
> > > > > I just tried 'options snd-hda-intel enable_msi=1 model=auto' Didn't
> > > > > have much effect, the same problem (sound only from left speaker),
> > > > > always the same result with 'speaker-test -c6 -twav' I can only
> hear
> > > > > 'Front Left'
> > > >
> > > > OK.  But the headphone works, right?
> > > >
> > > Yes Headphones works, even mics works
> > >
> > > >
> > > > > Summary:
> > > > > =======
> > > > >
> > > > > I have an HP DV7-1299EF, BIOS (Version F.2C, F.2A and F.23) , Due
> to a
> > > BIOS
> > > > > BUG, the
> > > > > BIOS report only one speaker as an output so the driver does not
> know
> > > > > how to use pins in order to have a stereo output ( at least that's
> > > > > what you told me last month when you analysed the alsa-info
> output)...
> > > And
> > > > > so one speaker, the left speaker is the only speaker currently
> working
> > > under
> > > > > Linux.
> > > > >
> > > > >
> > > > > First I suspected a hardware problem so 2 days ago I restored
> Windows,
> > > > > tried the sound it works, and I updated my BIOS (it was version
> F.2A
> > > > > before) but sadly it has the same BUG, I also tried reverting back
> to
> > > F.2A
> > > > > and further back to F.23 same result...
> > > > >
> > > > > Attached to this mail, my alsa-info.txt
> > > >
> > > > The codec registers look OK through a quick look.
> > > >
> > > > You can try GPIO pin up/down for each pin.  Also each pin has two
> > > > directions, so you'll have 8 x 2 x 2 trials.
> > > > For example, to test GPIO 3, pass 0x08 (= 1 << 3), try the commands
> > > > below and check aplay at each.  (the lines '//' are just my comments)
> > > >
> > > >        // dir = 0, data = 1
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x00
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x08
> > > >
> > > >        // dir = 0, data = 0
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x00
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
> > > >
> > > >        // dir = 1, data = 0
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x08
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
> > > >
> > > >        // dir = 1, data = 1
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x08
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x08
> > > >        hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x08
> > > >
> > > > Repeat these for each GPIO pin, from 0 to 7.
> > > >
> > > > One another possibility is to use the output pin NID 0x0f.
> > > > For testing this, build with the reconfig feature (usually enabled),
> > > > then change the pin 0x0f default config, such as
> > > >
> > > >        echo 0x0f 0x90171111 >
> /sys/class/sound/hwC0D0/user_pin_configs
> > > >
> > > > then quit all sound apps and reconfigure
> > > >
> > > >        echo 1 > /sys/class/sound/hwC0D0/reconfig
> > > >
> > > > Restore the mixer setup once via alsactl
> > > >
> > > >        alsactl restore
> > > >
> > > > Then check the mixer volumes again, try aplay.  With this setup,
> > > > try GPIO procedures above, too.
> > > >
> > > >
> > > > thanks,
> > > >
> > > > Takashi
> > >
> > > For the tests I've created a little script (attached for review if I
> > > done something wrong), Here's the results
> > >
> > > 0x01:
> > > -------> dir = 0, data = 1  =====> Front Left
> > > -------> dir = 0, data = 0  =====> Front Left
> > > -------> dir = 1, data = 1  =====> Front Left
> > > -------> dir = 1, data = 0  =====> No Sound
> > >
> > > 0x02:
> > > -------> dir = 0, data = 1  =====> No Sound
> > > -------> dir = 0, data = 0  =====> No Sound
> > > -------> dir = 1, data = 1  =====> No Sound
> > > -------> dir = 1, data = 0  =====> No Sound
> > >
> > > 0x04:
> > > -------> dir = 0, data = 1  =====> No Sound
> > > -------> dir = 0, data = 0  =====> No Sound
> > > -------> dir = 1, data = 1  =====> No Sound
> > > -------> dir = 1, data = 0  =====> No Sound
> > >
> > > 0x16:
> > > -------> dir = 0, data = 1  =====> No Sound
> > > -------> dir = 0, data = 0  =====> No Sound
> > > -------> dir = 1, data = 1  =====> No Sound
> > > -------> dir = 1, data = 0  =====> No Sound
> > >
> > > 0x32:
> > > -------> dir = 0, data = 1  =====> No Sound
> > > -------> dir = 0, data = 0  =====> No Sound
> > > -------> dir = 1, data = 1  =====> LFE
> > > -------> dir = 1, data = 0  =====> No Sound
> > >
> > > 0x64:
> > > -------> dir = 0, data = 1  =====> No Sound
> > > -------> dir = 0, data = 0  =====> No Sound
> > > -------> dir = 1, data = 1  =====> LFE
> > > -------> dir = 1, data = 0  =====> No Sound
> > >
> > > 0x128:
> > > -------> dir = 0, data = 1  =====> No Sound
> > > -------> dir = 0, data = 0  =====> No Sound
> > > -------> dir = 1, data = 1  =====> LFE
> > > -------> dir = 1, data = 0  =====> No Sound
> > >
> > >
> > > I've got the same results with the NID 0x0f
> > >
> > >
> > Hey Takashi,
> >
> > I forgot the
> >
> > 0x08:
> > -------> dir = 0, data = 1  =====> No Sound
> > -------> dir = 0, data = 0  =====> No Sound
> > -------> dir = 1, data = 1  =====> No Sound
> > -------> dir = 1, data = 0  =====> No Sound
> >
> >
> > Looking at the results above, how can I get both the Front Left and LFE
> to
> > output sound? and hopefully we get the right speaker later to work
>
> The LFE could be enabled by the patch below.  Give it a try.
>
> Takashi
>
> ---
> diff --git a/sound/pci/hda/patch_sigmatel.c
> b/sound/pci/hda/patch_sigmatel.c
> index 7f76a97..57a561d 100644
> --- a/sound/pci/hda/patch_sigmatel.c
> +++ b/sound/pci/hda/patch_sigmatel.c
> @@ -5468,6 +5468,18 @@ again:
>                break;
>        }
>
> +       /* enable LFE on HP dv7 if available */
> +       if (spec->board_config == STAC_HP_DV5) {
> +               unsigned int cap;
> +               cap = snd_hda_param_read(codec, 0x1, AC_PAR_GPIO_CAP);
> +               cap &= AC_GPIO_IO_COUNT;
> +               if (cap >= 6) {
> +                       spec->gpio_mask |= 0x20;
> +                       spec->gpio_dir |= 0x20;
> +                       spec->gpio_data |= 0x20;
> +               }
> +       }
> +
>        if (hp_bseries_system(codec->subsystem_id)) {
>                pin_cfg = snd_hda_codec_get_pincfg(codec, 0x0f);
>                if (get_defcfg_device(pin_cfg) == AC_JACK_LINE_OUT ||
>
>
Takashi,

Thank you that actually worked, I have now both Front Left and LFE working,
but it's very hard to tell coz the LFE is louder than both front speakers I
even put my ear directly on the speaker and it still can't be 100% sure, but
I think that for now what is working is 'Front Left + LFE', I can't hear
anything from the right speaker.. but it's already an improvement to what I
had.

Do you have any suggestion on how to enable the right speaker?

Thanks


-- 
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
  would never make a good program. (L. Torvalds 1995) :.

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-16 17:07                           ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-16 17:15                             ` Takashi Iwai
  2009-11-16 17:22                               ` Wael Nasreddine (a.k.a eMxyzptlk)
  0 siblings, 1 reply; 26+ messages in thread
From: Takashi Iwai @ 2009-11-16 17:15 UTC (permalink / raw)
  To: Wael Nasreddine (a.k.a eMxyzptlk); +Cc: alsa-devel, julien.cynober

At Mon, 16 Nov 2009 18:07:40 +0100,
Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> 
> Thank you that actually worked, I have now both Front Left and LFE working,
> but it's very hard to tell coz the LFE is louder than both front speakers I
> even put my ear directly on the speaker and it still can't be 100% sure, but
> I think that for now what is working is 'Front Left + LFE', I can't hear
> anything from the right speaker.. but it's already an improvement to what I
> had.

Hm, if it's *so* loud, we should have a mixer control for this, I
guess.


> Do you have any suggestion on how to enable the right speaker?

No, already out of idea...  I wonder whether any other people
suffering from the same problem?


thanks,

Takashi

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-16 17:15                             ` Takashi Iwai
@ 2009-11-16 17:22                               ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-16 17:36                                 ` Takashi Iwai
  0 siblings, 1 reply; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-16 17:22 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, julien.cynober

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

On Mon, Nov 16, 2009 at 18:15, Takashi Iwai <tiwai@suse.de> wrote:
>
> At Mon, 16 Nov 2009 18:07:40 +0100,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >
> > Thank you that actually worked, I have now both Front Left and LFE working,
> > but it's very hard to tell coz the LFE is louder than both front speakers I
> > even put my ear directly on the speaker and it still can't be 100% sure, but
> > I think that for now what is working is 'Front Left + LFE', I can't hear
> > anything from the right speaker.. but it's already an improvement to what I
> > had.
>
> Hm, if it's *so* loud, we should have a mixer control for this, I
> guess.
>
It's not *so* loud, but yea I appreciate a mixer for it yes! at least
I can tell which speaker is working and also I can listen to Music
without bothering someone else because with LFE the base is loud..

>
> > Do you have any suggestion on how to enable the right speaker?
>
> No, already out of idea...  I wonder whether any other people
> suffering from the same problem?
>
Julien has the same PC, same OS, same Kernel, same BIOS Version, but
the weird thing is that he is not suffering from this problem, which
obviously led me to beleive a hardware defect, but it's working on
Windows!

@Julien, could you plz try the patch (attached
enable-lfe-on-dv7.patch) against
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
? and Tell us if it changes anything for you?

>
> thanks,
>
> Takashi



--
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
  would never make a good program. (L. Torvalds 1995) :.

[-- Attachment #2: enable-lfe-on-dv7.patch --]
[-- Type: application/octet-stream, Size: 870 bytes --]

diff -Naur a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
--- a/sound/pci/hda/patch_sigmatel.c	2009-11-16 15:38:26.000000000 +0100
+++ b/sound/pci/hda/patch_sigmatel.c	2009-11-16 17:46:37.023360913 +0100
@@ -5468,6 +5468,18 @@
 		break;
 	}
 
+       /* enable LFE on HP dv7 if available */
+       if (spec->board_config == STAC_HP_DV5) {
+               unsigned int cap;
+               cap = snd_hda_param_read(codec, 0x1, AC_PAR_GPIO_CAP);
+               cap &= AC_GPIO_IO_COUNT;
+               if (cap >= 6) {
+                       spec->gpio_mask |= 0x20;
+                       spec->gpio_dir |= 0x20;
+                       spec->gpio_data |= 0x20;
+               }
+       }
+
 	if (hp_bseries_system(codec->subsystem_id)) {
 		pin_cfg = snd_hda_codec_get_pincfg(codec, 0x0f);
 		if (get_defcfg_device(pin_cfg) == AC_JACK_LINE_OUT ||

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

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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-16 17:22                               ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-16 17:36                                 ` Takashi Iwai
  2009-11-16 18:34                                   ` Wael Nasreddine (a.k.a eMxyzptlk)
  0 siblings, 1 reply; 26+ messages in thread
From: Takashi Iwai @ 2009-11-16 17:36 UTC (permalink / raw)
  To: Wael Nasreddine (a.k.a eMxyzptlk); +Cc: alsa-devel, julien.cynober

At Mon, 16 Nov 2009 18:22:56 +0100,
Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> 
> On Mon, Nov 16, 2009 at 18:15, Takashi Iwai <tiwai@suse.de> wrote:
> >
> > At Mon, 16 Nov 2009 18:07:40 +0100,
> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > >
> > > Thank you that actually worked, I have now both Front Left and LFE working,
> > > but it's very hard to tell coz the LFE is louder than both front speakers I
> > > even put my ear directly on the speaker and it still can't be 100% sure, but
> > > I think that for now what is working is 'Front Left + LFE', I can't hear
> > > anything from the right speaker.. but it's already an improvement to what I
> > > had.
> >
> > Hm, if it's *so* loud, we should have a mixer control for this, I
> > guess.
> >
> It's not *so* loud, but yea I appreciate a mixer for it yes! at least
> I can tell which speaker is working and also I can listen to Music
> without bothering someone else because with LFE the base is loud..

OK, how about the patch below?

> > > Do you have any suggestion on how to enable the right speaker?
> >
> > No, already out of idea...  I wonder whether any other people
> > suffering from the same problem?
> >
> Julien has the same PC, same OS, same Kernel, same BIOS Version, but
> the weird thing is that he is not suffering from this problem, which
> obviously led me to beleive a hardware defect, but it's working on
> Windows!

This is really weird...


Takashi

---
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 7f76a97..cd3be33 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -1063,6 +1063,16 @@ static const char *slave_sws[] = {
 static void stac92xx_free_kctls(struct hda_codec *codec);
 static int stac92xx_add_jack(struct hda_codec *codec, hda_nid_t nid, int type);
 
+static void stac_add_mixer(struct sigmatel_spec *spec,
+			   struct snd_kcontrol_new *knew)
+{
+	if (!knew)
+		return;
+	if (snd_BUG_ON(spec->num_mixers >= ARRAY_SIZE(spec->mixers)))
+		return;
+	spec->mixers[spec->num_mixers++] = knew;
+}
+
 static int stac92xx_build_controls(struct hda_codec *codec)
 {
 	struct sigmatel_spec *spec = codec->spec;
@@ -3825,8 +3835,7 @@ static int stac92xx_parse_auto_config(struct hda_codec *codec, hda_nid_t dig_out
 	if (dig_in && spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = dig_in;
 
-	if (spec->kctls.list)
-		spec->mixers[spec->num_mixers++] = spec->kctls.list;
+	stac_add_mixer(spec, spec->kctls.list);
 
 	spec->input_mux = &spec->private_imux;
 	if (!spec->dinput_mux)
@@ -3935,8 +3944,7 @@ static int stac9200_parse_auto_config(struct hda_codec *codec)
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = 0x04;
 
-	if (spec->kctls.list)
-		spec->mixers[spec->num_mixers++] = spec->kctls.list;
+	stac_add_mixer(spec, spec->kctls.list);
 
 	spec->input_mux = &spec->private_imux;
 	spec->dinput_mux = &spec->private_dimux;
@@ -5280,6 +5288,54 @@ static int stac92hd71bxx_connected_smuxes(struct hda_codec *codec,
 		return 0;
 }
 
+/* HP dv7 bass volume - GPIO5 */
+#define stac_hp_bass_gpio_info	snd_ctl_boolean_mono_info
+static int stac_hp_bass_gpio_get(struct snd_kcontrol *kcontrol,
+				 struct snd_ctl_elem_value *ucontrol)
+{
+	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
+	struct sigmatel_spec *spec = codec->spec;
+	ucontrol->value.integer.value[0] = !!(spec->gpio_data & 0x20);
+	return 0;
+}
+
+static int stac_hp_bass_gpio_put(struct snd_kcontrol *kcontrol,
+				 struct snd_ctl_elem_value *ucontrol)
+{
+	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
+	struct sigmatel_spec *spec = codec->spec;
+	unsigned int gpio_data;
+
+	gpio_data = (spec->gpio_data & ~0x20) |
+		(ucontrol->value.integer.value[0] ? 0x20 : 0);
+	if (gpio_data == spec->gpio_data)
+		return 0;
+	spec->gpio_data = gpio_data;
+	stac_gpio_set(codec, spec->gpio_mask, spec->gpio_dir, spec->gpio_data);
+	return 1;
+}
+
+static struct snd_kcontrol_new stac_hp_bass_volume_ctrl[] = {
+	{
+		.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
+		.name = "Bass Speaker Playback Volume",
+		.info = stac_hp_bass_gpio_info,
+		.get = stac_hp_bass_gpio_get,
+		.put = stac_hp_bass_gpio_put,
+	},
+	{} /* terminator */
+};
+
+static void stac_add_hp_bass_volume(struct hda_codec *codec)
+{
+	struct sigmatel_spec *spec = codec->spec;
+
+	spec->gpio_mask |= 0x20;
+	spec->gpio_dir |= 0x20;
+	spec->gpio_data |= 0x20;
+	stac_add_mixer(spec, stac_hp_bass_volume_ctrl);
+}
+
 static int patch_stac92hd71bxx(struct hda_codec *codec)
 {
 	struct sigmatel_spec *spec;
@@ -5536,6 +5592,15 @@ again:
 		return err;
 	}
 
+	/* enable LFE on HP dv7 if available */
+	if (spec->board_config == STAC_HP_DV5) {
+		unsigned int cap;
+		cap = snd_hda_param_read(codec, 0x1, AC_PAR_GPIO_CAP);
+		cap &= AC_GPIO_IO_COUNT;
+		if (cap >= 6)
+			stac_add_hp_bass_volume(codec);
+	}
+
 	codec->proc_widget_hook = stac92hd7x_proc_hook;
 
 	return 0;
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-16 17:36                                 ` Takashi Iwai
@ 2009-11-16 18:34                                   ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-16 19:30                                     ` Takashi Iwai
  0 siblings, 1 reply; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-16 18:34 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, julien.cynober

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

On Mon, Nov 16, 2009 at 18:36, Takashi Iwai <tiwai@suse.de> wrote:
>
> At Mon, 16 Nov 2009 18:22:56 +0100,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >
> > On Mon, Nov 16, 2009 at 18:15, Takashi Iwai <tiwai@suse.de> wrote:
> > >
> > > At Mon, 16 Nov 2009 18:07:40 +0100,
> > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > >
> > > > Thank you that actually worked, I have now both Front Left and LFE working,
> > > > but it's very hard to tell coz the LFE is louder than both front speakers I
> > > > even put my ear directly on the speaker and it still can't be 100% sure, but
> > > > I think that for now what is working is 'Front Left + LFE', I can't hear
> > > > anything from the right speaker.. but it's already an improvement to what I
> > > > had.
> > >
> > > Hm, if it's *so* loud, we should have a mixer control for this, I
> > > guess.
> > >
> > It's not *so* loud, but yea I appreciate a mixer for it yes! at least
> > I can tell which speaker is working and also I can listen to Music
> > without bothering someone else because with LFE the base is loud..
>
> OK, how about the patch below?
>
> > > > Do you have any suggestion on how to enable the right speaker?
> > >
> > > No, already out of idea...  I wonder whether any other people
> > > suffering from the same problem?
> > >
> > Julien has the same PC, same OS, same Kernel, same BIOS Version, but
> > the weird thing is that he is not suffering from this problem, which
> > obviously led me to beleive a hardware defect, but it's working on
> > Windows!
>
> This is really weird...
>
>
> Takashi
>

Because the patch is not attached, I can't quite copy it correctly
from Gmail, so I did it by hand (attached), I applied it but I don't
see the mixer anywhere in alsamixer. I double checked the patch
though...

--
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
  would never make a good program. (L. Torvalds 1995) :.

[-- Attachment #2: enable-lfe_add-lfe-mixer-on-dv7.patch --]
[-- Type: application/octet-stream, Size: 4067 bytes --]

diff -Naur a/alsa-kernel/pci/hda/patch_sigmatel.c b/alsa-kernel/pci/hda/patch_sigmatel.c
--- a/alsa-kernel/pci/hda/patch_sigmatel.c	2009-11-16 15:38:26.000000000 +0100
+++ b/alsa-kernel/pci/hda/patch_sigmatel.c	2009-11-16 19:19:01.110495159 +0100
@@ -1063,6 +1063,16 @@
 static void stac92xx_free_kctls(struct hda_codec *codec);
 static int stac92xx_add_jack(struct hda_codec *codec, hda_nid_t nid, int type);
 
+static void stac_add_mixer(struct sigmatel_spec *spec,
+              struct snd_kcontrol_new *knew)
+{
+   if (!knew)
+       return;
+   if (snd_BUG_ON(spec->num_mixers >= ARRAY_SIZE(spec->mixers)))
+       return;
+   spec->mixers[spec->num_mixers++] = knew;
+}
+
 static int stac92xx_build_controls(struct hda_codec *codec)
 {
 	struct sigmatel_spec *spec = codec->spec;
@@ -3825,8 +3835,7 @@
 	if (dig_in && spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = dig_in;
 
-	if (spec->kctls.list)
-		spec->mixers[spec->num_mixers++] = spec->kctls.list;
+    stac_add_mixer(spec, spec->kctls.list);
 
 	spec->input_mux = &spec->private_imux;
 	if (!spec->dinput_mux)
@@ -3935,8 +3944,7 @@
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = 0x04;
 
-	if (spec->kctls.list)
-		spec->mixers[spec->num_mixers++] = spec->kctls.list;
+    stac_add_mixer(spec, spec->kctls.list);
 
 	spec->input_mux = &spec->private_imux;
 	spec->dinput_mux = &spec->private_dimux;
@@ -5280,6 +5288,54 @@
 		return 0;
 }
 
+/* HP dv7 bass volume - GPIO5 */
+#define stac_hp_bass_gpio_info snd_ctl_boolean_mono_info
+static int stac_hp_bass_gpio_get(struct snd_kcontrol *kcontrol,
+                struct snd_ctl_elem_value *ucontrol)
+{
+   struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
+   struct sigmatel_spec *spec = codec->spec;
+   ucontrol->value.integer.value[0] = !!(spec->gpio_data & 0x20);
+   return 0;
+}
+
+static int stac_hp_bass_gpio_put(struct snd_kcontrol *kcontrol,
+                struct snd_ctl_elem_value *ucontrol)
+{
+   struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
+   struct sigmatel_spec *spec = codec->spec;
+   unsigned int gpio_data;
+
+   gpio_data = (spec->gpio_data & ~0x20) |
+       (ucontrol->value.integer.value[0] ? 0x20 : 0);
+   if (gpio_data == spec->gpio_data)
+       return 0;
+   spec->gpio_data = gpio_data;
+   stac_gpio_set(codec, spec->gpio_mask, spec->gpio_dir, spec->gpio_data);
+   return 1;
+}
+
+static struct snd_kcontrol_new stac_hp_bass_volume_ctrl[] = {
+   {
+       .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
+       .name = "Bass Speaker Playback Volume",
+       .info = stac_hp_bass_gpio_info,
+       .get = stac_hp_bass_gpio_get,
+       .put = stac_hp_bass_gpio_put,
+   },
+   {} /* terminator */
+};
+
+static void stac_add_hp_bass_volume(struct hda_codec *codec)
+{
+   struct sigmatel_spec *spec = codec->spec;
+
+   spec->gpio_mask |= 0x20;
+   spec->gpio_dir |= 0x20;
+   spec->gpio_data |= 0x20;
+   stac_add_mixer(spec, stac_hp_bass_volume_ctrl);
+}
+
 static int patch_stac92hd71bxx(struct hda_codec *codec)
 {
 	struct sigmatel_spec *spec;
@@ -5468,6 +5524,18 @@
 		break;
 	}
 
+       /* enable LFE on HP dv7 if available */
+       if (spec->board_config == STAC_HP_DV5) {
+               unsigned int cap;
+               cap = snd_hda_param_read(codec, 0x1, AC_PAR_GPIO_CAP);
+               cap &= AC_GPIO_IO_COUNT;
+               if (cap >= 6) {
+                       spec->gpio_mask |= 0x20;
+                       spec->gpio_dir |= 0x20;
+                       spec->gpio_data |= 0x20;
+               }
+       }
+
 	if (hp_bseries_system(codec->subsystem_id)) {
 		pin_cfg = snd_hda_codec_get_pincfg(codec, 0x0f);
 		if (get_defcfg_device(pin_cfg) == AC_JACK_LINE_OUT ||
@@ -5536,6 +5604,15 @@
 		return err;
 	}
 
+    /* enable LFE on HP dv7 if available */
+    if (spec->board_config == STAC_HP_DV5) {
+        unsigned int cap;
+        cap = snd_hda_param_read(codec, 0x1, AC_PAR_GPIO_CAP);
+        cap &= AC_GPIO_IO_COUNT;
+        if (cap >= 6)
+            stac_add_hp_bass_volume(codec);
+    }
+
 	codec->proc_widget_hook = stac92hd7x_proc_hook;
 
 	return 0;

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

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

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-16 18:34                                   ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-16 19:30                                     ` Takashi Iwai
  2009-11-16 19:59                                       ` Wael Nasreddine (a.k.a eMxyzptlk)
  0 siblings, 1 reply; 26+ messages in thread
From: Takashi Iwai @ 2009-11-16 19:30 UTC (permalink / raw)
  To: Wael Nasreddine (a.k.a eMxyzptlk); +Cc: alsa-devel, julien.cynober

At Mon, 16 Nov 2009 19:34:45 +0100,
Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> 
> [1  <text/plain; UTF-8 (quoted-printable)>]
> On Mon, Nov 16, 2009 at 18:36, Takashi Iwai <tiwai@suse.de> wrote:
> >
> > At Mon, 16 Nov 2009 18:22:56 +0100,
> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > >
> > > On Mon, Nov 16, 2009 at 18:15, Takashi Iwai <tiwai@suse.de> wrote:
> > > >
> > > > At Mon, 16 Nov 2009 18:07:40 +0100,
> > > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > > >
> > > > > Thank you that actually worked, I have now both Front Left and LFE working,
> > > > > but it's very hard to tell coz the LFE is louder than both front speakers I
> > > > > even put my ear directly on the speaker and it still can't be 100% sure, but
> > > > > I think that for now what is working is 'Front Left + LFE', I can't hear
> > > > > anything from the right speaker.. but it's already an improvement to what I
> > > > > had.
> > > >
> > > > Hm, if it's *so* loud, we should have a mixer control for this, I
> > > > guess.
> > > >
> > > It's not *so* loud, but yea I appreciate a mixer for it yes! at least
> > > I can tell which speaker is working and also I can listen to Music
> > > without bothering someone else because with LFE the base is loud..
> >
> > OK, how about the patch below?
> >
> > > > > Do you have any suggestion on how to enable the right speaker?
> > > >
> > > > No, already out of idea...  I wonder whether any other people
> > > > suffering from the same problem?
> > > >
> > > Julien has the same PC, same OS, same Kernel, same BIOS Version, but
> > > the weird thing is that he is not suffering from this problem, which
> > > obviously led me to beleive a hardware defect, but it's working on
> > > Windows!
> >
> > This is really weird...
> >
> >
> > Takashi
> >
> 
> Because the patch is not attached, I can't quite copy it correctly
> from Gmail,

You have a pull-down menu at the top-right corner of each mail in
gmail.  There you can choose "Show original".  This will show the raw
texts so that you can save it from the browser.

Possibly this menu item appears only in English language mode, though.


> so I did it by hand (attached), I applied it but I don't
> see the mixer anywhere in alsamixer. I double checked the patch
> though...

I revised the patch.  Attached below.
Try it instead.  You'll have "Bass Speaker" mixer switch, maybe at the
most right side.


Takashi
---
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 7f76a97..6a2a501 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -5280,6 +5280,54 @@ static int stac92hd71bxx_connected_smuxes(struct hda_codec *codec,
 		return 0;
 }
 
+/* HP dv7 bass switch - GPIO5 */
+#define stac_hp_bass_gpio_info	snd_ctl_boolean_mono_info
+static int stac_hp_bass_gpio_get(struct snd_kcontrol *kcontrol,
+				 struct snd_ctl_elem_value *ucontrol)
+{
+	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
+	struct sigmatel_spec *spec = codec->spec;
+	ucontrol->value.integer.value[0] = !!(spec->gpio_data & 0x20);
+	return 0;
+}
+
+static int stac_hp_bass_gpio_put(struct snd_kcontrol *kcontrol,
+				 struct snd_ctl_elem_value *ucontrol)
+{
+	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
+	struct sigmatel_spec *spec = codec->spec;
+	unsigned int gpio_data;
+
+	gpio_data = (spec->gpio_data & ~0x20) |
+		(ucontrol->value.integer.value[0] ? 0x20 : 0);
+	if (gpio_data == spec->gpio_data)
+		return 0;
+	spec->gpio_data = gpio_data;
+	stac_gpio_set(codec, spec->gpio_mask, spec->gpio_dir, spec->gpio_data);
+	return 1;
+}
+
+static struct snd_kcontrol_new stac_hp_bass_sw_ctrl = {
+	.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
+	.info = stac_hp_bass_gpio_info,
+	.get = stac_hp_bass_gpio_get,
+	.put = stac_hp_bass_gpio_put,
+};
+
+static int stac_add_hp_bass_switch(struct hda_codec *codec)
+{
+	struct sigmatel_spec *spec = codec->spec;
+
+	if (!stac_control_new(spec, &stac_hp_bass_sw_ctrl,
+			      "Bass Speaker Playback Switch", 0))
+		return -ENOMEM;
+
+	spec->gpio_mask |= 0x20;
+	spec->gpio_dir |= 0x20;
+	spec->gpio_data |= 0x20;
+	return 0;
+}
+
 static int patch_stac92hd71bxx(struct hda_codec *codec)
 {
 	struct sigmatel_spec *spec;
@@ -5536,6 +5584,15 @@ again:
 		return err;
 	}
 
+	/* enable bass on HP dv7 */
+	if (spec->board_config == STAC_HP_DV5) {
+		unsigned int cap;
+		cap = snd_hda_param_read(codec, 0x1, AC_PAR_GPIO_CAP);
+		cap &= AC_GPIO_IO_COUNT;
+		if (cap >= 6)
+			stac_add_hp_bass_switch(codec);
+	}
+
 	codec->proc_widget_hook = stac92hd7x_proc_hook;
 
 	return 0;
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-16 19:30                                     ` Takashi Iwai
@ 2009-11-16 19:59                                       ` Wael Nasreddine (a.k.a eMxyzptlk)
  2009-11-17  6:37                                         ` Takashi Iwai
  0 siblings, 1 reply; 26+ messages in thread
From: Wael Nasreddine (a.k.a eMxyzptlk) @ 2009-11-16 19:59 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, julien.cynober

On Mon, Nov 16, 2009 at 20:30, Takashi Iwai <tiwai@suse.de> wrote:

> At Mon, 16 Nov 2009 19:34:45 +0100,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> >
> > [1  <text/plain; UTF-8 (quoted-printable)>]
> > On Mon, Nov 16, 2009 at 18:36, Takashi Iwai <tiwai@suse.de> wrote:
> > >
> > > At Mon, 16 Nov 2009 18:22:56 +0100,
> > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > >
> > > > On Mon, Nov 16, 2009 at 18:15, Takashi Iwai <tiwai@suse.de> wrote:
> > > > >
> > > > > At Mon, 16 Nov 2009 18:07:40 +0100,
> > > > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > > > >
> > > > > > Thank you that actually worked, I have now both Front Left and
> LFE working,
> > > > > > but it's very hard to tell coz the LFE is louder than both front
> speakers I
> > > > > > even put my ear directly on the speaker and it still can't be
> 100% sure, but
> > > > > > I think that for now what is working is 'Front Left + LFE', I
> can't hear
> > > > > > anything from the right speaker.. but it's already an improvement
> to what I
> > > > > > had.
> > > > >
> > > > > Hm, if it's *so* loud, we should have a mixer control for this, I
> > > > > guess.
> > > > >
> > > > It's not *so* loud, but yea I appreciate a mixer for it yes! at least
> > > > I can tell which speaker is working and also I can listen to Music
> > > > without bothering someone else because with LFE the base is loud..
> > >
> > > OK, how about the patch below?
> > >
> > > > > > Do you have any suggestion on how to enable the right speaker?
> > > > >
> > > > > No, already out of idea...  I wonder whether any other people
> > > > > suffering from the same problem?
> > > > >
> > > > Julien has the same PC, same OS, same Kernel, same BIOS Version, but
> > > > the weird thing is that he is not suffering from this problem, which
> > > > obviously led me to beleive a hardware defect, but it's working on
> > > > Windows!
> > >
> > > This is really weird...
> > >
> > >
> > > Takashi
> > >
> >
> > Because the patch is not attached, I can't quite copy it correctly
> > from Gmail,
>
> You have a pull-down menu at the top-right corner of each mail in
> gmail.  There you can choose "Show original".  This will show the raw
> texts so that you can save it from the browser.
>
> Possibly this menu item appears only in English language mode, though.
>
> I have this and that's what I used earlier but it failed on many hunks, now
it only failed on one, the last hunk, so I applied the last one by hand

>
> > so I did it by hand (attached), I applied it but I don't
> > see the mixer anywhere in alsamixer. I double checked the patch
> > though...
>
> I revised the patch.  Attached below.
> Try it instead.  You'll have "Bass Speaker" mixer switch, maybe at the
> most right side.
>
>
> Takashi
>

Thank you, this patch works indeed, I can enable/disable the LFE as I like
now, Thank you so much !!

Why do you think the drivers needed special GPIO settings while another PC,
same PC didn't need anything, BIOS BUG or maybe hardware defect?

-- 
Wael Nasreddine

Weem Chief-Development Officer - http://www.weem.com

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasreddine@weem.com
gTalk   : wael.nasreddine@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
  would never make a good program. (L. Torvalds 1995) :.

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-16 19:59                                       ` Wael Nasreddine (a.k.a eMxyzptlk)
@ 2009-11-17  6:37                                         ` Takashi Iwai
  2009-11-17 10:08                                           ` Takashi Iwai
  0 siblings, 1 reply; 26+ messages in thread
From: Takashi Iwai @ 2009-11-17  6:37 UTC (permalink / raw)
  To: Wael Nasreddine (a.k.a eMxyzptlk); +Cc: alsa-devel, julien.cynober

At Mon, 16 Nov 2009 20:59:22 +0100,
Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> 
> [1  <text/plain; UTF-8 (7bit)>]
> On Mon, Nov 16, 2009 at 20:30, Takashi Iwai <tiwai@suse.de> wrote:
> 
> > At Mon, 16 Nov 2009 19:34:45 +0100,
> > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > >
> > > [1  <text/plain; UTF-8 (quoted-printable)>]
> > > On Mon, Nov 16, 2009 at 18:36, Takashi Iwai <tiwai@suse.de> wrote:
> > > >
> > > > At Mon, 16 Nov 2009 18:22:56 +0100,
> > > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > > >
> > > > > On Mon, Nov 16, 2009 at 18:15, Takashi Iwai <tiwai@suse.de> wrote:
> > > > > >
> > > > > > At Mon, 16 Nov 2009 18:07:40 +0100,
> > > > > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > > > > >
> > > > > > > Thank you that actually worked, I have now both Front Left and
> > LFE working,
> > > > > > > but it's very hard to tell coz the LFE is louder than both front
> > speakers I
> > > > > > > even put my ear directly on the speaker and it still can't be
> > 100% sure, but
> > > > > > > I think that for now what is working is 'Front Left + LFE', I
> > can't hear
> > > > > > > anything from the right speaker.. but it's already an improvement
> > to what I
> > > > > > > had.
> > > > > >
> > > > > > Hm, if it's *so* loud, we should have a mixer control for this, I
> > > > > > guess.
> > > > > >
> > > > > It's not *so* loud, but yea I appreciate a mixer for it yes! at least
> > > > > I can tell which speaker is working and also I can listen to Music
> > > > > without bothering someone else because with LFE the base is loud..
> > > >
> > > > OK, how about the patch below?
> > > >
> > > > > > > Do you have any suggestion on how to enable the right speaker?
> > > > > >
> > > > > > No, already out of idea...  I wonder whether any other people
> > > > > > suffering from the same problem?
> > > > > >
> > > > > Julien has the same PC, same OS, same Kernel, same BIOS Version, but
> > > > > the weird thing is that he is not suffering from this problem, which
> > > > > obviously led me to beleive a hardware defect, but it's working on
> > > > > Windows!
> > > >
> > > > This is really weird...
> > > >
> > > >
> > > > Takashi
> > > >
> > >
> > > Because the patch is not attached, I can't quite copy it correctly
> > > from Gmail,
> >
> > You have a pull-down menu at the top-right corner of each mail in
> > gmail.  There you can choose "Show original".  This will show the raw
> > texts so that you can save it from the browser.
> >
> > Possibly this menu item appears only in English language mode, though.
> >
> > I have this and that's what I used earlier but it failed on many hunks, now
> it only failed on one, the last hunk, so I applied the last one by hand

Maybe you aren't using the very latest alsa-driver code?

> > > so I did it by hand (attached), I applied it but I don't
> > > see the mixer anywhere in alsamixer. I double checked the patch
> > > though...
> >
> > I revised the patch.  Attached below.
> > Try it instead.  You'll have "Bass Speaker" mixer switch, maybe at the
> > most right side.
> >
> >
> > Takashi
> >
> 
> Thank you, this patch works indeed, I can enable/disable the LFE as I like
> now, Thank you so much !!
> 
> Why do you think the drivers needed special GPIO settings while another PC,
> same PC didn't need anything, BIOS BUG or maybe hardware defect?

Well, the question is whether this bass effect wasn't used on any HP
dv laptops at all until yet, or it was already enabled as default.

As I have no hardware itself, I really have no idea about it...
Can anyone tell whether the bass was enabled already?


thanks,

Takashi

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

* Re: HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working
  2009-11-17  6:37                                         ` Takashi Iwai
@ 2009-11-17 10:08                                           ` Takashi Iwai
  0 siblings, 0 replies; 26+ messages in thread
From: Takashi Iwai @ 2009-11-17 10:08 UTC (permalink / raw)
  To: Wael Nasreddine (a.k.a eMxyzptlk); +Cc: alsa-devel, julien.cynober

At Tue, 17 Nov 2009 07:37:33 +0100,
I wrote:
> 
> At Mon, 16 Nov 2009 20:59:22 +0100,
> Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > 
> > [1  <text/plain; UTF-8 (7bit)>]
> > On Mon, Nov 16, 2009 at 20:30, Takashi Iwai <tiwai@suse.de> wrote:
> > 
> > > At Mon, 16 Nov 2009 19:34:45 +0100,
> > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > >
> > > > [1  <text/plain; UTF-8 (quoted-printable)>]
> > > > On Mon, Nov 16, 2009 at 18:36, Takashi Iwai <tiwai@suse.de> wrote:
> > > > >
> > > > > At Mon, 16 Nov 2009 18:22:56 +0100,
> > > > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > > > >
> > > > > > On Mon, Nov 16, 2009 at 18:15, Takashi Iwai <tiwai@suse.de> wrote:
> > > > > > >
> > > > > > > At Mon, 16 Nov 2009 18:07:40 +0100,
> > > > > > > Wael Nasreddine (a.k.a eMxyzptlk) wrote:
> > > > > > > >
> > > > > > > > Thank you that actually worked, I have now both Front Left and
> > > LFE working,
> > > > > > > > but it's very hard to tell coz the LFE is louder than both front
> > > speakers I
> > > > > > > > even put my ear directly on the speaker and it still can't be
> > > 100% sure, but
> > > > > > > > I think that for now what is working is 'Front Left + LFE', I
> > > can't hear
> > > > > > > > anything from the right speaker.. but it's already an improvement
> > > to what I
> > > > > > > > had.
> > > > > > >
> > > > > > > Hm, if it's *so* loud, we should have a mixer control for this, I
> > > > > > > guess.
> > > > > > >
> > > > > > It's not *so* loud, but yea I appreciate a mixer for it yes! at least
> > > > > > I can tell which speaker is working and also I can listen to Music
> > > > > > without bothering someone else because with LFE the base is loud..
> > > > >
> > > > > OK, how about the patch below?
> > > > >
> > > > > > > > Do you have any suggestion on how to enable the right speaker?
> > > > > > >
> > > > > > > No, already out of idea...  I wonder whether any other people
> > > > > > > suffering from the same problem?
> > > > > > >
> > > > > > Julien has the same PC, same OS, same Kernel, same BIOS Version, but
> > > > > > the weird thing is that he is not suffering from this problem, which
> > > > > > obviously led me to beleive a hardware defect, but it's working on
> > > > > > Windows!
> > > > >
> > > > > This is really weird...
> > > > >
> > > > >
> > > > > Takashi
> > > > >
> > > >
> > > > Because the patch is not attached, I can't quite copy it correctly
> > > > from Gmail,
> > >
> > > You have a pull-down menu at the top-right corner of each mail in
> > > gmail.  There you can choose "Show original".  This will show the raw
> > > texts so that you can save it from the browser.
> > >
> > > Possibly this menu item appears only in English language mode, though.
> > >
> > > I have this and that's what I used earlier but it failed on many hunks, now
> > it only failed on one, the last hunk, so I applied the last one by hand
> 
> Maybe you aren't using the very latest alsa-driver code?
> 
> > > > so I did it by hand (attached), I applied it but I don't
> > > > see the mixer anywhere in alsamixer. I double checked the patch
> > > > though...
> > >
> > > I revised the patch.  Attached below.
> > > Try it instead.  You'll have "Bass Speaker" mixer switch, maybe at the
> > > most right side.
> > >
> > >
> > > Takashi
> > >
> > 
> > Thank you, this patch works indeed, I can enable/disable the LFE as I like
> > now, Thank you so much !!
> > 
> > Why do you think the drivers needed special GPIO settings while another PC,
> > same PC didn't need anything, BIOS BUG or maybe hardware defect?
> 
> Well, the question is whether this bass effect wasn't used on any HP
> dv laptops at all until yet, or it was already enabled as default.
> 
> As I have no hardware itself, I really have no idea about it...
> Can anyone tell whether the bass was enabled already?

BTW, do you happen to know whether the bass feature is on other HP
dv models such as dv5?  Isn't it specific to dv7?

We might need to look up PCI SSID or DMI entries to sort this out.
Could you give dmidecode output?


thanks,

Takashi

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

end of thread, other threads:[~2009-11-17 10:08 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-11 15:22 HDA Intel IDT 92HD71B7X - HP Pavilion DV7-1299EF - Only the left speaker is working Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-11 17:28 ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-11 17:35 ` Takashi Iwai
2009-11-11 17:40   ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-11 17:45     ` Takashi Iwai
2009-11-11 17:58       ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-11 19:09         ` Takashi Iwai
2009-11-11 19:15           ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-11 19:25             ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-12  9:46             ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-12 10:16               ` Takashi Iwai
2009-11-12 15:09                 ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-14 12:46                 ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-14 13:03                   ` Takashi Iwai
2009-11-14 14:25                     ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-15 16:26                       ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-16 16:28                         ` Takashi Iwai
2009-11-16 17:07                           ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-16 17:15                             ` Takashi Iwai
2009-11-16 17:22                               ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-16 17:36                                 ` Takashi Iwai
2009-11-16 18:34                                   ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-16 19:30                                     ` Takashi Iwai
2009-11-16 19:59                                       ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-11-17  6:37                                         ` Takashi Iwai
2009-11-17 10:08                                           ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.