Skip to content
Aaron Crawford edited this page May 29, 2014 · 6 revisions

Install SVX Link

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

Clone this wiki locally