[Freeswitch-users] mod_portaudio on Raspberry Pi does not find connected audio devices

Tazari, Mohammad Reza saied.tazari at gmail.com
Tue Jun 30 11:14:00 UTC 2020


Hi,

Update: I have also installed successfully the original portaudio 
according to instructions under 
https://app.assembla.com/wiki/show/portaudio/Platforms_RaspberryPi

    --> the version is equal to the version that I see through
    mod_portaudio in fs_cli
    --> portaudio/bin/pa_devs find several "devices", but from among my
    physical devces connected through aux, BT and USB, it can only find
    the USB device
    --> pa rescan in fs_cli, however, continues to report that no
    devices were found, not even the USB one...


I would appreciate very much any help.

Thanks and KR,

-- Saied


Tazari, Mohammad Reza wrote on 22-Jun-20 15:58:
>
> Hi,
>
> here is a short summary of my configuration and issue:
>
>  1. Pi-4 with Raspbian buster and latest related FreeSwitch
>     distribution, apt-upgraded and updated on last Friday
>  2. aplay is working both with the audio jack and with bluetooth
>     (although not simultaneously: as soon as I have a bluetooth audio
>     connection, the audio jack stops to work, and I cannot switch back
>     to it with "amixer cset numid=3 1", but aplay can continue to use
>     the bluetooth connection again after I issue "amixer cset numid=3
>     65536")
>  3. It seems that I do not have any permission issues as both of the
>     users pi and freeswitch are in the audio group, which has rw
>     access to the related devices under /dev/snd
>  4. I have already installed alsaoss, libasound2 and libasound2-dev
>  5. The output of "pa rescan" in fs_cli is the following:
>
>     2020-06-19 06:55:18.803478 [INFO] mod_portaudio.c:3186 Looking for
>     new devices.
>     2020-06-19 06:55:18.803478 [INFO] mod_portaudio.c:2102 PortAudio
>     version number = 1246720
>     PortAudio version text = 'PortAudio V19.6.0-devel, revision
>     396fe4b6699ae929d3a685b3ef8a7e97396139a4'
>     2020-06-19 06:55:18.943433 [DEBUG] mod_portaudio.c:1773 global
>     indev [-1]
>     2020-06-19 06:55:18.943433 [ERR] mod_portaudio.c:1777 Cannot find
>     an input device
>     2020-06-19 06:55:18.943433 [DEBUG] mod_portaudio.c:1786 global
>     outdev [-1]
>     2020-06-19 06:55:18.943433 [ERR] mod_portaudio.c:1790 Cannot find
>     an output device
>     2020-06-19 06:55:18.943433 [INFO] mod_portaudio.c:2125 Number of
>     devices = 0
>
>
> Any clue, what could be wrong on my side?
>
> Thanks!
>
> -- Saied
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200630/ba98789e/attachment.html>


More information about the FreeSWITCH-users mailing list