<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.openlighting.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lpcollier</id>
		<title>wiki.openlighting.org - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.openlighting.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lpcollier"/>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php/Special:Contributions/Lpcollier"/>
		<updated>2026-04-28T20:34:58Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=5849</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=5849"/>
				<updated>2015-10-26T17:20:20Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: /* Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
=== Old tutorial, look for new methods ===&lt;br /&gt;
&lt;br /&gt;
Since this tutorial was made, [[QLC]] from v. 3.0.4 comes with a driver for Enttec Open DMX USB (in a plugin called FTDI), and LLA changed name to [[OLA]].&lt;br /&gt;
See the mailing list archive of &amp;quot;QLC-devel&amp;quot; for more info for now (January 2010).&lt;br /&gt;
&lt;br /&gt;
It should no longer be necessary to use [[OLA]] together with a Linux kernel driver, if you just want DMX output from [[QLC]] to an OpenDMX USB dongle attached to the same computer that runs QLC. However, if you want to use [[OLA]] with an OpenDMX USB dongle, you need to follow both the instructions for building the driver below and the new tutorial on installing [[OLA on Linux]].&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
To show the steps to get the Enttec Open DMX USB interface working with the Linux Lighting Architecture, a general framework for lighting applications in Linux(LLA), via Erwin Rol's driver. Also getting the Q Lighting Controller (QLC) to work with LLA.  This allows QLC to be used with the Enttec OpenDMX USB interfaces on a 2.6 kernel, for which dmx4linux is not yet fully working.&lt;br /&gt;
&lt;br /&gt;
This may also be useful for people with a different interface supported by LLA who need some pointers on how to get LLA working with QLC, in which case you need only read from &amp;quot;Download and install LLA&amp;quot; onwards.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  The other alternative is to use LLA, but this requires a separate computer for the Live CD.&lt;br /&gt;
&lt;br /&gt;
LLA is available as packages for a standard distro, but needs an extra driver to work with Enttec OpenDMX USB, which is included on the Live CD but not in the standard packages.&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
It would be really useful if users of other distros could modify this tutorial to make it more universal, or create other pages for distro-specific information.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Install one of the supported linux distributions onto your machine: Ubuntu [http://www.ubuntu.com],  Fedora [http://www.fedoraproject.org] or CentOS [http://www.centos.org]&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
Ubuntu:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Centos/Fedora:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Kernel===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
Ubuntu:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also need these:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Centos/Fedora:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install kernel-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Alien (Ubuntu only)===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
Ubuntu:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Centos/Fedora:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install buildsys-build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
Erwil Rol's driver allows the Enttec OpenDMX USB driver to work with LLA.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git clone git://github.com/lowlander/dmx_usb_module.git&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
sudo cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
sudo depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kernel 2.6.37 and newer kernels ====&lt;br /&gt;
'''This should no longer be required if you are using the newer code from git://github.com/lowlander/dmx_usb_module.git; indeed the newer code has been confirmed to compile on a 3.1.9 kernel.''' The info below is left for historic reference:&lt;br /&gt;
&lt;br /&gt;
* save as &amp;quot;dmx_usb,patch&amp;quot;&lt;br /&gt;
* patch &amp;lt; dmx_usb,patch&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
--- ../b/dmx_usb.c	2011-08-28 20:27:57.929828288 +0300&lt;br /&gt;
+++ dmx_usb.c	2011-08-28 20:32:41.075288289 +0300&lt;br /&gt;
@@ -93,7 +93,7 @@&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 /* prevent races between open() and disconnect() */&lt;br /&gt;
-static DECLARE_MUTEX (disconnect_sem);&lt;br /&gt;
+static DEFINE_SEMAPHORE(disconnect_sem);&lt;br /&gt;
 &lt;br /&gt;
 /* local function prototypes */&lt;br /&gt;
 //static ssize_t dmx_usb_read	(struct file *file, char *buffer, size_t count, loff_t *ppos);&lt;br /&gt;
@@ -121,7 +121,7 @@&lt;br /&gt;
 &lt;br /&gt;
 	/* .read =		dmx_usb_read, */ &lt;br /&gt;
 	.write =	dmx_usb_write,&lt;br /&gt;
-	.ioctl =	dmx_usb_ioctl,&lt;br /&gt;
+	.unlocked_ioctl =	dmx_usb_ioctl,&lt;br /&gt;
 	.open =		dmx_usb_open,&lt;br /&gt;
 	.release =	dmx_usb_release,&lt;br /&gt;
 };&lt;br /&gt;
@@ -618,7 +618,7 @@&lt;br /&gt;
 	}&lt;br /&gt;
 	memset (dev, 0x00, sizeof (*dev));&lt;br /&gt;
 &lt;br /&gt;
-	init_MUTEX (&amp;amp;dev-&amp;gt;sem);&lt;br /&gt;
+	sema_init(&amp;amp;dev-&amp;gt;sem, 1);&lt;br /&gt;
 	dev-&amp;gt;udev = udev;&lt;br /&gt;
 	dev-&amp;gt;interface = interface;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
