| ▲ | monegator 8 hours ago |
| you do know microsoft OS 2.0 descriptors are a thing, right?
or that you can force the unknown device to use WinUSB but really most devices you want to interface to via webusb are CDC and DFU so.. problem solved? |
|
| ▲ | Retr0id 8 hours ago | parent | next [-] |
| I'm unfamiliar with the Windows platform but that sounds like something that still requires executing code locally. |
| |
| ▲ | monegator 8 hours ago | parent [-] | | Not sure what you mean. Anyway OS 2.0 descriptors are a custom USB descriptor that basically tells the device to use WinUSB as the driver. The burden then is in the application that will have to implement the read/writes to the endpoints instead of using higher level functions provided by the custom driver. If you ever developed software with libUSB, using WinUSB on the windows side makes things super easy for cross platform development, and you don't have to go through all the pain to have a signed driver. Win-win in my book. |
|
|
| ▲ | pjc50 8 hours ago | parent | prev [-] |
| .. or HID ( https://usevia.app/ , for programmable keyboards) |
| |
| ▲ | monegator 8 hours ago | parent [-] | | yes, you can always use some nasty protocol over HID for your devices. But really most of what i do is one or multiple bulk endpoints so i can achieve full bandwidth (downloading firmware, streaming data, ...)
OS2.0 made it possible to do it without having to write and sign a driver |
|