Mac OS X guest sound support driver UPDATE [See Attachment]

Mac OS X guest sound support driver UPDATE [See Attachment]

Postby OmegaX » 12. May 2010, 06:40

EDIT: Added installer package for easier installation.
[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
VirtualBox ICH AC97 Audio Driver for OS X 10.5.x/10.6.x Package with installer
(57.79 KiB) Downloaded 94217 times


To Install manual way (Simplified for those who aren't familiar with kext loading):
VirtualBox ICH AC97 Audio driver for OS X 10.5.x/10.6.x Manual install
(65.47 KiB) Downloaded 19101 times

You can use Kext Helper to install if you don't want to use the terminal:
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/
3. Type sudo -s in terminal then your admin password following this, now you should be root.?
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/ and trash? Extensions.mkext
(This cache will regenerate automatically on boot with the current kext library)
8. Reboot and enjoy sound support!


Anyone looking to build these drivers see the source here:

UPDATE: x86-64 source with VirtualBox tweaks here:
AppleAC97Audio x86-64 source with VirtualBox tweaks, needs work for proper sound quality.
(131.45 KiB) Downloaded 10198 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 all   Expand 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 all   Expand viewCollapse view
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
   <string>1.0.0, Copyright Apple Computer, Inc. 2004</string>
   <string>Intel ICHx AC97 Audio Driver</string>
      <key>VirtualBox ICH AC97 Audio</key>
         <key>ICH Type</key>
Last edited by OmegaX on 16. Jun 2010, 12:11, edited 12 times in total.
Posts: 24
Joined: 12. May 2010, 06:19
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: OS X Snow Leopard

Return to Other Guests

Who is online

Users browsing this forum: No registered users and 1 guest