Jump to content
We're Hiring! Full Stack Developer ×

USB Audio Passthrough


bigjme

Recommended Posts

Hi Everyone,

 

So i have been going through and setting up my second windows 10 vm to come across a couple of weird audio issues.

 

My primary vm is using the onboard audio which works perfectly.

 

For my second vm, i tried connecting a hdmi cable and using audio that way, this results in audio being found, however when running a windows audio test, the left speaker would play fine, but then lock up, with no more audio playing and a message saying something else was using the audio device.

 

I then tried buying a cheap usb sound card (Creative Sound Blaster Play! 2 USB Sound Card) which connected fine, but when doing audio tests, in the middle of each ear of the windows audio test, the sound would become completely distorted making it unusable, i can record this and upload if needed.

 

I then tried my Blue Yeti microphone which has a built in dac to find the same result. All the devices work fine on a plain windows install just not when passed through. I tried the change that jonp posted here https://lime-technology.com/forum/index.php?topic=41922.0

 

For this, when i tried to do a windows audio test, the sound would lock up entirely and play nothing.

 

Is there something really stupid i am missing? I am unable to pass through the entire usb controlled as all my back usb ports are on one controller, and i can't fit another pci-e device into the system.

 

Does anyone have any recommendations as i am totally lost with this

 

Regards,

Jamie

Link to comment

Did you try changing your XHCI and or EHCI setting in your bios to see if you could separate a few of your usb ports onto another bus? If possible I think passing the whole usb controller to the vm will be a much faster and simpler solution. It will also give you plug and play ability.

Link to comment

Sadly not. My motherboard is an Asrock X99-WS E and only has something like 6 usb ports on the back all locked to a single main controller.

My original plan was to pass across an entire controller but this motherboard doesn't have multiple hubs on the back ports

 

Here is a list of my usb devices

Bus 004 Device 002: ID 8087:8002 Intel Corp. 
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:800a Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 2109:0812  
Bus 002 Device 005: ID 2109:0812  
Bus 002 Device 003: ID 2109:0812  
Bus 002 Device 002: ID 174c:3074 ASMedia Technology Inc. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 010: ID 1bcf:0005 Sunplus Innovation Technology Inc. 
Bus 001 Device 009: ID 0c45:760b Microdia 
Bus 001 Device 007: ID 041e:323d Creative Technology, Ltd 
Bus 001 Device 005: ID 2109:2812  
Bus 001 Device 012: ID 1532:0043 Razer USA, Ltd 
Bus 001 Device 011: ID 2109:2812  
Bus 001 Device 008: ID 1b1c:1b13 Corsair 
Bus 001 Device 006: ID b58e:9e84 Blue Microphones Yeti Stereo Microphone
Bus 001 Device 004: ID 2109:2812  
Bus 001 Device 002: ID 174c:2074 ASMedia Technology Inc. 
Bus 001 Device 003: ID 1b1c:1a14 Corsair 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

As you can see, all my back usb ports are connected to Bus 001, the others seem to be internal headers, which i can't use due to a GPU in the way

 

I may be miss understanding and i can separate up the on-board controller?

 

Regards,

Jamie

Link to comment

Yes you may be able to split some of those ports onto another bus. You will need to boot into your UEFI/Bios. I have never had an asrock board so I am not sure what the heading will be. On my Asus board it was in advanced settings under usb configuration. There you will find settings for XHCI and EHCI. You will need to change these setting one at a time save the changes and boot into unraid to check if you were able to get some of the usb ports to another bus. A spare usb thumb drive or other usb device that is not being used will help. Plug the drive into each port and use the lsusb cmd to find what bus it is on.

Link to comment

I had considered the expansion card. My system has the following in it right now

 

1 x GTX 240

1 x GTX 750Ti

1 x GTX 780

 

