Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

USB Protocol Extensions

From wiki.openlighting.org

Revision as of 21:08, 21 April 2012 by Douglas Heriot (talk | contribs) (Added note about DMX King ultraDMX Pro multiple output universes, label 100 & 101)
Jump to: navigation, search

This documents the additional message types added to the Enttec DMX USB Pro protocol to support multiple device types. As the number of devices supporting the protocol grows, it becomes difficult for software like OLA to differentiate the device types. The Device Manufacturer & Device Name messages allow the host software to determine the device and know which set of messages it supports.

Other Solutions

USB Serial Number

Enttec USB Pro devices have only started programming the serial numbers recently (>2008?). When using the standard USB Serial drivers on Mac & Linux, the host application doesn't have access to the serial numbers. This would require us to write our own USB drivers using libusb to expose this information.

Use the User Addressable EEPROM

Some devices don't support the Set Widget Parameters message so this isn't an option. Also it suffers from the bootstrapping issue, we need to know what device it is before we can write the information about what device it is...


Device Manufacturer, Label = 77, no data

This message requests the device manufacturer information from the widget. The response is of the form:

Size in Bytes Description
2 ESTA ID, Least significant byte first
32 Up to 32 bytes containing the manufacturer name. Not null terminated.


Device Name, Label = 78, no data

This message requests the device name information from the widget. The response is of the form:

Size in Bytes Description
2 Device Type ID, Manufacturer assigned. Least significant byte first.
32 Up to 32 bytes containing the device type. Not null terminated.


Devices Supporting these Message Types

Send DMX Multiple Universes, Label = 100, 101

The DMX King UltraDMX Pro supports 2 universes output and 1 input simultaneously. They have added extensions to cater for these separate output universes:

   Label = 100 Output Only Send DMX Packet Request Universe 1 on outputs 1 & 2 (same format as label 6)
   Label = 101 Output Only Send DMX Packet Request Universe 2 on outputs 3 & 4 (same format as label 6)
   
   When Label 6 data is received the ultraDMX Pro reverts back to standard mode and outputs 1 universe data on outputs 1,2,3&4.


External References