All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with snd-hda-intel and Asus M2NPV-VM. Please help!
       [not found] <a3ef07920906241108u786a6c89j80f2ad89eebf7dcd@mail.gmail.com>
@ 2009-06-24 18:34 ` VDR User
  2009-06-29  7:27   ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: VDR User @ 2009-06-24 18:34 UTC (permalink / raw)
  To: alsa-devel

I posted this to the alsa-user mailing list but since then I've read
that the problem may actually be a bug in alsa so I've decided to
forward the posting here as well.  Thanks for your consideration.

Best regards,
Derek

---------- Forwarded message ----------
From: VDR User <user.vdr@gmail.com>
Date: Wed, Jun 24, 2009 at 11:08 AM
Subject: Problems with snd-hda-intel and Asus M2NPV-VM. Please help!
To: "mailing list: alsa" <alsa-user@lists.sourceforge.net>


Greetings.  I've been trying for several days now to get the internal
spdif working and am posting here as a last resort in hopes someone
will know what's wrong.  I'll post system details at the end.

My mainboard has 3 1/8" plugs on the back and an internal spdif_out
connector.  If I plug say headphones into the green connector on the
back, I hear sound in them.  I don't actually want to use analog sound
at all.  Instead I've plugged the internal spdif_out+ground into my
video cards spdif input.  Then I have the dvi output from the video
card going to an hdmi input on my tv.  Note, I have the same setup
(except for different mainboard) in another box and have used it to
test the video card, which worked fine.  The problem is spdif doesn't
seem to be working at all.  I've eliminated everything else down to
either a problem in alsa somewhere, or possibly my xine settings
(though I doubt it since I used the same settings from my working
box).  For alsa I've tried loading the snd_hda_intel driver with
"model=3stack", "model=3stack position_fix=1", and "model=3stack
position_fix=1 enable_msi=1".  None of these worked, I still get
nothing on spdif out.  I've also tried (un)muting tons of combinations
in alsamixer.

Could the problem be my kernel version?  Alsa version?  libasound?
Any ideas at all guys??  Any and all help is GREATLY appreciated!

Best regards,
Derek

System details:
Please note there is no desktop/windows manager.  There is also no
keyboard/mouse plugged in.  This box is a dedicated htpc running VDR
and connected directly to a tv.  I'm using PuTTy SSH from my Windows
desktop for maintenance.

debian testing
kernel 2.6.30
asus m2npv-vm mainboard (tried both firmware 0901 and 1401) - uses mcp51 chipset
asus EN8400GS Silent 512MB pci-e video card (with spdif input connector)
vdr-1.7.8
xine-0.9.3
xine-vdpau r273

ii  alsa-base                                1.0.20+dfsg-1
        ALSA driver configuration files
ii  alsa-utils                               1.0.20-1
        ALSA utilities
ii  libesd-alsa0                             0.2.41-4
        Enlightened Sound Daemon (ALSA) - Shared lib
ii  libsdl1.2debian-alsa                     1.2.13-4+b1
        Simple DirectMedia Layer (with X11 and ALSA

htpc:~$ sudo alsactl init
Unknown hardware: "HDA-Intel" "Analog Devices AD1986A"
"HDA:11d41986,104381b3,00100500" "0x1043" "0x81cb"
Hardware is initialized using a guess method

htpc:~$ cat /proc/asound/cards
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                     HDA NVidia at 0xfe024000 irq 22

htpc:~$ cat /proc/asound/devices
 0: [ 0]   : control
 16: [ 0- 0]: digital audio playback
 17: [ 0- 1]: digital audio playback
 24: [ 0- 0]: digital audio capture
 33:        : timer

alsamixer shows:
Card: HDA NVidia
Chip: Analog Devices AD1986A
Master    Headphon    PCM     Front    Surround  Center    LFE
Line      CD       Mic    Mic Boos  IEC958   IEC958 D   Aux       Mono
   Beep     Channel Stereo D
(everything is unmuted except stereo downmix)

htpc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog]
 Subdevices: 0/1
 Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: AD198x Digital [AD198x Digital]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

htpc:~$ aplay -L
default:CARD=NVidia
   HDA NVidia, AD198x Analog
   Default Audio Device
front:CARD=NVidia,DEV=0
   HDA NVidia, AD198x Analog
   Front speakers
surround40:CARD=NVidia,DEV=0
   HDA NVidia, AD198x Analog
   4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
   HDA NVidia, AD198x Analog
   4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
   HDA NVidia, AD198x Analog
   5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
   HDA NVidia, AD198x Analog
   5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
   HDA NVidia, AD198x Analog
   7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
   HDA NVidia, AD198x Digital
   IEC958 (S/PDIF) Digital Audio Output
null
   Discard all samples (playback) or generate zero samples (capture)

htpc:~$ cat /proc/asound/card0/codec#0
Codec: Analog Devices AD1986A
Address: 0
Function Id: 0x1
Vendor Id: 0x11d41986
Subsystem Id: 0x104381b3
Revision Id: 0x100500
No Modem Function Group found
Default PCM:
   rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
   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=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
GPIO: io=0, o=1, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital
 Converter: stream=5, channel=0
 Digital: Enabled GenLevel
 Digital category: 0x2
 PCM:
   rates [0x60]: 44100 48000
   bits [0x2]: 16
   formats [0x5]: PCM AC3
 Delay: 3 samples
 Connection: 2
    0x01* 0x06
Node 0x03 [Audio Output] wcaps 0x44d: Stereo Amp-Out
 Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x17 0x17]
 Converter: stream=5, channel=0
 Power: setting=D0, actual=D0
 Processing caps: benign=1, ncoeff=70
Node 0x04 [Audio Output] wcaps 0x40d: Stereo Amp-Out
 Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x17 0x17]
 Converter: stream=0, channel=0
 Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x40d: Stereo Amp-Out
 Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x17 0x17]
 Converter: stream=12, channel=0
 Power: setting=D0, actual=D0
Node 0x06 [Audio Input] wcaps 0x100511: Stereo
 Converter: stream=0, channel=0
 SDI-Select: 0
 PCM:
   rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
   bits [0x6]: 16 20
   formats [0x1]: PCM
 Power: setting=D0, actual=D0
 Connection: 1
    0x12
Node 0x07 [Audio Mixer] wcaps 0x200101: Stereo
 Connection: 8
    0x03 0x09 0x13 0x14 0x15 0x16 0x17 0x18
Node 0x08 [Audio Mixer] wcaps 0x200100: Mono
 Connection: 1
    0x07
Node 0x09 [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-In vals:  [0x80] [0x80]
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x80]
 Connection: 2
    0x04 0x05
Node 0x0a [Audio Selector] wcaps 0x300101: Stereo
 Connection: 3
    0x07* 0x04 0x05
Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
 Connection: 2
    0x07* 0x04
Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
 Connection: 2
    0x04* 0x07
Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
 Connection: 2
    0x05* 0x08
Node 0x0e [Audio Selector] wcaps 0x300100: Mono
 Connection: 2
    0x08* 0x11
Node 0x0f [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 Amp-Out vals:  [0x00 0x00]
 Connection: 8
    0x1f 0x20 0x1d 0x1d 0x27* 0x28 0x29 0x2a
Node 0x10 [Audio Selector] wcaps 0x300101: Stereo
 Connection: 3
    0x20 0x1c* 0x1f
Node 0x11 [Audio Selector] wcaps 0x300941: Stereo R/L
 Connection: 2
    0x0f* 0x2b
 Processing caps: benign=1, ncoeff=0
Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x08 0x08]
 Connection: 8
    0x11* 0x22 0x00 0x21 0x10 0x07 0x08 0x23
Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
 Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x80 0x80]
 Connection: 1
    0x11
Node 0x14 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
 Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x80]
 Connection: 1
    0x23
Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
 Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x17 0x17]
 Connection: 1
    0x22
Node 0x16 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
 Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x80 0x80]
 Connection: 1
    0x21
Node 0x17 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
 Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x80 0x80]
 Connection: 1
    0x10
Node 0x18 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
 Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
 Amp-Out vals:  [0x80]
 Connection: 2
    0x19* 0x24
Node 0x19 [Beep Generator Widget] wcaps 0x700000: Mono
Node 0x1a [Pin Complex] wcaps 0x400185: Stereo Amp-Out
 Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x11 0x11]
 Pincap 0x0000001f: OUT HP Detect Trigger ImpSense
 Pin Default 0x02214021: [Jack] HP Out at Ext Front
   Conn = 1/8, Color = Green
   DefAssociation = 0x2, Sequence = 0x1
 Pin-ctls: 0xc0: OUT HP
 Unsolicited: tag=00, enabled=0
 Connection: 1
    0x0a
Node 0x1b [Pin Complex] wcaps 0x400185: Stereo Amp-Out
 Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x11 0x11]
 Pincap 0x0001001f: OUT HP EAPD Detect Trigger ImpSense
 EAPD 0x2: EAPD
 Pin Default 0x01014011: [Jack] Line Out at Ext Rear
   Conn = 1/8, Color = Green
   DefAssociation = 0x1, Sequence = 0x1
 Pin-ctls: 0x40: OUT
 Unsolicited: tag=00, enabled=0
 Connection: 1
    0x0b
Node 0x1c [Pin Complex] wcaps 0x400185: Stereo Amp-Out
 Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x91 0x91]
 Pincap 0x00000037: IN OUT Detect Trigger ImpSense
 Pin Default 0x01013012: [Jack] Line Out at Ext Rear
   Conn = 1/8, Color = Blue
   DefAssociation = 0x1, Sequence = 0x2
 Pin-ctls: 0x20: IN
 Unsolicited: tag=00, enabled=0
 Connection: 1
    0x0c
Node 0x1d [Pin Complex] wcaps 0x400985: Stereo Amp-Out R/L
 Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x11 0x11]
 Pincap 0x00001737: IN OUT Detect Trigger ImpSense
   Vref caps: HIZ 50 GRD 80
 Pin Default 0x01019015: [Jack] Line Out at Ext Rear
   Conn = 1/8, Color = Pink
   DefAssociation = 0x1, Sequence = 0x5
 Pin-ctls: 0x24: IN VREF_80
 Unsolicited: tag=00, enabled=0
 Connection: 1
    0x0d
Node 0x1e [Pin Complex] wcaps 0x400104: Mono Amp-Out
 Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-Out vals:  [0x03]
 Pincap 0x00000010: OUT
 Pin Default 0x501700f0: [N/A] Speaker at Int N/A
   Conn = Analog, Color = Unknown
   DefAssociation = 0xf, Sequence = 0x0
 Pin-ctls: 0x40: OUT
 Connection: 1
    0x0e
Node 0x1f [Pin Complex] wcaps 0x400081: Stereo
 Pincap 0x00001727: IN Detect Trigger ImpSense
   Vref caps: HIZ 50 GRD 80
 Pin Default 0x02a190f0: [Jack] Mic at Ext Front
   Conn = 1/8, Color = Pink
   DefAssociation = 0xf, Sequence = 0x0
 Pin-ctls: 0x24: IN VREF_80
 Unsolicited: tag=00, enabled=0
Node 0x20 [Pin Complex] wcaps 0x400081: Stereo
 Pincap 0x00001727: IN Detect Trigger ImpSense
   Vref caps: HIZ 50 GRD 80
 Pin Default 0x018130f0: [Jack] Line In at Ext Rear
   Conn = 1/8, Color = Blue
   DefAssociation = 0xf, Sequence = 0x0
 Pin-ctls: 0x20: IN VREF_HIZ
 Unsolicited: tag=00, enabled=0
Node 0x21 [Pin Complex] wcaps 0x400081: Stereo
 Pincap 0x00000027: IN Detect Trigger ImpSense
 Pin Default 0x509700f0: [N/A] Aux at Int N/A
   Conn = Analog, Color = Unknown
   DefAssociation = 0xf, Sequence = 0x0
 Pin-ctls: 0x20: IN
 Unsolicited: tag=00, enabled=0
Node 0x22 [Pin Complex] wcaps 0x400001: Stereo
 Pincap 0x00000020: IN
 Pin Default 0x993310f0: [Fixed] CD at Int ATAPI
   Conn = ATAPI, Color = Black
   DefAssociation = 0xf, Sequence = 0x0
 Pin-ctls: 0x20: IN
Node 0x23 [Pin Complex] wcaps 0x400000: Mono
 Pincap 0x00000020: IN
 Pin Default 0x50b700f0: [N/A] Telephony at Int N/A
   Conn = Analog, Color = Unknown
   DefAssociation = 0xf, Sequence = 0x0
 Pin-ctls: 0x20: IN
Node 0x24 [Pin Complex] wcaps 0x400000: Mono
 Pincap 0x00000020: IN
 Pin Default 0x90f700f0: [Fixed] Other at Int N/A
   Conn = Analog, Color = Unknown
   DefAssociation = 0xf, Sequence = 0x0
 Pin-ctls: 0x20: IN
Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
 Pincap 0x00000010: OUT
 Pin Default 0x014510f0: [Jack] SPDIF Out at Ext Rear
   Conn = Optical, Color = Black
   DefAssociation = 0xf, Sequence = 0x0
 Pin-ctls: 0x40: OUT
 Connection: 1
    0x02
Node 0x26 [Power Widget] wcaps 0x500500: Mono
 Power: setting=D0, actual=D0
 Connection: 8
    0x07 0x08 0x13 0x14 0x15 0x16 0x17 0x18
Node 0x27 [Audio Mixer] wcaps 0x200101: Stereo
 Connection: 2
    0x1f 0x1d
Node 0x28 [Audio Mixer] wcaps 0x200101: Stereo
 Connection: 2
    0x1f 0x20
Node 0x29 [Audio Mixer] wcaps 0x200101: Stereo
 Connection: 2
    0x1d 0x20
Node 0x2a [Audio Mixer] wcaps 0x200101: Stereo
 Connection: 3
    0x1f 0x1d 0x20
Node 0x2b [Audio Mixer] wcaps 0x200100: Mono
 Connection: 1
    0x0f

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

* Re: Problems with snd-hda-intel and Asus M2NPV-VM. Please help!
  2009-06-24 18:34 ` Problems with snd-hda-intel and Asus M2NPV-VM. Please help! VDR User
