<div dir="ltr">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.<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 17, 2013 at 3:33 PM, Ken Rice <span dir="ltr"><<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font face="Monaco, Courier New"><span style="font-size:11pt">This sounds like a permissions issue<div class="im"><br>
<br>
<br>
On 6/17/13 4:00 PM, "Lesley Pervis" <<a href="http://lesley.pervis@gmail.com" target="_blank">lesley.pervis@gmail.com</a>> wrote:<br>
<br>
</div></span></font><blockquote><div class="im"><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" target="_blank">http://wiki.debian.org/SoundFAQ</a><br>
<br>
<br>
On Fri, May 17, 2013 at 12:06 AM, Lesley Pervis <<a href="http://lesley.pervis@gmail.com" target="_blank">lesley.pervis@gmail.com</a>> wrote:<br>
</span></font></div><blockquote><div class="im"><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/" target="_blank">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 <<a href="http://krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>> wrote:<br>
</span></font></div><blockquote><div class="im"><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 <<a href="http://lesley.pervis@gmail.com" target="_blank">lesley.pervis@gmail.com</a>> wrote:<br>
<br>
</span></font></div><blockquote><div class="im"><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" target="_blank">http://wiki.debian.org/SoundFAQ</a><br>
<br>
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.<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 <<a href="http://krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>> wrote:<br>
</span></font></div><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt"><div class="im">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></div>
I have some info on <a href="http://switchpi.org" target="_blank">switchpi.org</a> <<a href="http://switchpi.org" target="_blank">http://switchpi.org</a>> reguarding running FS on RaspPi<div class="im"><br>
<br>
<br>
<br>
On 5/16/13 12:25 PM, "Lesley Pervis" <<a href="http://lesley.pervis@gmail.com" target="_blank">lesley.pervis@gmail.com</a> <<a href="http://lesley.pervis@gmail.com" target="_blank">http://lesley.pervis@gmail.com</a>> > wrote:<br>
<br>
</div></span></font><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt"><div class="im">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></div><div class="im">
On Fri, Apr 19, 2013 at 9:50 AM, Raymond Chandler <<a href="http://intralanman@freeswitch.org" target="_blank">intralanman@freeswitch.org</a> <<a href="http://intralanman@freeswitch.org" target="_blank">http://intralanman@freeswitch.org</a>> > wrote:<br>
</div></span></font><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt"><div class="im">On 13-04-18 07:24 PM, Lesley Pervis wrote:<br>
> Wow, that's great, thanks. Hadn't heard of switchpi yet. FS and pi<br>
> seem made for each other.<br>
><br>
> 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" target="_blank">http://jira.freeswitch.org/browse/FS-3387</a><br>
<br>
-Ray<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
</div><a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a> <<a href="http://consulting@freeswitch.org" target="_blank">http://consulting@freeswitch.org</a>> <br><div class="im">
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
</div><a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a> <<a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">http://FreeSWITCH-users@lists.freeswitch.org</a>> <br>
<div class="im">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></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><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><div class="im">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
</div><a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a> <<a href="http://consulting@freeswitch.org" target="_blank">http://consulting@freeswitch.org</a>> <br><div class="im">
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
</div><a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a> <<a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">http://FreeSWITCH-users@lists.freeswitch.org</a>> <br>
<div class="im">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></span></font></font></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><div class="im"><font><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" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
</u></font><a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
</span></font>
</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>