Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

difficult to use 2 arcore devices on a system as they aren't easily identifiable #7

Open
Reggi3 opened this issue Feb 19, 2014 · 10 comments

Comments

@Reggi3
Copy link

Reggi3 commented Feb 19, 2014

Hi, i have 2 units running arcore, if I try and use them in something like midiox, it's not always apparent which one is which, is there a method to separately identify each unit? add a serial number or something?

@rkistner
Copy link
Owner

How does midiox identify the devices?

One possible solution would be to define a separate boards for each unit in the boards.txt file, with different product names on USB. This would however mean you'd have to have change the board whenever you upload to a different unit.

@Reggi3
Copy link
Author

Reggi3 commented Feb 20, 2014

midiox sees the 2 boards as 'Arduino Leonardo' in the input picker. Serato is even worse, you can learn the same control on both boxes and they'll work independently for that session, close serato, open it again, those controls are now messed up with the assignments being mixed up or missing. It gets totally confused.

I have a seperate issue as well where serato refuses to shut down, unless I unplug the arcore unit first. No idea why.

@rkistner
Copy link
Owner

Btw have you used midiox or Serato with any other MIDI devices? Do they have a way of uniquely identifying themselves? I'm just wondering whether someone else already found a clever way of solving this.

@Reggi3
Copy link
Author

Reggi3 commented Feb 20, 2014

I use a numark mixtrack pro II with serato but it doesn't show up as a seperate midi controller as the controller is built to be used with serato out of the box.

I tried changing STRING_IPRODUCT in USBCore.cpp but that just resulted in both devices showing up with the new string :(

@rkistner
Copy link
Owner

Changing STRING_IPRODUCT should work - did you only install it with the
changed name on one of the devices?

On Thu, Feb 20, 2014 at 3:43 PM, Reggie notifications@github.com wrote:

I use a numark mixtrack pro II with serato but it doesn't show up as a
seperate midi controller as the controller is built to be used with serato
out of the box.

I tried changing STRING_IPRODUCT in USBCore.cpp but that just resulted in
both devices showing up with the new string :(


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-35622205
.

@Reggi3
Copy link
Author

Reggi3 commented Feb 20, 2014

yes.

@Reggi3
Copy link
Author

Reggi3 commented Feb 20, 2014

I wonder if messing with the pid might help?

@rkistner
Copy link
Owner

That could help, let me know if it does
On 20 Feb 2014 18:53, "Reggie" notifications@github.com wrote:

I wonder if messing with the pid might help?


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-35642738
.

@Reggi3
Copy link
Author

Reggi3 commented Feb 26, 2014

it seems changing the PID is the way forwards, what I did was a bit clunky, I copied the whole arcore directory, renamed it arcore2 and then went through the boards.txt and changed the pid and named it's prefixes as leonardo2, then I edited the original arduino.inf file and added leonardo2 VID/PID 0241/8040 info beneath anywhere that had references to leonardo.

Flashed my firmware and I now get a 'USB-IO' board instead of the arduino leonardo showing up in device manager, which is exactly what I need, midi-ox, serato and traktor no longer get confused.

@rkistner
Copy link
Owner

Glad to know it's working.

I'm looking into possibilities to make those kind of settings more configurable in a sketch, without having to edit the arcore code.

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

No branches or pull requests

2 participants