-
Notifications
You must be signed in to change notification settings - Fork 8
SVXLink Notes
Install SVX Link
-
sudo apt-get update
-
sudo apt-get install g++ make libsigc++-2.0-dev libgsm1-dev libpopt-dev tcl8.5-dev libgcrypt11-dev libspeex-dev libasound2-dev alsa-utils vorbis-tools
-
mkdir ~/downloads/
-
cd downloads
-
wget http://sourceforge.net/projects/svxlink/files/svxlink/13.12/svxlink-13.12.tar.gz
-
tar xvzf svxlink-13.12.tar.gz
-
cd svxlink-13.12
-
sudo make
-
sudo make install
-
(Delete svxlink-13.12.tar.gz for Downloads?)
-
cd ~/downloads/
-
cd /usr/share/svxlink/sounds
-
sudo tar -xvjpf ~/downloads/svxlink-sounds-en_US-heather-16k-13.12.tar.bz2
-
sudo ln -s en_US-heather-16k en_US
-
rm ~/downloads/svxlink-sounds-en_US-heather-16k-13.12.tar.bz2
-
Comment out settings in ALSA conf file to allow USB audio device over built in audio out.
-
Move svxlink config files from /etc/svxlink to web root, create a symbolic link in its place.
USING GPIO
GPIO (General Purpose IO) is used to access hardware pins that are made available for example on an embedded system. Before starting to use a pin in SvxLink some setup need to be done in the operating system. The example below will set up pin 31 as an output for PTT use. Make sure that the commands are run as user root.
Enable the pin for GPIO: sudo echo 18 > /sys/class/gpio/export sudo echo out > /sys/class/gpio/gpio18/direction sudo chown pi /sys/class/gpio/gpio18/value
echo 1 > /sys/class/gpio/gpio18/value echo 0 > /sys/class/gpio/gpio18/value
These steps have to be performed whenever the system is rebooted. Putting the commands in a script is recommended.
CHANGE VALUES IN SVXLINK.CONF