arcore icon indicating copy to clipboard operation
arcore copied to clipboard

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

Open Reggi3 opened this issue 11 years ago • 9 comments

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.

Reggi3 avatar Feb 20 '14 13:02 Reggi3

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.

rkistner avatar Feb 20 '14 13:02 rkistner

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.

Reggi3 avatar Feb 20 '14 14:02 Reggi3

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.

rkistner avatar Feb 20 '14 14:02 rkistner

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

Reggi3 avatar Feb 20 '14 14:02 Reggi3

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

dec0yable avatar Mar 09 '15 11:03 dec0yable

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

rkistner avatar Mar 09 '15 13:03 rkistner

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

dec0yable avatar Mar 09 '15 16:03 dec0yable

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.

vidmo91 avatar Dec 16 '16 22:12 vidmo91

Is there any solution which works for this problem?

rajivdeo avatar Aug 24 '17 15:08 rajivdeo