espusb icon indicating copy to clipboard operation
espusb copied to clipboard

USB HID MIDI Device?

Open Boscop opened this issue 8 years ago • 6 comments

Is it possible to make the ESP8266 appear as a HID MIDI device over USB with this library? If so, what are the necessary steps?

Boscop avatar Sep 13 '17 00:09 Boscop

Not that I know of currently, I think it's not impossible to get this done. You'll just need the USB descriptor from the HID MIDI device and compile it together with espusb. This should make espusb look like a HID MIDI device.

leopck avatar Sep 13 '17 23:09 leopck

AFAIK, modern OSes for some reason have started banning low-speed devices from being more sophisticated, to be in-line with the USB standard. I REALLY WISH THEY DIDN'T DO THIS! But it does mean things like MIDI, CDC, RMDIS, mass storage, etc. are all prohibited on low-speed systems :(.

There've been a lot of people complaining and for some reason nothing's been done to allow it.

cnlohr avatar Sep 14 '17 06:09 cnlohr

But it's possible with the Attiny85 / Digispark and Arduino (with HIDUINO): https://github.com/heartscrytech/DigisparkMIDI https://github.com/ddiakopoulos/hiduino https://github.com/NicoHood/HID

And those are also low-speed systems, right?

Boscop avatar Sep 15 '17 00:09 Boscop

I tried this about a year ago, and got an error message saying it "didn't have enough bandwidth."

Would you be willing to try on your system? What is your system? Windows? Linux?

cnlohr avatar Sep 15 '17 15:09 cnlohr

Windows 8.1. Yes, I'm willing to try. What exactly should I do? :)

Boscop avatar Sep 15 '17 21:09 Boscop

get one of the existing low-speed devices, get them to enumerate and work with Windows!

cnlohr avatar Sep 16 '17 01:09 cnlohr