rkistner / arcore

MIDI-USB Support for Arduino
Other
192 stars 33 forks source link

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

Open Reggi3 opened 10 years ago

Reggi3 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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

dec0yable commented 9 years ago

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 commented 9 years ago

@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 commented 9 years ago

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 commented 7 years ago

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 commented 7 years ago

Is there any solution which works for this problem?