[Alsa-user] Support new HDA codec
Brought to you by:
perex
|
From: Jorge F. M. <jo...@ci...> - 2012-02-21 08:03:40
|
Hi all,
This is my first email to this mailing list. I would like to ask for some help to make work a new
high definition audio codec from Wolfson.
I have a debian 5.0 with a vanilla kernel 2.6.25. The alsa is the 1.0.16rc2 version. Attached at
the end is the log that I get with the alsa-info script.
I can access the codec info through the hda-analyzer python application and view all the configuration.
How can I do to make alsa to detect all the output paths in the codec? When I play a sound I only see
in the node 6 the stream value as 5, but I can enable the node 4, with has a spdif out, and the codec
begans to send spdif data but without data, the stream value remains 0. I have another differential
output path, unmuted, but I can't get output data, and again, the stream value remains always 0.
Do I need a more recent alsa version? Any hint is welcome!
Thanks!
Jorge
-----
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.60
!!################################
!!Script ran on: Mon Feb 20 16:23:14 UTC 2012
!!Linux Distribution
!!------------------
Debian GNU/Linux 5.0 \n \l
!!DMI Information
!!---------------
Manufacturer: nVidia
Product Name: MMP9-ION
Product Version: To Be Filled By O.E.M.
!!Kernel Information
!!------------------
Kernel release: 2.6.25
Operating System: GNU/Linux
Architecture: i686
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.16rc2
Library version: 1.0.16
Utilities version: 1.0.16
!!Loaded ALSA modules
!!-------------------
snd_hda_intel
!!Sound Servers on this system
!!----------------------------
aRts:
Installed - Yes (/usr/bin/artsd)
Running - No
!!Soundcards recognised by ALSA
!!-----------------------------
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfae78000 irq 23
!!PCI Soundcards installed in the system
!!--------------------------------------
00:08.0 Audio device: nVidia Corporation Device 0ac0 (rev b1)
!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!--------------------------------------------------------
00:08.0 0403: 10de:0ac0 (rev b1)
Subsystem: 10de:cb84
!!Modprobe options (Sound related)
!!--------------------------------
snd-hda-intel: index=0
snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-pcsp: index=-2
snd-hda-intel: model=auto
!!Loaded sound module options
!!--------------------------
!!Module: snd_hda_intel
enable : Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 0
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
index : 0,-1,-1,-1,-1,-1,-1,-1
model : auto,<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
single_cmd : N
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--
Codec: Generic 1aec ID 8800
Address: 0
Vendor Id: 0x1aec8800
Subsystem Id: 0x100
Revision Id: 0x100301
No Modem Function Group found
Default PCM:
rates [0x0]:
bits [0x0]:
formats [0x0]:
Default Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x01, mute=1
GPIO: io=2, o=0, i=0, unsolicited=1, wake=1
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1
Node 0x02 [Audio Input] wcaps 0x1005d1: Stereo
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x1ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000
bits [0x1e]: 16 20 24 32
formats [0x3]: PCM FLOAT
Unsolicited: tag=02, enabled=0
Power: setting=D0, actual=D0
Connection: 1
0x0a
Processing caps: benign=0, ncoeff=0
Node 0x03 [Audio Input] wcaps 0x1005d1: Stereo
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
bits [0x1e]: 16 20 24 32
formats [0x3]: PCM FLOAT
Unsolicited: tag=03, enabled=0
Power: setting=D0, actual=D0
Connection: 1
0x09
Processing caps: benign=0, ncoeff=0
Node 0x04 [Audio Output] wcaps 0x2d1: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:
rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
bits [0x1e]: 16 20 24 32
formats [0x3]: PCM FLOAT
Unsolicited: tag=04, enabled=0
Processing caps: benign=0, ncoeff=0
Node 0x05 [Audio Input] wcaps 0x1003d1: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital: Copyright
Digital category: 0x0
PCM:
rates [0x1f0]: 32000 44100 48000 88200 96000
bits [0x1e]: 16 20 24 32
formats [0x3]: PCM FLOAT
Unsolicited: tag=05, enabled=0
Connection: 1
0x10
Processing caps: benign=0, ncoeff=0
Node 0x06 [Audio Output] wcaps 0x495: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: [0x7f 0x7f]
Converter: stream=0, channel=0
PCM:
rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
bits [0x1e]: 16 20 24 32
formats [0x3]: PCM FLOAT
Unsolicited: tag=06, enabled=0
Power: setting=D0, actual=D0
Node 0x07 [Audio Output] wcaps 0x495: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: [0xff 0xff]
Converter: stream=0, channel=0
PCM:
rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
bits [0x1e]: 16 20 24 32
formats [0x3]: PCM FLOAT
Unsolicited: tag=07, enabled=0
Power: setting=D0, actual=D0
Node 0x08 [Audio Output] wcaps 0x495: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: [0xff 0xff]
Converter: stream=0, channel=0
PCM:
rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
bits [0x1e]: 16 20 24 32
formats [0x3]: PCM FLOAT
Unsolicited: tag=08, enabled=0
Power: setting=D0, actual=D0
Node 0x09 [Audio Selector] wcaps 0x300101: Stereo
Connection: 2
0x0b* 0x0e
Node 0x0a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x18, nsteps=0x30, stepsize=0x01, mute=1
Amp-Out vals: [0x18 0x18]
Connection: 1
0x0c
Node 0x0b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x18, nsteps=0x30, stepsize=0x01, mute=1
Amp-Out vals: [0x98 0x98]
Connection: 1
0x0d
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x0864: IN Detect Balanced
Pin Default 0x018130f0: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x20: IN
Unsolicited: tag=0c, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400083: Stereo Amp-In
Amp-In caps: N/A
Amp-In vals: [0x00 0x00]
Pincap 0x081767: IN Detect Balanced 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: 0x20: IN VREF_HIZ
Unsolicited: tag=0d, enabled=0
Node 0x0e [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
Amp-In caps: ofs=0x18, nsteps=0x58, stepsize=0x01, mute=1
Amp-In vals: [0x18 0x18]
Pincap 0x0820: IN
Pin Default 0x10a600f0: [Jack] Mic at Int N/A
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x20: IN
Node 0x0f [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x0814: OUT Detect
Pin Default 0x014190f0: [Jack] SPDIF Out at Ext Rear
Conn = 1/8, Color = Pink
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=0f, enabled=0
Connection: 1
0x04
Node 0x10 [Pin Complex] wcaps 0x400281: Stereo Digital
Pincap 0x0820: IN
Pin Default 0x01c520f0: [Jack] SPDIF In at Ext Rear
Conn = Optical, Color = Grey
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x20: IN
Unsolicited: tag=10, enabled=0
Node 0x11 [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x081c: OUT HP Detect
Pin Default 0x01014020: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=11, enabled=0
Connection: 1
0x06
Node 0x12 [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x0814: OUT Detect
Pin Default 0x01016121: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Orange
DefAssociation = 0x2, Sequence = 0x1
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=12, enabled=0
Connection: 1
0x07
Node 0x13 [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x0814: OUT Detect
Pin Default 0x01011022: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0x2
Pin-ctls: 0x40: OUT
Unsolicited: tag=13, enabled=0
Connection: 1
0x08
Node 0x14 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x04, nsteps=0x04, stepsize=0x17, mute=0
Amp-Out vals: [0x04]
Node 0x15 [Audio Input] wcaps 0x1003d1: Stereo Digital
Converter: stream=0, channel=2
Digital:
Digital category: 0x0
PCM:
rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
bits [0x1e]: 16 20 24 32
formats [0x3]: PCM FLOAT
Unsolicited: tag=15, enabled=0
Connection: 1
0x16
Processing caps: benign=0, ncoeff=0
Node 0x16 [Pin Complex] wcaps 0x40030b: Stereo Digital Amp-In
Amp-In caps: ofs=0x18, nsteps=0x58, stepsize=0x01, mute=1
Amp-In vals: [0x18 0x18]
Pincap 0x0830: IN OUT
Pin Default 0x10a601f0: [Jack] Mic at Int N/A
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Connection: 1
0x17
Node 0x17 [Audio Output] wcaps 0x291: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:
rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
bits [0x1e]: 16 20 24 32
formats [0x3]: PCM FLOAT
Unsolicited: tag=17, enabled=0
--endcollapse--
!!Aplay/Arecord output
!!------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [NVidia]
Card hw:0 'NVidia'/'HDA NVidia at 0xfae78000 irq 23'
Mixer name : 'Generic 1aec ID 8800'
Components : 'HDA:1aec8800'
Controls : 3
Simple ctrls : 2
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [0.00dB] [on]
Front Right: Playback 127 [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]
!!Alsactl output
!!-------------
--startcollapse--
state.NVidia {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Master Playback Switch'
value.0 true
value.1 true
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 127'
comment.dbmin -6350
comment.dbmax 0
iface MIXER
name 'Master Playback Volume'
value.0 127
value.1 127
}
control.3 {
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
}
}
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 0 Feb 20 17:18 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 4 Feb 20 17:18 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116, 24 Feb 20 17:18 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Feb 20 17:18 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 1 Feb 20 17:18 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Feb 20 17:18 /dev/snd/timer
Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.
This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege.
If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.
|