@ 2009-06-29  7:27   ` Takashi Iwai
  2009-06-29 17:28     ` VDR User
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2009-06-29  7:27 UTC (permalink / raw)
  To: VDR User; +Cc: alsa-devel

At Wed, 24 Jun 2009 11:34:49 -0700,
VDR User wrote:
> 
> Greetings.  I've been trying for several days now to get the internal
> spdif working and am posting here as a last resort in hopes someone
> will know what's wrong.  I'll post system details at the end.
> 
> My mainboard has 3 1/8" plugs on the back and an internal spdif_out
> connector.  If I plug say headphones into the green connector on the
> back, I hear sound in them.  I don't actually want to use analog sound
> at all.  Instead I've plugged the internal spdif_out+ground into my
> video cards spdif input.  Then I have the dvi output from the video
> card going to an hdmi input on my tv.  Note, I have the same setup
> (except for different mainboard) in another box and have used it to
> test the video card, which worked fine.  The problem is spdif doesn't
> seem to be working at all.  I've eliminated everything else down to
> either a problem in alsa somewhere, or possibly my xine settings
> (though I doubt it since I used the same settings from my working
> box).  For alsa I've tried loading the snd_hda_intel driver with
> "model=3stack", "model=3stack position_fix=1", and "model=3stack
> position_fix=1 enable_msi=1".  None of these worked, I still get
> nothing on spdif out.  I've also tried (un)muting tons of combinations
> in alsamixer.
> 
> Could the problem be my kernel version?  Alsa version?  libasound?
> Any ideas at all guys??  Any and all help is GREATLY appreciated!

