Hi,
I recently built a system with an Asus P5Q-E motherboard, whose product
specifications indicate the audio chipset is ADI AD2000B, and which ALSA
says is AD1989B. The driver is snd_hda_intel. (I am not passing any
module options; passing model=6stack-dig seems to have no effect.)
The analog outputs work, but I am unable to get anything output over
SPDIF, either via the optical or coaxial outputs.
I was originally using 2.6.27-rc5 from kernel.org, and noticed that the
optical output wasn't being enabled at all. I upgraded to the
alsa-kernel branch (git clone last night), and some minor progress: the
optical port is enabled and there be light. Nevertheless, no sound
(even after desperately cranking each mixer control to 100%.)
I am testing with mplayer, and ensuring the digital device (as shown by
aplay -l) is being used. In my case it's device 1, and I am specifying
-ao alsa:device=hw=0.1 on the mplayer command line. I have tried
passthrough (AC3 content, with -ac hwac3) and non-passthrough (MP3). In
either case, my A/V receiver shows no indication it is receiving a
digital stream. (My previous motherboard did work fine with SPDIF, and
my receiver has a digital indicator when I played anything, which does
not light when playing the above.)
System info included as attachments. Please let me know if additional
information is needed. Any advice is greatly appreciated.
Thanks much,
Jason.
[EMAIL PROTECTED]:~$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf9ff8000 irq 22
[EMAIL PROTECTED]:~$ cat /proc/asound/card0/codec#0
Codec: Analog Devices AD1989B
Address: 0
Vendor Id: 0x11d4989b
Subsystem Id: 0x10438311
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
rates [0x7ff]: 8000 11025 16000 22050 32000 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=0x27, nsteps=0x27, stepsize=0x05, mute=0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=1
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1
IO[2]: enable=0, dir=0, wake=0, sticky=0, data=1
Node 0x02 [Audio Output] wcaps 0x30211: 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: 3 samples
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x27 0x27]
Converter: stream=0, channel=0
Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x27 0x27]
Converter: stream=0, channel=0
Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x27 0x27]
Converter: stream=0, channel=0
Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x25 0x25]
Converter: stream=0, channel=0
Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital: Validity
Digital category: 0x0
PCM:
rates [0x7e0]: 44100 48000 88200 96000 176400 192000
bits [0xe]: 16 20 24
formats [0x5]: PCM AC3
Unsolicited: tag=00, enabled=0
Delay: 3 samples
Connection: 1
0x1c
Node 0x08 [Audio Input] wcaps 0x100501: Stereo
Converter: stream=0, channel=0
SDI-Select: 0
Power: setting=D0, actual=D0
Connection: 1
0x0c
Node 0x09 [Audio Input] wcaps 0x100501: Stereo
Converter: stream=0, channel=0
SDI-Select: 0
Power: setting=D0, actual=D0
Connection: 1
0x0d
Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x27 0x27]
Converter: stream=0, channel=0
Power: setting=D0, actual=D0
Node 0x0b [Audio Output] wcaps 0x30211: 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: 3 samples
Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
Amp-Out vals: [0x00 0x00]
Connection: 11
0x38 0x39 0x3a 0x3b 0x3c* 0x18 0x24 0x25 0x3d 0x20 0x1f
Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
Amp-Out vals: [0x00 0x00]
Connection: 10
0x38 0x39 0x3a 0x3b 0x3c* 0x18 0x24 0x25 0x3d 0x20
Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x27,