[pulseaudio-discuss] can't get pulseaudio-esound-compat to work

Matteo Zandi matteo.zandi at gmail.com
Tue Mar 13 09:37:38 PDT 2007


On 3/13/07, Pierre Ossman <ossman at cendio.se> wrote:
> Matteo Zandi wrote:
> > matteo at burnt:~$ esdplay startup.wav
> > esdplay: pcm_params.c:2351: sndrv_pcm_hw_params: Assertion `err >= 0'
> > failed.
> > Usage:program_name [address][:port]Aborted
>
> This error is from esd trying to start up. So I would guess that you
> haven't properly configured pulse to listen to the esd socket.
>

if I start pulseaudio manually I don't get any errors either

matteo at burnt:~$ pulseaudio --log-level=debug
caps.c: dropping root rights.
module-hal-detect.c: Trying capability 0 (alsa)
alsa-util.c: Using mixer control "PCM".
sink.c: created 0 "alsa_output.pci_8086_266e_alsa_playback_0" with
sample spec "s16le 2ch 44100Hz"
source.c: created 0
"alsa_output.pci_8086_266e_alsa_playback_0.monitor" with sample spec
"s16le 2ch 44100Hz"
module-alsa-sink.c: using 8 fragments of size 1376 bytes.
module.c: Loaded "module-alsa-sink" (index: #0; argument: "device=hw:0
sink_name=alsa_output.pci_8086_266e_alsa_playback_0").
alsa-util.c: Using mixer control "Capture".
source.c: created 1 "alsa_input.pci_8086_266e_alsa_capture_0" with
sample spec "s16le 2ch 44100Hz"
module-alsa-source.c: using 12 fragments of size 1376 bytes.
module.c: Loaded "module-alsa-source" (index: #1; argument:
"device=hw:0 source_name=alsa_input.pci_8086_266e_alsa_capture_0").
module-hal-detect.c: loaded 2 modules.
module.c: Loaded "module-hal-detect" (index: #2; argument: "").
module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
protocol-native.c: loading cookie from disk.
module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
module-volume-restore.c: starting with empty ruleset.
module.c: Loaded "module-volume-restore" (index: #5; argument: "").
module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
memblock.c: Memory block too large for pool: 59392 > 16376
module.c: Loaded "module-x11-bell" (index: #7; argument: "sample=x11-bell").
module-x11-publish.c: using already loaded auth cookie.
module.c: Loaded "module-x11-publish" (index: #8; argument: "").
module.c: Loaded "module-gconf" (index: #9; argument: "").
main.c: Daemon startup complete.
module-alsa-source.c: *** ALSA-XRUN (capture) ***

I also checked permissions on esd dir

matteo at burnt:~$ ls -lah /tmp/
total 48K
drwxrwxrwt 11 root   root   4.0K Mar 13 16:32 .
drwxr-xr-x 21 root   root   4.0K Mar  3 11:42 ..
drwxrwxrwt  2 root   root   4.0K Mar 13 16:15 .ICE-unix
-r--r--r--  1 root   root     11 Mar 13 16:15 .X0-lock
drwxrwxrwt  2 root   root   4.0K Mar 13 16:15 .X11-unix
drwx------  2 matteo matteo 4.0K Mar 13 16:32 .esd
drwx------  3 matteo matteo 4.0K Mar 13 16:15 gconfd-matteo
drwx------  2 matteo matteo 4.0K Mar 13 16:15 keyring-vwlU2X
srwxr-xr-x  1 matteo matteo    0 Mar 13 16:15 mapping-matteo
drwx------  2 matteo matteo 4.0K Mar 13 16:32 orbit-matteo
drwx------  2 matteo matteo 4.0K Mar 13 16:32 pulse-matteo
drwx------  2 matteo matteo 4.0K Mar 13 16:15 ssh-HAsXrP3169
drwx------  2 matteo matteo 4.0K Mar 13 16:15 virtual-matteo.GN164Z
matteo at burnt:~$ ls -lah /tmp/.esd/
total 8.0K
drwx------  2 matteo matteo 4.0K Mar 13 16:32 .
drwxrwxrwt 11 root   root   4.0K Mar 13 16:32 ..
srwxrwxrwx  1 matteo matteo    0 Mar 13 16:32 socket

What's wrong?
Matteo



More information about the pulseaudio-discuss mailing list