Hi Lennart,<br><br>Thanks for your suggestion. However passing mmap=0 to module-alsa-sink doesn't bring me any luck to make it work.<br><br>I will report this to ALSA people. On the other hand how can I get more information from PA to pass to the ALSA people?<br>
<br>Thanks,<br>Kaworu<br><br><div class="gmail_quote">On Mon, Dec 8, 2008 at 2:27 PM, Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 08.12.08 00:30, kaworu fw (<a href="mailto:kaworufw@gmail.com">kaworufw@gmail.com</a>) wrote:<br>
<br>
> Hello,<br>
<br>
Heya,<br>
<div class="Ih2E3d"><br>
> I have a problem in starting pulseaudio with my EMU-0404USB after a recent<br>
> upgrade from Fedora9 to Fedora10.<br>
><br>
> It seems that pulseaudio cannot set some hw parameters to my card as<br>
> follows. It fails to startup with default configuration which uses HAL so I<br>
> override the <a href="http://default.pa" target="_blank">default.pa</a> config file to force a load of module-alsa-sink with<br>
> plughw:0,0. However it doesn't help.<br>
><br>
> $ pulseaudio<br>
> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.<br>
> I: caps.c: Dropping root privileges.<br>
> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.<br>
> E: alsa-util.c: Failed to set hardware parameters on plughw:0,0: Operation<br>
> not permitted<br>
> E: module.c: Failed to load module "module-alsa-sink" (argument:<br>
> "device=plughw:0,0"): initialization failed.<br>
> E: main.c: Module load failed.<br>
> E: main.c: Failed to initialize daemon.<br>
><br>
> However the same device (plughw:0,0) works fine when I use aplay. Any<br>
> clues? Thanks!<br>
<br>
</div>Looks like an ALSA issue to me. The plughw module doe not seem to be<br>
able to properly reformat the audio data as needed for PA. Please<br>
report to the ALSA people. This is most likely due to some<br>
mmap/non-mmap conversion bug in plughw or so. Try if things start to<br>
work in PA if you pass mmap=0 to the alsa sink module.<br>
<br>
Also, please note that under almost all circumstances passing<br>
plughw:0,0 is wrong. You should not specify the subdevice. Use<br>
plughw:0 instead.<br>
<br>
Lennart<br>
<font color="#888888"><br>
--<br>
Lennart Poettering Red Hat, Inc.<br>
lennart [at] poettering [dot] net ICQ# 11060553<br>
<a href="http://0pointer.net/lennart/" target="_blank">http://0pointer.net/lennart/</a> GnuPG 0x1A015CC4<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>
</font></blockquote></div><br>