Use StageLine 510 USB with OLA on Raspberry Pi

298 views
Skip to first unread message

Grisu

unread,
May 31, 2014, 12:26:29 PM5/31/14
to open-l...@googlegroups.com
Hello,

i have a problem with my DMX Device and OLA. I can not use it on my raspberry pi (with raspian) because OLA didn't found.
In Windows i use it with another program that is called "DMX Control". In this setup i choosed the "StageLine DMX 510 Controller" and it works fine.
In Windows there isn't a new com port if i connect it. 

This is the Ebay link:

Sean from IRC help me to find an newer Site:

I hope i give you enough details and someone can help me.

Greetings
Grisu

Sean Sill

unread,
May 31, 2014, 12:49:39 PM5/31/14
to open-l...@googlegroups.com
We've created an issue to add support for these devices.

Grisu

unread,
May 31, 2014, 12:56:23 PM5/31/14
to open-l...@googlegroups.com
This is the output of "olad -l 3"

Peter Newman

unread,
May 31, 2014, 2:08:18 PM5/31/14
to open-l...@googlegroups.com
Here's lsusb -v:
http://pastebin.com/G3sfME5g

Peter Newman

unread,
May 31, 2014, 9:10:41 PM5/31/14
to open-l...@googlegroups.com
Hi Grisu,

I've put together some code based on the data you collected and what Simon worked out. Please can you give it a go and let us know if it works. If it does, we'll get it merged into the mainline.

The pull request is here:
https://github.com/OpenLightingProject/ola/pull/400

The easiest thing is probably to add my branch as a remote and pull from there:
https://github.com/peternewman/ola/tree/trivial-fixes

Let us know how you get on,

PN

Peter Newman

unread,
Jun 3, 2014, 4:31:33 PM6/3/14
to open-l...@googlegroups.com
Grisu, it looks like you ran "sudo make", so the generated files are now owned by root. "Chown"ing them all to your normal user will probably fix the issue, or re-run make with the normal user, but that will probably take another few hours.

PN

Peter Newman

unread,
Jun 8, 2014, 9:08:52 AM6/8/14
to open-l...@googlegroups.com
Did you get time to try this Grisu?

Grisu

unread,
Jun 9, 2014, 4:55:57 AM6/9/14
to open-l...@googlegroups.com
Sorry Peter,

i'am a little bit busy at moment. But i try it and still have problems with the installation. Perhabs i have to build up a new image and try it again.
Here you can see the output:
http://pastebin.com/QepTLkxy

Thank you for your Help!!!

Greetings Grisu

Grisu

unread,
Jun 11, 2014, 4:58:44 PM6/11/14
to open-l...@googlegroups.com
Hi Peter,

i managed it to compile, check and install ola.
I also think ola work cause the webside is online. I hope to find the time for testing the dmx dongle at the weekend


Greetings Grisu

Peter Newman

unread,
Jun 12, 2014, 7:22:25 PM6/12/14
to open-l...@googlegroups.com
That's great news, hopefully the dongle code will just work too!

Grisu

unread,
Jun 15, 2014, 3:55:48 AM6/15/14
to open-l...@googlegroups.com
Good Morning,

a few minutes ago i start a new test and got another error :-(



pi@raspberrypi ~ $ olad -l 3
Olad.cpp:84: OLA Daemon version 0.9.0
olad: symbol lookup error: /usr/lib/libolaserver.so.0: undefined symbol: _ZN3ola6GetUIDEv

I found this site with nearly the same problem, but i don't know how it can help me:

So I hope Peter or anyone else can help me. Thank you!

Greetings 
Grisu

Sean Sill

unread,
Jun 15, 2014, 5:53:41 AM6/15/14
to open-lighting

Can you try 'sudo ldconfig' then run?

--
The Open Lighting Group: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en

Grisu

unread,
Jun 15, 2014, 5:56:26 AM6/15/14
to open-l...@googlegroups.com
I'm not shure if i do it right but:

pi@raspberrypi ~ $ sudo idconfig
sudo: idconfig: command not found

Sean Sill

unread,
Jun 15, 2014, 5:58:17 AM6/15/14
to open-lighting

'sudo ldconfig' not 'sudo idconfig'

Grisu

unread,
Jun 15, 2014, 6:05:52 AM6/15/14
to open-l...@googlegroups.com
ups :-)
works fine, olad is runing

thank you 

Simon Newton

