[pulseaudio-discuss] current git, HDA with S/PDIF not found
Lennart Poettering
lennart at poettering.net
Thu Apr 2 11:29:34 PDT 2009
On Thu, 02.04.09 14:08, Jon Smirl (jonsmirl at gmail.com) wrote:
> I have current pulseaudio git running. It still doesn't find my S/PDIF.
> It does try really hard to find it, it just doesn't succeed.
>
> S/PDIF is on playback_1.
Uh?
> D: alsa-util.c: Checking for playback on iec958-stereo (iec958)
> D: alsa-util.c: Trying iec958:1 with SND_PCM_NO_AUTO_FORMAT ...
> I: (alsa-lib)pcm_hw.c: open /dev/snd/pcmC1D0p failed
> I: alsa-util.c: Error opening PCM device iec958:1: No such file or directory
Card 0 apparently cannot do SPDIF.
(iec958 is synonymous to SPDIF)
> D: alsa-util.c: Checking for playback on iec958-stereo (iec958)
> D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Checking for capture on analog-mono (hw)
> D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Trying hw:0 without SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Trying plug:hw:0 with SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Trying plug:hw:0 without SND_PCM_NO_AUTO_FORMAT ...
> I: alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid argument
> D: alsa-util.c: Checking for capture on analog-stereo (front)
> D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
> I: module-alsa-card.c: Found output profile 'Output Digital Stereo
> (IEC958) + Input Analog Stereo'
Look Ma, one SPDIF profile was found.
> D: alsa-util.c: Checking for capture on analog-surround-71 (surround71)
> D: alsa-util.c: Trying surround71:0 with SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Trying surround71:0 without SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Trying plug:surround71:0 with SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Trying plug:surround71:0 without SND_PCM_NO_AUTO_FORMAT ...
> I: alsa-util.c: Failed to set hardware parameters on
> plug:surround71:0: Invalid argument
> I: module-alsa-card.c: Found output profile 'Output Digital Stereo
> (IEC958)'
And another one was found.
> D: alsa-util.c: Checking for playback on hdmi-stereo (hdmi)
> D: alsa-util.c: Trying hdmi:0 with SND_PCM_NO_AUTO_FORMAT ...
> I: (alsa-lib)pcm_hw.c: open /dev/snd/pcmC0D3p failed
> I: alsa-util.c: Error opening PCM device hdmi:0: No such file or directory
> D: alsa-util.c: Checking for playback on analog-surround-40 (surround40)
> D: alsa-util.c: Trying surround40:0 with SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Checking for capture on analog-mono (hw)
> D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Trying hw:0 without SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Trying plug:hw:0 with SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Trying plug:hw:0 without SND_PCM_NO_AUTO_FORMAT ...
> I: alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid argument
> D: alsa-util.c: Checking for capture on analog-stereo (front)
> D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
> I: module-alsa-card.c: Found output profile 'Output Analog Surround
> 4.0 + Input Analog Stereo'
And a third one was found.
Everything works perfectly. PA identified quite a few working
profiles. It will default to Analog Stereo. Now use a recent version of
pavucontrol to switch the card to an SPDIF device. Or use
"set-card-profile" on the pacmd prompt to switch. "list-cards" in
pacmd will show you the supported profiles of your cards.
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss
mailing list