qlcplus icon indicating copy to clipboard operation
qlcplus copied to clipboard

Open TX/RX support for generic USB CDC devices

Open caitlynrw opened this issue 1 year ago • 2 comments
trafficstars

Describe the bug The Open TX/RX driver doesn't support non-FTDI serial ports.

To Reproduce Steps to reproduce the behavior:

  1. Connect a non-FTDI serial adapter, I've tested a MCP2200 and CH340
  2. Observe in Device Manager or UsbTreeView that the device is recognized as a serial port
  3. Open QLC+ and navigate to the Inputs/Outputs pane and see no USB DMX is available

Expected behavior Open TX/RX drivers can be used with other USB UART bridges.

Screenshots Connecting an Enttec Open DMX dongle Screenshot 2024-06-10 205456 Connecting an MCP220 or CH340 UART converter Screenshot 2024-06-10 205507

Desktop (please complete the following information):

  • OS: Windows 11
  • QLC+ Version: 4.13.1
  • Hardware: Framework laptop, ENTTEC Open DMX adapter, MCP2200 and CH340s on microcontroller boards

Additional context N/A

caitlynrw avatar Jun 10 '24 11:06 caitlynrw

Not every serial port in the world can be used as a DMX transmitter. FTDI is known to be a good solution to DMX. To add more chipsets I need to qualify them so basically I need to physically own them. Unless you prove they can be used as DMX adapter with the proper timings and without side effects.

In the meantime you can build QLC+ from sources and adapt this method to test other chipsets https://github.com/mcallegari/qlcplus/blob/master/plugins/dmxusb/src/dmxinterface.cpp#L73

If you can't do any of the above, I'll need to close this ticket.

mcallegari avatar Jun 12 '24 12:06 mcallegari

@caitlynrw if you make a PR I'd be willing to buy devices to test

yestalgia avatar Jun 12 '24 13:06 yestalgia

Closing for inactivity

mcallegari avatar Jul 09 '24 17:07 mcallegari