Try the very latest alsa-driver snapshot before doing any debugging.
    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz

If this still doesn't work, run alsa-info.sh with --no-upload option,
and attach the generated file.  I'll start checking after this.


thanks,

Takashi

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

* Re: Problems with snd-hda-intel and Asus M2NPV-VM. Please help!
  2009-06-29  7:27   ` Takashi Iwai
@ 2009-06-29 17:28     ` VDR User
  2009-06-30  9:35       ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: VDR User @ 2009-06-29 17:28 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

On Mon, Jun 29, 2009 at 12:27 AM, Takashi Iwai<tiwai@suse.de> wrote:
> Try the very latest alsa-driver snapshot before doing any debugging.
>    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>
> If this still doesn't work, run alsa-info.sh with --no-upload option,
> and attach the generated file.  I'll start checking after this.

Thanks for your reply!  I have downloaded the link, compiled, and
installed.  Results are the same, spdif is not working.  I have tried
the following module options as well:
<none>
model=3stack
model=3stack position_fix=1

I've attached the results of "alsa-info.sh --no-upload".  Please let
me know if there's any other information you need!  Many thanks!
-Derek

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

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

!!Script ran on: Mon Jun 29 17:23:13 UTC 2009


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

Debian GNU/Linux squeeze/sid \n \l


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

