<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">PA version is 0.9.22, udev support is build, hal support not.<div>
Also now Im not in front of the "test" system, so I can't know if it's producing sound, but I get this:</div><div><br></div><div><div><div>[kongoni@kongoni ~]$ pasuspender bash</div><div>[kongoni@kongoni ~]$ speaker-test -D hw:0 -c 2</div>
<div><br></div><div>speaker-test 1.0.23</div><div><br></div><div>Playback device is hw:0</div><div>Stream parameters are 48000Hz, S16_LE, 2 channels</div><div>Using 16 octaves of pink noise</div><div>Rate set to 48000Hz (requested 48000Hz)</div>
<div>Buffer size range from 8 to 16384</div><div>Period size range from 8 to 16384</div><div>Using max buffer size 16384</div><div>Periods = 4</div><div>was set period_size = 4096</div><div>was set buffer_size = 16384</div>
<div> 0 - Front Left</div><div> 1 - Front Right</div><div>Time per period = 5.444608</div><div> 0 - Front Left</div><div> 1 - Front Right</div><div>Time per period = 6.004962</div><div> 0 - Front Left</div><div> 1 - Front Right</div>
</div><div><br></div><div>pacmd list:</div><div><br></div><div><div>>>> [kongoni@kongoni ~]$ pacmd list</div><div>Welcome to PulseAudio! Use "help" for usage information.</div><div>>>> Memory blocks currently allocated: 1, size: 64.0 KiB.</div>
<div>Memory blocks allocated during the whole lifetime: 1156, size: 3.8 MiB.</div><div>Memory blocks imported from other processes: 0, size: 0 B.</div><div>Memory blocks exported to other processes: 0, size: 0 B.</div><div>
Total sample cache size: 0 B.</div><div>Default sample spec: s16le 2ch 48000Hz</div><div>Default channel map: front-left,front-right</div><div>Default sink name: alsa_output.hw_0</div><div>Default source name: alsa_input.hw_0</div>
<div>Memory blocks of type POOL: 1 allocated/1 accumulated.</div><div>Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.</div><div>Memory blocks of type APPENDED: 0 allocated/0 accumulated.</div><div>Memory blocks of type USER: 0 allocated/0 accumulated.</div>
<div>Memory blocks of type FIXED: 0 allocated/1155 accumulated.</div><div>Memory blocks of type IMPORTED: 0 allocated/0 accumulated.</div><div>20 module(s) loaded.</div><div> index: 0</div><div><span style="white-space: pre-wrap; ">        </span>name: <module-device-restore></div>
<div><span style="white-space: pre-wrap; ">        </span>argument: <></div><div><span style="white-space: pre-wrap; ">        </span>used: -1</div><div><span style="white-space: pre-wrap; ">        </span>load once: yes</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div>
<div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div><div><span style="white-space: pre-wrap; ">                </span>module.description = "Automatically restore the volume/mute state of devices"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div><div> index: 1</div><div><span style="white-space: pre-wrap; ">        </span>name: <module-stream-restore></div><div><span style="white-space: pre-wrap; ">        </span>argument: <></div>
<div><span style="white-space: pre-wrap; ">        </span>used: -1</div><div><span style="white-space: pre-wrap; ">        </span>load once: yes</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "Automatically restore the volume/mute/device state of streams"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div>
<div> index: 2</div><div><span style="white-space: pre-wrap; ">        </span>name: <module-card-restore></div><div><span style="white-space: pre-wrap; ">        </span>argument: <></div><div><span style="white-space: pre-wrap; ">        </span>used: -1</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: yes</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "Automatically restore profile of cards"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div>
<div> index: 3</div><div><span style="white-space: pre-wrap; ">        </span>name: <module-augment-properties></div><div><span style="white-space: pre-wrap; ">        </span>argument: <></div><div><span style="white-space: pre-wrap; ">        </span>used: -1</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: yes</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "Augment the property sets of streams with additional static information"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div>
<div> index: 4</div><div><span style="white-space: pre-wrap; ">        </span>name: <module-alsa-sink></div><div><span style="white-space: pre-wrap; ">        </span>argument: <device=hw:0></div><div><span style="white-space: pre-wrap; ">        </span>used: 0</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: no</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "ALSA Sink"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div><div> index: 5</div><div>
<span style="white-space: pre-wrap; ">        </span>name: <module-alsa-source></div><div><span style="white-space: pre-wrap; ">        </span>argument: <device=hw:0></div><div><span style="white-space: pre-wrap; ">        </span>used: 0</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: no</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "ALSA Source"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div><div> index: 6</div><div>
<span style="white-space: pre-wrap; ">        </span>name: <module-udev-detect></div><div><span style="white-space: pre-wrap; ">        </span>argument: <></div><div><span style="white-space: pre-wrap; ">        </span>used: -1</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: yes</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "Detect available audio hardware and load matching drivers"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div>
<div> index: 7</div><div><span style="white-space: pre-wrap; ">        </span>name: <module-bluetooth-discover></div><div><span style="white-space: pre-wrap; ">        </span>argument: <></div><div><span style="white-space: pre-wrap; ">        </span>used: -1</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: yes</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Joao Paulo Rechi Vita"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "Detect available bluetooth audio devices and load bluetooth audio drivers"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div>
<div> index: 8</div><div><span style="white-space: pre-wrap; ">        </span>name: <module-esound-protocol-unix></div><div><span style="white-space: pre-wrap; ">        </span>argument: <></div><div><span style="white-space: pre-wrap; ">        </span>used: -1</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: no</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "ESOUND protocol (UNIX sockets)"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div><div> index: 9</div>
<div><span style="white-space: pre-wrap; ">        </span>name: <module-native-protocol-unix></div><div><span style="white-space: pre-wrap; ">        </span>argument: <></div><div><span style="white-space: pre-wrap; ">        </span>used: -1</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: no</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "Native protocol (UNIX sockets)"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div><div> index: 10</div>
<div><span style="white-space: pre-wrap; ">        </span>name: <module-gconf></div><div><span style="white-space: pre-wrap; ">        </span>argument: <></div><div><span style="white-space: pre-wrap; ">        </span>used: -1</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: yes</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "GConf Adapter"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div><div> index: 11</div>
<div><span style="white-space: pre-wrap; ">        </span>name: <module-default-device-restore></div><div><span style="white-space: pre-wrap; ">        </span>argument: <></div><div><span style="white-space: pre-wrap; ">        </span>used: -1</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: yes</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "Automatically restore the default sink and source"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div>
<div> index: 12</div><div><span style="white-space: pre-wrap; ">        </span>name: <module-rescue-streams></div><div><span style="white-space: pre-wrap; ">        </span>argument: <></div><div><span style="white-space: pre-wrap; ">        </span>used: -1</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: yes</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Lennart Poettering"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "When a sink/source is removed, try to move their streams to the default sink/source"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div>
<div> index: 13</div><div><span style="white-space: pre-wrap; ">        </span>name: <module-always-sink></div><div><span style="white-space: pre-wrap; ">        </span>argument: <></div><div><span style="white-space: pre-wrap; ">        </span>used: -1</div>
<div><span style="white-space: pre-wrap; ">        </span>load once: yes</div><div><span style="white-space: pre-wrap; ">        </span>properties:</div><div><span style="white-space: pre-wrap; ">                </span>module.author = "Colin Guthrie"</div>
<div><span style="white-space: pre-wrap; ">                </span>module.description = "Always keeps at least one sink loaded even if it's a null one"</div><div><span style="white-space: pre-wrap; ">                </span>module.version = "0.9.22"</div>
</div></div><div><br></div><div>Can't paste everything... too big :)</div></span><br><div class="gmail_quote">On Thu, Dec 9, 2010 at 12:43, Colin Guthrie <span dir="ltr"><<a href="mailto:gmane@colin.guthr.ie">gmane@colin.guthr.ie</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
'Twas brillig, and Robert Gabriel at 09/12/10 11:10 did gyre and gimble:<br>
<div class="im">> Hello, Im trying to implement pulseaudio on a Slackware based<br>
> distribution which Im working on.<br>
> I have also rebuild phonon so it will support properly pulseaudio and<br>
> gstreamer package too.<br>
<br>
</div>They really should compile support for this in by default.<br>
<div class="im"><br>
> Basically it works, just there is no actual sound and I get this error<br>
> in syslog:<br>
><br>
> Dec 9 11:08:06 kongoni pulseaudio[898]: alsa-util.c: Disabling<br>
> timer-based scheduling because running inside a VM.<br>
> Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-sink.c: ALSA woke us up to<br>
> write new data to the device, but there was actually nothing to write!<br>
> Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-sink.c: Most likely this<br>
> is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to<br>
> the ALSA developers.<br>
> Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-sink.c: We were woken up<br>
> with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or<br>
> another value < min_avail.<br>
> Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-util.c: Disabling<br>
> timer-based scheduling because running inside a VM.<br>
> Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-source.c: ALSA woke us up<br>
> to read new data from the device, but there was actually nothing to read!<br>
> Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-source.c: Most likely this<br>
> is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to<br>
> the ALSA developers.<br>
> Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-source.c: We were woken up<br>
> with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or<br>
> another value < min_avail.<br>
<br>
</div>This is generally a non-fatal error. It doens't usually result in a<br>
total lack of sound.<br>
<br>
Can you supply the output of "pacmd list" please?<br>
<br>
Also have you confirmed that your VM sound output is actually connected<br>
to something? e.g. can you get sound from alsa directly?<br>
<br>
e.g. doing type the following in a shell inside your VM:<br>
<br>
pasuspender bash<br>
speaker-test -D hw:0 -c 2<br>
CTRL+C (after the test is run)<br>
exit<br>
<br>
Does it produce sound?<br>
<br>
<br>
> [root@kongoni ~]$ cat /etc/pulse/<a href="http://default.pa" target="_blank">default.pa</a> <<a href="http://default.pa" target="_blank">http://default.pa</a>> |grep hw<br>
<div class="im">> load-module module-alsa-sink device=hw:0<br>
> load-module module-alsa-source device=hw:0<br>
<br>
</div>Is there a reason you had to change the <a href="http://default.pa" target="_blank">default.pa</a> from the default?<br>
Normally udev-detect should do everything for you. It's also generally<br>
bad practice to use "hw" directly, better to use e.g. front:0<br>
<div class="im"><br>
<br>
> NOTE: Pulseaudio is build with --disable-hal if it matters.<br>
<br>
</div>As we'd recommend seeing as hal is dead these days. Is udev support<br>
compiled in? It replaced hal these days.<br>
<br>
Also what version of PA? I'd recommend 0.9.22.<br>
<br>
<br>
Col<br>
<br>
<br>
<br>
--<br>
<br>
Colin Guthrie<br>
gmane(at)<a href="http://colin.guthr.ie" target="_blank">colin.guthr.ie</a><br>
<a href="http://colin.guthr.ie/" target="_blank">http://colin.guthr.ie/</a><br>
<br>
Day Job:<br>
Tribalogic Limited [<a href="http://www.tribalogic.net/" target="_blank">http://www.tribalogic.net/</a>]<br>
Open Source:<br>
Mageia Contributor [<a href="http://www.mageia.org/" target="_blank">http://www.mageia.org/</a>]<br>
PulseAudio Hacker [<a href="http://www.pulseaudio.org/" target="_blank">http://www.pulseaudio.org/</a>]<br>
Trac Hacker [<a href="http://trac.edgewall.org/" target="_blank">http://trac.edgewall.org/</a>]<br>
<br>
_______________________________________________<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>
</blockquote></div><br>