unread,
Jun 15, 2014, 12:44:28 PM6/15/14
to open-lighting
On Sun, Jun 15, 2014 at 3:05 AM, Grisu <raik.k...@googlemail.com> wrote:
> ups :-)
> works fine, olad is runing

Does that mean it works with the StageLine interface?

Simon

Grisu

unread,
Jun 15, 2014, 12:56:08 PM6/15/14
to open-l...@googlegroups.com
Little Summary
the installation of the old version works fine but the Device was not available. 
So Peter decide to create a new version for me.
I try a new checkout and a new make that is going wrong.
Here is the error: http://pastebin.com/kEmhrxgR

Peter Newman

unread,
Jun 15, 2014, 5:49:57 PM6/15/14
to open-l...@googlegroups.com
For anyone playing along at home, we're now here, with more debugging code gone in pending compiling and testing:
http://pastebin.com/CfFS0e73

Peter Newman

unread,
Jun 17, 2014, 6:39:37 PM6/17/14
to open-l...@googlegroups.com
More new code to test Grisu, after another idea from Simon. Can you pull, make, give it a go and pastebin the results again please.

Simon Newton

unread,
Jun 17, 2014, 10:32:59 PM6/17/14
to open-lighting
Fingers crossed.

Grisu

unread,
Jun 18, 2014, 1:45:31 PM6/18/14
to open-l...@googlegroups.com
hey ho
again some bad news from me with the new version :-(
i hope i do it right

http://pastebin.com/WecP1hsa

Seems like the driver crashes earlier than in the last version.

Grisu

unread,
Jun 18, 2014, 3:26:41 PM6/18/14
to open-l...@googlegroups.com
Perhabs some further hints. I startet olad some times and the time between start and crash varied between 4 and 23 packages.
Perhabs we can test a fixt pattern for the channels to find out if the driver or the program cause the crashes.
Or someone told me a little bit abaut your program then i write some lines of code by myself.

Peter Newman

unread,
Jun 18, 2014, 6:58:22 PM6/18/14
to open-l...@googlegroups.com
Another minor tweak to pull and try please.

Have you tried starting olad, patching the dongle, then not doing anything (particularly don't go near the web console)? How does it do then?

Simon Newton

unread,
Jun 18, 2014, 10:31:29 PM6/18/14
to open-lighting
It would also be good to get a dump of the USB traffic on the linux
side so we can compare to Windows. The instructions are at

http://omappedia.org/wiki/USB_Sniffing_with_tcpdump#USB_sniffing

Simon

Grisu

unread,
Jun 19, 2014, 5:48:34 PM6/19/14
to open-l...@googlegroups.com
Hello everybody,
@ Peter
I try to pull your changes with "git pull" and "git pull origin trivial-fixes" but both says everything is up to date.
I try to start olad without any input but at this version nothing happens. No package were send. If i load the webside the first pagages was send.
And after about 5 till 20 pagages the driver crashed. Sometimes the light switches on and off in about some seconds.
All in all i think the older versions are more stable and it takes longer to crash the driver

@ Simon
I hope i do it right. Here you can see the Dump file:

I would say the packages with 64 byte could be from olad. On rasperry pi the network port is part of the usb bus but i don't know why there is a communication, because there is no ethernet cable in there. I used a little wlan stick. Striking is also that the other small packages are one byte longer than the other (65 byte)

I hope this can help you and you understand my bad school englisch :-/.

Greetings 
Grisu

Peter Newman

unread,
Jun 19, 2014, 6:34:11 PM6/19/14
to open-l...@googlegroups.com
Sorry Grisu, I hadn't pushed, do you want to try again.

Peter Newman

unread,
Jun 19, 2014, 7:14:39 PM6/19/14
to open-l...@googlegroups.com
Having debugged, the error is a timeout one, I've suggested Grisu tries unlimited/no timeout, so we'll see how that does.

Grisu

unread,
Jun 25, 2014, 4:07:29 PM6/25/14
to open-l...@googlegroups.com
Hey Peter,

sorry I've less time at moment.
I don't know exactly what i had told you abaut the progress, perhabs i repeat a little bit.

At moment OLA works with some Problems which i can't define cause they are not equal everytime (sporadic errors).
If i start OLA the Lights are black. Then if i use the "lamps" Button of the web Interface it seems that all channels are set to 255.
But one of my LED Lights shows another color than the other, so i'm not shure whether it is a problem of my fixtures or if the assigned channels are not at 255.
Ok this is not perfekt but not a real Problem.

But the more serious problem is that if i change some channels over artNet or over the web interface the value was changed but the lights flashes or switch to black.
If i changed the value then the lights going to flash again and back to black.

I found just one way to handle the situation:
- start olad -l
- switch all channel to 255 with the "light" button in the web interface
- after that i can change the values over artnet or webinterface
- again some flashing lights but now there are positions with a static ligth and the correct values

I try to do some more debugging at the weekend and hope you or s.o. else can help me to eliminate the last problems.
I think we are close to succes.

Again thanks for your help!!
Greetings
Raik

Sean Sill

unread,
Jun 25, 2014, 5:14:37 PM6/25/14
to open-lighting

Grisu what merging method are you using? LTP or HTP

--

Mike Tango

unread,
Jul 30, 2014, 4:25:33 PM7/30/14
to open-l...@googlegroups.com
Hi,

i am now also a proud owner of the stage  line dongle. I have compiled your commit head with the fix, but no dice. OLA doesn't recognize the dongle at all, i suspect a problem on a lower level - the dongle doesn't show up as /dev/ttyUSB0. lsusb shows it. I also had to manually add the rule part for the dongle in /10-local.rules. I'm stuck. Any suggestions?

Greetz

Sebastian

Simon Newton

unread,
Jul 31, 2014, 12:56:15 PM7/31/14
to open-lighting
What does lsusb -v show ?

Simon Newton

unread,
Jul 31, 2014, 12:58:45 PM7/31/14
to open-lighting
Also when running olad -l 3 , you should see either

Found an img Stage Line device

or

Found an unknown device, skipping. VID: XXX, PID: XXX

Simon

MikeTango

unread,
Jul 31, 2014, 1:35:08 PM7/31/14
to open-l...@googlegroups.com
Hi, i always started olad without the -l argument and nothing happened. Now i with -l i can see the device in the web page...tried it without, works. The only thing i changed, i think, was to chmod /ola/ to 777.

Am i having a bad case of the stupid here ? Which manpage do you have to whack me with?

http://pastebin.com/HTRq0UQ7

Thanks for the support. Would give you a ssh login for the pi, if you want to play with the dongle...i am nowhere near a programmer.


MikeTango

unread,
Jul 31, 2014, 1:39:36 PM7/31/14
to open-l...@googlegroups.com
ok, fired it up, the web console sees it, but

ImgOutputPort.cpp:184: img driver failed to transfer all data
ImgOutputPort.cpp:118: Send failed, stopping thread...

Simon Newton

unread,
Jul 31, 2014, 9:40:42 PM7/31/14
to open-lighting
This is about how far we got last time. Do you mind sending me login
information for the Pi and I'll take a look.

Simon

Peter Newman

unread,
Aug 1, 2014, 4:03:09 PM8/1/14
to open-l...@googlegroups.com, highpe...@googlemail.com
Sebastian, do you mean ~/.ola? Would you mind changing it back to what it was and pastebinning the log output please; ideally that issue should affect all plugins and hopefully log something sane at the same time.

>> For more options, visit https://groups.google.com/groups/opt_out?hl=en

--
The Open Lighting Group: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com

Peter Newman

unread,
Aug 1, 2014, 4:09:26 PM8/1/14
to open-l...@googlegroups.com
Sebastian, you don't appear to be running the latest version of my code from my Pull Request:
https://github.com/OpenLightingProject/ola/pull/400/files

For starters, the name of the file that features in the log should have changed. I'm not sure how you've managed this unless you pulled a while ago. Anyway, could you pull that branch, recompile and see how you go.

I think with Grisu, we confirmed it was failing on a timeout, and tweaked either the code or the timeout value to ignore those timeouts, but he was still seeing flickering or funny behaviour, at which point I wasn't sure if it was our code or his fixture.
>>> >> For more options, visit https://groups.google.com/groups/opt_out?hl=en
>>>
>>> --
>>> The Open Lighting Group: open-l...@googlegroups.com, #openlighting
>>> (irc.freenode.org)
>>> To unsubscribe from this group, send email to
>>> For more options, visit https://groups.google.com/groups/opt_out?hl=en
>>
>>
>
> --
> The Open Lighting Group: open-l...@googlegroups.com, #openlighting
> (irc.freenode.org)
> To unsubscribe from this group, send email to

MikeTango

unread,
Aug 4, 2014, 1:11:21 PM8/4/14
to open-l...@googlegroups.com

Hi,

and then weekend happened and i put aside the pesky pi and went out. Now it's back in the lab and one of the guys will hopefully hook it to the internets so you can play with it. Thanks for your support so far.

Peter Newman

unread,
Aug 9, 2014, 1:58:35 PM8/9/14
to open-l...@googlegroups.com
Did you get a chance to look at this Sebastian? I'll have some time over the next few days, and it would be great to finally get it finished.

Marcus Richters

unread,
Nov 8, 2014, 6:21:36 AM11/8/14
to open-l...@googlegroups.com
How is it going?

Peter Newman

unread,
Nov 8, 2014, 5:36:31 PM11/8/14
to open-l...@googlegroups.com
I can't remember where we left it. I think Sebastian got back to me with more detail/we did more tests; at one point we were looking at trying a webcam pointed at a fixture connected to the dongle, and remote SSH access to debug.

Basically the stall currently is it outputs DMX, but appears to flash continually for all who've tried it. I think we now either need to find someone with a dongle and a scope/logic analyser, or get a dongle to me (or Simon/Sean if they've got time).

On Saturday, 8 November 2014 11:21:36 UTC, Marcus Richters wrote:
How is it going?

MikeTango

unread,
Nov 9, 2014, 7:28:03 AM11/9/14
to open-l...@googlegroups.com

i can just mail you the damn thing. you said that you'd have time to look at it in november...my, look at the time. Cpresser just sent me one of his magic creations and some extras, might as well stick to my end ofbthe bargain ;)

Peter Newman

unread,
Nov 16, 2014, 7:18:48 PM11/16/14
to open-l...@googlegroups.com
Thanks Sebastian, I'll contact you off list.


On Sunday, 9 November 2014 12:28:03 UTC, Mike Tango wrote:

i can just mail you the damn thing. you said that you'd have time to look at it in november...my, look at the time. Cpresser just sent me one of his magic creations and some extras, might as well stick to my end ofbthe bargain ;)

Am 08.11.2014 23:36 schrieb "Peter Newman" <peterjnewman>:
>
> I can't remember where we left it. I think Sebastian got back to me with more detail/we did more tests; at one point we were looking at trying a webcam pointed at a fixture connected to the dongle, and remote SSH access to debug.
>
> Basically the stall currently is it outputs DMX, but appears to flash continually for all who've tried it. I think we now either need to find someone with a dongle and a scope/logic analyser, or get a dongle to me (or Simon/Sean if they've got time).
>
> On Saturday, 8 November 2014 11:21:36 UTC, Marcus Richters wrote:
>>
>> How is it going?
>
> --
> The Open Lighting Group: open-l...@googlegroups.com, #openlighting (irc.freenode.org)