Manufacturer:      
Product Name:      


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

Kernel release:    2.6.30.amd64-x2.062909.1
Operating System:  GNU/Linux
Architecture:      i686
Processor:         unknown
SMP Enabled:       Yes


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

Driver version:     1.0.20
Library version:    1.0.20
Utilities version:  1.0.20


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

snd_hda_intel


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

No sound servers found.


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

 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe024000 irq 22


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

00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
02:08.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
02:09.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)


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

00:10.1 0403: 10de:026c (rev a2)
	Subsystem: 1043:81cb


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

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-pcsp: index=-2
snd-hda-intel: model=3stack position_fix=1


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

!!Module: snd_hda_intel
bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1
enable : Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 0
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
index : -1,-1,-1,-1,-1,-1,-1,-1
model : 3stack,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
position_fix : 1,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: Analog Devices AD1986A
Address: 0
Function Id: 0x1
Vendor Id: 0x11d41986
Subsystem Id: 0x104381b3
Revision Id: 0x100500
No Modem Function Group found
Default PCM:
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
    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=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
GPIO: io=0, o=1, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital
  Converter: stream=0, channel=0
  Digital: Enabled GenLevel
  Digital category: 0x2
  PCM:
    rates [0x60]: 44100 48000
    bits [0x2]: 16
    formats [0x5]: PCM AC3
  Delay: 3 samples
  Connection: 2
     0x01* 0x06
Node 0x03 [Audio Output] wcaps 0x44d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1f 0x1f]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Processing caps: benign=1, ncoeff=70
Node 0x04 [Audio Output] wcaps 0x40d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1f 0x1f]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x40d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1f 0x1f]
  Converter: stream=12, channel=0
  Power: setting=D0, actual=D0
