I'm trying to use wsl2 to read COM port. I followed microsoft usbipd tutorial to install usbipd and run the following cmd.
usbipd wsl list
BUSID VID:PID DEVICE STATE
2-3 1bcf:28cc Integrated Webcam Not attached
2-11 067b:2303 Prolific USB-to-Serial Comm Port (COM3) Not attached
2-14 0cf3:e007 Qualcomm QCA61x4A Bluetooth Not attached
usbipd wsl attach --busid 2-11
usbip: error: Attach Request for 2-11 failed - Device in error state
usbipd: error: Failed to attach device with busid '2-11'.
usbipd wsl list
BUSID VID:PID DEVICE STATE
2-3 1bcf:28cc Integrated Webcam Not attached
2-14 0cf3:e007 Qualcomm QCA61x4A Bluetooth Not attached
Attach COM3 failed and it disappeared from upbipd wsl list.
reading from serial debug assistant
This COM port works under Microsoft's Serial Debug Assistant.
Does anyone know what is happening?