VirtualBox

Opened 7 years ago

Last modified 4 years ago

#16466 reopened defect

VB 5.1.14 (linux host / win7 guest) fails concurrent audio/video input from integrated USB device (Logitech C920 webcam); separate devices work OK

Reported by: PGNd Owned by:
Component: USB Version: VirtualBox 5.1.14
Keywords: audio, video, webcam, microphone Cc:
Guest type: Windows Host type: Linux

Description

I've a desktop with VB 5.1.14 installed

	VBoxManage --version
		5.1.14r112924

and running

	VBoxManage list runningvms
		"Win7_64" {71...e9}

on linux/64 host

	VBoxManage list hostinfo
		Host Information:

		Host time: 2017-02-08T15:13:41.459000000Z
		Processor online count: 4
		Processor count: 4
		Processor online core count: 4
		Processor core count: 4
		Processor supports HW virtualization: yes
		Processor supports PAE: yes
		Processor supports long mode: yes
		Processor supports nested paging: yes
		Processor#0 speed: 3010 MHz
		Processor#0 description: AMD Phenom(tm) II X4 945 Processor
		Processor#1 speed: 3010 MHz
		Processor#1 description: AMD Phenom(tm) II X4 945 Processor
		Processor#2 speed: 3010 MHz
		Processor#2 description: AMD Phenom(tm) II X4 945 Processor
		Processor#3 speed: 3010 MHz
		Processor#3 description: AMD Phenom(tm) II X4 945 Processor
		Memory size: 16030 MByte
		Memory available: 2423 MByte
		Operating system: Linux
		Operating system version: 4.9.8-2.gaf90696-default

with up-to-date extpack installed

	VBoxManage list extpacks
		Extension Packs: 1
		Pack no. 0:   Oracle VM VirtualBox Extension Pack
		Version:      5.1.14
		Revision:     112924
		Edition:
		Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk
		VRDE Module:  VBoxVRDP
		Usable:       true
		Why unusable:

The host runs PulseAudio.

I have two devices attached and functional in the host, an integrated (audio + video) webcam, and a standalone microphone

	lsusb | egrep -i "Logitech|Telex"
		Bus 001 Device 011: ID 046d:082d Logitech, Inc. HD Pro Webcam C920
		Bus 001 Device 010: ID 0562:0002 Telex Communications, Inc. Telex Microphone

	hwinfo --usb
		...
		11: USB 00.1: 0000 Unclassified device
		  [Created at usb.122]
		  Unique ID: xnLL.dxozCEIXKDA
		  Parent ID: k4bc.029GFTetOb3
		  SysFS ID: /devices/pci0000:00/0000:00:05.0/0000:03:00.0/usb1/1-4/1-4:1.1
		  SysFS BusID: 1-4:1.1
		  Hardware Class: unknown
		  Model: "Logitech HD Pro Webcam C920"
		  Hotplug: USB
		  Vendor: usb 0x046d "Logitech, Inc."
		  Device: usb 0x082d "HD Pro Webcam C920"
		  Revision: "0.11"
		  Serial ID: "60F274DF"
		  Driver: "uvcvideo"
		  Driver Modules: "uvcvideo"
		  Speed: 480 Mbps
		  Module Alias: "usb:v046Dp082Dd0011dcEFdsc02dp01ic0Eisc02ip00in01"
		  Config Status: cfg=new, avail=yes, need=no, active=unknown
		  Attached to: #24 (Hub)

		12: USB 00.0: 0401 Multimedia audio controller
		  [Created at usb.122]
		  Unique ID: cLrx.qTkEoUPZciD
		  Parent ID: k4bc.029GFTetOb3
		  SysFS ID: /devices/pci0000:00/0000:00:05.0/0000:03:00.0/usb1/1-2/1-2:1.0
		  SysFS BusID: 1-2:1.0
		  Hardware Class: sound
		  Model: "Telex Microphone"
		  Hotplug: USB
		  Vendor: usb 0x0562 "Telex Communications, Inc."
		  Device: usb 0x0002 "Telex Microphone"
		  Revision: "1.00"
		  Serial ID: "XXXXX"
		  Driver: "snd-usb-audio"
		  Driver Modules: "snd_usb_audio"
		  Speed: 12 Mbps
		  Module Alias: "usb:v0562p0002d0100dc00dsc00dp00ic01isc01ip00in00"
		  Driver Info #0:
		    Driver Status: snd_usb_audio is active
		    Driver Activation Cmd: "modprobe snd_usb_audio"
		  Config Status: cfg=new, avail=yes, need=no, active=unknown
		  Attached to: #24 (Hub)
		...

