Re: [Alsa-user] SPDIF not working with AD1989B (Asus P5Q-E motherboard)

2008-09-25 Thread Clemens Ladisch
Jason Tackaberry wrote:
 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.

Try spdif instead of hw:0,1.


HTH
Clemens

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] SPDIF not working with AD1989B (Asus P5Q-E motherboard)

2008-09-25 Thread Jason Tackaberry
On Thu, 2008-09-25 at 13:51 +0200, Clemens Ladisch wrote:
 Try spdif instead of hw:0,1.

Indeed, yes, this has helped.  Thanks.  I was somehow under the
impression that spdif was merely an alias for the digital device, but I
now see I was mistaken.

I've been running into some intermittent flakiness with AC3 passthrough.
After a reboot, I could play PCM via spdif, but AC3 passthrough didn't
work.  I unloaded and reloaded the snd_hda_intel module, and AC3
passthrough worked fine, and so did PCM, until after playing PCM I tried
to passthrough AC3 again and, again, no sound.

Then I did the perfectly obvious thing of setting the IEC958 mixer
setting to mute and things have at least so far been stable, toggling
between PCM and AC3 content, even following a reboot.  (The muting could
well be a complete red herring, mind you.)  It still feels quite
volatile and like it will break at any moment.

If anyone has any ideas or advice, I'd be grateful.  Meanwhile I'll try
to find a way to reliably reproduce the problem.

Thanks,
Jason.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] SPDIF not working with AD1989B (Asus P5Q-E motherboard)

2008-09-24 Thread Jason Tackaberry
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,