Windows 설치 및 실행

  1. Windows Powershell (Admin) 실행
  2. usbipd 설치 winget install usbipd
  3. usbipd wsl list
  4. usbipd wsl attach -b <BUS-ID>

WSL 설치

  1. WSL(Ubuntu) 터미널에서

    sudo apt update
    sudo apt install -y linux-tools-generic hwdata
    sudo update-alternatives --install /usr/local/bin/usbip usbip $(ls /usr/lib/linux-tools/*/usbip) 20
    

참고.

WSL 2

You can use the usbipd wsl subcommand to share and connect a device with a single command. For example, open a command prompt: