Skip to content

Support for Eurolite MK2 with conflict checks - #1556

Merged
peternewman merged 35 commits into
OpenLightingProject:masterfrom
aroffringa:eurolite-pro-mk2
Jun 29, 2019
Merged

peternewman merged 35 commits into
OpenLightingProject:masterfrom
aroffringa:eurolite-pro-mk2

Conversation

@aroffringa

Copy link
Copy Markdown
Contributor

This finishes the work started in #1292 .

On top of the work done by @Jazeido , this also contains the following suggestions from @peternewman:

  • Add a preference enable_eurolite_mk2 to the usb plugin, with default false
  • Only when enabled, claim an FTDI device as a Eurolite MK2
  • Only when enabled, make the usb plugin conflict with usb serial and ftdi usb.

Since I can't write to the other pull request repository, I forked the repository and created a new pull request. This contains all commits from #1292, so #1292 can be closed once this pull request is committed.

@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.

Thanks very much. Some comments, mostly minor so far.

Comment thread plugins/usbdmx/EurolitePro.cpp Resolved
Comment thread plugins/usbdmx/EurolitePro.cpp Resolved
Comment thread plugins/usbdmx/EuroliteProFactory.cpp Resolved
Comment thread plugins/usbdmx/EuroliteProFactory.cpp Resolved
Comment thread plugins/usbdmx/EuroliteProFactory.h Resolved
Comment thread plugins/usbdmx/README.md Resolved
Comment thread plugins/usbdmx/README.md Resolved
Comment thread plugins/usbdmx/UsbDmxPlugin.cpp Resolved
Comment thread plugins/usbdmx/UsbDmxPlugin.h Resolved
This fixes various minor issues to the implementation of the
Eurolite MK2 interface.
@aroffringa

Copy link
Copy Markdown
Contributor Author

@peternewman Thanks for the review! I think I've dealt with all your suggestions, so ready to be merged if your happy with them.

@peternewman

Copy link
Copy Markdown
Member

If you resync, then Travis should look happier @aroffringa .

@aroffringa

Copy link
Copy Markdown
Contributor Author

@peternewman I've merged master into the branch. More checks now succeed, but some of the Xcode builds still fail.

@peternewman

Copy link
Copy Markdown
Member

@peternewman I've merged master into the branch. More checks now succeed, but some of the Xcode builds still fail.

Yeah unfortunately some of our OS X based checks are a bit flaky.

@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 more comments

Comment thread plugins/usbdmx/EuroliteProFactory.cpp Resolved
Comment thread plugins/usbdmx/EuroliteProFactory.cpp Resolved
Comment thread plugins/usbdmx/EuroliteProFactory.cpp Resolved
Comment thread plugins/usbdmx/README.md Resolved
Comment thread plugins/usbdmx/README.md Resolved
Comment thread plugins/usbdmx/UsbDmxPlugin.cpp Resolved

@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 more minor comments

Comment thread plugins/usbdmx/EuroliteProFactory.cpp Resolved
Comment thread plugins/usbdmx/EuroliteProFactory.cpp Resolved
Comment thread plugins/usbdmx/UsbDmxPlugin.cpp Resolved
@peternewman

Copy link
Copy Markdown
Member

Can you grab this commit too please @aroffringa or update against this branch : 0529122

@aroffringa

Copy link
Copy Markdown
Contributor Author

Can you grab this commit too please @aroffringa or update against this branch : 0529122

Sorry, was away for a while. I've merged that commit now.

@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 @aroffringa . A few very minor comments, but I'm happy to merge as is. Sorry it's taken so long from my end to review it and get it in. Thanks again for your work on this.

Comment thread plugins/usbdmx/EurolitePro.cpp Resolved
Comment thread plugins/usbdmx/EurolitePro.cpp Resolved
Comment thread plugins/usbdmx/UsbDmxPlugin.cpp Resolved
Comment thread plugins/usbdmx/UsbDmxPlugin.h Resolved

@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.

Great, LGTM

@peternewman
peternewman merged commit c6c3842 into OpenLightingProject:master Jun 29, 2019
@peternewman

Copy link
Copy Markdown
Member

Thanks again @aroffringa sorry it's taken quite so long!

@peternewman

Copy link
Copy Markdown
Member

I realised I missed the important bit @aroffringa do you want to update AUTHORS to take some credit? We'll put it into NEWS when we build the 0.11.0 release.

@aroffringa
aroffringa deleted the eurolite-pro-mk2 branch June 30, 2019 09:43
@aroffringa

Copy link
Copy Markdown
Contributor Author

Oh that's okay @peternewman , I don't need credit, I barely wrote any code for this -- unless you prefer that to have a log of who did what, in which it is fine to name me.

I'm happy it got merged! As far as I could find, the Eurolite MK2 was the most affordable device that has its own CPU (at least in my country -- Netherlands), so I think it is nice that it is now supported. Somewhere in the future I'll try to see if there is an automatic way of detecting the MK2, but that'll take some time.

Thanks for your efforts, peter!

@peternewman

Copy link
Copy Markdown
Member

Oh that's okay @peternewman , I don't need credit, I barely wrote any code for this -- unless you prefer that to have a log of who did what, in which it is fine to name me.

We can see a proper log from the commit list, it was just if you wanted to go in AUTHORS.

I'm happy it got merged! As far as I could find, the Eurolite MK2 was the most affordable device that has its own CPU (at least in my country -- Netherlands), so I think it is nice that it is now supported. Somewhere in the future I'll try to see if there is an automatic way of detecting the MK2, but that'll take some time.

I suspect some path or serial number based white/blacklisting within the various plugins would probably be the easier short-term step than trying to detect what it is.

Just to check, I assume you've only tested your changes on one OS, I'm guessing Linux?

I've now added it to the supported devices list:
https://www.openlighting.org/ola/

@FloEdelmann

Copy link
Copy Markdown
Member

@peternewman Seeing you've updated the devices list, the DMXCreator 512 Basic USB adapter I added support for quite some time ago (#1136, 2.5 years now 😅) is also missing from this list. Could you please add it as well?

@peternewman

Copy link
Copy Markdown
Member

@peternewman Seeing you've updated the devices list, the DMXCreator 512 Basic USB adapter I added support for quite some time ago (#1136, 2.5 years now sweat_smile) is also missing from this list. Could you please add it as well?

Mea culpa @FloEdelmann . I've now done this. I assume you've only tested on Linux?:

https://www.openlighting.org/ola/

@aroffringa

Copy link
Copy Markdown
Contributor Author

Just to check, I assume you've only tested your changes on one OS, I'm guessing Linux?

Indeed @peternewman , changes were tested on Linux.

@FloEdelmann

Copy link
Copy Markdown
Member

Thanks for adding "my" USB adapter as well. You're right, I also only tested on Linux.

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.

3 participants