Microsoft Windows [版本 10.0.22621.1702] (c) Microsoft Corporation。保留所有权利。
C:\Windows\System32>usbipd wsl list BUSID VID:PID DEVICE STATE 1-9 046d:c534 USB 输入设备 Not attached 1-13 04e2:1410 USB 串行设备 (COM4) Not attached
WSL2 Ubuntu-20.04 创建 /dev/ttyUSB0
1 2 3 4 5 6 7 8 9 10 11
[Thu Jun 15 19:19:44 2023] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(3) [Thu Jun 15 19:19:44 2023] vhci_hcd vhci_hcd.0: devid(65546) speed(2) speed_str(full-speed) [Thu Jun 15 19:19:44 2023] vhci_hcd vhci_hcd.0: Device attached [Thu Jun 15 19:19:45 2023] vhci_hcd: vhci_device speed not set [Thu Jun 15 19:19:45 2023] usb 1-1: new full-speed USB device number 2 using vhci_hcd [Thu Jun 15 19:19:45 2023] vhci_hcd: vhci_device speed not set [Thu Jun 15 19:19:45 2023] usb 1-1: SetAddress Request (2) to port 0 [Thu Jun 15 19:19:45 2023] usb 1-1: New USB device found, idVendor=04e2, idProduct=1410, bcdDevice= 0.03 [Thu Jun 15 19:19:45 2023] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [Thu Jun 15 19:19:45 2023] xr_serial 1-1:1.0: xr_serial converter detected [Thu Jun 15 19:19:45 2023] usb 1-1: xr_serial converter now attached to ttyUSB0