likko-liu's blog

一些个人经验、感悟、心得,愿共勉

0%

usbipd-win 是开源项目,将 Windows 主机的 USB 设备通过网络共享给 WSL2 使用。安装有两种主流方式:一是前往 GitHub releases 页面下载 msi 安装包;二是通过 Windows 包管理器 winget 执行 winget install usbipd-win。

安装完成后需在 Windows 端用管理员权限运行 usbipd list 查看设备、usbipd bind --busid <id> 授权,再在 WSL2 中通过 usbipd attach 挂载。对串口调试尤其有用。

关键点

  • 两种安装方式:GitHub 或 winget
  • Windows 端需 bind 授权
  • WSL2 端 attach 挂载
  • 常用于串口调试

在这些文章中提到

相关概念