USB Microphone does not work. host: win10 guest: linux mint 20

Discussions related to using VirtualBox on Windows hosts.
Post Reply
sternenfahrer
Posts: 3
Joined: 12. Nov 2020, 15:36

USB Microphone does not work. host: win10 guest: linux mint 20

Post by sternenfahrer »

Hi,

perhaps someone has an idea for my problem. Host: Win 10 with VirtualBox 6.1 Guest: Linux Mint 20

mic is connected to USB on host.
In Virtualbox: Audio Input Enabled, Microphone added and shown in USB Device Filter ( set Remote to Any).
When VM is started, Microphone disappears in Host configuration. I guess that is correct since VirtualBox grabs the mic.

The Mic is shown then in guest configuration (Linux Mint) as USB Microphone. All seem to be ok.
It is also possible to mute and activate the mic from inside guest. (The mic has an indicator led which shows if it is muted or not).

Even though I can control the mic from guest, there is no audio input. Seem to be a one way street.

Thanks for your help
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: USB Microphone does not work. host: win10 guest: linux mint 20

Post by scottgus1 »

Go through USB basics and troubleshooting. If steps 1 through 7 cannot get your device working, please provide the troubleshooting command outputs in step 8, as text in

Code: Select all

 tags. Also zip and post the requested vbox.log, using the forum's Upload Attachment tab.
sternenfahrer
Posts: 3
Joined: 12. Nov 2020, 15:36

Re: USB Microphone does not work. host: win10 guest: linux mint 20

Post by sternenfahrer »

Hi, thanks for your help.

The USB microphone works perfectly at host. But in Guest not.
I don't guess that this is a general problem, since yesterday I configured a webcam with mic included. The webcam mic works perfectly in Guest.

Did steps 1 to 7 without success. Here ist the output of step 8:

VBoxManage -version

Code: Select all

6.1.16r140961
VBoxManage list extpack

Code: Select all

Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 6.1.16
Revision: 140961
Edition:
Description: Oracle Cloud Infrastructure integration, USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module: VBoxVRDP
Usable: true
Why unusable:
VBoxManage list usbhost (its about Yanmai USB Microphone)

Code: Select all

UUID: 83378f65-e48f-4b35-a07d-a32da3373d00
VendorId: 0x25a7 (25A7)
ProductId: 0x2433 (2433)
Revision: 16.1 (1601)
Port: 8
USB version/speed: 1/Full
Manufacturer: 2.4G
Product: 2.4G Wireless Device
Address: {36fc9e60-c465-11cf-8056-444553540000}\0033
Current State: Busy

UUID: cce7c649-6879-4253-8f25-9bc4784621e7
VendorId: 0x1b3f (1B3F)
ProductId: 0x2247 (2247)
Revision: 1.0 (0100)
Port: 13
USB version/speed: 2/High
Manufacturer: GENERAL
Product: GENERAL WEBCAM
SerialNumber: JH0319_20200710_v012
Address: {36fc9e60-c465-11cf-8056-444553540000}\0029
Current State: Busy

UUID: cea2c922-b56d-4514-8462-0e762f2d6f3c
VendorId: 0x1b3f (1B3F)
ProductId: 0x2019 (2019)
Revision: 1.0 (0100)
Port: 3
USB version/speed: 1/Full
Manufacturer: Yanmai
Product: USB Microphone
SerialNumber: QY306
Address: {36fc9e60-c465-11cf-8056-444553540000}\0022
Current State: Busy

UUID: 44e716b1-b0f7-4670-a2ba-65a47d0c4e34
VendorId: 0x174c (174C)
ProductId: 0x1153 (1153)
Revision: 0.1 (0001)
Port: 25
USB version/speed: 3/Super
Manufacturer: ASMedia
Product: AS2115
SerialNumber: 00000000000000000000
Address: {4d36e97b-e325-11ce-bfc1-08002be10318}\0004
Current State: Busy

