虚拟盒中usb设备的正确值是什么

我有各种Windows程序在虚拟框中运行。 我有一个StingRay范围,以前在xp中使用以下参数运行 usb参数

该产品是DS1M12A,但我不知道我是如何第一次获得细节的。 现在我可以通过lsusb -v给出部分细节

Bus 005 Device 004: ID 0403:fac2 Future Technology Devices International, Ltd Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0403 Future Technology Devices International, Ltd idProduct 0xfac2 bcdDevice 5.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 55 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 160mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 2 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 2 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 

唯一明显的是供应商ID和产品ID。 我之前拿到的所有其他信息都是个谜。

我试图为修订版,制造商,产品和序列号添加空字符串,但它没有帮助。 当我试图让win7发现范围时,它没有看到任何东西。

再次,这曾经适用于我的xp虚拟盒,但它已停止工作。 与此同时,我切换了Ubuntu的版本以及将底层计算机从双核切换到四核。 我的所有其他USB设备继续正常工作。

谢谢,伊兰

我们可以使用以下命令列出创建USBfilter所需的所有条目:

 VBoxManage list usbhost 

对于主机中识别的所有设备,这将为我们提供类似于下面的输出:

 UUID: 123400c1-fc2c-44b8-202f-e5c80c133027 VendorId: 0x03f0 (03F0) ProductId: 0xa407 (A407) Revision: 3.33 (0333) Port: 1 USB version/speed: 2/Full Manufacturer: HP Product: HP Link-5 micro dongle Address: sysfs:/sys/devices/pci0000:00/0000:00:10.0/usb6/6-2//device:/dev/vboxusb/006/002 Current State: Busy 

要创建USBfilter以在运行虚拟机时始终捕获USB设备,我们可以从这些条目中的任何一个中进行选择。

我们可以例如填写VendorID ,让虚拟机捕获该供应商的所有设备。 如果我们另外给出ProductID变得不太可能我们连接了多个这样的设备,但是仍然提供UUIDSerial还有助于仅捕获这个单个已知设备。

请注意,Virtual Box或来宾操作系统支持大多数但仍不是所有设备。 当定义为filter时,某些设备甚至可能导致客户机的引导故障。 我们不能在这些设备上使用filter。 某些USB2.0设备无法在USB3.0端口上运行。

有关在Virtual Box中使用USB的先决条件,请参阅: 如何为Virtualbox设置USB?