Wow, your answer was very useful. Thank you very much.Let me start by saying I've not tried the gadget MIDI device. I have used other gadgets and written guides on them (see https://github.com/thagrol/Guides)
...
I want my project to look as much like a real USB driven MIDI device as possible in terms of connectivity. Most MIDI devices like synthesizers have both a USB-A and a USB-B port (that's the square one right?). So you can connect it like you would connect a typical printer, scanner, and thus also to other USB Midi devices. You can then chain them with MIDI through so they all receive the same MIDI information from all devices.
So if I connect a USB-B port to the DATA+GND pins of the USB-C port, I guess I should be fine. The USB-A port can simply be connected to the normal USB host. I don't need the USB-C connector itself. So I should simply look for the most interesting way to power the Pi without blowing it up, but I guess the pin 2+4 (5V) and 6 (GND) should work then.
I am not sure if I understand this correctly. If this means what I think it means (being able to switch live between connecting a device (like a keyboard) and being a USB gadget), then I don't think it will be an issue for my project, right? For my project the zero will not be powerful enough.Finally, be aware that only the zero series** Pi can detect and autoswap between device and host modes. The rest lack the necessary hardware.
Statistics: Posted by scippie — Mon Dec 25, 2023 7:51 am