UUID: ecb24862-e48a-4558-9cf8-8913804ab19c
VendorId: 0x0bc2 (0BC2)
ProductId: 0xab38 (AB38)
Revision: 1.0 (0100)
Port: 1
USB version/speed: 3/Super
Manufacturer: Seagate
Product: Backup+ Hub BK
SerialNumber: NA9QPP45
Address: {4d36e97b-e325-11ce-bfc1-08002be10318}\0006
Current State: Busy

UUID: 3b539be4-d94b-43f0-bc84-88b850ab6d36
VendorId: 0x0a12 (0A12)
ProductId: 0x0001 (0001)
Revision: 136.145 (136145)
Port: 14
USB version/speed: 2/Full
Manufacturer: Cambridge Silicon Radio, Ltd
Product: Bluetooth Dongle (HCI mode)
Address: {e0cbf06c-cd8b-4647-bb8a-263b43f0f974}\0000
Current State: Busy
VBoxManage list usbfilters

Code: Select all

Global USB Device Filters:

<none>
VBoxManage showvminfo "Linux_Mint"

Code: Select all

Name:                        Linux_Mint
Groups:                      /
Guest OS:                    Ubuntu (64-bit)
UUID:                        3ec38a33-d823-458d-8fd4-15b7dfe41af7
Config file:                 C:\Users\stern\VirtualBox VMs\Linux_Mint\Linux_Mint.vbox
Snapshot folder:             C:\Users\stern\VirtualBox VMs\Linux_Mint\Snapshots
Log folder:                  C:\Users\stern\VirtualBox VMs\Linux_Mint\Logs
Hardware UUID:               3ec38a33-d823-458d-8fd4-15b7dfe41af7
Memory size                  4096MB
Page Fusion:                 disabled
VRAM size:                   128MB
CPU exec cap:                100%
HPET:                        disabled
CPUProfile:                  host
Chipset:                     piix3
Firmware:                    BIOS
Number of CPUs:              1
PAE:                         disabled
Long Mode:                   enabled
Triple Fault Reset:          disabled
APIC:                        enabled
X2APIC:                      enabled
Nested VT-x/AMD-V:           disabled
CPUID Portability Level:     0
CPUID overrides:             None
Boot menu mode:              message and menu
Boot Device 1:               Floppy
Boot Device 2:               DVD
Boot Device 3:               HardDisk
Boot Device 4:               Not Assigned
ACPI:                        enabled
IOAPIC:                      enabled
BIOS APIC mode:              APIC
Time offset:                 0ms
RTC:                         UTC
Hardware Virtualization:     enabled
Nested Paging:               enabled
Large Pages:                 enabled
VT-x VPID:                   enabled
VT-x Unrestricted Exec.:     enabled
Paravirt. Provider:          Default
Effective Paravirt. Prov.:   KVM
State:                       powered off (since 2020-11-14T15:38:17.000000000)
Graphics Controller:         VMSVGA
Monitor count:               1
3D Acceleration:             enabled
2D Video Acceleration:       disabled
Teleporter Enabled:          disabled
Teleporter Port:             0
Teleporter Address:
Teleporter Password:
Tracing Enabled:             disabled
Allow Tracing to Access VM:  disabled
Tracing Configuration:
Autostart Enabled:           disabled
Autostart Delay:             0
Default Frontend:
VM process priority:         default
Storage Controller Name (0):            SATA
Storage Controller Type (0):            IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  30
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
SATA (0, 0): C:\Users\stern\VirtualBox VMs\Linux_Mint\Snapshots/{611732d7-7ead-4702-992a-1f2b75804542}.vdi (UUID: 611732d7-7ead-4702-992a-1f2b75804542)
SATA (1, 0): H:\vb_share\Linux_Mint_1.vdi (UUID: 8e0d45ee-d0a3-4e5d-9faf-444b1b22266a)
NIC 1:                       MAC: 0800278FA1CA, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:                       disabled
NIC 3:                       disabled
NIC 4:                       disabled
NIC 5:                       disabled
NIC 6:                       disabled
NIC 7:                       disabled
NIC 8:                       disabled
Pointing Device:             USB Tablet
Keyboard Device:             PS/2 Keyboard
UART 1:                      disabled
UART 2:                      disabled
UART 3:                      disabled
UART 4:                      disabled
LPT 1:                       disabled
LPT 2:                       disabled
Audio:                       enabled (Driver: DSOUND, Controller: AC97, Codec: STAC9700)
Audio playback:              enabled
Audio capture:               enabled
Clipboard Mode:              Bidirectional
Drag and drop Mode:          Bidirectional
VRDE:                        disabled
OHCI USB:                    disabled
EHCI USB:                    disabled
xHCI USB:                    enabled

