The files /var/run/pulse nor /tmp/pulse-user are not created at all. I manually create them, but that does not help either.<br><br>Maybe it's because it's tmpfs. Is there any way to change this?<br><br>Thank you!<br>
<br>-kwan<br><br><div class="gmail_quote">On Tue, Apr 29, 2008 at 2:59 PM, Jim Carter <<a href="mailto:jimc@math.ucla.edu">jimc@math.ucla.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, 29 Apr 2008, Colin Guthrie wrote:<br>
> Kwan Hong Lee wrote:<br>
> > I have been able to build pulseaudio on maemo 4.0 by getting the lates<br>
> > libltdl.<br>
> ><br>
> > I have added the pulse user, pulse group, pulse-access group and and<br>
> > added pulse to the audio group. I added normal user to pulse-access.<br>
><br>
> I'm not really sure how this applies in the context of a Maemo, but<br>
> certainly on desktop targets it's generally not advised any more to run<br>
> a single pulseaudio daemon, but rather run one pa daemon per user<br>
> accessing sound.<br>
<br>
</div>Maemo normally uses a system-wide instance of ESD running as root.<br>
Maemo is intended for a PDA-like context where the person in physical<br>
possession is the authorized console user, and they tend to commingle<br>
system-level and userspace functions. It's a very different world from the<br>
usual desktop or server system, and IMHO there are advantages to the<br>
desktop way of doing things.<br>
<br>
One of the Nokia developers is working on getting PA and Bluez (A2DP)<br>
working, though I don't think he has officially stated for which OS he's<br>
doing this project. Apparently the differences between the ARM and Intel<br>
instruction sets make it hard to meet the desired CPU load goals due to<br>
optimization issues. Maybe he'll have comments.<br>
<div class="Ih2E3d"><br>
> > user$ pulseaudio<br>
> > W: core-util.c: setpriority(): Permission denied<br>
> > E: main.c: Failed to create '/tmp/pulse-user': Permission denied<br>
><br>
> Can you create the folder /tmp/pulse-user yourself? Can you chown and<br>
> chmod OK on the filesystem? Perhaps it is a FAT filesystem and pulse is<br>
> failing because the chown/chmod is not working? (not looked at the code<br>
> for a while so not 100% sure on that one).<br>
<br>
</div>The filesystem for /tmp is tmpfs, and for the main flash disc is jffs2.<br>
But the expansion flash "discs" are typically vfat, hiss, boo.<br>
<br>
If /tmp/pulse-user had already been created as root, probably mode 700,<br>
that would explain the second "permission denied". Pick one style, remove<br>
the directory, and likely everything will be fine.<br>
<div class="Ih2E3d"><br>
> > If I run as root<br>
> ><br>
> > pulseaudio --system<br>
> > W: core-util.c: setpriority(): Permission denied<br>
> > E: main.c: Failed to create '/var/run/pulse': Permission denied<br>
<br>
</div>/var/run is a symlink to /tmp/.run, root:root 755. If PA is configured to<br>
drop privileges, i.e. change to user "pulse", and this happens before the<br>
PID file is created, that would explain this error. Then again, it could<br>
also be a pre-existing PID file created as root.<br>
<br>
Have you added "user" to group pulse-rt in /etc/group? Although modern PA<br>
goes through PolicyKit to get realtime priority, I imagine it can fall back<br>
to the group method when PolicyKit is not available, as in Maemo-4.0.<br>
<br>
James F. Carter Voice 310 825 2897 FAX 310 206 6673<br>
UCLA-Mathnet; 6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555<br>
Email: <a href="mailto:jimc@math.ucla.edu">jimc@math.ucla.edu</a> <a href="http://www.math.ucla.edu/%7Ejimc" target="_blank">http://www.math.ucla.edu/~jimc</a> (q.v. for PGP key)<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@mail.0pointer.de">pulseaudio-discuss@mail.0pointer.de</a><br>
<a href="https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss" target="_blank">https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.media.mit.edu/~kwan/info.html">http://www.media.mit.edu/~kwan/info.html</a>