在Debian系统下使用VirtualBox实现USB设备直连,可以按照以下步骤操作:
下载Debian系统镜像: 从Debian官网下载所需的ISO镜像文件。
安装VirtualBox: 如果你还没有安装VirtualBox,请访问VirtualBox官网下载并安装适合你操作系统的版本。
新建虚拟机:
设置USB控制器:
添加USB设备:
启动虚拟机:
在虚拟机中识别USB设备:
vboxmanage list usbhost
绑定USB设备到虚拟机:
vboxmanage usbfilter add 0 –target <VM_Name> -name ‘<USB_Device_Name>’ \
–action hold –active yes -vendorid “<VendorId>” \
–productid “<ProductId>” –remote no \
–serialnumber “<SerialNumber>”
将<VM_Name>
替换为你的虚拟机名称,<USB_Device_Name>
替换为你为USB设备指定的名称,<VendorId>
、<ProductId>
和<SerialNumber>
替换为实际的值。验证USB设备连接:
lsusb
命令来验证USB设备是否被正确识别:lsusb
通过以上步骤,你应该能够在Debian虚拟机中成功直连USB设备。如果在操作过程中遇到问题,可以参考VirtualBox的官方文档或相关社区论坛寻求帮助。
辰迅云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读: debian snap与传统deb对比