USB Device Filters:

Index:                       0
Active:                      yes
Name:                        HP LaserJet MFP M28-M31 [0100]
VendorId:                    03f0
ProductId:                   bf2a
Revision:                    0100
Manufacturer:                HP
Product:                     HP LaserJet MFP M28-M31
Remote:                      0
Serial Number:               VNC4K26209

Index:                       1
Active:                      yes
Name:                        Yanmai USB Microphone
VendorId:                    1b3f
ProductId:                   2019
Revision:
Manufacturer:
Product:
Remote:
Serial Number:

Index:                       2
Active:                      yes
Name:                        SanDisk Ultra [0100]
VendorId:                    0781
ProductId:                   5581
Revision:                    0100
Manufacturer:                SanDisk
Product:                     Ultra
Remote:                      0
Serial Number:               4C530001230502121284

Index:                       3
Active:                      yes
Name:                        GENERAL WEBCAM
VendorId:                    1b3f
ProductId:                   2247
Revision:
Manufacturer:
Product:
Remote:                      0
Serial Number:

Bandwidth groups:  <none>

Shared folders:<none>

Capturing:                   not active
Capture audio:               not active
Capture screens:             0
Capture file:                C:\Users\stern\VirtualBox VMs\Linux_Mint\Linux_Mint.webm
Capture dimensions:          1024x768
Capture rate:                512kbps
Capture FPS:                 25kbps
Capture options:

Guest:

Configured memory balloon size: 0MB

Snapshots:

   Name: Sicherungspunkt 1 (UUID: 13ba160d-24e5-437d-b220-ab7156f35ebe)
      Name: Sicherungspunkt 2 (UUID: 7ea44180-f28f-469b-9906-b244a2c3325e) *
Thanks
Ralph
Attachments
Linux_Mint-2020-11-14-17-13-55.zip
vbox.log
(31.68 KiB) Downloaded 4 times
VBoxSVC.zip
vboxsvc.log
(2.5 KiB) Downloaded 3 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: USB Microphone does not work. host: win10 guest: linux mint 20

Post by scottgus1 »

Looks like you are using USB3 in the guest:
xHCI USB: enabled
You have a valid USB filter for the microphone:
Active: yes
Name: Yanmai USB Microphone
VendorId: 1b3f
ProductId: 2019
And the microphone entered the guest environment:
00:00:59.591255 VUSB: Attached '0000000006aa7ac0[proxy 1b3f:2019]' to port 3 on RootHub#1 (FullSpeed)
What I notice, and I am not certain if this is correct or not, is that the device enters Fullspeed, same as the mouse does. FullSpeed is USB 1.

If this device is labeled as USB 2, then it's coming in too slow. I don't know why or how to change this, though.
sternenfahrer
Posts: 3
Joined: 12. Nov 2020, 15:36

Re: USB Microphone does not work. host: win10 guest: linux mint 20

Post by sternenfahrer »

Many thanks for your help.
I replaced the mic with another one, which is working with VirtualBox.
So actually the problem is solved :wink:

Cheers
Ralph
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: USB Microphone does not work. host: win10 guest: linux mint 20

Post by scottgus1 »

Great! Glad you found a work-around.
Post Reply