Last active
January 23, 2020 18:16
-
-
Save muxlux/e3c3c50650ecff76b9a39bb13aaa65fb to your computer and use it in GitHub Desktop.
OLA on RPI w/FTDI Support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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