I have 2 PCI-E single slots left and i was hoping to install a SAS raid card into the gap. I may be able to free up a 3rd slot if i replace the GTX 240 with a single slot GPU, but i have yet to find a low power single slot that i like the look of.

Link to comment

So, in an attempt to not install a usb expansion card i tried to see what usb groups i could get on my system. This is my result from lspci filtered to USB

00:14.0 USB controller: Intel Corporation C610/X99 series chipset USB xHCI Host Controller (rev 05)
00:1a.0 USB controller: Intel Corporation C610/X99 series chipset USB Enhanced Host Controller #2 (rev 05)
00:1d.0 USB controller: Intel Corporation C610/X99 series chipset USB Enhanced Host Controller #1 (rev 05)

 

Here is my output from lsusb

Bus 004 Device 002: ID 8087:8002 Intel Corp. 
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:800a Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 010: ID 2109:0812  
Bus 002 Device 003: ID 174c:3074 ASMedia Technology Inc. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 1b1c:1a14 Corsair 
Bus 001 Device 023: ID 1bcf:0005 Sunplus Innovation Technology Inc. 
Bus 001 Device 022: ID 0c45:760b Microdia 
Bus 001 Device 021: ID 041e:323d Creative Technology, Ltd 
Bus 001 Device 020: ID 2109:2812  
Bus 001 Device 005: ID 174c:2074 ASMedia Technology Inc. 
Bus 001 Device 019: ID 1532:0043 Razer USA, Ltd 
Bus 001 Device 018: ID 2109:2812  
Bus 001 Device 017: ID 1b1c:1b13 Corsair 
Bus 001 Device 016: ID b58e:9e84 Blue Microphones Yeti Stereo Microphone
Bus 001 Device 015: ID 2109:2812  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

As you can see, i have 3 pci usb controllers, but 4 bus's shown.

I plugged my unraid install to the onboard usb socket, connected up the 2 usb 3 connected on the motherboard to my front usb

 

I tried connecting my keyboard/mouse to every usb connector on the motherboard to find it showed in bus 1 no matter what i connected it to.

I then connected a spare usb 3 pendrive to my front usb connectors.. My usb devices now look as follows

 

Bus 004 Device 002: ID 8087:8002 Intel Corp. 
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:800a Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 011: ID 0951:16a5 Kingston Technology 
Bus 002 Device 010: ID 2109:0812  
Bus 002 Device 003: ID 174c:3074 ASMedia Technology Inc. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 1b1c:1a14 Corsair 
Bus 001 Device 023: ID 1bcf:0005 Sunplus Innovation Technology Inc. 
Bus 001 Device 022: ID 0c45:760b Microdia 
Bus 001 Device 021: ID 041e:323d Creative Technology, Ltd 
Bus 001 Device 020: ID 2109:2812  
Bus 001 Device 005: ID 174c:2074 ASMedia Technology Inc. 
Bus 001 Device 019: ID 1532:0043 Razer USA, Ltd 
Bus 001 Device 018: ID 2109:2812  
Bus 001 Device 017: ID 1b1c:1b13 Corsair 
Bus 001 Device 016: ID b58e:9e84 Blue Microphones Yeti Stereo Microphone
Bus 001 Device 015: ID 2109:2812  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

Notice the kingston usb in bus 2. Connecting the usb to my usb hubs puts it in usb bus 1, and switching from one usb socket to another makes it jump between bus 1 and 2.

I haven't been able to get it to go into bus 3 or 4 at all.

 

Connecting a usb keyboard or mouse into a port that puts the pendrive as bus 2, always puts the devices into bus 1

 

Is there something i'm missing or is something being stupidly picky about what bus it puts things into?

 

My BIOS has no XHCI or EHCI options that i can see, and i have even tried a full CMOS clear which changed nothing.

 

Any other suggestions? I don't really fancy buying a new GPU, and 2 USB expansion cards just to provide decent usb to my vm's

 

Regards,

Jamie

Link to comment
  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...