[pulseaudio-discuss] Cannot start Pulse Audio when using ALSA plug-in as sound source

Krzysztof Cieniawski kcieniawski at gmail.com
Fri Aug 9 14:51:07 UTC 2019


Yes it was hardware problem now `speaker-test` works as expected.

pt., 9 sie 2019 o 16:48 Krzysztof Cieniawski <kcieniawski at gmail.com>
napisał(a):

> Calling `pasuspender -- speaker-test --nloops=1 --test=wav --channels=2
> --device=temp`  cause error:
> `Connection failure: Connection refused
> pa_context_connect() failed: Invalid argument`
> With command  `speaker-test --nloops=1 --test=wav --channels=2
> --device=temp` no sound is given to headphones just quiet white noise but
> it may be hardware fault (cable). Command work without errors.
>
> pt., 9 sie 2019 o 16:26 Russell Treleaven <rtreleaven at bunnykick.ca>
> napisał(a):
>
>> Ok cool.
>> One more sanity test.
>> `pasuspender -- speaker-test --nloops=1 --test=wav --channels=2
>> --device=temp`
>> Works as expected?
>>
>>
>> On Fri, Aug 9, 2019 at 10:23 AM Krzysztof Cieniawski <
>> kcieniawski at gmail.com> wrote:
>>
>>> I have added `hint` field in `/usr/share/alsa/alsa.conf.d/iopdm.conf`
>>> file where I have configuration of my plug-in and when I list pcm's with
>>> hints it shows up.
>>>
>>>
>>> pt., 9 sie 2019 o 15:56 Russell Treleaven <rtreleaven at bunnykick.ca>
>>> napisał(a):
>>>
>>>> `aplay -L` lists pcm's with hints.
>>>> If you add a hint to your pcm does it show up in the output of `aplay
>>>> -L` ?
>>>>
>>>> On Fri, Aug 9, 2019 at 9:32 AM Krzysztof Cieniawski <
>>>> kcieniawski at gmail.com> wrote:
>>>>
>>>>> Hello!
>>>>>
>>>>> I am developing ALSA plug-in based on ALSA PCM External Plugin SDK.
>>>>> Plug-in is source plug and has to convert PDM signal from microphone input
>>>>> to PCM used by Linux. I have succeeded to compile it using cmake and I have
>>>>> copied it to ALSA lib directory. I have updated *.asoundrc* file and
>>>>> make right PCM connection. I am able to record sound using this plug-in
>>>>> with *arecord* command. Unfortunatelly when I start *PulseAudio*
>>>>> server I got error message:
>>>>>
>>>>> I: [pulseaudio] (alsa-lib)dlmisc.c: Cannot open shared library /usr/lib/aarch64-linux-gnu/alsa-lib/libasound_module_pcm_iopdm.so
>>>>> I: [pulseaudio] alsa-util.c: Error opening PCM device temp: No such device or address
>>>>> E: [pulseaudio] module.c: Failed to load module "module-alsa-source" (argument: "device=temp"): initialization failed.
>>>>> E: [pulseaudio] main.c: Module load failed.
>>>>> E: [pulseaudio] main.c: Failed to initialize daemon.
>>>>>
>>>>> I would like to use PulseAudio on top of my device because I am using
>>>>> Amazon Alexa which use PulseAudio. How to get things right? Where is the
>>>>> problem? If there is other solution available I would be grateful for it to.
>>>>> On the path given in this error message there is this plug-in.
>>>>>
>>>>> I would be very grateful for any help!
>>>>>
>>>>> Regards,
>>>>>
>>>>> Krzysztof Cieniawski
>>>>> _______________________________________________
>>>>> pulseaudio-discuss mailing list
>>>>> pulseaudio-discuss at lists.freedesktop.org
>>>>> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>>>>
>>>>
>>>>
>>>> --
>>>> Sincerely,
>>>>
>>>> Russell Treleaven
>>>> sip:rtreleaven at sip.bunnykick.ca;transport=tcp
>>>>
>>>> _______________________________________________
>>>> pulseaudio-discuss mailing list
>>>> pulseaudio-discuss at lists.freedesktop.org
>>>> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>>>
>>> _______________________________________________
>>> pulseaudio-discuss mailing list
>>> pulseaudio-discuss at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>>
>>
>>
>> --
>> Sincerely,
>>
>> Russell Treleaven
>> sip:rtreleaven at sip.bunnykick.ca;transport=tcp
>>
>> _______________________________________________
>> pulseaudio-discuss mailing list
>> pulseaudio-discuss at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20190809/24797e27/attachment.html>


More information about the pulseaudio-discuss mailing list