Enttec USB DMX Pro fail to configure with OLA

This forum is for discussion about general software issues.

Enttec USB DMX Pro fail to configure with OLA

Postby Oly » Fri Oct 30, 2015 10:49 pm

Hi,

I'm working on an artistic project based on changing light effects with some DMX LED projector so I've bought an Enttec USB DMX Pro (http://www.enttec.com/?main_menu=Products&pn=70304).

Now I'm trying to setup the dmx interface with the Open Light Architecture projcet : https://www.openlighting.org/ but without success.

I've compiled ola-git from aur and installed optional dependencies.
When I plug the enttec dmx interface it appears on /dev/ttyUSB0, so I think it's not a udev problem. But when I start ola daemon :
$this->bbcode_second_pass_code('', 'olad -l 4') no enttec usb dmx is recognized.

I've this :
$this->bbcode_second_pass_code('', '
[.....]
common/io/EPoller.cpp:306: ss process time was 0.000006
common/io/EPoller.cpp:306: ss process time was 0.000004
common/io/EPoller.cpp:306: ss process time was 0.000002
common/io/Serial.cpp:135: Checking for /var/lock/LCK..ttyUSB0
common/io/EPoller.cpp:306: ss process time was 0.000003
plugins/usbpro/WidgetDetectorThread.cpp:215: Found potential USB Serial device at /dev/ttyUSB0
common/io/Serial.cpp:135: Checking for /var/lock/LCK..ttyUSB0
plugins/sandnet/SandNetDevice.cpp:151: Sending Sandnet advertisement
plugins/usbpro/WidgetDetectorThread.cpp:215: Found potential USB Serial device at /dev/ttyUSB0
common/io/Serial.cpp:135: Checking for /var/lock/LCK..ttyUSB0
common/io/EPoller.cpp:306: ss process time was 0.000004
common/io/EPoller.cpp:306: ss process time was 0.000004
plugins/pathport/PathportDevice.cpp:144: Sending pathport arp reply
common/io/EPoller.cpp:306: ss process time was 0.000004
plugins/sandnet/SandNetDevice.cpp:151: Sending Sandnet advertisement
common/io/EPoller.cpp:306: ss process time was 0.000004
common/io/SelectPoller.cpp:233: ss process time was 0.000330
[.....]')

ola_dev_info command dosen't show me any enttec dmx interface ...
I've searched on the web but there no real documentation on how to setup manually a dmx interface.

Any help is appreciated.


Thank you.
Oly
 
Posts: 2
Joined: Mon Aug 25, 2014 4:03 pm

Re: Enttec USB DMX Pro fail to configure with OLA

Postby WarheadsSE » Fri Oct 30, 2015 10:52 pm

Have you also posted this to the OLA forum/mailing list/etc?

Is this in relation to an ARM board? If so, have you tried this on a different board, or an x86 pc?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Enttec USB DMX Pro fail to configure with OLA

Postby Oly » Sat Oct 31, 2015 11:54 am

Hi,

I've already succeed to get a DMX interface working with my laptop (Archlinux x64) so I think it's a archlinux arm problem, or at least a difference.
I've tried lots of things this morning as compile FTDI2XX driver but it's just a library not a kernel driver, so it wasn't helpful.

Finally I've done this :
* add udev rule in a new file /etc/udev/rules.d/10-local.rules (based on this post : http://opendmx.net/index.php/OLA_Device_Specific_Configuration)
$this->bbcode_second_pass_code('', 'SUBSYSTEM=="usb|usb_device", ACTION=="add", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", GROUP="uucp"')
* add alarm (or any not root user) to uucp :
$this->bbcode_second_pass_code('', '#usermod -aG uucp alarm')

Now it works !

$this->bbcode_second_pass_code('', 'olad/PluginManager.cpp:195: Trying to start Serial USB
common/thread/Thread.cpp:192: Thread , policy SCHED_OTHER, priority 0
plugins/usbpro/WidgetDetectorThread.cpp:227: Found potential USB Serial device at /dev/ttyUSB0
plugins/usbpro/WidgetDetectorThread.cpp:233: new descriptor @ 0x73a00560 for /dev/ttyUSB0
plugins/usbpro/WidgetDetectorThread.cpp:395: trying stage 0 for 0x73a00560
olad/PluginManager.cpp:200: Started Serial USB
olad/BonjourDiscoveryAgent.cpp:148: DNSServiceRegister returned -65537
plugins/usbpro/UsbProWidgetDetector.cpp:314: Usb Widget didn't respond to messages, esta id 0, device id 0
plugins/usbpro/WidgetDetectorThread.cpp:395: trying stage 1 for 0x73a00560
plugins/usbpro/WidgetDetectorThread.cpp:392: no more detectors to try for 0x73a00560
plugins/usbpro/WidgetDetectorThread.cpp:227: Found potential USB Serial device at /dev/ttyUSB0
plugins/usbpro/WidgetDetectorThread.cpp:233: new descriptor @ 0x73a005a8 for /dev/ttyUSB0
plugins/usbpro/WidgetDetectorThread.cpp:395: trying stage 0 for 0x73a005a8
plugins/usbpro/UsbProWidgetDetector.cpp:517: Detected USB Device: ESTA Id: 0x0, device Id: 0, serial: 0x2174483, f/w version: 1.44
plugins/usbpro/WidgetDetectorThread.cpp:325: Defaulting to a Usb Pro device
plugins/usbpro/WidgetDetectorThread.cpp:336: USB Pro Firmware >= 2.4 is required for RDM support, this widget is running 1.44
[b]olad/DeviceManager.cpp:105: Installed device: Enttec Usb Pro Device:5-02174483[/b]')

Sorry for the self-answered question, I hope that can be helpful for someone.
Oly
 
Posts: 2
Joined: Mon Aug 25, 2014 4:03 pm

Re: Enttec USB DMX Pro fail to configure with OLA

Postby WarheadsSE » Sat Oct 31, 2015 7:15 pm

Rubber Ducky FTW
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests