4 ms·
Can I even use a usb serial port yet after how many years? (Possibly by now but how long did it take, and does it actually work well?) It is stupid in that it'
by Brian_K_White 1y ago
Can I even use a usb serial port yet after how many years? (Possibly by now but how long did it take, and does it actually work well?)
It is stupid in that it's not really any kind of subsystem, it's just a vm. VMs have their uses, but it's basically just an app.
The reason hardware such as my usb serial example (or any serial) worked on wsl1 was because it actually was a subsystem.
- beagle3 1y agoYour serial might have worked, but your docker didn’t. (And someone else’s other drivers didn’t, and mmapping had ever-so-slightly different semantics causing rare and hard to reproduce issues). WSL2, on the whole, is much more compatible. If you want 100% Linux compatibility, just run Linux.
- Brian_K_White 1y agoI do. That's why I didn't know the current answer to the question. But I use software that wants to talk to hardware, not just cloud software that might as well be on a vps.
- dwattttt 1y agoCalling gcc (which runs entirely happily in WSL2) "cloud software that might as well be on a vps" is at the same time accurate and apparently insulting.
- watermelon0 1y agoThere is no native USB passthrough support, but you can use USB/IP to access them via network. https://github.com/dorssel/usbipd-win https://github.com/dorssel/usbipd-win