How To Enable Sound On Mac Os X In Virualbox Incoming Tech



  • The guest OS X detected Intel HD Audio, and the AppleHDA driver worked. However, no audio input & output devices were found on guest OS X. On the host OS X side, the VBox.log shows that.
  • Some other things to note is that in VirtualBox for Mac OS X, the audio is disabled by default. To enable the audio, select Settings (the OpenSolaris virtual machine must be powered down) and then Audio. Select Enable Audio and set the Host Audio Driver to CoreAudio: Leave the Audio Controller as ICH AC97.
EDIT: Added installer package for easier installation.

Complete Guide To Fix VirtualBox Errors While Installing Mac OS X At the WWDC 2018, Apple released the new macOS 10.14 Mojave — Packed with a significant number of features. The newly designed macOS is integrated with advanced security in a new interface, unique appearance, new features, new functions. I install Virtualbox5(which is newest version) on Mac mini which has newest version of OS X. Later, I installed CentOS7 on this Virtualbox and install another Virtualbox5 on CentOS7 for setting up Ambari. I am sure the Virtualbox on the Mac is VT-x enable. However, the VT-x setting on the Virtualbox on the CentOS7 is default disable. I recently move to ubuntu 12.04 from windows. I run mac os x in vmware workstation. In windows it runs properly but in ubuntu no sound at all. I googled the issue but cannot find an answer. If anyone helps i will be appreciate. Thanks in advance.


[See Below Attachments]
Put this together after setting up an OS X guest in VirtualBox and thought i'd share with the community.
This driver supports both Leopard and Snow Leopard guests
(Please note this driver is for 32-bit mode only)
To install, download and run package in guest, reboot and enjoy sound!
VirtualBox ICH AC97 Audio Driver.zip
VirtualBox ICH AC97 Audio Driver for OS X 10.5.x/10.6.x Package with installer
(57.79 KiB) Downloaded 93297 times
How To Enable Sound On Mac Os X In Virualbox Incoming Tech
To Install manual way (Simplified for those who aren't familiar with kext loading):
VirtualBoxICHAC97DriverOSX.zip
VirtualBox ICH AC97 Audio driver for OS X 10.5.x/10.6.x Manual install
(65.47 KiB) Downloaded 18781 times

You can use Kext Helper to install if you don't want to use the terminal: http://cheetha.nethttp://web.mac.com/v1.42ghz/Kext_Helper/Software_files/Kext%20Helper%20b7.zip
It's recommended to delete Extensions.mkext after still to ensure the new kext gets loaded.
Terminal method:
1.Extract the zip to your guest OS X desktop (not into a folder, literally to your desktop) this means there should be a file on your desktop called AppleAC97Audio.kext?
2. Open Terminal, (/applications/utilities/terminal.app)?
3. Type sudo -s in terminal then your admin password following this, now you should be root.?

How To Enable Sound On Mac Os X In Virtualbox Incoming Technical Support

4. Type sudo mv /users/(YOUR USERNAME)/desktop/AppleAC97Audio.kext /system/library/extensions ?
at this point the file AppleAC97Audio.kext should have disappeared from the desktop,?
5. Type sudo chmod -R 755 /System/Library/Extensions/AppleAC97Audio.kext
?6. Type sudo chown -R root:wheel /System/Library/Extensions/AppleAC97Audio.kext?
7. Now, CLOSE TERMINAL ?then go to /system/library/caches/com.apple.kext.caches/ and trash? Extensions.mkext
(This cache will regenerate automatically on boot with the current kext library)

How To Enable Sound On Mac Os X In Virtualbox Incoming Tech Support

8. Reboot and enjoy sound support!
Anyone looking to build these drivers see the source here: http://www.opensource.apple.com/source/AppleAC97Audio/AppleAC97Audio-5/
UPDATE: x86-64 source with VirtualBox tweaks here:
AppleAC97Audio-5-x86-64_sources.zip
AppleAC97Audio x86-64 source with VirtualBox tweaks, needs work for proper sound quality.
(131.45 KiB) Downloaded 9904 times

Note: This is just the source and requires XCode to compile, theres some issues with the audio quality that came with the 64-bit port that I haven't the time to track down so i'm putting it up to the community and the VirtualBox devs to take a crack at it, the important thing is this source is full 32/62-bit compliant.
Info on sound device:
Code: Select allExpand viewCollapse view
00:05.0 Multimedia audio controller [0401]: Intel Corporation 82801AA AC'97 Audio Controller [8086:2415] (rev 01) Subsystem: Intel Corporation Unknown device 0000
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at 1000
I/O ports at 1100

Notice the vendor ID is 8086 (intel) and the device id is 2415 which will be entered as 0x24158086 in IOPCIPrimaryMatch in the extension's info.plist.
info.plist from the driver package:
Code: Select allExpand viewCollapse view
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC '-//Apple//DTD PLIST 1.0//EN' 'http://www.apple.com/DTDs/PropertyList-1.0.dtd'>
<plist version='1.0'>
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>AppleAC97AudioIntelICH</string>
<key>CFBundleGetInfoString</key>
<string>1.0.0, Copyright Apple Computer, Inc. 2004</string>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleAC97AudioIntelICH</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Intel ICHx AC97 Audio Driver</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<key>IOKitPersonalities</key>
<dict>
<key>VirtualBox ICH AC97 Audio</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleAC97AudioIntelICH</string>
<key>ICH Type</key>
<integer>2</integer>
<key>IOClass</key>
<string>AppleAC97AudioIntelICH</string>
<key>IOPCIPrimaryMatch</key>
<string>0x24158086</string>
<key>IOProbeScore</key>
<integer>10000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.driver.AppleAC97Audio</key>
<string>1.0.0</string>
<key>com.apple.iokit.IOPCIFamily</key>
<string>1.1</string>
</dict>
</dict>
</plist>