[pulseaudio-discuss] Missing Digital outputs with hotplug Transit device

Neil Wilson neil at aldur.co.uk
Sat Sep 26 07:10:58 PDT 2009


I have a M-Audio Transit external sound device that I use to give me
SPDIF output on a couple of older laptops.

If I have the device in place when pulseaudio starts I get all the
anlaog and digital outputs as I'm supposed to. However if I hotplug
the device then I don't see any of the digital outputs at all. If I
then do a 'pulseaudio -k', the outputs come back.

What I see in the debug output during hotplug is:

D: alsa-mixer.c: Checking for playback on Analog Stereo (analog-stereo)
D: alsa-util.c: Trying front:2 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)confmisc.c: Unable to find definition
'cards.USB-Audio.pcm.front.0:CARD=2'
I: (alsa-lib)conf.c: function snd_func_refer returned error: No such
file or directory
I: (alsa-lib)conf.c: Evaluate error: No such file or directory
I: (alsa-lib)pcm.c: Unknown PCM front:2
I: alsa-util.c: Error opening PCM device front:2: No such file or directory
D: alsa-util.c: Trying hw:2 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Managed to open hw:2
D: alsa-util.c: Maximum hw buffer size is 5944 ms
D: alsa-util.c: Set buffer size first, period size second.
D: alsa-mixer.c: Profile output:analog-stereo supported.

...

D: alsa-mixer.c: Looking at profile output:analog-stereo+input:iec958-stereo
D: alsa-mixer.c: Checking for recording on Digital Stereo (IEC958)
(iec958-stereo)
D: alsa-util.c: Trying iec958:2 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)confmisc.c: Unable to find definition
'cards.USB-Audio.pcm.iec958.0:CARD=2,AES0=4,AES1=130,AES2=0,AES3=2'
I: (alsa-lib)conf.c: function snd_func_refer returned error: No such
file or directory
I: (alsa-lib)conf.c: Evaluate error: No such file or directory
I: (alsa-lib)pcm.c: Unknown PCM iec958:2
I: alsa-util.c: Error opening PCM device iec958:2: No such file or directory



rather than

D: alsa-mixer.c: Checking for playback on Analog Stereo (analog-stereo)
D: alsa-util.c: Trying front:2 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Managed to open front:2
D: alsa-util.c: Maximum hw buffer size is 5944 ms
D: alsa-util.c: Set buffer size first, period size second.
D: alsa-mixer.c: Profile output:analog-stereo supported.

...

D: alsa-mixer.c: Looking at profile output:analog-stereo+input:iec958-stereo
D: alsa-mixer.c: Checking for recording on Digital Stereo (IEC958)
(iec958-stereo)
D: alsa-util.c: Trying iec958:2 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Managed to open iec958:2
D: alsa-util.c: Maximum hw buffer size is 5944 ms
D: alsa-util.c: Set buffer size first, period size second.
D: alsa-mixer.c: Profile output:analog-stereo+input:iec958-stereo supported.

when pulseaudio is started after the device is attached.

Any suggestions as to what is going on here and how to fix it?

-- 
Neil Wilson



More information about the pulseaudio-discuss mailing list