Node 0x06 [Audio Input] wcaps 0x100511: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x12
Node 0x07 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 8
     0x03 0x09 0x13 0x14 0x15 0x16 0x17 0x18
Node 0x08 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x07
Node 0x09 [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80] [0x80]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Connection: 2
     0x04 0x05
Node 0x0a [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x07* 0x04 0x05
Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x07* 0x04
Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x04* 0x07
Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x05* 0x08
Node 0x0e [Audio Selector] wcaps 0x300100: Mono
  Connection: 2
     0x08* 0x11
Node 0x0f [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 8
     0x1f 0x20 0x1d 0x1d 0x27* 0x28 0x29 0x2a
Node 0x10 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x20 0x1c* 0x1f
Node 0x11 [Audio Selector] wcaps 0x300941: Stereo R/L
  Connection: 2
     0x0f* 0x2b
  Processing caps: benign=1, ncoeff=0
Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x08 0x08]
  Connection: 8
     0x11* 0x22 0x00 0x21 0x10 0x07 0x08 0x23
Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x11
Node 0x14 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80]
  Connection: 1
     0x23
Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x17 0x17]
  Connection: 1
     0x22
Node 0x16 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x21
Node 0x17 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x10
Node 0x18 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x80]
  Connection: 2
     0x19* 0x24
Node 0x19 [Beep Generator Widget] wcaps 0x700000: Mono
Node 0x1a [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1f 0x1f]
  Pincap 0x0000001f: OUT HP Detect Trigger ImpSense
  Pin Default 0x02214021: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x2, Sequence = 0x1
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0a
Node 0x1b [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1f 0x1f]
  Pincap 0x0001001f: OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x2: EAPD
  Pin Default 0x01014011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0b
Node 0x1c [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9f 0x9f]
  Pincap 0x00000037: IN OUT Detect Trigger ImpSense
  Pin Default 0x01013012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0c
Node 0x1d [Pin Complex] wcaps 0x400985: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1f 0x1f]
  Pincap 0x00001737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x01019015: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x1, Sequence = 0x5
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0d
Node 0x1e [Pin Complex] wcaps 0x400104: Mono Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x11]
  Pincap 0x00000010: OUT
  Pin Default 0x501700f0: [N/A] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0e
Node 0x1f [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001727: IN Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a190f0: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
Node 0x20 [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001727: IN Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x018130f0: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x21 [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00000027: IN Detect Trigger ImpSense
  Pin Default 0x509700f0: [N/A] Aux at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
Node 0x22 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x993310f0: [Fixed] CD at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x20: IN
Node 0x23 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x50b700f0: [N/A] Telephony at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x20: IN
Node 0x24 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x90f700f0: [Fixed] Other at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x20: IN
Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x014510f0: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x26 [Power Widget] wcaps 0x500500: Mono
  Power: setting=D0, actual=D0
  Connection: 8
     0x07 0x08 0x13 0x14 0x15 0x16 0x17 0x18
Node 0x27 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 2
     0x1f 0x1d
Node 0x28 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 2
     0x1f 0x20
Node 0x29 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 2
     0x1d 0x20
Node 0x2a [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 3
     0x1f 0x1d 0x20
Node 0x2b [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x0f
--endcollapse--


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

crw-rw---- 1 root audio 116,  0 Jun 29 10:19 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  4 Jun 29 10:19 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116, 24 Jun 29 10:19 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Jun 29 10:20 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 17 Jun 29 10:19 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116,  1 Jun 29 10:19 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Jun 29 10:19 /dev/snd/timer


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: AD198x Digital [AD198x Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

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

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

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

Card hw:0 'NVidia'/'HDA NVidia at 0xfe024000 irq 22'
  Mixer name	: 'Analog Devices AD1986A'
  Components	: 'HDA:11d41986,104381b3,00100500'
  Controls      : 37
  Simple ctrls  : 21
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [off]
  Front Right: Playback 31 [100%] [0.00dB] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 23 [74%] [0.00dB] [on]
  Front Right: Playback 23 [74%] [0.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [on]
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'Phone',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
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 'Aux',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mono',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 17 [55%] [-21.00dB] [on]
  Front Right: Playback 17 [55%] [-21.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 8 [53%] [12.00dB] [on]
  Front Right: Capture 8 [53%] [12.00dB] [on]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [-45.00dB] [off]
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Stereo Downmix',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]


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

--startcollapse--
state.NVidia {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'PCM Playback Volume'
		value.0 31
		value.1 31
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'PCM Playback Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -4650
		comment.dbmax 0
		iface MIXER
		name 'Front Playback Volume'
		value.0 31
		value.1 31
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -4650
		comment.dbmax 0
		iface MIXER
		name 'Surround Playback Volume'
		value.0 31
		value.1 31
	}
	control.6 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Surround Playback Switch'
		value.0 false
		value.1 false
	}
	control.7 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 31'
		comment.dbmin -4650
		comment.dbmax 0
		iface MIXER
		name 'Center Playback Volume'
		value 31
	}
	control.8 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 31'
		comment.dbmin -4650
		comment.dbmax 0
		iface MIXER
		name 'LFE Playback Volume'
		value 31
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Center Playback Switch'
		value true
	}
	control.10 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'LFE Playback Switch'
		value true
	}
	control.11 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -4650
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 31
		value.1 31
	}
	control.12 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.13 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'CD Playback Volume'
		value.0 23
		value.1 23
	}
	control.14 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'CD Playback Switch'
		value.0 true
		value.1 true
	}
	control.15 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Line Playback Volume'
		value.0 0
		value.1 0
	}
	control.16 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Line Playback Switch'
		value.0 false
		value.1 false
	}
	control.17 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Aux Playback Volume'
		value.0 0
		value.1 0
	}
	control.18 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Aux Playback Switch'
		value.0 false
		value.1 false
	}
	control.19 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
	}
	control.20 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
	}
	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 'Mic Boost'
		value.0 0
		value.1 0
	}
	control.22 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -4650
		comment.dbmax 0
		iface MIXER
		name 'Mono Playback Volume'
		value.0 17
		value.1 17
	}
	control.23 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Mono Playback Switch'
		value.0 true
		value.1 true
	}
	control.24 {
		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 8
		value.1 8
	}
	control.25 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.26 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 CD
		comment.item.2 Aux
		comment.item.3 Line
		comment.item.4 Mix
		comment.item.5 Mono
		comment.item.6 Phone
		iface MIXER
		name 'Capture Source'
		value Mic
	}
	control.27 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Stereo Downmix Switch'
		value.0 false
		value.1 false
	}
	control.28 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 '2ch'
		comment.item.1 '4ch'
		comment.item.2 '6ch'
		iface MIXER
		name 'Channel Mode'
		value '2ch'
	}
	control.29 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.30 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.31 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0482000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.32 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
	}
	control.33 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.34 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 15'
		comment.dbmin -4500
		comment.dbmax 0
		iface MIXER
		name 'Beep Playback Volume'
		value 0
	}
	control.35 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Beep Playback Switch'
		value false
	}
	control.36 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 31'
		comment.dbmin -4650
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 31
	}
	control.37 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
}
--endcollapse--


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

