[pulseaudio-discuss] Headless pulseaudio server. Creative XFi USB. Can't enable surround on Pulseaudio

Aitor Pazos mail at aitorpazos.es
Sun Jan 23 04:17:29 PST 2011


I've attached "pulseaudio --system -v" log.

For surround51, it says:
.
.
.
I: alsa-util.c: Failed to set hardware parameters on plug:surround51:0: Broken 
pipe
I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_PREPARE failed (-32)
I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_PREPARE failed (-32)
I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_PREPARE failed (-32)
I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_PREPARE failed (-32)
I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_PREPARE failed (-32)
I: alsa-util.c: snd_pcm_hw_params failed: Broken Pipe
.
.
.
I: alsa-util.c: Error opening PCM device hdmi:0: Argumento inválido
I: alsa-util.c: Failed to set hardware parameters on plug:hw:0: Argumento 
inválido
I: alsa-util.c: Failed to set hardware parameters on plug:iec958:0: Argumento 
inválido
I: card.c: Created 0 "alsa_card.usb-Creative_Technology_Ltd_SB_X-
Fi_Surround_5.1_Pro_000000N9-00-Pro"
I: alsa-sink.c: Successfully opened device front:0.
I: alsa-sink.c: Selected mapping 'Analog Stereo' (analog-stereo).
I: alsa-sink.c: Successfully enabled mmap() mode.
I: alsa-sink.c: Successfully enabled timer-based scheduling mode.
I: (alsa-lib)control.c: Invalid CTL front:0
I: alsa-mixer.c: Unable to attach to mixer front:0: No existe el fichero o el 
directorio
I: alsa-mixer.c: Successfully attached to mixer 'hw:0'
I: sink.c: Created sink 0 "alsa_output.usb-Creative_Technology_Ltd_SB_X-
Fi_Surround_5.1_Pro_000000N9-00-Pro.analog-stereo" with sample spec s24le 2ch 
96000Hz and channel map front-left,front-right
.
.
.

Is there something I can do or is it a bug in pulseaudio??

Cheers,
   Aitor

On Sunday 23 January 2011 10:30:51 Aitor Pazos wrote:
> speaker-test -Dsurround51:0 -c 6 -t wav
> works fine, all speakers work
> 
> On Sunday 23 January 2011 00:14:26 Colin Guthrie wrote:
> > 'Twas brillig, and Aitor Pazos at 22/01/11 23:15 did gyre and gimble:
> > >> 1. Enable network support and use a GUI client on a non-headless
> > >> system
> > >> (e.g. PULSE_SERVER=<headless_ip> pavucontrol) and pick a 5.1
> > >> Configuration profile.
> > > 
> > > That's convenient, but the problem is that no 5.1 Configuration
> > > Profile
> > > is listed
> > > 
> > >> 2. Use "pacmd list-cards" to see a list of card profiles, then
> > >> then
> > >> use
> > >> "pacmd set-card-profile idx profile" to set a 5.1 profile
> > > 
> > > Same problem as in solution 1, no 5.1 profile listed.
> > > 
> > >> 3. Set default-sample-channels=6 in /etc/pulse/daemon.conf
> > > 
> > > I already did that with no effect. I've adjusted
> > > default-sample-rate,
> > > but
> > > setting default-sample-channels has no effects.
> > > 
> > > pacmd list-cards output:
> > >         profiles:
> > >                 output:analog-stereo: Analog Stereo
> > >                 Output (priority 1000)
> > >                 output:analog-stereo+input:analog-st
> > >                 ere
> > >                 o: Analog Stereo Duplex
> > > 
> > > (priority 1010)
> > > 
> > >                 output:analog-stereo+input:iec958-st
> > >                 ereo
> > >                 
> > >                 : Analog Stereo Output
> > > 
> > > + Digital Stereo (IEC958) Input (priority 1005)
> > > 
> > >                 output:iec958-stereo: Digital Stereo
> > >                 Duplex (IEC958) (priority
> > > 
> > > 500)
> > > 
> > >                 output:iec958-stereo+input:analog-st
> > >                 ereo
> > >                 
> > >                 : Digital Stereo
> > > 
> > > (IEC958) Output + Analog Stereo Input (priority 510)
> > > 
> > >                 output:iec958-stereo+input:iec958-st
> > >                 ereo
> > >                 
> > >                 : Digital Stereo
> > > 
> > > (IEC958) Output + Digital Stereo (IEC958) Input (priority 505)
> > > 
> > >                 input:analog-stereo: Analog Stereo
> > >                 Input
> > >                 (priority 10)
> > >                 input:iec958-stereo: Digital Stereo
> > >                 (IEC958) Input (priority
> > > 
> > > 5)
> > > 
> > >                 off: Apagado (priority 0)
> > >         
> > >         active profile:
> > >         <output:analog-stereo+input:analog-stereo>
> > 
> > Hmm, seems no surround profile is detected.
> > 
> > We rely on ALSA to support this, but obviously surround51 or any other
> > analogue surround system isn't working.
> > 
> > I suggest you try to debug at the ALSA level using e.g. speaker-test -D
> > surround51:0 -c 6
> > 
> > If the surround51 thing works, then PA should automatically see it.
> > 
> > Col
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pulse.log
Type: text/x-log
Size: 45782 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110123/b5ce50e3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110123/b5ce50e3/attachment.pgp>


More information about the pulseaudio-discuss mailing list