Howdy all..
I've been thinking about E1.31 (ACN/ArtNet or whatever else you want to call it) and been chatting about the protocol on another thread.
Made me wonder - has anyone written a protocol driver for linux that drives the regular, serial-based COM driver (TXD)?
Granted, extensive work has been done to change the pic code to listen to DMX - and that is a viable option (althought I don't yet have a DMX controller - was to build one at the Melb-Mini but didn't happen).
I'm interested in seeing if someone might have done any work to have a linux reynard protocol driver for the serial-based pic code?
I understand that theres been variuos attempts (with various results) at Vixen-under-wine.. but I like the scalability of E1.31 - and that its a standard.. (and that I can run my show 'puter under vmware - a side point ;))
If anyone has any ideas of someone who may have attempted/suceeded writing a renard driver for linux (I'm not a programmer...just "an ideas man";) I'd appreciate information.
What I've achieved (just now! :cool::cool::cool:) is an ALSA driver for my Renard board.
What this means is that I can use a MIDI sequencer (e.g. RoseGarden) to control my lights (as well as play music).
In RoseGarden, you can 'draw' the light pattern in a matrix, and then tell it to play. RoseGarden generates MIDI NoteOn and NoteOff messages which it sends to ALSA, which in turn passes it to my driver, which talks Renard protocol out the RS232 port to the board.
Note that my serial port is on the motherboard (how old does that make my PC? :rolleyes:). There's possibly some extra work needed (which I won't be doing, it not being an issue for me, but I can advise) to make it work with a USB serial port.
This all works in Ubuntu 10.04, but it should work on any variant of Linux. There's still some tidying up to be done, and then I'll publish the code & how-tos.
:cool::cool::cool: Frank :cool::cool::cool:
Yes, there is code to drive a Renard network as part of the xLights project. Works on Linux, Mac, and Windows. Works with build-in as well as USB serial ports.
http://sourceforge.net/projects/xlights/
dowdybrown wrote:Yes, there is code to drive a Renard network as part of the xLights project. Works on Linux, Mac, and Windows. Works with build-in as well as USB serial ports.
I just downloaded the source. Can you provide details on how to use code::blocks? I've got it installed and it's saying "In the currently active Set, Code::Blocks does not know the global compiler variable "wx". When opening the xMenu .cbp project.
Please define it.
make -f makefile.linux in xLights/serial completed successfully. I'm on Fedora 12 x86.
I'm greatly interested in using this :).
Thanks for any information you can provide.
-Brian
BrianMiller wrote:I just downloaded the source. Can you provide details on how to use code::blocks? I've got it installed and it's saying "In the currently active Set, Code::Blocks does not know the global compiler variable "wx". When opening the xMenu .cbp project.Please define it.
make -f makefile.linux in xLights/serial completed successfully. I'm on Fedora 12 x86.
I'm greatly interested in using this :).
Thanks for any information you can provide.
-Brian
I made several updates over the weekend - version 30 is now the latest. Sounds like you are following the instructions in ToolConfig.txt, which is good!
I'll assume you've downloaded/installed wxWidgets already. For media playback on Linux you'll also need gstreamer. gstreamer was installed by default in my version, it may be the same on Fedora too, you will need to check.
Now to your question... In code::blocks, select Settings > Global Variables from the menu. You will need to add a variable "wx" that points to the base of your wxWidgets install. Mine points to "/usr/include/wx-2.8" (this is in the "base" field - the other fields in the global variable editor are blank).
Hope this helps!
Matt
