<br><br><div class="gmail_quote">On Nov 13, 2007 2:56 PM, David A. De Graaf <<a href="mailto:dad@datix.us">dad@datix.us</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;">
1 - Apparently pulseaudio is a daemon that must be running all the<br>time, just to produce the simplest sound.</blockquote><div><br>And in that respect it is no different than arts, esd, and a bunch of other such systems.  If you want to run directly on ALSA, you can just turn PulseAudio off.
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2 - Sounds work only while running gnome, because only gnome<br>knows how to start the daemon.  I don't use gnome; I use XFCE4.
<br>Why would starting this sound daemon be assigned to a window manager,<br>of all things?<br>What perverted software architect makes using the sound system<br>dependent on a window manager - any window manager?</blockquote>
<div><br>Uh, it's not.  I got PulseAudio to start automatically on XFCE4 using Autostarted Applications.  It really isn't that hard.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
3 - There are no man pages.  There are 15 packages named "*pulse*" -<br>and not a single man page.</blockquote><div><br>pulseaudio --help ;) <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
5 - The <a href="http://www.pulseaudio.org/" target="_blank">http://www.pulseaudio.org/</a> web page is a paean to the wonders of<br>this new system, but has precious little instruction on how to<br>actually make it work.  The topic "Command Line Interface" seems to
<br>address this issue, listing many commands that can be used in<br>configuration scripts.  At the end is an example:<br><br>Example Configuration Script<br><br>Mark the following script as executable (chmod +x) and run it for a
<br>sensible PulseAudio configuration.<br><br>    #!/usr/bin/pulseaudio -nF<br><br>    # Create autoload entries for the device drivers<br>    add-autoload-sink output module-alsa-sink device=plughw:0,0 rate=48000 sink_name=output
<br>    add-autoload-sink output2 module-oss device=/dev/dsp1 record=0 sink_name=output2<br>    add-autoload-sink combined module-combine master=output slaves=output2 sink_name=combined<br><br>        < remaining commands snipped >
<br><br>Clearly, this instruction is not to be taken literally;  the script<br>contains commands that do not exist in Linux.<br><br>Rather, I assume the script is meant to replace /etc/pulse/default.pa,<br>which is purportedly used to configure a starting pulseaudio daemon,
<br>so I tried that, and ran<br>    pulseaudio --system --log-target=syslog<br>expecting to have the daemon initialized and to hear 'startup3.wav'.<br><br>Instead, /var/log/messages receives a list of error messages, eg
<br><br>  Nov 13 13:32:18 datbird pulseaudio[2693]: module-alsa-sink.c: Error<br>    opening PCM device plughw:0,0: No such device<br>  Nov 13 13:32:18 datbird pulseaudio[2693]: module.c: Failed to load<br>    module "module-alsa-sink" (argument: "device=plughw:0,0 rate=48000
<br>    sink_name=output"): initialization failed.<br>  Nov 13 13:32:18 datbird pulseaudio[2693]: module-combine.c: Invalid<br>    master sink 'output'<br>  Nov 13 13:32:18 datbird pulseaudio[2693]: module.c: Failed to load
<br>    module "module-combine" (argument: "master=output slaves=output2<br>    sink_name=combined"): initialization failed.</blockquote><div><br>First of all, I've noticed that using --system ALWAYS throws the "Error opening PCM device" error, so don't use it.  I had the same error you're getting, and fixed it by using module hal-detect to get the system to find the ALSA objects.  I'll post my config file here when I get home and can look at it.
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Clearly. I'm missing some important info.<br>What is a "PCM device plughw:0,0", and why don't I have one???
</blockquote><div><br>The PCM device is listed in ALSA; it's usually hw:0 by default.  Again, use module hal-detect and the system will find the entries for you.<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sorry, but I think pulseaudio isn't ready for prime time, yet.</blockquote><div><br>Your opinion.  I've got it working 100% on two Fedora systems and an openSUSE system, and it works fantastic.<br></div></div><br>