Module
snd_hda_codec_analog
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_seq_dummy
snd_seq_oss
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_timer
snd_seq_device
snd
soundcore
snd_page_alloc
nvidia


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x1a 0x02214021
0x1b 0x01014011
0x1c 0x01013012
0x1d 0x01019015
0x1e 0x501700f0
0x1f 0x02a190f0
0x20 0x018130f0
0x21 0x509700f0
0x22 0x993310f0
0x23 0x50b700f0
0x24 0x90f700f0
0x25 0x014510f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:



[-- 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] 10+ messages in thread

* Re: Problems with snd-hda-intel and Asus M2NPV-VM. Please help!
  2009-06-29 17:28     ` VDR User
@ 2009-06-30  9:35       ` Takashi Iwai
  2009-06-30 17:30         ` VDR User
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2009-06-30  9:35 UTC (permalink / raw)
  To: VDR User; +Cc: alsa-devel

At Mon, 29 Jun 2009 10:28:24 -0700,
VDR User wrote:
> 
> On Mon, Jun 29, 2009 at 12:27 AM, Takashi Iwai<tiwai@suse.de> wrote:
> > Try the very latest alsa-driver snapshot before doing any debugging.
> >    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> >
> > If this still doesn't work, run alsa-info.sh with --no-upload option,
> > and attach the generated file.  I'll start checking after this.
> 
> Thanks for your reply!  I have downloaded the link, compiled, and
> installed.  Results are the same, spdif is not working.

How did you play via SPDIF exactly?
Doesn't the following work (even without model option)?

	% aplay -Dplug:spdif some-48k-samples.wav


Takashi

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

* Re: Problems with snd-hda-intel and Asus M2NPV-VM. Please help!
  2009-06-30  9:35       ` Takashi Iwai