In the host, under PulseAudio routing, the webcam &/or the standalone mic can be used by linux native apps separately &/or concurrently. No issues.

In VB, Audio settings are set to

	Audio
		HostDriver: PulseAudio
		Constroller: Intel HD Audio

The VM sees the mic & webcam on the host as

	VBoxManage list usbhost
		...
		UUID:               24651a23-221b-45e4-bddf-00bbfc1ce03a
		VendorId:           0x0562 (0562)
		ProductId:          0x0002 (0002)
		Revision:           1.0 (0100)
		Port:               1
		USB version/speed:  1/Full
		Manufacturer:       Telex Communications, Inc.
		Product:            Telex USB microphone
		SerialNumber:       XXXXX
		Address:            sysfs:/sys/devices/pci0000:00/0000:00:05.0/0000:03:00.0/usb1/1-2//device:/dev/vboxusb/001/010
		Current State:      Captured
		...
		UUID:               272cd013-38e7-4515-af01-9c8f2aebbbd0
		VendorId:           0x046d (046D)
		ProductId:          0x082d (082D)
		Revision:           0.17 (0017)
		Port:               3
		USB version/speed:  2/High
		Manufacturer:       Logitech, Inc.
		Product:            HD Pro Webcam C920
		SerialNumber:       60F274DF
		Address:            sysfs:/sys/devices/pci0000:00/0000:00:05.0/0000:03:00.0/usb1/1-4//device:/dev/vboxusb/001/011
		Current State:      Busy

The VM runs Win7/64 with SP1 + latest ConvenienceRollup & all updates.

I'm attempting to get the VM to use ONLY the Logitech C920, for BOTH audio / video input source.

[CASE_1]

device selection state @ VM 'Devices'

	Devices
		USB
			[ ] Telex Communications, Inc. Telex USB microphone [0100]
			[ ] Logitech, Inc. HD Pro Webcam C920 [0011]
		Webcams
			[X] HD Pro Webcam C920

MS using Virtual Audio Device'Sound' > 'Recording'

	Microphone
	High Definition Audio Device
	Default Device

@ Microsoft Setup Wizard

there is NO detected audio input at all.

[CASE_2]

changing device selection state @ VM 'Devices' to

	Devices
		USB
			[X] Telex Communications, Inc. Telex USB microphone [0100]
			[ ] Logitech, Inc. HD Pro Webcam C920 [0011]
		Webcams
			[X] HD Pro Webcam C920

MS using Virtual Audio Device'Sound' > 'Recording'

	Microphone
	High Definition Audio Device
	Default Device

now @ Microsoft Setup Wizard, audio IS detected from the Telex.

and, testing further, 'separate device' audio & video work

	WebCam video INPUT from the C920      ---> WORKS
	MIC    audio INPUT from the Telex     ---> WORKS

So, this is a working config for , e.g., WebEx use in the VM

[CASE_3]

changing device selection state @ VM 'Devices' to

	Devices
		USB
			[ ] Telex Communications, Inc. Telex USB microphone [0100]
			[X] Logitech, Inc. HD Pro Webcam C920 [0011]

automatically forces the change

		Webcams
			No WebCams detected

In this config

MS using Virtual Audio Device'Sound' > 'Recording'

	Microphone
	High Definition Audio Device
	Default Device

now @ Microsoft Setup Wizard, audio IS detected from the C920.

but there is NO detected/usable video input.

Change History (2)

comment:1 by aeichner, 6 years ago

Resolution: invalid
Status: newclosed

Please reopen if still relevant with the latest 5.1 or 5.2 release and attach a VBox log.

comment:2 by pgnd, 4 years ago

Resolution: invalid
Status: closedreopened

still the same issue with 6.1.6, with _either_ a Win10 or Linux/64 guest

Last edited 4 years ago by pgnd (previous) (diff)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use