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

When using arcore I get a 2nd device in device manager that cannot start #8

Open
Reggi3 opened this issue Feb 20, 2014 · 9 comments
Open

Comments

@Reggi3
Copy link

Reggi3 commented Feb 20, 2014

When I use arcore there is always a 2nd 'Arduino Leonardo' in the 'sound, video and game controllers' section, with a yellow triangle and a 'this device cannot start. (Code 10)' error. I thought it might be a ghost of the 2nd arcore unit but if I plug the 2nd unit in, I get 2 yellow triangles.

I should mention that I also get a working 'Arduino leonardo' for each unit when they're plugged in.

@rkistner
Copy link
Owner

I've also seen this, not sure what the cause is. If you disable compound mode (the CDC_ENABLED flag in USBDesc.h), it might solve the problem.

@Reggi3
Copy link
Author

Reggi3 commented Feb 20, 2014

Unfortunately not, all that does is cause a compilation error for anyone using serial but what did work was commenting out the HID_ENABLED flag instead.

@rkistner
Copy link
Owner

Yes, CDC is required if you're using serial communication. Good to know that disabling HID fixes the issue. Can probably make that the default - can't imagine that many people using this will want to emulate a mouse/keyboard.

@Reggi3
Copy link
Author

Reggi3 commented Feb 20, 2014

It depends, as some control devices are now HID, I think the traktor F1 units are.

@dec0yable
Copy link

Hey, I'm having a similar issue and you said commenting out the HID_ENABLED flag helped where exactly do you comment that out it'll probably be obvious but since I'm a newb at arduino i have no idea and you're saying you only use that flag for emulating a mouse/keyboard does this have any effect on the usage of arcore for a midi device? thanks in advance

@rkistner
Copy link
Owner

rkistner commented Mar 9, 2015

@dec0yable It's in the hardware/avr/cores/arcore/USBDesc.h file. HID is only for keyboard and mouse emulation, and MIDI will work fine without it.

@dec0yable
Copy link

alright thanks for the swift answer! so #define HID_ENABLED becomes //#define HID_ENABLED
// ? because if I do that the exclamation point isn't gone and the device still can't start when i upload using the modified core

@vidmo91
Copy link

vidmo91 commented Dec 16, 2016

I had same issue, commenting HID didn't help, commenting CDC disables that sound device, but I have error 'this device cannot start. (Code 10)' on arduino's COM port, so I have to reset it manually when uploading. Is there any walkaround? Also I want to add serial MIDI, so disabling CDC won't work for me.

@rajivdeo
Copy link

Is there any solution which works for this problem?

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

5 participants