Thank you so much for posting this nice example which installs winusb driver automatically using MS OS 2.0 descriptor upon plugin into PC. This is what exactly what I'm looking for, but the coding part is a kind of complex compared to dev_lowlevel example as mentioned by you. The dev_lowlevel example works great for me with custom inf file but I don't want to go through MS driver sign in process and that's why I'm looking for an alternative solution to load the winusb driver without using tinyusb. My requirement is pretty simple, just three endpoints (control out/in, bulk in/out and interrupt in) like I have in dev_lowlevel example which I have modified according to my requirement. Appreciate, if you can repost the modified code or guide me where to modify to make it works same as dev_lowlevel example but automatically install the winusb driver without custom inf file like you are doing. Just for testing, I tried removing other interfaces in your code like sound and audio in/out and leave only USB interface but it was failed, device manager shows unknown USB device (invalid configuration descriptor). In simple, how to remove other interfaces from this composite device and leave only the usb device that communicate over control (vendor specific), bulk and interrupt end points?
Statistics: Posted by kapico — Wed Apr 24, 2024 12:43 pm