Skip to content

Instantly share code, notes, and snippets.

@muxlux
Last active January 23, 2020 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muxlux/e3c3c50650ecff76b9a39bb13aaa65fb to your computer and use it in GitHub Desktop.
Save muxlux/e3c3c50650ecff76b9a39bb13aaa65fb to your computer and use it in GitHub Desktop.
OLA on RPI w/FTDI Support
#!/bin/bash
sudo apt update
sudo apt upgrade
sudo apt-get install automake libtool bison flex libcppunit-dev libprotobuf-dev libprotoc-dev protobuf-compiler protobuf-c-compiler uuid-dev libmicrohttpd-dev libftdi-dev
sudo apt-get build-dep ola
mkdir ola
cd ola
wget https://github.com/OpenLightingProject/ola/archive/0.10.7.tar.gz
tar xvfz 0.10.7.tar.gz
cd ola-0.10.7
#libtoolize
autoreconf -i
./configure --prefix=/usr --enable-python-libs --enable-rdm-tests --disable-root-check
make -j 4 all
sudo make install
sudo ldconfig
# udev rule
sudo echo 'SUBSYSTEM=="usb|usb_device", ACTION=="add", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", GROUP="plugdev"' >/etc/udev/rules.d/40-dmx.rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment