BUSID VID:PID DEVICE STATE
1-3 06cb:00e7 Synaptics UWP WBDI Not attached
2-1 8087:0029 インテル(R) ワイヤレス Bluetooth(R) Not attached
2-2 10c4:ea60 Silicon Labs CP210x USB to UART Bridge (COM3) Not attached
usbipd: warning: Unknown USB filter 'edevmon' may be incompatible with this software; 'bind --force' may be required.
認識されてるUSB機器が一覧で表示される。
今回はSPRESENSEを用いて実施。"Silicon Labs CP210x USB to UART Bridge"ってヤツがSPRESENSE。
BUSID VID:PID DEVICE STATE
1-3 06cb:00e7 Synaptics UWP WBDI Not attached
2-1 8087:0029 インテル(R) ワイヤレス Bluetooth(R) Not attached
2-2 10c4:ea60 Silicon Labs CP210x USB to UART Bridge (COM3) Not attached
usbipd: warning: Unknown USB filter 'edevmon' may be incompatible with this software; 'bind --force' may be required.
今回は"2-2"で認識されてる"Silicon Labs CP210x USB to UART Bridge"を接続する。
色々接続方法はあるが、今回はBUSID"2-2"を指定して接続する。
> usbipd wsl attach -b 2-2
usbipd: warning: Unknown USB filter 'edevmon' may be incompatible with this software; 'bind --force' may be required.
接続成功すると、listのSTATEが'Attached'に変わる。
> usbipd wsl list
BUSID VID:PID DEVICE STATE
1-3 06cb:00e7 Synaptics UWP WBDI Not attached
2-1 8087:0029 インテル(R) ワイヤレス Bluetooth(R) Not attached
2-2 10c4:ea60 Silicon Labs CP210x USB to UART Bridge (COM3) Attached - Ubuntu
【Win】tcp connect errorが起きてつながらない
接続時、以下のようなerrorが出て繋がらないことがある。
> usbipd wsl attach -b 2-2
usbipd: warning: Unknown USB filter 'edevmon' may be incompatible with this software; 'bind --force' may be required.
usbipd: warning: A third-party firewall may be blocking the connection; ensure TCP port 3240 is allowed.
usbip: error: tcp connect
usbipd: error: Failed to attach device with busid '2-2'.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub