mod_portaudio on Raspberry Pi currently broken?
I compiled mod_portaudio for rpi (arm11) in January. No problem. I compiled it again this week. Problem. Logs show it can't find any devices. So I copy the mod_portaudio.so and mod_portaudio_la from January to the newly compiled installation, and voila, devices found. I did a git diff in src/mod/endpoints/mod_portaudio, and there have been a couple of changes in the mod_portaudio.c file, but nothing that would explain this. Mod-portaudio source doesn't seem to have changed, just the way it's build. (Still version 1899, V19-devel.) The newer mod_portaudio.la shows different dependences, and the new mod_portaudio.so is much smaller. I think mod_portaudio is currently broken for raspberry pi and likely other platforms too. Anyone have any insight?
I ran into the same thing myself and it should work just fine, I¹ll be updating my builds tonight, as tomorrow I will be on the VUC call to discuss raspberry pi, freeswitch and the switchpi.org project On 4/18/13 4:31 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
I compiled mod_portaudio for rpi (arm11) in January. No problem.
I compiled it again this week. Problem. Logs show it can't find any devices.
So I copy the mod_portaudio.so and mod_portaudio_la from January to the newly compiled installation, and voila, devices found.
I did a git diff in src/mod/endpoints/mod_portaudio, and there have been a couple of changes in the mod_portaudio.c file, but nothing that would explain this.
Mod-portaudio source doesn't seem to have changed, just the way it's build. (Still version 1899, V19-devel.)
The newer mod_portaudio.la <http://mod_portaudio.la> shows different dependences, and the new mod_portaudio.so is much smaller.
I think mod_portaudio is currently broken for raspberry pi and likely other platforms too. Anyone have any insight?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other. Forgot to mention, I was building on the stable branch. On Thu, Apr 18, 2013 at 3:38 PM, Ken Rice <krice@freeswitch.org> wrote:
I ran into the same thing myself and it should work just fine, I’ll be updating my builds tonight, as tomorrow I will be on the VUC call to discuss raspberry pi, freeswitch and the switchpi.org project
On 4/18/13 4:31 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
I compiled mod_portaudio for rpi (arm11) in January. No problem.
I compiled it again this week. Problem. Logs show it can't find any devices.
So I copy the mod_portaudio.so and mod_portaudio_la from January to the newly compiled installation, and voila, devices found.
I did a git diff in src/mod/endpoints/mod_portaudio, and there have been a couple of changes in the mod_portaudio.c file, but nothing that would explain this.
Mod-portaudio source doesn't seem to have changed, just the way it's build. (Still version 1899, V19-devel.)
The newer mod_portaudio.la <http://mod_portaudio.la> shows different dependences, and the new mod_portaudio.so is much smaller.
I think mod_portaudio is currently broken for raspberry pi and likely other platforms too. Anyone have any insight?
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
So I thought I'd try 1.2.9 mod_portaudio on RPi. Fresh install, running FS as root, with the only change to add mod_portaudio to modules.conf.xml, but mod_portaudio is unable to find devices. Alsa is working fine. I can aplay files and get output. Any ideas on how to get a somewhat stable branch of FS working with mod_portaudio? On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler < intralanman@freeswitch.org> wrote:
On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
It works... You need the oss kernel mod loaded in the kernel, and you need asound dev packages loaded then rebuild... Your USB device should then show up in pa devlist I have some info on switchpi.org reguarding running FS on RaspPi On 5/16/13 12:25 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
So I thought I'd try 1.2.9 mod_portaudio on RPi. Fresh install, running FS as root, with the only change to add mod_portaudio to modules.conf.xml, but mod_portaudio is unable to find devices. Alsa is working fine. I can aplay files and get output. Any ideas on how to get a somewhat stable branch of FS working with mod_portaudio?
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler <intralanman@freeswitch.org> wrote:
On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
Great info, thanks. Once I've got it working, I'll add a Raspberry Pi section to the wiki with the exact steps to get it working. In the meantime, I think this page more or less explains what you're talking about. http://wiki.debian.org/SoundFAQ In summary, "apt-get install libasound2-dev alsa-oss" before compiling and either load the OSS modules by hand with "modprobe snd_pcm_oss" and "modprobe snd_mixer_oss" or add the OSS modules to /etc/modules so they load at boot. You said on your voipusersconference appearance that you're not cross compiling. Still true? There's sure not much oomph to a Pi. On Thu, May 16, 2013 at 12:16 PM, Ken Rice <krice@freeswitch.org> wrote:
It works... You need the oss kernel mod loaded in the kernel, and you need asound dev packages loaded then rebuild... Your USB device should then show up in pa devlist
I have some info on switchpi.org reguarding running FS on RaspPi
On 5/16/13 12:25 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
So I thought I'd try 1.2.9 mod_portaudio on RPi. Fresh install, running FS as root, with the only change to add mod_portaudio to modules.conf.xml, but mod_portaudio is unable to find devices. Alsa is working fine. I can aplay files and get output. Any ideas on how to get a somewhat stable branch of FS working with mod_portaudio?
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler < intralanman@freeswitch.org> wrote:
On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
yep no cross compiling... it takes a while lol... looking to get maybe the same platform the the raspbian guys use for building packages Ken Sent from my iPad On May 16, 2013, at 14:15, Lesley Pervis <lesley.pervis@gmail.com> wrote:
Great info, thanks.
Once I've got it working, I'll add a Raspberry Pi section to the wiki with the exact steps to get it working.
In the meantime, I think this page more or less explains what you're talking about.
http://wiki.debian.org/SoundFAQ
In summary, "apt-get install libasound2-dev alsa-oss" before compiling and either load the OSS modules by hand with "modprobe snd_pcm_oss" and "modprobe snd_mixer_oss" or add the OSS modules to /etc/modules so they load at boot.
You said on your voipusersconference appearance that you're not cross compiling. Still true? There's sure not much oomph to a Pi.
On Thu, May 16, 2013 at 12:16 PM, Ken Rice <krice@freeswitch.org> wrote:
It works... You need the oss kernel mod loaded in the kernel, and you need asound dev packages loaded then rebuild... Your USB device should then show up in pa devlist
I have some info on switchpi.org reguarding running FS on RaspPi
On 5/16/13 12:25 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
So I thought I'd try 1.2.9 mod_portaudio on RPi. Fresh install, running FS as root, with the only change to add mod_portaudio to modules.conf.xml, but mod_portaudio is unable to find devices. Alsa is working fine. I can aplay files and get output. Any ideas on how to get a somewhat stable branch of FS working with mod_portaudio?
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler <intralanman@freeswitch.org> wrote: On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks for the pointers, Ken, I got it working on the stable branch. I'll add the info to the mod_portaudio wiki page when my wiki account application gets approved. Found a great Ars Technica article on the Raspbian package building you mentioned. http://arstechnica.com/information-technology/2013/03/how-two-volunteers-bui... On Thu, May 16, 2013 at 1:25 PM, Ken Rice <krice@freeswitch.org> wrote:
yep no cross compiling... it takes a while lol... looking to get maybe the same platform the the raspbian guys use for building packages
Ken Sent from my iPad
On May 16, 2013, at 14:15, Lesley Pervis <lesley.pervis@gmail.com> wrote:
Great info, thanks.
Once I've got it working, I'll add a Raspberry Pi section to the wiki with the exact steps to get it working.
In the meantime, I think this page more or less explains what you're talking about.
http://wiki.debian.org/SoundFAQ
In summary, "apt-get install libasound2-dev alsa-oss" before compiling and either load the OSS modules by hand with "modprobe snd_pcm_oss" and "modprobe snd_mixer_oss" or add the OSS modules to /etc/modules so they load at boot.
You said on your voipusersconference appearance that you're not cross compiling. Still true? There's sure not much oomph to a Pi.
On Thu, May 16, 2013 at 12:16 PM, Ken Rice <krice@freeswitch.org> wrote:
It works... You need the oss kernel mod loaded in the kernel, and you need asound dev packages loaded then rebuild... Your USB device should then show up in pa devlist
I have some info on switchpi.org reguarding running FS on RaspPi
On 5/16/13 12:25 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
So I thought I'd try 1.2.9 mod_portaudio on RPi. Fresh install, running FS as root, with the only change to add mod_portaudio to modules.conf.xml, but mod_portaudio is unable to find devices. Alsa is working fine. I can aplay files and get output. Any ideas on how to get a somewhat stable branch of FS working with mod_portaudio?
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler < intralanman@freeswitch.org> wrote:
On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Has anyone got mod_portaudio to discover devices on Debian with FA running as non-root user? When I run FS as root, devices discovered. When I run as pi or freeswitch ids, no devices discovered. Both users are in the audio group, oss kernel modules are loaded. http://wiki.debian.org/SoundFAQ On Fri, May 17, 2013 at 12:06 AM, Lesley Pervis <lesley.pervis@gmail.com>wrote:
Thanks for the pointers, Ken, I got it working on the stable branch. I'll add the info to the mod_portaudio wiki page when my wiki account application gets approved.
Found a great Ars Technica article on the Raspbian package building you mentioned.
http://arstechnica.com/information-technology/2013/03/how-two-volunteers-bui...
On Thu, May 16, 2013 at 1:25 PM, Ken Rice <krice@freeswitch.org> wrote:
yep no cross compiling... it takes a while lol... looking to get maybe the same platform the the raspbian guys use for building packages
Ken Sent from my iPad
On May 16, 2013, at 14:15, Lesley Pervis <lesley.pervis@gmail.com> wrote:
Great info, thanks.
Once I've got it working, I'll add a Raspberry Pi section to the wiki with the exact steps to get it working.
In the meantime, I think this page more or less explains what you're talking about.
http://wiki.debian.org/SoundFAQ
In summary, "apt-get install libasound2-dev alsa-oss" before compiling and either load the OSS modules by hand with "modprobe snd_pcm_oss" and "modprobe snd_mixer_oss" or add the OSS modules to /etc/modules so they load at boot.
You said on your voipusersconference appearance that you're not cross compiling. Still true? There's sure not much oomph to a Pi.
On Thu, May 16, 2013 at 12:16 PM, Ken Rice <krice@freeswitch.org> wrote:
It works... You need the oss kernel mod loaded in the kernel, and you need asound dev packages loaded then rebuild... Your USB device should then show up in pa devlist
I have some info on switchpi.org reguarding running FS on RaspPi
On 5/16/13 12:25 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
So I thought I'd try 1.2.9 mod_portaudio on RPi. Fresh install, running FS as root, with the only change to add mod_portaudio to modules.conf.xml, but mod_portaudio is unable to find devices. Alsa is working fine. I can aplay files and get output. Any ideas on how to get a somewhat stable branch of FS working with mod_portaudio?
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler < intralanman@freeswitch.org> wrote:
On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
This sounds like a permissions issue On 6/17/13 4:00 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
Has anyone got mod_portaudio to discover devices on Debian with FA running as non-root user?
When I run FS as root, devices discovered. When I run as pi or freeswitch ids, no devices discovered. Both users are in the audio group, oss kernel modules are loaded.
http://wiki.debian.org/SoundFAQ
On Fri, May 17, 2013 at 12:06 AM, Lesley Pervis <lesley.pervis@gmail.com> wrote:
Thanks for the pointers, Ken, I got it working on the stable branch. I'll add the info to the mod_portaudio wiki page when my wiki account application gets approved.
Found a great Ars Technica article on the Raspbian package building you mentioned. http://arstechnica.com/information-technology/2013/03/how-two-volunteers-bui... t-the-raspberry-pis-operating-system/
On Thu, May 16, 2013 at 1:25 PM, Ken Rice <krice@freeswitch.org> wrote:
yep no cross compiling... it takes a while lol... looking to get maybe the same platform the the raspbian guys use for building packages
Ken Sent from my iPad
On May 16, 2013, at 14:15, Lesley Pervis <lesley.pervis@gmail.com> wrote:
Great info, thanks.
Once I've got it working, I'll add a Raspberry Pi section to the wiki with the exact steps to get it working.
In the meantime, I think this page more or less explains what you're talking about.
http://wiki.debian.org/SoundFAQ
In summary, "apt-get install libasound2-dev alsa-oss" before compiling and either load the OSS modules by hand with "modprobe snd_pcm_oss" and "modprobe snd_mixer_oss" or add the OSS modules to /etc/modules so they load at boot.
You said on your voipusersconference appearance that you're not cross compiling. Still true? There's sure not much oomph to a Pi.
On Thu, May 16, 2013 at 12:16 PM, Ken Rice <krice@freeswitch.org> wrote:
It works... You need the oss kernel mod loaded in the kernel, and you need asound dev packages loaded then rebuild... Your USB device should then show up in pa devlist
I have some info on switchpi.org <http://switchpi.org> reguarding running FS on RaspPi
On 5/16/13 12:25 PM, "Lesley Pervis" <lesley.pervis@gmail.com <http://lesley.pervis@gmail.com> > wrote:
So I thought I'd try 1.2.9 mod_portaudio on RPi. Fresh install, running FS as root, with the only change to add mod_portaudio to modules.conf.xml, but mod_portaudio is unable to find devices. Alsa is working fine. I can aplay files and get output. Any ideas on how to get a somewhat stable branch of FS working with mod_portaudio?
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler <intralanman@freeswitch.org <http://intralanman@freeswitch.org> > wrote: > On 13-04-18 07:24 PM, Lesley Pervis wrote: >> > Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi >> > seem made for each other. >> > >> > Forgot to mention, I was building on the stable branch. > we're testing the latest version of portaudio in a branch right now. > feel free to test and comment your findings on > http://jira.freeswitch.org/browse/FS-3387 > > -Ray > > ________________________________________________________________________>>>>>>> _ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <http://consulting@freeswitch.org> > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > <http://FreeSWITCH-users@lists.freeswitch.org> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <http://FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
I agree, but I'm not sure where. You've had it working on Wheezy? I usually create a 'freeswitch' user and chown everything in /usr/local/freeswitch to be owned by it, along with /var/run/freeswitch and /var/lib/freeswitch. The freeswitch user is in the audio group. OSS kernel modules are loaded. I tried chowning everything to the 'pi' user as well in case there's something odd in Wheezy for created users, but nope. FS can't see devices running as the pi user either. On Mon, Jun 17, 2013 at 3:33 PM, Ken Rice <krice@freeswitch.org> wrote:
This sounds like a permissions issue
On 6/17/13 4:00 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
Has anyone got mod_portaudio to discover devices on Debian with FA running as non-root user?
When I run FS as root, devices discovered. When I run as pi or freeswitch ids, no devices discovered. Both users are in the audio group, oss kernel modules are loaded.
http://wiki.debian.org/SoundFAQ
On Fri, May 17, 2013 at 12:06 AM, Lesley Pervis <lesley.pervis@gmail.com> wrote:
Thanks for the pointers, Ken, I got it working on the stable branch. I'll add the info to the mod_portaudio wiki page when my wiki account application gets approved.
Found a great Ars Technica article on the Raspbian package building you mentioned.
http://arstechnica.com/information-technology/2013/03/how-two-volunteers-bui...
On Thu, May 16, 2013 at 1:25 PM, Ken Rice <krice@freeswitch.org> wrote:
yep no cross compiling... it takes a while lol... looking to get maybe the same platform the the raspbian guys use for building packages
Ken Sent from my iPad
On May 16, 2013, at 14:15, Lesley Pervis <lesley.pervis@gmail.com> wrote:
Great info, thanks.
Once I've got it working, I'll add a Raspberry Pi section to the wiki with the exact steps to get it working.
In the meantime, I think this page more or less explains what you're talking about.
http://wiki.debian.org/SoundFAQ
In summary, "apt-get install libasound2-dev alsa-oss" before compiling and either load the OSS modules by hand with "modprobe snd_pcm_oss" and "modprobe snd_mixer_oss" or add the OSS modules to /etc/modules so they load at boot.
You said on your voipusersconference appearance that you're not cross compiling. Still true? There's sure not much oomph to a Pi.
On Thu, May 16, 2013 at 12:16 PM, Ken Rice <krice@freeswitch.org> wrote:
It works... You need the oss kernel mod loaded in the kernel, and you need asound dev packages loaded then rebuild... Your USB device should then show up in pa devlist
I have some info on switchpi.org <http://switchpi.org> reguarding running FS on RaspPi
On 5/16/13 12:25 PM, "Lesley Pervis" <lesley.pervis@gmail.com < http://lesley.pervis@gmail.com> > wrote:
So I thought I'd try 1.2.9 mod_portaudio on RPi. Fresh install, running FS as root, with the only change to add mod_portaudio to modules.conf.xml, but mod_portaudio is unable to find devices. Alsa is working fine. I can aplay files and get output. Any ideas on how to get a somewhat stable branch of FS working with mod_portaudio?
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler < intralanman@freeswitch.org <http://intralanman@freeswitch.org> > wrote:
On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org < http://FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org < http://FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Its not just those directories you¹ll have a problem with... There are also permissions on the devices that are required for usb and other devices to work properly... USB devices may or may not have the correct perms for ${whatever} group/user to access them On 6/17/13 5:11 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
I agree, but I'm not sure where. You've had it working on Wheezy? I usually create a 'freeswitch' user and chown everything in /usr/local/freeswitch to be owned by it, along with /var/run/freeswitch and /var/lib/freeswitch. The freeswitch user is in the audio group. OSS kernel modules are loaded. I tried chowning everything to the 'pi' user as well in case there's something odd in Wheezy for created users, but nope. FS can't see devices running as the pi user either.
On Mon, Jun 17, 2013 at 3:33 PM, Ken Rice <krice@freeswitch.org> wrote:
This sounds like a permissions issue
On 6/17/13 4:00 PM, "Lesley Pervis" <lesley.pervis@gmail.com <http://lesley.pervis@gmail.com> > wrote:
Has anyone got mod_portaudio to discover devices on Debian with FA running as non-root user?
When I run FS as root, devices discovered. When I run as pi or freeswitch ids, no devices discovered. Both users are in the audio group, oss kernel modules are loaded.
http://wiki.debian.org/SoundFAQ
On Fri, May 17, 2013 at 12:06 AM, Lesley Pervis <lesley.pervis@gmail.com <http://lesley.pervis@gmail.com> > wrote:
Thanks for the pointers, Ken, I got it working on the stable branch. I'll add the info to the mod_portaudio wiki page when my wiki account application gets approved.
Found a great Ars Technica article on the Raspbian package building you mentioned. http://arstechnica.com/information-technology/2013/03/how-two-volunteers-bu ilt-the-raspberry-pis-operating-system/
On Thu, May 16, 2013 at 1:25 PM, Ken Rice <krice@freeswitch.org <http://krice@freeswitch.org> > wrote:
yep no cross compiling... it takes a while lol... looking to get maybe the same platform the the raspbian guys use for building packages
Ken Sent from my iPad
On May 16, 2013, at 14:15, Lesley Pervis <lesley.pervis@gmail.com <http://lesley.pervis@gmail.com> > wrote:
Great info, thanks.
Once I've got it working, I'll add a Raspberry Pi section to the wiki with the exact steps to get it working.
In the meantime, I think this page more or less explains what you're talking about.
http://wiki.debian.org/SoundFAQ
In summary, "apt-get install libasound2-dev alsa-oss" before compiling and either load the OSS modules by hand with "modprobe snd_pcm_oss" and "modprobe snd_mixer_oss" or add the OSS modules to /etc/modules so they load at boot.
You said on your voipusersconference appearance that you're not cross compiling. Still true? There's sure not much oomph to a Pi.
On Thu, May 16, 2013 at 12:16 PM, Ken Rice <krice@freeswitch.org <http://krice@freeswitch.org> > wrote: > It works... You need the oss kernel mod loaded in the kernel, and you > need asound dev packages loaded then rebuild... Your USB device should > then show up in pa devlist > > I have some info on switchpi.org <http://switchpi.org> > <http://switchpi.org> reguarding running FS on RaspPi > > > > > On 5/16/13 12:25 PM, "Lesley Pervis" <lesley.pervis@gmail.com > <http://lesley.pervis@gmail.com> <http://lesley.pervis@gmail.com> > > wrote: > So I thought I'd try 1.2.9 mod_portaudio on RPi. Fresh install, running FS as root, with the only change to add mod_portaudio to modules.conf.xml, but mod_portaudio is unable to find devices. Alsa is working fine. I can aplay files and get output. Any ideas on how to get a somewhat stable branch of FS working with mod_portaudio?
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler <intralanman@freeswitch.org <http://intralanman@freeswitch.org> <http://intralanman@freeswitch.org> > wrote: On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> <http://consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <http://FreeSWITCH-users@lists.freeswitch.org> <http://FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> <http://consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <http://FreeSWITCH-users@lists.freeswitch.org> <http://FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
OK, thanks, I'll look around. I'm just using the default device. Audio to line out. On Mon, Jun 17, 2013 at 4:20 PM, Ken Rice <krice@freeswitch.org> wrote:
Its not just those directories you’ll have a problem with... There are also permissions on the devices that are required for usb and other devices to work properly... USB devices may or may not have the correct perms for ${whatever} group/user to access them
On 6/17/13 5:11 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
I agree, but I'm not sure where. You've had it working on Wheezy? I usually create a 'freeswitch' user and chown everything in /usr/local/freeswitch to be owned by it, along with /var/run/freeswitch and /var/lib/freeswitch. The freeswitch user is in the audio group. OSS kernel modules are loaded. I tried chowning everything to the 'pi' user as well in case there's something odd in Wheezy for created users, but nope. FS can't see devices running as the pi user either.
On Mon, Jun 17, 2013 at 3:33 PM, Ken Rice <krice@freeswitch.org> wrote:
This sounds like a permissions issue
On 6/17/13 4:00 PM, "Lesley Pervis" <lesley.pervis@gmail.com < http://lesley.pervis@gmail.com> > wrote:
Has anyone got mod_portaudio to discover devices on Debian with FA running as non-root user?
When I run FS as root, devices discovered. When I run as pi or freeswitch ids, no devices discovered. Both users are in the audio group, oss kernel modules are loaded.
http://wiki.debian.org/SoundFAQ
On Fri, May 17, 2013 at 12:06 AM, Lesley Pervis <lesley.pervis@gmail.com < http://lesley.pervis@gmail.com> > wrote:
Thanks for the pointers, Ken, I got it working on the stable branch. I'll add the info to the mod_portaudio wiki page when my wiki account application gets approved.
Found a great Ars Technica article on the Raspbian package building you mentioned.
http://arstechnica.com/information-technology/2013/03/how-two-volunteers-bui...
On Thu, May 16, 2013 at 1:25 PM, Ken Rice <krice@freeswitch.org < http://krice@freeswitch.org> > wrote:
yep no cross compiling... it takes a while lol... looking to get maybe the same platform the the raspbian guys use for building packages
Ken Sent from my iPad
On May 16, 2013, at 14:15, Lesley Pervis <lesley.pervis@gmail.com < http://lesley.pervis@gmail.com> > wrote:
Great info, thanks.
Once I've got it working, I'll add a Raspberry Pi section to the wiki with the exact steps to get it working.
In the meantime, I think this page more or less explains what you're talking about.
http://wiki.debian.org/SoundFAQ
In summary, "apt-get install libasound2-dev alsa-oss" before compiling and either load the OSS modules by hand with "modprobe snd_pcm_oss" and "modprobe snd_mixer_oss" or add the OSS modules to /etc/modules so they load at boot.
You said on your voipusersconference appearance that you're not cross compiling. Still true? There's sure not much oomph to a Pi.
On Thu, May 16, 2013 at 12:16 PM, Ken Rice <krice@freeswitch.org < http://krice@freeswitch.org> > wrote:
It works... You need the oss kernel mod loaded in the kernel, and you need asound dev packages loaded then rebuild... Your USB device should then show up in pa devlist
I have some info on switchpi.org <http://switchpi.org> < http://switchpi.org> reguarding running FS on RaspPi
On 5/16/13 12:25 PM, "Lesley Pervis" <lesley.pervis@gmail.com < http://lesley.pervis@gmail.com> <http://lesley.pervis@gmail.com> > wrote:
So I thought I'd try 1.2.9 mod_portaudio on RPi. Fresh install, running FS as root, with the only change to add mod_portaudio to modules.conf.xml, but mod_portaudio is unable to find devices. Alsa is working fine. I can aplay files and get output. Any ideas on how to get a somewhat stable branch of FS working with mod_portaudio?
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler < intralanman@freeswitch.org <http://intralanman@freeswitch.org> < http://intralanman@freeswitch.org> > wrote: On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> < http://consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org < http://FreeSWITCH-users@lists.freeswitch.org> < http://FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> < http://consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org < http://FreeSWITCH-users@lists.freeswitch.org> < http://FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Sorry for the spam, but I thought I'd mention that I can aplay no problem from the command line as the 'freeswitch' user, and yet when FS is running as that user, no luck. On Mon, Jun 17, 2013 at 4:59 PM, Lesley Pervis <lesley.pervis@gmail.com>wrote:
OK, thanks, I'll look around. I'm just using the default device. Audio to line out.
On Mon, Jun 17, 2013 at 4:20 PM, Ken Rice <krice@freeswitch.org> wrote:
Its not just those directories you’ll have a problem with... There are also permissions on the devices that are required for usb and other devices to work properly... USB devices may or may not have the correct perms for ${whatever} group/user to access them
On 6/17/13 5:11 PM, "Lesley Pervis" <lesley.pervis@gmail.com> wrote:
I agree, but I'm not sure where. You've had it working on Wheezy? I usually create a 'freeswitch' user and chown everything in /usr/local/freeswitch to be owned by it, along with /var/run/freeswitch and /var/lib/freeswitch. The freeswitch user is in the audio group. OSS kernel modules are loaded. I tried chowning everything to the 'pi' user as well in case there's something odd in Wheezy for created users, but nope. FS can't see devices running as the pi user either.
On Mon, Jun 17, 2013 at 3:33 PM, Ken Rice <krice@freeswitch.org> wrote:
This sounds like a permissions issue
On 6/17/13 4:00 PM, "Lesley Pervis" <lesley.pervis@gmail.com < http://lesley.pervis@gmail.com> > wrote:
Has anyone got mod_portaudio to discover devices on Debian with FA running as non-root user?
When I run FS as root, devices discovered. When I run as pi or freeswitch ids, no devices discovered. Both users are in the audio group, oss kernel modules are loaded.
http://wiki.debian.org/SoundFAQ
On Fri, May 17, 2013 at 12:06 AM, Lesley Pervis <lesley.pervis@gmail.com< http://lesley.pervis@gmail.com> > wrote:
Thanks for the pointers, Ken, I got it working on the stable branch. I'll add the info to the mod_portaudio wiki page when my wiki account application gets approved.
Found a great Ars Technica article on the Raspbian package building you mentioned.
http://arstechnica.com/information-technology/2013/03/how-two-volunteers-bui...
On Thu, May 16, 2013 at 1:25 PM, Ken Rice <krice@freeswitch.org < http://krice@freeswitch.org> > wrote:
yep no cross compiling... it takes a while lol... looking to get maybe the same platform the the raspbian guys use for building packages
Ken Sent from my iPad
On May 16, 2013, at 14:15, Lesley Pervis <lesley.pervis@gmail.com < http://lesley.pervis@gmail.com> > wrote:
Great info, thanks.
Once I've got it working, I'll add a Raspberry Pi section to the wiki with the exact steps to get it working.
In the meantime, I think this page more or less explains what you're talking about.
http://wiki.debian.org/SoundFAQ
In summary, "apt-get install libasound2-dev alsa-oss" before compiling and either load the OSS modules by hand with "modprobe snd_pcm_oss" and "modprobe snd_mixer_oss" or add the OSS modules to /etc/modules so they load at boot.
You said on your voipusersconference appearance that you're not cross compiling. Still true? There's sure not much oomph to a Pi.
On Thu, May 16, 2013 at 12:16 PM, Ken Rice <krice@freeswitch.org < http://krice@freeswitch.org> > wrote:
It works... You need the oss kernel mod loaded in the kernel, and you need asound dev packages loaded then rebuild... Your USB device should then show up in pa devlist
I have some info on switchpi.org <http://switchpi.org> < http://switchpi.org> reguarding running FS on RaspPi
On 5/16/13 12:25 PM, "Lesley Pervis" <lesley.pervis@gmail.com < http://lesley.pervis@gmail.com> <http://lesley.pervis@gmail.com> > wrote:
So I thought I'd try 1.2.9 mod_portaudio on RPi. Fresh install, running FS as root, with the only change to add mod_portaudio to modules.conf.xml, but mod_portaudio is unable to find devices. Alsa is working fine. I can aplay files and get output. Any ideas on how to get a somewhat stable branch of FS working with mod_portaudio?
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler < intralanman@freeswitch.org <http://intralanman@freeswitch.org> < http://intralanman@freeswitch.org> > wrote: On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> < http://consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org < http://FreeSWITCH-users@lists.freeswitch.org> < http://FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> < http://consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org < http://FreeSWITCH-users@lists.freeswitch.org> < http://FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Lesley Pervis wrote
Sorry for the spam, but I thought I'd mention that I can aplay no problem from the command line as the 'freeswitch' user, and yet when FS is running as that user, no luck.
Exactly seven years after your last post here, I'm there to ask if you finally succeeded to resolve the issue? My case: 1. Pi-4 with Raspbian buster und latest related FreeSwitch distribution, apt-upgraded and updated just yesterday 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 issue as both pi and freeswitch are in the audio group and related devices under /dev/snd are in that group 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! -- Sent from: http://freeswitch-users.2379917.n2.nabble.com/
I'm in the same boat with portaudio when it's started with systemd. When I disable it as a service and start it from the command line, pa devlist does return a list of devices. Still workingon getting a call from portaudio to a station and vice versa. Calling a station from portaudio device goes to voicemail and in reverse direction I never get a ring indication, just music on hold. On Tue, Jun 30, 2020 at 8:21 PM saiedt <saied.tazari@gmail.com> wrote:
Lesley Pervis wrote
Sorry for the spam, but I thought I'd mention that I can aplay no problem from the command line as the 'freeswitch' user, and yet when FS is running as that user, no luck.
Exactly seven years after your last post here, I'm there to ask if you finally succeeded to resolve the issue? My case:
1. Pi-4 with Raspbian buster und latest related FreeSwitch distribution, apt-upgraded and updated just yesterday
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 issue as both pi and freeswitch are in the audio group and related devices under /dev/snd are in that group
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!
-- Sent from: http://freeswitch-users.2379917.n2.nabble.com/
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
Raymond, I think I found the right commit for your branch. I'll give it a whirl on the Pi. b514f62ed6c00949f407fda64abbf643681af4ee refs/heads/FS-3387_new_pa On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler < intralanman@freeswitch.org> wrote:
On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I've chasing this rabbit for some time but latest pa fails to compile on MacOSX Montain Lion.... That's a bitch João Mesquita FreeSWITCH™ Solutions On Thu, May 16, 2013 at 2:42 PM, Lesley Pervis <lesley.pervis@gmail.com>wrote:
Raymond, I think I found the right commit for your branch. I'll give it a whirl on the Pi.
b514f62ed6c00949f407fda64abbf643681af4ee refs/heads/FS-3387_new_pa
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler < intralanman@freeswitch.org> wrote:
On 13-04-18 07:24 PM, Lesley Pervis wrote:
Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi seem made for each other.
Forgot to mention, I was building on the stable branch. we're testing the latest version of portaudio in a branch right now. feel free to test and comment your findings on http://jira.freeswitch.org/browse/FS-3387
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (6)
-
João Mesquita
-
Ken Rice
-
Lesley Pervis
-
Raymond Chandler
-
saiedt
-
Tom Lynn