captivate icon indicating copy to clipboard operation
captivate copied to clipboard

Cannot get output to USB device even though it is recognized

Open Ivorforce opened this issue 2 years ago • 1 comments

Prerequisites

  • [x] I'm not in a dev environment, I'm on release.

  • [ ] Using npm

  • [ ] Using an up-to-date main branch

  • [ ] Using latest version of devtools. Check the docs for how to update

  • [ ] Tried solutions mentioned in #400

  • [ ] For issue in production release, add devtools output of DEBUG_PROD=true npm run build && npm start

Expected Behavior

I should get output to my USB DMX device.

Current Behavior

I do not get output to my USB DMX device, even though it is recognized.

Steps to Reproduce

  • Connect this (my) USB controller to the computer.
  • Select the USB controller within captivate (see picture)
  • Set some outputs as per device manual
  • Nothing happens SCR-20231120-spkv

Possible Solution (Not obligatory)

I don't think there's output to the USB device.

A workaround for the moment could be loopback output, because then I could reroute it through QLC.

Context

Well, this template isn't very helpful. lol

Yo, I'm a hobbyist and I own a cheap chinese DMX dongle and 2 cheap chinese DMX moving heads. I'm trying to get captivate to run them but it doesn't output anything.

How do I know it's on captivate's end? Well, it works in QLC+. In QLC, when I click the 'Output' checkmark to my USB device, the moving head starts a blinking light, indicating it receives signal. When I adjust sliders, I can control the device as expected.

In Captivate, this indicator never starts blinking, which suggests to me it's not receiving any signal.

QLC reports the device "has DMX512 output support for DMXKing ultraDMX range, Enttec DMX USB Pro, Enttec Open DMX USB, FTDI USB COM485 Plus1, Vince USB-DMX512". The driver it's using is is libFTDI at 30Hz, in Open TX mode.

I retrieved the log file from Captivate, but nothing interesting is posted:

[2023-11-20 20:41:22.192] [info]  Checking for update
[2023-11-20 20:41:22.236] [info]  Generated new staging user ID: e56a1ae7-0960-590e-9992-59e611f823cb
[2023-11-20 20:41:23.412] [info]  Update for version 0.9.7 is not available (latest version: 0.9.7, downgrade is disallowed).
[2023-11-20 21:00:09.168] [info]  Checking for update
[2023-11-20 21:00:10.498] [info]  Update for version 0.9.7 is not available (latest version: 0.9.7, downgrade is disallowed).

Captivate looks great, I'd love to try it out! I'm happy to help with any efforts that lead to a reproduction or solution to the issue. I'm a developer myself, if that helps, so I should be able to build the project myself if need be.

Best wishes! 🙌

Your Environment

Ivorforce avatar Nov 20 '23 20:11 Ivorforce

Im using a 'EUROLITE USB-DMX512 PRO Interface MK2' Interface which also has a FTDI Chipset. I managed to get it working by forcing it to be recognize as a DMXUSBPro (instead of 'OpenDmxUsb') at this position: https://github.com/spensbot/captivate/blob/b63c37e7ab66c6b6a0d9c780b7f4c835ddf9ad9e/src/main/engine/connections/dmx/DmxConnectionUsb.ts#L52

I don't think i am able to implement the change properly, but maybe it will help someone who can.

n103 avatar Dec 07 '24 19:12 n103