[pulseaudio-discuss] Help in setting up PA
Tanu Kaskinen
tanuk at iki.fi
Fri Feb 1 02:51:37 PST 2008
On Thu, Jan 31, 2008 at 08:52:32PM -0500, Richard Geddes wrote:
> The PA daemon is not starting and PA Manager is say "connection refused"
> . Not sure what to make of it, but your suggestions are welcome.
"Connection refused" is the message you get when trying to
use a pulse client program without having the daemon
running.
> Here's some output from /var/log/messages:
>
> > pulseaudio[7278]: main.c: Module load failed.
> > pulseaudio[7278]: main.c: failed to initialize daemon.
> > pulseaudio[7288]: pid.c: daemon already running.
> > pulseaudio[7288]: main.c: pa_pid_file_create() failed.
> > pulseaudio[7291]: pid.c: daemon already running.
> > pulseaudio[7291]: main.c: pa_pid_file_create() failed.
> > pulseaudio[7285]: module-alsa-sink.c: Failed to set hardware
> > parameters: Operation not permitted
> > pulseaudio[7285]: module.c: Failed to load module "module-alsa-sink"
> > (argument: "sink_name=delta_out device=hw:0 channels=10
> > channel_map=left,right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7"):
> > initialization failed.
> > pulseaudio[7285]: main.c: Module load failed.
> > pulseaudio[7285]: main.c: failed to initialize daemon.
> > pulseaudio[7294]: module-alsa-sink.c: Failed to set hardware
> > parameters: Operation not permitted
> > pulseaudio[7294]: module.c: Failed to load module "module-alsa-sink"
> > (argument: "sink_name=delta_out device=hw:0 channels=10
> > channel_map=left,right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7"):
> > initialization failed.
> > pulseaudio[7294]: main.c: Module load failed.
> > pulseaudio[7294]: main.c: failed to initialize daemon.
The "Failed to set hardware parameters: Operation not
permitted" is an encrypted message, and means that
pulseaudio couldn't open the device for 16-bit samples,
because the device only supports 32-bit samples. You seem to
have an older version of pulseaudio. Since 0.9.8 pulseaudio
has supported 32-bit samples, so you'll have to upgrade to
at least that version.
An unrelated note: you seem to have made the decision to run
pulseaudio as a system-wide daemon. That is not generally
recommended way to run pulseaudio, it's only for the cases
when the per-user way just doesn't cut it. This isn't a
fatal mistake (if it's mistake at all, I don't know what
kind of setup you actually have/need), and you don't
necessarily need to fix it. Some information on this matter:
http://www.pulseaudio.org/wiki/SystemWideInstance
--
Tanu Kaskinen
More information about the pulseaudio-discuss
mailing list