Reading from USB COM port in go
If you want an easy copy and paste, no nonsense way to print the output of a COM PORT to the terminal in go, then have a look at the code at the bottom of this post. Firstly, the go.bug.st/serial/enumerator package provides a very nice interface for getting details of connected devices, and includes more…
WSL2 COM port pass-through with usbipd (firewall issues)
I’ll start by saying that ultimately you want to read and follow the Connecting USB devices documentation for WSL. However, a few things cropped up along the way that I think might be worth writing down for future me, and others. Requirements Firstly, you need to be on WSL2. Next, install the USBIPD-WIN program. Listing…