Skip to content

Feature/de interface - #1410

Merged
peternewman merged 14 commits into
OpenLightingProject:masterfrom
bitte-ein-bit:feature/de-interface
Jun 1, 2021
Merged

peternewman merged 14 commits into
OpenLightingProject:masterfrom
bitte-ein-bit:feature/de-interface

Conversation

@bitte-ein-bit

Copy link
Copy Markdown
Contributor

fixes #241

@peternewman

Copy link
Copy Markdown
Member

Well spotted with ee675ab . Would you mind also opening a separate PR just to get that fix into our 0.10 branch, as I'm guessing it generated an error for you somewhere?

@bitte-ein-bit

Copy link
Copy Markdown
Contributor Author

Yeah, I had issues with permissions, so I stumbled on ee675ab. Separate PR is open at #1411 .

No, my Pi is not overclocked. And it only happens every now and then, most of the time on a transmission start. Will recover on next transfer. Only sucks if the ArtNet input is not continuous and then a transfer get's lost.

raising the timeout to 60ms and a nice of -20 is enough to make the timeouts go a way on a Gen1 Pi. Raising to 70ms made it go away without adjusting nice. @peternewman: Shall I commit one of those values?

I fixed one linting CI issue. I think the others were already present on master, could that be?

@peternewman

Copy link
Copy Markdown
Member

Thanks for that. I'd go for the 70ms option then, so it "just works". Can you add a note next to the value explaining why it's 70ms, so we don't just revert it next time?

I'm only seeing one actual linting failure, but I see we've found a few new spelling mistakes. We run the various lint type tools against their bleeding edge, so the CI finds the errors ASAP, rather than people only stumbling across them when they upgrade their tooling (or install newer version than other developers). If you don't mind, can you mind fixing the ones present in the 0.10 branch in your udev PR, and then the others in this PR (saves me doing some). We can resync 0.10 into master to get the changes there into this branch.

@peternewman peternewman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also do all the devices report a serial number via USB (or at least the one you've got)?

On a Gen1 RaspPi the default of 50ms did not work 100%. Some
requests would timeout
@bitte-ein-bit

Copy link
Copy Markdown
Contributor Author

Yes, the original DE interface was build manually. In the instruction set was one step to change the serial before flashing the chip. So even if that step was omit, it would still report the default serial.

I cannot say anything about the FX5, but I assume they share the codebase.

@peternewman peternewman added this to the 0.11.0 milestone May 2, 2018

@peternewman peternewman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor nits sorry.

@peternewman

Copy link
Copy Markdown
Member

Can you also update https://github.com/OpenLightingProject/ola/blob/master/plugins/usbdmx/README.md to mention the other supported hardware please.

@peternewman peternewman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few minor nits left sorry.

Comment thread plugins/usbdmx/README.md Resolved
Comment thread plugins/usbdmx/README.md Resolved
Comment thread debian/ola.udev Resolved
Comment thread debian/ola.udev Resolved
@peternewman

Copy link
Copy Markdown
Member

Hi @bitte-ein-bit ,

Hope you are well. Are you still interested in spending a tiny bit of time to get this merged? There are just some fairly minor tweaks to be resolved.

@kripton this might be relevant to some of the stuff you've been doing too?

@bitte-ein-bit

bitte-ein-bit commented Apr 7, 2021 via email

Copy link
Copy Markdown
Contributor Author

@peternewman

Copy link
Copy Markdown
Member

Unfortunately, I’m totally overloaded.

Okay, no worries, thanks for replying. Would you also be too busy in the vaguely near future to compile and confirm that it still works for a version based on your changes?

I remember that I already changed a lot more than was related to the original problem.

Yes, sorry about that, unfortunately part of the challenge of maintaining something like this without owning all the hardware means a certain amount of extra work gets pushed onto people adding support for new devices, even if it's theoretically "just" a case of adding a new VID:PID pair to give people a chance of not breaking that support in future.

@bitte-ein-bit

bitte-ein-bit commented Apr 18, 2021 via email

Copy link
Copy Markdown
Contributor Author

@peternewman

Copy link
Copy Markdown
Member

Yes I can do that. I still have all the Hardware around. Need to build a new build environment though.

Great thanks @bitte-ein-bit . I think the current code is ready for a functional sanity test before merging then when you get a chance please?

@bitte-ein-bit

Copy link
Copy Markdown
Contributor Author

Hey @peternewman,
sorry it took a while. First had to grab the interface in a remote location. I build the branch and it did work as expected. I don't have any DMX equipment to check. But I get an interface serial, the interface blinks on level changes. So I'd say it's working.

@peternewman peternewman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@peternewman
peternewman merged commit 84cd83a into OpenLightingProject:master Jun 1, 2021
@bitte-ein-bit
bitte-ein-bit deleted the feature/de-interface branch June 1, 2021 18:18
@peternewman

Copy link
Copy Markdown
Member

I've finally added links to them on the OLA website too:
https://www.openlighting.org/ola/

@peternewman peternewman linked an issue Jun 6, 2026 that may be closed by this pull request
@peternewman peternewman mentioned this pull request Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Digital Enlightenment / FX5 not recognized Plugin for Digital Enlightenment / FX5 interfaces

3 participants