VMware vSphere

 View Only
  • 1.  Does ESXi have an audio service?

    Posted Feb 22, 2023 11:57 PM

    Trying to pass a USB audio interface through to a VM, I noticed that there's an option to add virtual audio devices already on the host client. Not on the vSphere Client though. I thought maybe it was because that particular VM was created on a Type 2 hypervisor then pushed through vCenter but I checked on one of the Photo helper machines vCenter creates and those have the option too.

    Before passing through the USB device I tried adding a virtual audio interface to the VM then, but it didn't work. Then again, this was a specialized OS where neither the USB passthrough worked. I checked it with another VM to verify it works via direct USB attachment with another VM, but I had already forgotten about that when there was something shiny distracting me over the other side. Does ESXi has an audio service? Could I share a single physical audio interface — as long as it is supported by ESXi, of course. Like NICs — with a few VMs?

    Why is there an audio interface assignable on ESXi, on Fusion, on Workstation Pro for Linux and Windows but not on the vCenter/vSphere Client if it's the one thing that connect to/accepts connections from all of the above, the one thing that its job is to know everything about the devices and expose configuration options otherwise obscured on them? e.g; DirectPath I/O.



  • 2.  RE: Does ESXi have an audio service?

    Posted Feb 23, 2023 10:08 AM


  • 3.  RE: Does ESXi have an audio service?

    Posted Feb 23, 2023 02:45 PM

    ,

    Video and Audio devices are not supported as USB Redirection as mentioned in this KB: https://kb.vmware.com/s/article/1021345

    It could or could not work, but there are not specific guidelines to follow from VMware, just members from the community.

     



  • 4.  RE: Does ESXi have an audio service?

    Posted Feb 24, 2023 01:41 PM

    No, ESXi does not support audio devices. It does not have any drivers or services for them.

    Although you can add a virtual sound device to a VM using the ESXi host client such devices do not have any hardware backing, i.e. you won't be able to hear the sound played on them. This option probably only exists, because ESXi shares the virtual hardware emulation code with VMware Workstation/Fusion (where this makes more sense).

    On ESXi you might try to pass through a USB or PCI audio device to a VM, but it can then be used by this VM only.

    - Andreas