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-built-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