====Ubuntu====&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Centos/Fedora====&lt;br /&gt;
I do not know of any blacklisting in redhat based distros so just delete the offending module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mv /lib/modules/`uname -r`/kernel/drivers/usb/serial/ftdi_sio.ko /lib/modules/`uname -r`/kernel/drivers/usb/serial/ftdi_sio.ko.disabled&lt;br /&gt;
depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package (Ubuntu only)===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install LLA==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
====Ubuntu====&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Centos/Fedora====&lt;br /&gt;
There are packages available for CentOS 4 and 5 and Fedora 5,6,7 &amp;amp; 8 at the time of writing.  You need to add the netmindz.net repo to yum&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install http://rpms.netmindz.net/all/noarch/RPMS.netmindz/netmindz-repo-1.1.3-1.noarch.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will create a new file in /etc/yum.repos.d/netmindz.repo and register the GPG key used to sign netmindz.net packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install lla llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
Fix the permissions on /dev/dmx:&lt;br /&gt;
&lt;br /&gt;
 chmod a+rw /dev/dmx&lt;br /&gt;
&lt;br /&gt;
First, start the daemon with debug mode on:&lt;br /&gt;
&lt;br /&gt;
 llad -d 3 -f -s&lt;br /&gt;
&lt;br /&gt;
Next, in another terminal find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
====Ubuntu====&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.deb&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Centos/Fedora====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install qlc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2193</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2193"/>
				<updated>2007-10-11T20:27:59Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
To show the special steps to get the Enttec Open DMX USB interface working with LLA via Erwin Rol's driver, then get QLC to work with LLA.  This allows QLC to be used with the Enttec OpenDMX USB interfaces on a 2.6 kernel, for which dmx4linux is not yet fully working.&lt;br /&gt;
&lt;br /&gt;
This may also be useful for people with a different interface supported by LLA who need some pointers on how to get LLA working with QLC, in which case you only need follow from &amp;quot;Download and install LLA&amp;quot; onwards.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  The other alternative is to use LLA, but this requires a separate computer for the Live CD.&lt;br /&gt;
&lt;br /&gt;
LLA is available as packages for a standard distro, but needs an extra driver to work with Enttec OpenDMX USB, which is included on the Live CD but not in the standard packages.&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
It would be really useful if users of other distros could modify this tutorial to make it more universal, or create other pages for distro-specific information.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
Erwil Rol's driver allows the Enttec OpenDMX USB driver to work with LLA.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
sudo cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
sudo depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install LLA==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
Fix the permissions on /dev/dmx:&lt;br /&gt;
&lt;br /&gt;
 chmod a+rw /dev/dmx&lt;br /&gt;
&lt;br /&gt;
First, start the daemon with debug mode on:&lt;br /&gt;
&lt;br /&gt;
 llad -d 3 -f -s&lt;br /&gt;
&lt;br /&gt;
Next, in another terminal find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''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&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2192</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2192"/>
				<updated>2007-10-11T20:10:24Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
To show the special steps to get the Enttec Open DMX USB interface working with LLA via Erwin Rol's driver, then get QLC to work with LLA.  This allows QLC to be used with the Enttec OpenDMX USB interfaces on a 2.6 kernel, for which dmx4linux is not yet fully working.&lt;br /&gt;
&lt;br /&gt;
This may also be useful for people with a different interface supported by LLA who need some pointers on how to get LLA working with QLC, in which case you only need follow from &amp;quot;Download and install LLA&amp;quot; onwards.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  The other alternative is to use LLA, but this requires a separate computer for the Live CD.&lt;br /&gt;
&lt;br /&gt;
LLA is available as packages for a standard distro, but needs an extra driver to work with Enttec OpenDMX USB, which is included on the Live CD but not in the standard packages.&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
It would be really useful if users of other distros could modify this tutorial to make it more universal, or create other pages for distro-specific information.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
Erwil Rol's driver allows the Enttec OpenDMX USB driver to work with LLA.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
sudo cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
sudo depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install LLA==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
Fix the permissions on /dev/dmx:&lt;br /&gt;
&lt;br /&gt;
 chmod a+rw /dev/dmx&lt;br /&gt;
&lt;br /&gt;
First, start the daemon with debug mode on:&lt;br /&gt;
&lt;br /&gt;
 llad -d 3 -f -s&lt;br /&gt;