> To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com

InfyTriplete

unread,
Jan 2, 2015, 4:39:30 PM1/2/15
to open-l...@googlegroups.com
Hi...I'm sorry...i am a newbie of Linux but i need help to use QLC+ with OLA and of course the StageLine DMX controller...

As far as i can see...a plugin exist to correctly recognize the controller...but isn't included by default on the 0.9.3 version of OLA...

is it possible to include it in a working image of QLC+ and OLA on a RaspberryPi ? Is it difficult to do ?

Thanks in advance and Happy New Year !

> To unsubscribe from this group, send email to open-lightin...@googlegroups.com

Simon Newton

unread,
Jan 3, 2015, 12:10:25 AM1/3/15
to open-lighting
On Fri, Jan 2, 2015 at 1:39 PM, InfyTriplete <capr...@gmail.com> wrote:
> Hi...I'm sorry...i am a newbie of Linux but i need help to use QLC+ with OLA
> and of course the StageLine DMX controller...

We haven't been able to get the StageLine controller working. None of
the OLA developers have access to one to reverse engineer it.


>
> As far as i can see...a plugin exist to correctly recognize the
> controller...but isn't included by default on the 0.9.3 version of OLA...
>
> is it possible to include it in a working image of QLC+ and OLA on a
> RaspberryPi ? Is it difficult to do ?

From my quick check, QLC+ doesn't provide arm packages. That means
you'll need to install from the sources, so you're best bet is to ask
for help on the QLC+ list.



Simon
> --
> The Open Lighting Project: open-l...@googlegroups.com, #openlighting

InfyTriplete .

unread,
Jan 3, 2015, 3:46:22 AM1/3/15
to open-l...@googlegroups.com

Tank You...I'll try...

Reply all
Reply to author
Forward
0 new messages