我在虚拟盒中运行了各种windows程序。我有一个StingRay作用域,它以前运行在xp中,参数如下
产品是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设备继续正常工作。
谢谢你,伊兰
发布于 2015-10-07 08:11:31
我们可以使用以下命令列出创建USB过滤器所需的所有条目:
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
为了创建一个USB过滤器,在运行虚拟机时始终捕获USB设备,我们可以从这些条目中的任何一个中进行选择。
例如,我们只需填写VendorID
就可以让虚拟机从该供应商捕获所有设备。如果我们额外给出的ProductID
变得不太可能,我们有超过一个这样的设备附加,但仍然提供一个UUID
或Serial
,此外,有助于只捕获这个单一的已知设备。
请注意,Virtual或来宾操作系统支持大多数设备,但仍然不是所有设备。当定义为筛选器时,某些设备甚至可能导致来宾的启动失败。我们不能在这样的设备上使用过滤器。一些USB2.0-设备将无法在USB3.0端口上工作。
有关在虚拟盒中使用USB的先决条件,请参见:如何为虚拟盒设置USB?
https://askubuntu.com/questions/682550
复制相似问题