[pulseaudio-discuss] pulseaudio cannot recognise ALSA plughw

kaworu fw kaworufw at gmail.com
Wed Dec 10 06:22:49 PST 2008


Hi Lennart,

Thanks for your suggestion.  However passing mmap=0 to module-alsa-sink
doesn't bring me any luck to make it work.

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?

Thanks,
Kaworu

On Mon, Dec 8, 2008 at 2:27 PM, Lennart Poettering
<lennart at poettering.net>wrote:

> On Mon, 08.12.08 00:30, kaworu fw (kaworufw at gmail.com) wrote:
>
> > Hello,
>
> Heya,
>
> > I have a problem in starting pulseaudio with my EMU-0404USB after a
> recent
> > upgrade from Fedora9 to Fedora10.
> >
> > It seems that pulseaudio cannot set some hw parameters to my card as
> > follows.  It fails to startup with default configuration which uses HAL
> so I
> > override the default.pa config file to force a load of module-alsa-sink
> with
> > plughw:0,0.  However it doesn't help.
> >
> > $ pulseaudio
> > I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
> > I: caps.c: Dropping root privileges.
> > I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
> > E: alsa-util.c: Failed to set hardware parameters on plughw:0,0:
> Operation
> > not permitted
> > E: module.c: Failed to load  module "module-alsa-sink" (argument:
> > "device=plughw:0,0"): initialization failed.
> > E: main.c: Module load failed.
> > E: main.c: Failed to initialize daemon.
> >
> > However the same device (plughw:0,0) works fine when I use aplay.  Any
> > clues?  Thanks!
>
> Looks like an ALSA issue to me. The plughw module doe not seem to be
> able to properly reformat the audio data as needed for PA. Please
> report to the ALSA people. This is most likely due to some
> mmap/non-mmap conversion bug in plughw or so. Try if things start to
> work in PA if you pass mmap=0 to the alsa sink module.
>
> Also, please note that under almost all circumstances passing
> plughw:0,0 is wrong. You should not specify the subdevice. Use
> plughw:0 instead.
>
> Lennart
>
> --
> Lennart Poettering                        Red Hat, Inc.
> lennart [at] poettering [dot] net         ICQ# 11060553
> http://0pointer.net/lennart/           GnuPG 0x1A015CC4
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20081210/2693ad52/attachment.htm>


More information about the pulseaudio-discuss mailing list