Linux → Windows

从 Linux 到 Windows 重定向 USB 设备

借助 USB Redirector for LinuxUSB Redirector,将连接在 Linux 电脑上的 USB 设备共享给 Windows 远程电脑使用。

从 Linux 到 Windows 的跨平台 USB 重定向示意图

5 步使用远程 USB 设备

1

安装 Linux USB 服务器

在 USB 设备物理连接的 Linux 电脑上安装 USB Redirector for Linux。该电脑将充当 Linux USB 服务器。您可能需要设置防火墙规则以允许 TCP 端口 32032(默认值)的入站/出站连接。

2

在 Linux USB 服务器上共享 USB 设备

首先获取连接到电脑的 USB 设备信息,在命令行中执行以下命令:

usbsrv -l

如果成功,该命令将显示 USB 设备列表:

user@cyber:~$ usbsrv -l =================== LIST OF LOCAL USB DEVICES =================== 1: Flash Disk - USB Mass Storage Device Vid: 0ea0 Pid: 2168 Port: 1-4 Status: plugged 16: USB-Serial Controller Vid: 067b Pid: 2303 Port: 3-1 Status: plugged, in exclusion list ===================== ======================= =================== user@cyber:~$

如您所见,电脑上连接了两个 USB 设备:

  • 1: Flash Disk - USB Mass Storage Device
  • 16: USB-Serial Controller

要共享 "Flash Disk - USB Mass Storage Device",需要执行:

usbsrv -share 1

如果成功,命令将显示以下信息:

user@cyber:~$ usbsrv -share 1 ====================== OPERATION SUCCESSFUL ===================== USB device has been shared ===================== ======================= =================== user@cyber:~$
3

安装 Windows USB 客户端

在需要远程使用 USB 设备的 Windows 电脑上安装 USB Redirector。该电脑将充当 Windows USB 客户端

4

创建到 Linux USB 服务器的连接

从 Windows USB 客户端创建到 Linux USB 服务器的连接:

在 USB Redirector 中添加 Linux USB 服务器
5

连接 USB 设备

在可用的 USB 设备列表中选择所需的设备,然后点击 Connect(连接):

在 USB Redirector 中连接远程 USB 设备

完成!现在您可以在 Windows 电脑上使用该设备,就像它直接连接在本地一样:

在 Windows 资源管理器中查看重定向的 USB 设备

开始跨平台 USB 共享

下载 USB Redirector for Linux 和 USB Redirector,按照上述教程轻松配置。

下载软件 查看更多方案