<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] mod_portaudio on Raspberry Pi currently broken?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>This sounds like a permissions issue<BR>
<BR>
<BR>
On 6/17/13 4:00 PM, &quot;Lesley Pervis&quot; &lt;<a href="lesley.pervis@gmail.com">lesley.pervis@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Has anyone got mod_portaudio to discover devices on Debian with FA running as non-root user?<BR>
<BR>
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.<BR>
<BR>
<a href="http://wiki.debian.org/SoundFAQ">http://wiki.debian.org/SoundFAQ</a><BR>
<BR>
<BR>
On Fri, May 17, 2013 at 12:06 AM, Lesley Pervis &lt;<a href="lesley.pervis@gmail.com">lesley.pervis@gmail.com</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>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.<BR>
<BR>
Found a great Ars Technica article on the Raspbian package building you mentioned.<BR>
<a href="http://arstechnica.com/information-technology/2013/03/how-two-volunteers-built-the-raspberry-pis-operating-system/">http://arstechnica.com/information-technology/2013/03/how-two-volunteers-built-the-raspberry-pis-operating-system/</a><BR>
<BR>
<BR>
<BR>
On Thu, May 16, 2013 at 1:25 PM, Ken Rice &lt;<a href="krice@freeswitch.org">krice@freeswitch.org</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>yep no cross compiling... it takes a while lol... looking to get maybe the same platform the the raspbian guys use for building packages<BR>
<BR>
Ken<BR>
Sent from my iPad<BR>
<BR>
On May 16, 2013, at 14:15, Lesley Pervis &lt;<a href="lesley.pervis@gmail.com">lesley.pervis@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Great info, thanks.<BR>
<BR>
Once I've got it working, I'll add a Raspberry Pi section to the wiki with the exact steps to get it working.<BR>
<BR>
In the meantime, I think this page more or less explains what you're talking about.<BR>
<BR>
<a href="http://wiki.debian.org/SoundFAQ">http://wiki.debian.org/SoundFAQ</a><BR>
<BR>
In summary, &quot;apt-get install libasound2-dev alsa-oss&quot; before compiling and either load the OSS modules by hand with &quot;modprobe snd_pcm_oss&quot; and &quot;modprobe snd_mixer_oss&quot; or add the OSS modules to /etc/modules so they load at boot.<BR>
<BR>
You said on your voipusersconference appearance that you're not cross compiling. Still true? There's sure not much oomph to a Pi.<BR>
<BR>
<BR>
On Thu, May 16, 2013 at 12:16 PM, Ken Rice &lt;<a href="krice@freeswitch.org">krice@freeswitch.org</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>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<BR>
<BR>
I have some info on switchpi.org &lt;<a href="http://switchpi.org">http://switchpi.org</a>&gt; &nbsp;reguarding running FS on RaspPi<BR>
<BR>
<BR>
<BR>
On 5/16/13 12:25 PM, &quot;Lesley Pervis&quot; &lt;<a href="lesley.pervis@gmail.com">lesley.pervis@gmail.com</a> &lt;<a href="http://lesley.pervis@gmail.com">http://lesley.pervis@gmail.com</a>&gt; &gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>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?<BR>
<BR>
<BR>
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler &lt;<a href="intralanman@freeswitch.org">intralanman@freeswitch.org</a> &lt;<a href="http://intralanman@freeswitch.org">http://intralanman@freeswitch.org</a>&gt; &gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>On 13-04-18 07:24 PM, Lesley Pervis wrote:<BR>
&gt; Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi<BR>
&gt; seem made for each other.<BR>
&gt;<BR>
&gt; Forgot to mention, I was building on the stable branch.<BR>
we're testing the latest version of portaudio in a branch right now.<BR>
feel free to test and comment your findings on<BR>
<a href="http://jira.freeswitch.org/browse/FS-3387">http://jira.freeswitch.org/browse/FS-3387</a><BR>
<BR>
-Ray<BR>
<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;<a href="http://consulting@freeswitch.org">http://consulting@freeswitch.org</a>&gt; <BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> &lt;<a href="http://FreeSWITCH-users@lists.freeswitch.org">http://FreeSWITCH-users@lists.freeswitch.org</a>&gt; <BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;<a href="http://consulting@freeswitch.org">http://consulting@freeswitch.org</a>&gt; <BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> &lt;<a href="http://FreeSWITCH-users@lists.freeswitch.org">http://FreeSWITCH-users@lists.freeswitch.org</a>&gt; <BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
</SPAN></FONT>
</BODY>
</HTML>