@ 2009-06-30 17:30         ` VDR User
  2009-06-30 19:36           ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: VDR User @ 2009-06-30 17:30 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Tue, Jun 30, 2009 at 2:35 AM, Takashi Iwai<tiwai@suse.de> wrote:
> At Mon, 29 Jun 2009 10:28:24 -0700,
> VDR User wrote:
>>
>> On Mon, Jun 29, 2009 at 12:27 AM, Takashi Iwai<tiwai@suse.de> wrote:
>> > Try the very latest alsa-driver snapshot before doing any debugging.
>> >    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>> >
>> > If this still doesn't work, run alsa-info.sh with --no-upload option,
>> > and attach the generated file.  I'll start checking after this.
>>
>> Thanks for your reply!  I have downloaded the link, compiled, and
>> installed.  Results are the same, spdif is not working.
>
> How did you play via SPDIF exactly?
> Doesn't the following work (even without model option)?
>
>        % aplay -Dplug:spdif some-48k-samples.wav

I have tried that exact command and also using -Dplug:iec958, without
success.  I tried both as user and using sudo from console and console
with x loaded.  Also with/without the model option and position_fix=1
option.  Is it possible the revision of the MCP51 I have is not
supported (yet)?  Please let me know anything further I can do to help
figure this out.

Many thanks!
-Derek

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

* Re: Problems with snd-hda-intel and Asus M2NPV-VM. Please help!
  2009-06-30 17:30         ` VDR User
@ 2009-06-30 19:36           ` Takashi Iwai
  2009-07-01 14:26             ` VDR User
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2009-06-30 19:36 UTC (permalink / raw)
  To: VDR User; +Cc: alsa-devel

At Tue, 30 Jun 2009 10:30:25 -0700,
VDR User wrote:
> 
> On Tue, Jun 30, 2009 at 2:35 AM, Takashi Iwai<tiwai@suse.de> wrote:
> > At Mon, 29 Jun 2009 10:28:24 -0700,
> > VDR User wrote:
> >>
> >> On Mon, Jun 29, 2009 at 12:27 AM, Takashi Iwai<tiwai@suse.de> wrote:
> >> > Try the very latest alsa-driver snapshot before doing any debugging.
> >> >    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> >> >
> >> > If this still doesn't work, run alsa-info.sh with --no-upload option,
> >> > and attach the generated file.  I'll start checking after this.
> >>
> >> Thanks for your reply!  I have downloaded the link, compiled, and
> >> installed.  Results are the same, spdif is not working.
> >
> > How did you play via SPDIF exactly?
> > Doesn't the following work (even without model option)?
> >
> >        % aplay -Dplug:spdif some-48k-samples.wav
> 
> I have tried that exact command and also using -Dplug:iec958, without
> success.  I tried both as user and using sudo from console and console
> with x loaded.  Also with/without the model option and position_fix=1
> option.

The position_fix doesn't matter unless you get a DMA transfer problem.

>  Is it possible the revision of the MCP51 I have is not
> supported (yet)?  Please let me know anything further I can do to help
> figure this out.

Well, the question is rather how the hardware is implemented.
The SPDIF and HDMI implementation depends pretty much on the hardware.
For example, HDMI has to be activated by a video driver (e.g. X) even
for the audio transfer.

So, if the codec registers look good, I can't say more than that.
Only hardware vendors could advise...


Takashi

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

* Re: Problems with snd-hda-intel and Asus M2NPV-VM. Please help!
  2009-06-30 19:36           ` Takashi Iwai
@ 2009-07-01 14:26             ` VDR User
  2009-07-06 15:44               ` VDR User
  0 siblings, 1 reply; 10+ messages in thread
From: VDR User @ 2009-07-01 14:26 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Tue, Jun 30, 2009 at 12:36 PM, Takashi Iwai<tiwai@suse.de> wrote:
>>  Is it possible the revision of the MCP51 I have is not
>> supported (yet)?  Please let me know anything further I can do to help
>> figure this out.
>
> Well, the question is rather how the hardware is implemented.
> The SPDIF and HDMI implementation depends pretty much on the hardware.
> For example, HDMI has to be activated by a video driver (e.g. X) even
> for the audio transfer.
>
> So, if the codec registers look good, I can't say more than that.
> Only hardware vendors could advise...

My mainboard doesn't have HDMI out but it did come with an HDTV module
for HDTV output, could it still be that something in my xorg.conf is
missing that is causing this not to work?  How can I tell (or could
you tell by my logs) if the codec registers are good?  I'm not sure
how to proceed from here aside of buying a new mainboard.

Best regards,
Derek

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

* Re: Problems with snd-hda-intel and Asus M2NPV-VM. Please help!
  2009-07-01 14:26             ` VDR User
@ 2009-07-06 15:44               ` VDR User
  2009-07-08  2:14                 ` Lee Revell
  0 siblings, 1 reply; 10+ messages in thread
