Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

OLAGuruPlug

From wiki.openlighting.org

Revision as of 22:55, 20 May 2010 by Nomis52 (talk | contribs)
Jump to: navigation, search
Gurplug-anyma.jpg


This describes how to setup OLA installed on a GuruPlug. These devices make excellent low cost DMX512 nodes.


Prerequisites

This assumes you have a shell on the guru plug and that it can contact the internet to download the packages. Note that the default guru plug is insecure and comes with a lot of extras (samba, mysql, lighthttpd etc.) that aren't required. Fixing this is outside the scope of this tutorial.

Installation

Add the following line to /etc/apt/sources.list:

 deb http://www.nomis52.net/data/ola-arm ./


Then apt-get install ola:

 $ apt-get update
 $ apt-get install olad

Setup

Add a user ola for the daemon to run as:

 $ adduser ola 

If you intend to use USB devices, you need to add this user to the plugdev & dialout groups. Modify the lines in /etc/group:

 dialout:x:20:ola
 plugdev:x:46:ola

Finally add any udev rules that you'll need. See OLA Device Specific Configuration

Running

Change to the ola user and the start the daemon:

 $ su ola
 $ olad -l 3