Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No ENS1371 driver for VMWare Fusion audio #3778

Closed
marksteward opened this issue Jan 6, 2025 · 2 comments · Fixed by #3799
Closed

No ENS1371 driver for VMWare Fusion audio #3778

marksteward opened this issue Jan 6, 2025 · 2 comments · Fixed by #3799
Labels
board/ova Open Virtual Appliance (Virtual Machine) bug

Comments

@marksteward
Copy link

Describe the issue you are experiencing

The recommended deployment for MacOS is to use a VM. The guide currently suggests VirtualBox, but that's significantly less performant than VMWare Fusion, which is now free, and Open VM Tools is already included in the image. VMWare Fusion exposes an ENS1371 PCI sound card, and other emulated devices appear to have a history of lag and crackling.

To support this, could you add the appropriate module to device-support-pci.config:

CONFIG_SND_ENS1371=m

It's included in kernel-arm64-rockchip.config, but everything seems to be included there.

What operating system image do you use?

ova (for Virtual Machines)

What version of Home Assistant Operating System is installed?

6.6.66-haos

Did the problem occur after upgrading the Operating System?

No

Hardware details

MacBook Air 2015 Intel

Steps to reproduce the issue

  1. Set up a VM for HA
  2. Enable the soundcard
  3. On boot, dmesg says "No soundcards found."

Anything in the Supervisor logs that might be useful for us?

N/A

Anything in the Host logs that might be useful for us?

N/A

System information

No response

Additional information

No response

@marksteward marksteward added the bug label Jan 6, 2025
sairon added a commit that referenced this issue Jan 16, 2025
VMWare has option to emulate ES1371 soundcard which supposedly works better
than the default hdaudio. Enable its driver for the OVA image.

Fixes #3778
@sairon sairon added the board/ova Open Virtual Appliance (Virtual Machine) label Jan 16, 2025
@sairon sairon closed this as completed in d9fb660 Jan 16, 2025
@marksteward
Copy link
Author

Thanks for that!

For the record, the default is es1371, to use hdaudio these days you need to add the following undocumented setting to the .vmx:

sound.virtualdev = "hdaudio"

Which I worked out since raising this ticket, but consensus seems to be that es1371 is better.

@marksteward
Copy link
Author

Just to confirm, this works great on 14.2, and puts the microphone in capture mode by default, which the hdaudio doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/ova Open Virtual Appliance (Virtual Machine) bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants