虚拟机vmare ubuntu中usb摄像头使用

dell webcam

先vmware设置当中选中usb相关的三个选项

然后启动相应的虚拟机系统

先lsusb找不到之后

虚拟机->可移动设备->摄像头设备(Microdia Integrated WebCam_HD)->断开连接(连接主机)

然后快速在终端输入dmesg

[   22.182059] sched: RT throttling activated
[   62.614680] usb 3-2.1: new high-speed USB device number 7 using xhci_hcd
[   62.994573] usb 3-2.1: New USB device found, idVendor=0c45, idProduct=671f
[   62.994581] usb 3-2.1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[   62.994586] usb 3-2.1: Product: Integrated_Webcam_HD
[   62.994591] usb 3-2.1: Manufacturer: CN0M1RXT8LG00957C9X9A01
[   63.048045] media: Linux media interface: v0.10
[   63.079561] Linux video capture interface: v2.00
[   63.126704] uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD (0c45:671f)
[   63.131532] uvcvideo 3-2.1:1.0: Entity type for entity Extension 4 was not initialized!
[   63.131534] uvcvideo 3-2.1:1.0: Entity type for entity Extension 3 was not initialized!
[   63.131536] uvcvideo 3-2.1:1.0: Entity type for entity Processing 2 was not initialized!
[   63.131537] uvcvideo 3-2.1:1.0: Entity type for entity Camera 1 was not initialized!
[   63.131731] input: Integrated_Webcam_HD as /devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb3/3-2/3-2.1/3-2.1:1.0/input/input6
[   63.132331] usbcore: registered new interface driver uvcvideo
[   63.132332] USB Video Class driver (1.1.1)

~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 003 Device 005: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 003 Device 007: ID 0c45:671f Microdia
Bus 003 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 003 Device 004: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 003 Device 002: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

找到了usb攝像頭設備Bus 003 Device 007: ID 0c45:671f Microdia

那麼就可以使用了,

 

 

 

然后系统就重新检测设备,找到了笔记本自带的usb

参阅:https://blog.csdn.net/w_ww_w/article/details/17760655

 

你可能感兴趣的:(视觉,AI)