From: VDR User @ 2009-07-06 15:44 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Wed, Jul 1, 2009 at 7:26 AM, VDR User<user.vdr@gmail.com> wrote:
> On Tue, Jun 30, 2009 at 12:36 PM, Takashi Iwai<tiwai@suse.de> wrote:
>>>  Is it possible the revision of the MCP51 I have is not
>>> supported (yet)?  Please let me know anything further I can do to help
>>> figure this out.
>>
>> Well, the question is rather how the hardware is implemented.
>> The SPDIF and HDMI implementation depends pretty much on the hardware.
>> For example, HDMI has to be activated by a video driver (e.g. X) even
>> for the audio transfer.
>>
>> So, if the codec registers look good, I can't say more than that.
>> Only hardware vendors could advise...
>
> My mainboard doesn't have HDMI out but it did come with an HDTV module
> for HDTV output, could it still be that something in my xorg.conf is
> missing that is causing this not to work?  How can I tell (or could
> you tell by my logs) if the codec registers are good?  I'm not sure
> how to proceed from here aside of buying a new mainboard.

Anyone?  Any suggestions at all?

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

* Re: Problems with snd-hda-intel and Asus M2NPV-VM. Please help!
  2009-07-06 15:44               ` VDR User
@ 2009-07-08  2:14                 ` Lee Revell
  2009-07-08 13:47                   ` VDR User
  0 siblings, 1 reply; 10+ messages in thread
From: Lee Revell @ 2009-07-08  2:14 UTC (permalink / raw)
  To: VDR User; +Cc: Takashi Iwai, alsa-devel

On Mon, Jul 6, 2009 at 11:44 AM, VDR User<user.vdr@gmail.com> wrote:
>> My mainboard doesn't have HDMI out but it did come with an HDTV module
>> for HDTV output, could it still be that something in my xorg.conf is
>> missing that is causing this not to work?  How can I tell (or could
>> you tell by my logs) if the codec registers are good?  I'm not sure
>> how to proceed from here aside of buying a new mainboard.
>
> Anyone?  Any suggestions at all?

This probably cannot work in a headless environment.  Thanks to DRM,
the video driver has to do some magic to make HDMI work.

I assume your video card is Nvidia.  Even though you plan to run
headless you probably have to set up X server with proprietary nvidia
driver to have any chance of this working.

Lee

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

* Re: Problems with snd-hda-intel and Asus M2NPV-VM. Please help!
  2009-07-08  2:14                 ` Lee Revell
@ 2009-07-08 13:47                   ` VDR User
  0 siblings, 0 replies; 10+ messages in thread
From: VDR User @ 2009-07-08 13:47 UTC (permalink / raw)
  To: Lee Revell; +Cc: Takashi Iwai, alsa-devel

On Tue, Jul 7, 2009 at 7:14 PM, Lee Revell<rlrevell@joe-job.com> wrote:
> On Mon, Jul 6, 2009 at 11:44 AM, VDR User<user.vdr@gmail.com> wrote:
>>> My mainboard doesn't have HDMI out but it did come with an HDTV module
>>> for HDTV output, could it still be that something in my xorg.conf is
>>> missing that is causing this not to work?  How can I tell (or could
>>> you tell by my logs) if the codec registers are good?  I'm not sure
>>> how to proceed from here aside of buying a new mainboard.
>>
>> Anyone?  Any suggestions at all?
>
> This probably cannot work in a headless environment.  Thanks to DRM,
> the video driver has to do some magic to make HDMI work.
>
> I assume your video card is Nvidia.  Even though you plan to run
> headless you probably have to set up X server with proprietary nvidia
> driver to have any chance of this working.

As I've said, my mainboard doesn't have HDMI, it has DVI.  But I'm not
using the on-board video anyway.  I've got an Nvidia video card
capable of vdpau which has SPDIF_IN so I'm going from the SPDIF_OUT on
the mainboard into that. It's true that I have to have Xorg set up but
that's all.  No desktop/windows manager.  The only software the box
has installed is: Xorg, lirc, VDR, mplayer-nogui, Nvidia video drivers
(of course!), xine-lib + vdr-xine.  I have another box running the
same setup (different mainboard though, where spdif IS working) and it
runs great.

The problem isn't what I'm trying to do, I already know the setup
works fine.  The problem is that alsa is broken for the chipset
(AD1989a) on that mainboard since the exact same setup works on a
different mainboard/chipset (ALC883).

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

end of thread, other threads:[~2009-07-08 13:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <a3ef07920906241108u786a6c89j80f2ad89eebf7dcd@mail.gmail.com>
2009-06-24 18:34 ` Problems with snd-hda-intel and Asus M2NPV-VM. Please help! VDR User
2009-06-29  7:27   ` Takashi Iwai
2009-06-29 17:28     ` VDR User
2009-06-30  9:35       ` Takashi Iwai
2009-06-30 17:30         ` VDR User
2009-06-30 19:36           ` Takashi Iwai
2009-07-01 14:26             ` VDR User
2009-07-06 15:44               ` VDR User
2009-07-08  2:14                 ` Lee Revell
2009-07-08 13:47                   ` VDR User

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.