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.

Difference between revisions of "LLA, OpenDMX USB and Q Light Controller Tutorial"

From wiki.openlighting.org

Jump to: navigation, search
(Build and install the usb kernel module)
(Download and install LLA)
Line 14: Line 14:
 
Best Site good looking <a href=" http://www.justin.tv/makaylas/profile ">hard sex tube</a>  %[[[
 
Best Site good looking <a href=" http://www.justin.tv/makaylas/profile ">hard sex tube</a>  %[[[
  
==Download and install LLA==
+
magic story very thanks <a href=" http://iewumu.notlong.com ">sites like tube8</a> 8[[[ <a href=" http://ueghay.notlong.com ">free xmovies</a> ktrak <a href=" http://aiwuhu.notlong.com ">free xrated</a> 440 <a href=" http://eimoos.notlong.com ">freexnxx bangedup</a> 607897 <a href=" http://mahghav.notlong.com ">xhamsters videos</atgy
LLA is Linux Lighting Architecture, a general framework for lighting applications in Linux.  It's available as a live CD, but we're just using the package as a way to interface QLC with the USB driver.  More info about LLA on its webpage.
 
 
 
===Install the packages===
 
====Ubuntu====
 
There are debian packages available at the time of writing.  Add the packages to your sources file:
 
 
 
<code><pre>
 
sudo gedit /etc/apt/sources.list
 
</pre></code>
 
 
 
Add the following line at the end:
 
 
 
<code><pre>
 
deb http://www.nomis52.net/data/debian ./
 
</pre></code>
 
 
 
Install the packages:
 
 
 
<code><pre>
 
sudo apt-get update
 
sudo apt-get install liblla0 llad llad-console lla-examples
 
</pre></code>
 
 
 
====Centos/Fedora====
 
There are packages available for CentOS 4 and 5 and Fedora 5,6,7 & 8 at the time of writing.  You need to add the netmindz.net repo to yum
 
 
 
<code><pre>
 
yum install http://rpms.netmindz.net/all/noarch/RPMS.netmindz/netmindz-repo-1.1.3-1.noarch.rpm
 
</pre></code>
 
 
 
This will create a new file in /etc/yum.repos.d/netmindz.repo and register the GPG key used to sign netmindz.net packages
 
 
 
 
 
Install the packages:
 
 
 
<code><pre>
 
yum install lla llad-console lla-examples
 
</pre></code>
 
 
 
===Test the installation===
 
With your dongle connected as in section 3, you're now ready to test.  Connect a DMX device up to your dongle, make sure you know the channel number it's on, make sure it's working correctly, make sure you got the polarity in your DMX lead right, etc. etc.  Being sure that the dongle/hardware/software combination is the only weak link will save a lot of hair-pulling...
 
 
 
Fix the permissions on /dev/dmx:
 
 
 
chmod a+rw /dev/dmx
 
 
 
First, start the daemon with debug mode on:
 
 
 
llad -d 3 -f -s
 
 
 
Next, in another terminal find out what number the OpenDMX device is:
 
 
 
<code><pre>
 
lla_dev_info
 
</pre></code>
 
 
 
you should get something like:
 
 
 
<pre>
 
Device 2: Open DMX USB Device
 
</pre>
 
 
 
If you can't see 'Open DMX USB Device' in there somewhere, then you haven't got the kernel driver installed properly. Go straight to jail, do not pass go.
 
 
 
Assuming everything is OK, you need to patch this device so we can use it:
 
 
 
<code><pre>
 
lla_patch -d2 -p0 -u0
 
</pre></code>
 
 
 
(replace -d2 with whichever device number is your Open DMX USB)
 
 
 
now do:
 
 
 
<code><pre>
 
lla_dev_info
 
</pre></code>
 
 
 
and it should say
 
 
 
<code><pre>
 
Device 2: Open DMX USB Device
 
  port 0, cap OUT, universe 1
 
</pre></code>
 
 
 
Finally:
 
 
 
<code><pre>
 
lla_dmxconsole
 
</pre></code>
 
 
 
and play with the console!
 
 
 
Don't forget to remove your test patch afterwards:
 
 
 
<code><pre>
 
lla_patch -r -d2 -p0 -u0
 
</pre></code>
 
  
 
==Download and install the latest build of QLC==
 
==Download and install the latest build of QLC==

Revision as of 19:55, 13 January 2009


It's serious <a href=" http://www.justin.tv/mariasa/profile ">lesbian tube porn video</a> 8-)

I'm happy very good site <a href=" http://ru.justin.tv/joseffxz/profile ">free yobt porn</a> 911

this is be cool 8) <a href=" http://www.justin.tv/nicolena/profile ">animal porn tubes</a> fljyv

Hi! its cool blya! http://eduzei.notlong.com http://giecia.notlong.com http://aloosa.notlong.com

Best Site good looking <a href=" http://www.justin.tv/makaylas/profile ">hard sex tube</a>  %[[[

magic story very thanks <a href=" http://iewumu.notlong.com ">sites like tube8</a> 8[[[ <a href=" http://ueghay.notlong.com ">free xmovies</a> ktrak <a href=" http://aiwuhu.notlong.com ">free xrated</a> 440 <a href=" http://eimoos.notlong.com ">freexnxx bangedup</a> 607897 <a href=" http://mahghav.notlong.com ">xhamsters videos</a> tgy

Download and install the latest build of QLC

Ubuntu

Finally! There are Ubuntu/Debian packages, but at the time of writing they're not the most up-to-date and don't include the LLA plugin. You could compile from source, but the most recent RPM packages work fine and save time and hassle.

cd ~/dmx-software
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm

Update: the above source is currently not working. You will need to find a version of QLC with the LLA patches, try http://www.lpcollier.net/QLC_OpenDMX.html or contacting the QLC development mailing list https://lists.sourceforge.net/lists/listinfo/qlc-devel

Update update: the source above is back online, so if you prefer to download the rpm and use alien you can, or else download the deb file from Lee Collier's site http://www.lpcollier.net/QLC_OpenDMX.html and skip the next step.

sudo alien qlc-2.6.1-2.fc6.i386.rpm

wait a long time... (don't worry about the warnings)... then:

sudo dpkg -i qlc-2.6.1-2.fc6.i386.deb
sudo apt-get install libqt3-mt

Centos/Fedora

yum install qlc


Now try it:

sudo qlc &

QLC should run OK. Don't get too excited yet, there's one more step...

Put it all together

We now need a script that will start the lla daemon, patch the adaptor to the DMX universe (QLC uses 1 by default, LLA uses 0) and start QLC. This should do it:

#!/bin/bash
gksudo killall llad
sleep 2s
sudo llad
sleep 5s
sudo lla_patch -d2 -p0 -u1
sleep 2s
sudo qlc &

save it as something memorable (I use qlc-start) and make sure it's executable:

chmod u+x qlc-start

and you're away!