&lt;br /&gt;
Next, in another terminal find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Update:''' the above source is currently not working.  You will need to find a version of QLC with the LLA patches, try emailing the original author of this tutorial (lee@lpcollier.net) or contacting the QLC development mailing list https://lists.sourceforge.net/lists/listinfo/qlc-devel&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2157</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2157"/>
				<updated>2007-08-13T12:03:00Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: /* Put it all together */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
To show the special steps to get the Enttec Open DMX USB interface working with LLA via Erwin Rol's driver, then get QLC to work with LLA.  This allows QLC to be used with the Enttec OpenDMX USB interfaces on a 2.6 kernel, for which dmx4linux is not yet fully working.&lt;br /&gt;
&lt;br /&gt;
This may also be useful for people with a different interface supported by LLA who need some pointers on how to get LLA working with QLC, in which case you only need follow from &amp;quot;Download and install LLA&amp;quot; onwards.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  The other alternative is to use LLA, but this requires a separate computer for the Live CD.&lt;br /&gt;
&lt;br /&gt;
LLA is available as packages for a standard distro, but needs an extra driver to work with Enttec OpenDMX USB, which is included on the Live CD but not in the standard packages.&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
It would be really useful if users of other distros could modify this tutorial to make it more universal, or create other pages for distro-specific information.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
Erwil Rol's driver allows the Enttec OpenDMX USB driver to work with LLA.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
sudo cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
sudo depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install LLA==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;br /&gt;
&lt;br /&gt;
TODO: it should be possible to run LLA/QLC as a non-privileged user provided that permissions are set appropriately.&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2155</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2155"/>
				<updated>2007-08-13T08:56:20Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
To show the special steps to get the Enttec Open DMX USB interface working with LLA via Erwin Rol's driver, then get QLC to work with LLA.  This allows QLC to be used with the Enttec OpenDMX USB interfaces on a 2.6 kernel, for which dmx4linux is not yet fully working.&lt;br /&gt;
&lt;br /&gt;
This may also be useful for people with a different interface supported by LLA who need some pointers on how to get LLA working with QLC, in which case you only need follow from &amp;quot;Download and install LLA&amp;quot; onwards.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  The other alternative is to use LLA, but this requires a separate computer for the Live CD.&lt;br /&gt;
&lt;br /&gt;
LLA is available as packages for a standard distro, but needs an extra driver to work with Enttec OpenDMX USB, which is included on the Live CD but not in the standard packages.&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
It would be really useful if users of other distros could modify this tutorial to make it more universal, or create other pages for distro-specific information.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
Erwil Rol's driver allows the Enttec OpenDMX USB driver to work with LLA.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install LLA==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=Open_Lighting_Architecture&amp;diff=2154</id>
		<title>Open Lighting Architecture</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=Open_Lighting_Architecture&amp;diff=2154"/>
				<updated>2007-08-13T08:55:14Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Link: http://www.nomis52.net/?section=projects&amp;amp;sect2=lla&amp;amp;page=llaintro &amp;lt;br&amp;gt;&lt;br /&gt;
{{Features|free=yes|tx=yes|rx=yes|linux=yes}}&lt;br /&gt;
[[Image:Llad_home.png|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
LLA Live is a stand-alone bootable cd containing software from the Linux Lighting Architecture project.&lt;br /&gt;
&lt;br /&gt;
LLA allows DMX sent using various DMX over IP protocols to be converted from one format to another. This enables devices from different manufacturers to talk to each another (for example a [[Strand_Lighting|Strand]] Console can send DMX to an [[Enttec]] [[DmxEtherGate MKII|EtherGate]]).&lt;br /&gt;
&lt;br /&gt;
When combined with a physical DMX interface such as the [[DMX USB Pro]], LLA Live can send and receive data from traditional wired DMX networks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Supported Devices/Protocols:&amp;lt;/b&amp;gt;&lt;br /&gt;
* [[:Category:ArtNet|ArtNet]]&lt;br /&gt;
* [[:Category:ShowNet|ShowNet]]&lt;br /&gt;
* [[:Category:ESP Net|ESP Net]]&lt;br /&gt;
* [[:Category:Sandnet|Sandnet]]&lt;br /&gt;
* [[DMX USB Pro]]&lt;br /&gt;
* [[Open DMX USB]] (through the [http://www.erwinrol.com/index.php?opensource/dmxusb.php Linux kernel module from Erwin Rol], as detailed in [[LLA, OpenDMX USB and Q Light Controller Tutorial]])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Under development:&amp;lt;/b&amp;gt;&lt;br /&gt;
* [[:Category:Pathport|Pathport]]&lt;br /&gt;
* [[StageProfi]]&lt;br /&gt;
* [[E1.31]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Availability:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sources (via git)&lt;br /&gt;
&lt;br /&gt;
 http://www.nomis52.net/git/lla&lt;br /&gt;
 http://www.nomis52.net/git/lla-examples&lt;br /&gt;
&lt;br /&gt;
Debian Packages:&lt;br /&gt;
&lt;br /&gt;
 http://www.nomis52.net/data/debian&lt;br /&gt;
&lt;br /&gt;
RPMS:&lt;br /&gt;
&lt;br /&gt;
 http://rpms.netmindz.net/&lt;br /&gt;
&lt;br /&gt;
Live CD (iso):&lt;br /&gt;
&lt;br /&gt;
 [https://sourceforge.net/project/showfiles.php?group_id=126566&amp;amp;package_id=192352 Sourceforge]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is a project underway to build packages for OpenWrt. See http://lists.culturebase.org/cgi-bin/mailman/listinfo/lla-openwrt for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;See Also:&amp;lt;/b&amp;gt;&lt;br /&gt;
* [[LLA Sandnet Tutorial]] - Setup Horizon using Sandnet and LLA&lt;br /&gt;
* [[LLA and Q Light Controller Ubuntu Tutorial]] - Setup LLA on Ubuntu/Debian-type distro with QLC&lt;br /&gt;
&lt;br /&gt;
[[Category:ArtNet]]&lt;br /&gt;
[[Category:ESP Net]]&lt;br /&gt;
[[Category:Sandnet]]&lt;br /&gt;
[[Category:ShowNet]]&lt;br /&gt;
[[Category:Utilities]]&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=Open_DMX_USB&amp;diff=2153</id>
		<title>Open DMX USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=Open_DMX_USB&amp;diff=2153"/>
				<updated>2007-08-13T08:54:42Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:USB]]&lt;br /&gt;
[[Image:Opendmxusb.JPG|right]]&lt;br /&gt;
&lt;br /&gt;
Link: http://www.enttec.com/index.php?menu=Products&amp;amp;prod=70303&amp;amp;show=description &amp;lt;br/&amp;gt;&lt;br /&gt;
Made by: [[Enttec]] &amp;lt;br/&amp;gt;&lt;br /&gt;
{{Features|win=yes|osx=yes|linux=yes|tx=yes|rx=yes}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OpenDMX USB is based on a FT232BM chip, a USB to Serial converter produced by FTDI.&lt;br /&gt;
The widget is capable of DMX transmission and reception, but is totally reliant on the CPU to produce (or capture) the DMX signal, so this type of device is called 'unbuffered'. It works quite well, but if for example your PC froze for a second, so would the DMX. The design is GPL (you can build your own!) and is quite basic, and does not offer any protection for your equipment.&lt;br /&gt;
&lt;br /&gt;
Note that receiving DMX does not currently work under Linux.&lt;br /&gt;
&lt;br /&gt;
==Driver Support==&lt;br /&gt;
&lt;br /&gt;
Linux Kernel 2.4: via [[DMX 4 Linux]]&lt;br /&gt;
&lt;br /&gt;
Linux Kernel 2.6: via [[LLA]] as detailed in [[LLA, OpenDMX USB and Q Light Controller Tutorial]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Related Products:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[DMX USB Pro]]&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA_and_Q_Light_Controller_Ubuntu_Tutorial&amp;diff=2150</id>
		<title>LLA and Q Light Controller Ubuntu Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA_and_Q_Light_Controller_Ubuntu_Tutorial&amp;diff=2150"/>
				<updated>2007-08-13T08:54:22Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: LLA and Q Light Controller Ubuntu Tutorial moved to LLA, OpenDMX USB and Q Light Controller Tutorial: Ambiguous Title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[LLA, OpenDMX USB and Q Light Controller Tutorial]]&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=Talk:LLA_and_Q_Light_Controller_Ubuntu_Tutorial&amp;diff=2152</id>
		<title>Talk:LLA and Q Light Controller Ubuntu Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=Talk:LLA_and_Q_Light_Controller_Ubuntu_Tutorial&amp;diff=2152"/>
				<updated>2007-08-13T08:54:22Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: Talk:LLA and Q Light Controller Ubuntu Tutorial moved to Talk:LLA, OpenDMX USB and Q Light Controller Tutorial: Ambiguous Title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Talk:LLA, OpenDMX USB and Q Light Controller Tutorial]]&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=Talk:LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2151</id>
		<title>Talk:LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=Talk:LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2151"/>
				<updated>2007-08-13T08:54:22Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: Talk:LLA and Q Light Controller Ubuntu Tutorial moved to Talk:LLA, OpenDMX USB and Q Light Controller Tutorial: Ambiguous Title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Is this tutorial minded on a specific interface?&lt;br /&gt;
What is &amp;quot;Erwin Rol's driver&amp;quot; meant to do? (is it to support some specific hardware that is not supported directly by LLA?)&lt;br /&gt;
&lt;br /&gt;
The first time QLC is run int the tutorial, it is run as root. Why?&lt;br /&gt;
&lt;br /&gt;
It would be nice if the intro explained what you can achieve over a default installation of LLA+ QLC from the repositories.&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2149</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2149"/>
				<updated>2007-08-13T08:54:21Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: LLA and Q Light Controller Ubuntu Tutorial moved to LLA, OpenDMX USB and Q Light Controller Tutorial: Ambiguous Title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
To show the special steps to get the Enttec Open DMX USB interface working with LLA via Erwin Rol's driver, then get QLC to work with LLA.  This allows QLC to be used with the Enttec OpenDMX USB interfaces on a 2.6 kernel, for which dmx4linux is not yet fully working.&lt;br /&gt;
&lt;br /&gt;
This may also be useful for people with a different interface supported by LLA who need some pointers on how to get LLA working with QLC, in which case you only need follow from &amp;quot;Download and install LLA&amp;quot; onwards.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  The other alternative is to use LLA, but this requires a separate computer for the Live CD.&lt;br /&gt;
&lt;br /&gt;
LLA is available as packages for a standard distro, but needs an extra driver to work with Enttec OpenDMX USB, which is included on the Live CD but not in the standard packages.&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
Erwil Rol's driver allows the Enttec OpenDMX USB driver to work with LLA.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install LLA==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2148</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2148"/>
				<updated>2007-08-13T08:46:23Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
To show the special steps to get the Enttec Open DMX USB interface working with LLA via Erwin Rol's driver, then get QLC to work with LLA.  This allows QLC to be used with the Enttec OpenDMX USB interfaces on a 2.6 kernel, for which dmx4linux is not yet fully working.&lt;br /&gt;
&lt;br /&gt;
This may also be useful for people with a different interface supported by LLA who need some pointers on how to get LLA working with QLC, in which case you only need follow from &amp;quot;Download and install LLA&amp;quot; onwards.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  The other alternative is to use LLA, but this requires a separate computer for the Live CD.&lt;br /&gt;
&lt;br /&gt;
LLA is available as packages for a standard distro, but needs an extra driver to work with Enttec OpenDMX USB, which is included on the Live CD but not in the standard packages.&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
Erwil Rol's driver allows the Enttec OpenDMX USB driver to work with LLA.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install LLA==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2147</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2147"/>
				<updated>2007-08-13T08:45:52Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: /* Purpose */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
To show the special steps to get the Enttec Open DMX USB interface working with LLA via Erwin Rol's driver, then get QLC to work with LLA.  This allows QLC to be used with the Enttec OpenDMX USB interfaces on a 2.6 kernel, for which dmx4linux is not yet fully working.&lt;br /&gt;
&lt;br /&gt;
This may also be useful for people with a different interface supported by LLA who need some pointers on how to get LLA working with QLC, in which case you only need follow from &amp;quot;Download and install lla&amp;quot; onwards.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  The other alternative is to use LLA, but this requires a separate computer for the Live CD.&lt;br /&gt;
&lt;br /&gt;
LLA is available as packages for a standard distro, but needs an extra driver to work with Enttec OpenDMX USB, which is included on the Live CD but not in the standard packages.&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
Erwil Rol's driver allows the Enttec OpenDMX USB driver to work with LLA.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2146</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2146"/>
				<updated>2007-08-13T08:44:37Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
To show the special steps to get the Enttec Open DMX USB interface working with LLA via Erwin Rol's driver, then get QLC to work with LLA.  This allows QLC to be used with the Enttec OpenDMX USB interfaces on a 2.6 kernel, for which dmx4linux is not yet fully working.&lt;br /&gt;
&lt;br /&gt;
This may also be useful for people with a different interface supported by LLA who need some pointers on how to get LLA working with QLC, in which case the section on Erwin Rol's driver can be ignored.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  The other alternative is to use LLA, but this requires a separate computer for the Live CD.&lt;br /&gt;
&lt;br /&gt;
LLA is available as packages for a standard distro, but needs an extra driver to work with Enttec OpenDMX USB, which is included on the Live CD but not in the standard packages.&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
Erwil Rol's driver allows the Enttec OpenDMX USB driver to work with LLA.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=OpenDMX.net&amp;diff=2139</id>
		<title>OpenDMX.net</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=OpenDMX.net&amp;diff=2139"/>
				<updated>2007-06-29T20:08:57Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;Welcome to opendmx.net. This site aims to be a resource for those involved in the lighting industry looking for low cost and DIY DMX solutions.&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==== Tutorial for LLA and Q Light Controller on Ubuntu ====&lt;br /&gt;
A new tutorial has been added that walks through installing LLA and QLC on Ubuntu, allowing the OpenDMX USB and other supported controllers to be used with a 2.6 kernel linux.  [[LLA and Q Light Controller Ubuntu Tutorial]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==== Enttec Releases RDM USB Pro ====&lt;br /&gt;
Enttec has released the [[RDM USB Pro]] which supports their RDM sniffing application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==== Out of Spec DMX Equipment List ====&lt;br /&gt;
&lt;br /&gt;
Listing of DMX equipment that does not conform to the ESTA specification [[NonConformDMX]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Site Changes ====&lt;br /&gt;
&lt;br /&gt;
With the new year we've changed to a new format. After realizing that I was never going to complete the CMS that I wanted, we've ended up going with a wiki. All the previous content has been moved over, but user accounts were deleted (you'll need to signup to upload pictures). Hopefully this will allow more people to add content.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== LLA Live 0.2.0 Released ====&lt;br /&gt;
&lt;br /&gt;
LLA Live 0.2.0 has been released with new features including a web-based lighting console, Sandnet support and the ability to use the Enttec Open DMX USB devices.&lt;br /&gt;
&lt;br /&gt;
As always no install is required, simply boot from the CD and you have a multi-protocol DMX gateway.&lt;br /&gt;
&lt;br /&gt;
This new release can be downloaded from [https://sourceforge.net/project/showfiles.php?group_id=126566&amp;amp;package_id=192352 Sourceforge] or the  [[LLA]] page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== ACN Specification now available ====&lt;br /&gt;
&lt;br /&gt;
The final step in the ACN specification process has been completed and the full document is available now from [http://www.estafoundation.org/pubs.htm ESTA]. Priced at $40 US, it's available as either a PDF download or on CDROM.&lt;br /&gt;
&lt;br /&gt;
[[ACN]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Old News]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=OpenDMX.net&amp;diff=2138</id>
		<title>OpenDMX.net</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=OpenDMX.net&amp;diff=2138"/>
				<updated>2007-06-29T20:08:41Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;Welcome to opendmx.net. This site aims to be a resource for those involved in the lighting industry looking for low cost and DIY DMX solutions.&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==== Tutorial for LLA and Q Light Controller on Ubuntu ====&lt;br /&gt;
A new tutorial has been added that walks through installing LLA and QLC on Ubuntu, allowing the OpenDMX USB and other supported controllers to be used with a 2.6 kernel linux.  [[LLA and Q Light Controller Ubuntu Tutorial]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==== Enttec Releases RDM USB Pro ====&lt;br /&gt;
Enttec has released the [[RDM USB Pro]] which supports their RDM sniffing application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==== Out of Spec DMX Equipment List ====&lt;br /&gt;
&lt;br /&gt;
Listing of DMX equipment that does not conform to the ESTA specification [[NonConformDMX]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Site Changes ====&lt;br /&gt;
&lt;br /&gt;
With the new year we've changed to a new format. After realizing that I was never going to complete the CMS that I wanted, we've ended up going with a wiki. All the previous content has been moved over, but user accounts were deleted (you'll need to signup to upload pictures). Hopefully this will allow more people to add content.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== LLA Live 0.2.0 Released ====&lt;br /&gt;
&lt;br /&gt;
LLA Live 0.2.0 has been released with new features including a web-based lighting console, Sandnet support and the ability to use the Enttec Open DMX USB devices.&lt;br /&gt;
&lt;br /&gt;
As always no install is required, simply boot from the CD and you have a multi-protocol DMX gateway.&lt;br /&gt;
&lt;br /&gt;
This new release can be downloaded from [https://sourceforge.net/project/showfiles.php?group_id=126566&amp;amp;package_id=192352 Sourceforge] or the  [[LLA]] page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== ACN Specification now available ====&lt;br /&gt;
&lt;br /&gt;
The final step in the ACN specification process has been completed and the full document is available now from [http://www.estafoundation.org/pubs.htm ESTA]. Priced at $40 US, it's available as either a PDF download or on CDROM.&lt;br /&gt;
&lt;br /&gt;
[[ACN]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Old News]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=Q_Light_Controller_(QLC)&amp;diff=2137</id>
		<title>Q Light Controller (QLC)</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=Q_Light_Controller_(QLC)&amp;diff=2137"/>
				<updated>2007-06-29T19:49:27Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Link: http://qlc.sf.net/&amp;lt;br&amp;gt;&lt;br /&gt;
{{Features|linux=yes|tx=yes|free=yes}}&lt;br /&gt;
[[Image:Qlc-2.4.png|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QLC is a lighting controller for Linux. Started as a university project by Heikki Junnila, it has now evolved with an active development community. The latest version adds support for external fader devices such as the Behringer BCF-2000. DMX output is provided using the DMX 4 Linux library. Recently a [[LLA]] plugin was added, allowing DMX ouput using various DMX over IP protocols.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Related Tutorials:&amp;lt;/b&amp;gt;&lt;br /&gt;
* [[LLA and Q Light Controller Ubuntu Tutorial]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Related Products:&amp;lt;/b&amp;gt;&lt;br /&gt;
* [[DMX 4 Linux]]&lt;br /&gt;
* [[USBDMX21]]&lt;br /&gt;
* [[LLA]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Controllers]]&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=Libartnet&amp;diff=2136</id>
		<title>Libartnet</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=Libartnet&amp;diff=2136"/>
				<updated>2007-06-29T19:48:16Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Link: http://www.nomis52.net/?section=projects&amp;amp;sect2=artnet&amp;amp;page=libartnet&amp;lt;br&amp;gt;&lt;br /&gt;
{{Features|linux=yes|osx=yes|rdm=yes|free=yes}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
libartnet is a implementation of the ArtNet protocol designed for Unix-like systems. Then artnet-examples packages provides sample programs demonstrating the use of the library. Of particular interest is artnet_usb which allows Art-Net to DMX conversion by using the Enttec Open DMX USB.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Related Tutorials:&amp;lt;/b&amp;gt;&lt;br /&gt;
* [[LLA Sandnet Tutorial]]&lt;br /&gt;
* [[LLA and Q Light Controller Ubuntu Tutorial]]&lt;br /&gt;
* [[Linux ArtNet Node]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Related Products:&amp;lt;/b&amp;gt;&lt;br /&gt;
* [[Open DMX USB]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Drivers / Libraries]]&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2135</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2135"/>
				<updated>2007-06-29T19:45:08Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2133</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2133"/>
				<updated>2007-06-29T19:43:29Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: LLA QLC Tutorial moved to LLA and Q Light Controller Ubuntu Tutorial: More specific name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA_QLC_Tutorial&amp;diff=2134</id>
		<title>LLA QLC Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA_QLC_Tutorial&amp;diff=2134"/>
				<updated>2007-06-29T19:43:29Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: LLA QLC Tutorial moved to LLA and Q Light Controller Ubuntu Tutorial: More specific name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[LLA and Q Light Controller Ubuntu Tutorial]]&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2132</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2132"/>
				<updated>2007-06-29T19:40:45Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC (http://qlc.sourceforge.net/).  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2131</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2131"/>
				<updated>2007-06-29T19:39:51Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC.  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
This tutorial is deliberately quite verbose: although it could have been presented as one long cut'n'paste or a shell script, a walkthrough is more helpful for actually learning what's going on and will get out of date more slowly.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2130</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2130"/>
				<updated>2007-06-29T19:38:22Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: /* Operating System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC.  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This guide assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  http://www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2129</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2129"/>
				<updated>2007-06-29T19:37:52Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: /* Test the installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC.  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This guide assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2128</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2128"/>
				<updated>2007-06-29T19:37:31Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: /* Test the driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC.  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This guide assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2127</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2127"/>
				<updated>2007-06-29T19:36:57Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC.  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This guide assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2126</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2126"/>
				<updated>2007-06-29T19:35:28Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: /* Put it all together */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC.  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This guide assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2125</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2125"/>
				<updated>2007-06-29T19:34:54Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: /* Put it all together */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC.  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This guide assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2124</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2124"/>
				<updated>2007-06-29T19:33:13Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC.  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This guide assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
cd dmx-software&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
make&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
depmod&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
dmesg&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo llad&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch afterwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2123</id>
		<title>LLA, OpenDMX USB and Q Light Controller Tutorial</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=LLA,_OpenDMX_USB_and_Q_Light_Controller_Tutorial&amp;diff=2123"/>
				<updated>2007-06-29T19:27:45Z</updated>
		
		<summary type="html">&lt;p&gt;Lpcollier: Initial upload and conversion from html&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
I got very excited when I first saw QLC.  Then I got slightly annoyed, then very frustrated trying to get it to work. I ended up using Slackware so that I could have a relatively modern distro with Linux 2.4 in order to use dmx4linux.  But it's a hassle to reboot every time I want to play with DMX.  So...&lt;br /&gt;
&lt;br /&gt;
This guide assumes you're using Ubuntu 7.04 (Fiesty Fawn), but should be usable for any apt-based distro.  Could probably be adapted for rpm-based too.&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
&lt;br /&gt;
Pretty obvious, but... get the latest Ubuntu installed on your machine.  www.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
==Prerequisite packages==&lt;br /&gt;
===GIT and Cogito===&lt;br /&gt;
These are used to download source code.&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install git-core cogito curl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Kernel source===&lt;br /&gt;
We need this in order to be able to compile the modules&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install linux-source&lt;br /&gt;
&lt;br /&gt;
===Alien===&lt;br /&gt;
We will need to install some RPM files at some point (bah!)&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install alien&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Build essentials===&lt;br /&gt;
We're going to be building source, so we need the standard libraries:&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(if you're following this on a non-debian-style distibution, you need the libc, libstcd++ development files, C compiler etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and install the usb kernel module==&lt;br /&gt;
&lt;br /&gt;
We're not using dmx4linux since there's no version that supports kernel 2.6 and the OpenDMX USB dongle.  There's a few attempts to port floating around, but none work with this adaptor.&lt;br /&gt;
&lt;br /&gt;
Instead we will use Erwil Rol's driver.&lt;br /&gt;
&lt;br /&gt;
It's best to make sure that you're running the kernel that you're intending to use - if you've upgraded from previous versions of Ubuntu you may have several versions hanging around.  Removing old ones using Synaptic is probably a good idea.&lt;br /&gt;
&lt;br /&gt;
===Compile and install driver===&lt;br /&gt;
&lt;br /&gt;
cd ~&lt;br /&gt;
&lt;br /&gt;
mkdir dmx-software&lt;br /&gt;
&lt;br /&gt;
cd dmx-software&lt;br /&gt;
&lt;br /&gt;
git-clone http://www.erwinrol.com/git/dmx_usb_module/&lt;br /&gt;
&lt;br /&gt;
cd dmx_usb_module&lt;br /&gt;
&lt;br /&gt;
make&lt;br /&gt;
&lt;br /&gt;
cp ./dmx_usb.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial&lt;br /&gt;
&lt;br /&gt;
depmod&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Blacklist the other serial drivers===&lt;br /&gt;
Because this dongle uses a usb to serial converter chip, it's recognised by the hotplug/udev/hal system and drivers are loaded - unfortunately not ones that work with QLC.  The workaround is to blacklist the alternative drivers.  If you have other usb to serial converters then they will stop working - if you need these then you will have to delve into the source and change the USB device IDs that the drivers detect... here we will go for the quick and dirty solution.&lt;br /&gt;
&lt;br /&gt;
With your favourite text editor, as root/sudo, edit /etc/modprobe.d/blacklist e.g.:&lt;br /&gt;
&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
add the following lines:&lt;br /&gt;
&lt;br /&gt;
blacklist usbserial&lt;br /&gt;
&lt;br /&gt;
blacklist usb-serial&lt;br /&gt;
&lt;br /&gt;
blacklist ftdi_sio&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Remove the brltty package===&lt;br /&gt;
According to Synaptic, &amp;quot;BRLTTY is a daemon which provides access to the Linux console (text mode) for a blind person using a soft braille display&amp;quot;. Unfortunately it has a habit of interfering with anything that looks like it might be a serial console, USB to serial devices included.  There's probably a more elegant workaround, but we'll go for the quick and dirty again, and remove it:&lt;br /&gt;
&lt;br /&gt;
sudo apt-get remove brltty&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test the driver===&lt;br /&gt;
Plug in your dongle!!  Hopefully all will go well, and if you type:&lt;br /&gt;
&lt;br /&gt;
dmesg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
you should see:&lt;br /&gt;
&lt;br /&gt;
DMX USB device now attached to dmx192&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you've got other modules loading, ftdi serial drivers, etc. then something's wrong.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download and install lla==&lt;br /&gt;
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 it's webpage.&lt;br /&gt;
&lt;br /&gt;
===Install the packages===&lt;br /&gt;
There are debian packages available at the time of writing.  Add the packages to your sources file:&lt;br /&gt;
&lt;br /&gt;
sudo gedit /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
deb http://www.nomis52.net/data/debian ./&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install the packages:&lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install liblla0 llad llad-console lla-examples&lt;br /&gt;
&lt;br /&gt;
===Test the installation===&lt;br /&gt;
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...&lt;br /&gt;
&lt;br /&gt;
First, start the daemon:&lt;br /&gt;
&lt;br /&gt;
sudo llad&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, find out what number the OpenDMX device is:&lt;br /&gt;
&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
you should get something like:&lt;br /&gt;
&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Assuming everything is OK, you need to patch this device so we can use it:&lt;br /&gt;
&lt;br /&gt;
lla_patch -d2 -p0 -u0&lt;br /&gt;
&lt;br /&gt;
(replace -d2 with whichever device number is your Open DMX USB)&lt;br /&gt;
&lt;br /&gt;
now do&lt;br /&gt;
&lt;br /&gt;
lla_dev_info&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and it should say&lt;br /&gt;
&lt;br /&gt;
Device 2: Open DMX USB Device&lt;br /&gt;
&lt;br /&gt;
  port 0, cap OUT, universe 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
lla_dmxconsole&lt;br /&gt;
&lt;br /&gt;
and play with the console!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Don't forget to remove your test patch:&lt;br /&gt;
&lt;br /&gt;
lla_patch -r -d2 -p0 -u0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download and install the latest build of QLC==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
cd ~/dmx-software&lt;br /&gt;
&lt;br /&gt;
wget http://rpms.netmindz.net/FC6/i386/RPMS.netmindz/qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&lt;br /&gt;
(browse through the packages on that server and find the most recent qlc build if the above command fails)&lt;br /&gt;
&lt;br /&gt;
sudo alien qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
wait a long time...  (don't worry about the warnings)... then:&lt;br /&gt;
&lt;br /&gt;
sudo dpkg -i qlc-2.6.1-2.fc6.i386.rpm&lt;br /&gt;
sudo apt-get install libqt3-mt&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now try it:&lt;br /&gt;
&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QLC should run OK.  Don't get too excited yet, there's one more step...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Put it all together==&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
gksudo killall llad&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo llad&lt;br /&gt;
sleep 5s&lt;br /&gt;
sudo lla_patch -d2 -p0 -u1&lt;br /&gt;
sleep 2s&lt;br /&gt;
sudo qlc &amp;amp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
save it as something memorable (I use qlc-start) and make sure it's executable:&lt;br /&gt;
&lt;br /&gt;
chmod u+x qlc-start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and you're away!&lt;/div&gt;</summary>
		<author><name>Lpcollier</name></author>	</entry>

	</feed>