虛擬機器vmare ubuntu中usb攝像頭使用

2021-09-29 03:17:16 字數 2356 閱讀 8389

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 inte***ce: v0.10

[   63.079561] linux video capture inte***ce: 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 inte***ce 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

參閱:

KVM巢狀虛擬化 在虛擬機器中建立虛擬機器

一般情況下,我們是無法在kvm虛擬機器裡面再去建立虛擬機器的,因為我們的kvm虛擬機器的cpu預設情況下並不支援虛擬化功能,對於inter的cpu來說,如果要支援虛擬化功能,必須要有乙個叫vmx的特性,以下是乙個物理伺服器的cpu資訊 在cpu特性 flags 中包含了vmx這個特性,說明這台伺服器...

centos7 kvm虛擬機器中開啟虛擬機器

1 檢視當前宿主機系統中是否支援。cat sys module kvm intel parameters nested y 結果為y表示當前的作業系統已經支援了巢狀虛擬化,使用跑虛擬化的程式直接使用就ok了 n 那當然就表示當前作業系統未配置巢狀虛擬化嘍2 如果你的結果為n,看下配置過程吧 vi e...

virtualbox虛擬機器 虛擬機器的網路

今天要測試ip多宿主 ip multihoming 即host和guest的兩個網絡卡分別接,host ping guest的ipv6不通。解決過程如下 命令輸出 ip addr 1 lo mtu 65536 qdisc noqueue state unknown link loopback 00 ...