Jump to content

ALC889A, Gigabyte (Intel): now having a working front mic

ALC889aALC898 ALC887(H87M-HD3) ALC662(945GCM-S2L)

  • Please log in to reply
1152 replies to this topic

#1
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

Thanks and credits to:
THe KiNG, stickpin, Kabyl, karaakeha1, MadTux, Taruga, OcciJano, MaLd0n, toleda, janek202, RevoGirl and everyone (will be listed if I remember) who published tools, kexts, information, and hints.

Note: I removed all patched binary kexts. Sorry for this action because I want to clean up this post. Date: 2011, August 04.

Knowledge & How to:
[HOW TO] Patch AppleHDA - Knowledge Base by THe KiNG, this's useful. Please read all of them to get some idea for you.
How to patch AppleHDA.kext from 10.5.2 and above, Ii is a little bit hard, but is fun. by MadTux
[How To] Pinconfig for Linux users by Master Chief
Audio Device Technologies for Windows from Microsoft
Pin Configuration Guidelines for High Definition Audio Devices from Microsoft
Legacy AppleHDA for BOOT-132 by stickpin
[How TO] 5.1 Surround Sound by consolation
[How to] Have sound on all of your speakers by macgirl
How to get 5.1 audio out of AAC-surround-encoded audio
Editing custom personalities for ATI Radeon HD[45]{censored} by bcc9


DSDTs:
DSDT: trick retail drivers by changing "device-id" (e.g USB)by zhell
ACPI (DSDT) Patcher for BIOS and AML by koalala
DSDT Patcher by fassl
DSDT fixes for Gigabyte boards by iSoprano
DSDT - Vanilla Speedstep - Remove _cst errors for MB without C-states by FormerlyKnownAs

HDEF_DSDT-Patcher_Gigabyte go to post #951

Installing legacy kext, and HDAEnabler.kext to whare?
1) legacy kext(s) and HDAEnabler.kext can be installed into /Extra/Extensions, /Extra/Extensions.mkext, or /System/Library/Extensions.
2) LegacyHDA.kext contains only info.plist so it has to work with AppleHDA.kext.

4) HDAEnabler.kext is not required if you are using DSDT.aml with HDEF injection.
5) layout-id in DSDT or HDAEnabler.kext must be matched to LayoutID in info.plists of LegacyHDA.kext or AppleHDA.kext.
6) To avoid popping sound is to be MacPro because my work based on MacPro setting.

How to enabler sound: there are three ways as I've known. Use only one that works for you.
1) Using HDAEnabler.kext.
2) Using DSDT with HDEF injection.
3) Using EFI string.

How to get sound working: there are many ways.
1) vanilla AppleHDA.kext + LegacyHDA.kext + HDAEnabler.kext (or DSDT w/ HDEF injection) for ALC889a/ALC885
2) vanilla AppleHDA.kext + LegacyHDA.kext + DSDT w/ HDEF injections and HDAU (HDMI audio) injection for ALC889a/ALC885 plus nVidia GT220*
3) bin patched AppleHDA.kext for ALC### only + LegacyHDA.kext for ALC### + HDAEnabler.kext (or DSDT w/ HDEF injection)
4) bin patched AppleHDA.kext for ALC### plus nVidia GT240* + LegacyHDA.kext for ALC### + DSDT w/ HDEF & HDAU injections
5) bin patched AppleHDA.kext & edited info.plists for ALC### + HDAEnabler.kext (or DSDT w/ HDEF injection)
6) bin patched AppleHDA.kext & edited info.plists for ALC### plus nVidia GT240* + DSDT w/ HDEF & HDAU injections
7) bin patched AppleHDA.kext & edited info.plists for ALC### only plus nVidia GT220* + DSDT w/ HDEF & HDAU injections
8) ALC### disabled plus nVidia GT220*: vanilla AppleHDA.kext + DSDT w/ HDAU injection
9) ALC### disabled plus nVidia GT240*: bin pathced AppleHDA.kext for nVidia GT240 only + DSDT w/ HDAU injection


HDMI: all links seem to be broken and I will update them as much as I can.
There are two methods to get audio via an HDMI cable.
1). For nVidia graphic cards that have a S/PDIF connector , read Post #759.
2). For a graphic card that has a built-in audio chip, see Post #760. Update: thanks to toleda for telling me how to add "connector-type" in DSDT so that I can get HDMI audio working again.
-- for GT240M -- HDMI audio by Jingu
-- for GTX480 -- need to read previous posts by zzebulonn
-- for Sapphire vapor-x HD 5770 -- HDMI audio by VCH888

USB Audio:
C-Media CM6206 Enabler for Mac OS X v2.1

 

In case of no sound after waking up from sleep, see https://discussions....art=90&tstart=0

for patching AppleHDA, OS X 10.10 to edit script
from line of
cat /tmp/patch|grep -A 500 "<key>IOClass</key>" 
to line to
cat /tmp/patch|grep -A 700 "<key>IOClass</key>" 

Added for H87M-HD3: Outputs are similar to 945GCM-S2L's ALC662. There are two methods.

Attached File  ALC887_H87M-HD3_v1.00.zip   37.02KB   28 downloads  or

Attached File  ALCpatchers_H87M-HD3.zip   23.8KB   30 downloads

 

 

Script patcher for ALC662, 899a/885, and 898: This will patch AppleHDA.kext and you don't need such ALC885HDA.kext, for example.  Still need any kind of sound enabler.

(not test for ALC662 but should be working) (credit to script's writers)

OS X 10.8.5 and 10.9

Attached File  ALCpatchers.zip   141.36KB   442 downloads

 

For OS X 10.7 (*.xml files) & 10.8 - 10.9 (*.xml.zlib files)

ALC898 (899) for my Z77X-UP5 TH

 

For 10.9, using this Attached File  ALC889HDA.kext.zip   2.97KB   238 downloads instead of ALC898HDA.kext due to not in OSKextSigExceptionList
reason: fix if using Headphone (might be on and off between Speakers [rear green] and Headphone [front green]), thanks to toleda. Just tested Headphone fully on March 1, 2013.
Attached File  ALC898HDA_Lion_MLion_V1.3.zip   295.49KB   329 downloads

 

fixed missing layout 9 and removed a few of codec verbs in ALC898HDA.kext. (July 20, 2013)

Attached File  ALC898HDA_Lion_MLion_V1.31.zip   296.24KB   165 downloads

 

***related to 8419d411 in AppleHDA 10.8.5 & 10.9, may patch only

sudo perl -pi -e 's|\x84\x19\xd4\x11|\x99\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

SOLVED using Clover UEFI r1932 or higher (credit to pene @ projectosx)

For booting UEFI with Clover needs to edit config.plist.  Credit to Slice.  (07/01/2013)

This solution will fix sound issue when you're using iTunes, related to AppleHDA 10.9 & 10.8.5.

	<key>CPU</key>
	<dict>
		<key>BusSpeedkHz</key>
		<string>99790</string> or <string>100000</string>
	</dict>

For more information about BusSpeedkHz, read  http://clover-wiki.z...ion#BusSpeedkHz

 

 

 

ALC662
Attached File  ALC662HDA_Lion_MLion_V1.00.zip   274.55KB   567 downloads
may try these lines for ALC662 (07-19-2012) (thanks to TimeWalker & people @ applelife for some idea, discussion of AppleHDA 10.8)


sudo perl -pi -e 's|\x85\x08\xec\x10|\x62\x06\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

sudo perl -pi -e 's|\x84\x08\xec\x10|\x61\x06\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

ALC889a
Attached File  ALC885HDA_Lion_MLion_V1.00.zip   284.29KB   1484 downloads

ALC889

trying for my Z68XP-UD3R (SOLD) and setting to be iMac12,2. better for multi-device output. (07-19-2012) Note: can not use layout-id =1 if trying these patching lines. (thanks for toleda's notice)(07-25-2012)


sudo perl -pi -e 's|\x00\x88\xec\x1a|\x89\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

sudo perl -pi -e 's|\xff\x87\xec\x1a|\x88\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

HDMI audio & M-Lion : some lucky nVidia graphic cards with built-in HDMI audio may be working without patching binary files but still need such the follwowing lines in DSDT. Thanks :guitar: (07-25-2012)

 

***will fix this section later

 

For OS X 10.7
Now having a working front mic, more details inside. (I tested my 662, 885, and Z68X/889.) I made for Lion only.

Update: added more pathmaps and others (22/02/2012)
Attached File  ALCHDASeries_Lion_V1.11.zip   330.07KB   711 downloads

Update: fixed codec verbs to match layout662.xml (for ALC662)
Attached File  ALCHDASeries_Lion_V1.03.zip   104KB   98 downloads

Attached File  ALCHDASeries_Lion_V1.02.zip   103.86KB   98 downloads


For Gigabyte Z68XP series (one HDMI port) and how to get HDMI display and audio on HD3000
Attached File  Gigabyte_Z68XP_series.zip   41.59KB   82 downloads
Update: fixed codec verbs in ALC889HD3000.kext for removing unused ports from System Information in each layout-id.
Attached File  Gigabyte_Z68XP_series_version_1.2.zip   43.05KB   88 downloads

ALC885/889a
Attached File  ALC885_889a_LION.zip   15.67KB   5933 downloads

ALC889 (Gigabyte Sandy Bridge mother boards)
Attached File  ALC889_for_Gigabyte_67_68_chipset.zip   16.94KB   1825 downloads
Attached File  ALC889_Lion_V2.zip   20.8KB   829 downloads

Based on combo update;
For ALC889a, you may copy Platforms.xml to /System/Library/Extensions/AppleHDA.kext/Contents/Resources before restarting after the installation of Lion update has done.
For ALC889, you need to restart after updating and then patch bin and copy Platforms.xml again (if need). Don't forget to touch Extensions and restart.

Useful tool: HDA Wizard by janek202

Other ALC### may find this.

Playing DVD with VLC + Aggregate Device for 5.1, setting Sample Rate @ 48000 Hz (Audio Midi Setup).

For OS X 10.6, up to 10.6.7

The kind of legacy kext for sound on board(s), including ALC662, ALC887/888b, ALC888, ALC889, and ALC892. More easier, DIY. Thanks to MaLd0n, toleda and others.
Note: Front mic will be working as Line In.
Attached File  Legacy_ALCxxx.zip   98.58KB   4121 downloads

or old ones
up to 10.6.7
LegacyHDA.kext and HDAEnabler.kext for ALC889a/ALC885
Attached File  ALC889a_LayoutID_885.zip   73.85KB   8184 downloads

Specially for ALC889 and ALC892: Due to limitations, getting 4 ch. analog output (two ports) and two S/PDIF ports. Should be useful for 9400-9600GT (or others) graphic cards that have HDMI port and S/PDIF pin.
Attached File  ALC889_892_2DG.zip   19.02KB   811 downloads

10.6.3
Attached File  How_to_patch_AppleHDA.zip   1.07MB   4122 downloads
For using a new AppleHDA.kext (1.8.4fc3 or later), ALC662, ALC883, ALC888B (or ALC887), ALC888 and ALC889 will not be able to use LegacyHDA.kext without patching AppleHDA binary. This is DIY. You can make your sound card working. Gigabyte mainboards that have ALC889a can use LegacyHDA.kext with the latest AppleHDA.kext without issues.

10.6 &amp; 10.6.1 &amp; 10.5.8
For Gigabyte (E)P35 &amp; (E)P45 and may be compatible to other Gigabyte motherboards on how to make DSDT.
There are LegacyHDA.kexts for ALC889a and ALC888.
Attached File  How_to_patch_DSDT_with_LAN_and_HDEF_functions_including_LegacyHDA.zip   552.38KB   12765 downloads
Also see more info about HDEF @post #392 for ALC889a
Also see more info about HDEF @post #498 for ALC888

Series of LegacyHDA.kext for Gigabyte ALC888 and ALC889a 10.5.8 &amp; Snow*
Attached File  Series_of_LegacyHDA.zip   414.67KB   5461 downloads

HDAEnabler for someone doesn't want to edit DSDT with HDEF.
HDAEnabler for Snow.zip



For OS X 10.5 for Gigabyte ALC889A, old stuff.

Credit to stickpin for making legacy kexts.
working with AppleHDA.kext version 1.5.7a24, 1.6.2a37
for ALC889A layout-id = 889 ; 0x00000379 ; 0x79, 0x03, 0x00, 0x00
Attached File  Legacy_3outs3ins_digital_HDA_headphone.zip   21.74KB   854 downloads
Attached File  Legacy_3outs3ins_digital_regualr_headphone.zip   21.96KB   362 downloads
Attached File  Legacy_4outs3ins_analog_HDA_headphone.zip   21.67KB   624 downloads
Attached File  Legacy_4outs3ins_analog_regualr_headphone.zip   21.91KB   422 downloads
You may learn how to edit layout and pathmap to get outputs from these legacy kexts.

No front mic available.
Attached File  series_of_legacy_no_front_mic.zip   95.22KB   578 downloads

Requirement: OS X 10.5.7 or higher
1.6.8a3 AppleHDA, front mic is not available. layout-id = 885 ; 0x00000375 ; 0x75, 0x03, 0x00, 0x00
Attached File  HDAEnabler_for_1057.zip   11.88KB   2021 downloads This HDAEnabler.kext should be used with 1.6.8a3 AppleHDA.kext.
Attached File  Series_LegacyHDA_1057.zip   109.58KB   1426 downloads

*****************************************


Edited by VCH888, 06 June 2014 - 04:10 AM.


#2
Reign Of Terror

Reign Of Terror

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:Milwaukee WI
any idea how i can get my ALC888 onboard sound workin on a GA-EX58-DS4? heres my linux codec dump:

Attached Files



#3
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

any idea how i can get my ALC888 onboard sound workin on a GA-EX58-DS4? heres my linux codec dump:


To Reign Of Terror,

This is your request. removed please go to post #12 for ALC888

I am not sure whether it's working or not. Please try and reply me your result.

#4
Reign Of Terror

Reign Of Terror

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:Milwaukee WI
hmm... i tried installing the AppleHDA and HDAEnabler kexts from the 3outs3ins folder with kexthelper, and it made my boot time go from about 10 secs to about 45 secs, after which it just gives me a blank black screen. i booted back into windows, deleted the kexts, and Leopard loaded in 10 secs with no problems. any idea?

#5
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

hmm... i tried installing the AppleHDA and HDAEnabler kexts from the 3outs3ins folder with kexthelper, and it made my boot time go from about 10 secs to about 45 secs, after which it just gives me a blank black screen. i booted back into windows, deleted the kexts, and Leopard loaded in 10 secs with no problems. any idea?


To Reign Of Terror

I used to got the same problem when I used the wrong Layout. So, I decided to remove all "SignalProcessing" key from PathMapRef.

Please try again and reply me your result.

removed

tmongkol

#6
MacNutty

MacNutty

    Mad for Mac

  • Members
  • PipPipPipPipPipPipPip
  • 648 posts
  • Gender:Male
  • Location:India

To Reign Of Terror

I used to got the same problem when I used the wrong Layout. So, I decided to remove all "SignalProcessing" key from PathMapRef.

Please try again and reply me your result.



tmongkol


Will it work for ALC888/S/T on DG33FB with 6 channel (5.1 sound)?

#7
Reign Of Terror

Reign Of Terror

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:Milwaukee WI
to tmongkol:

I havent tried your latest kext package, but I have good news. I emailed the guy over at osxupdate.blogspot.com about my issue with your last kext package, as well as other things I've tried, and he sent over a few different kexts that he whipped up based on my codec_dump.txt file. One of them worked!

I now have rear audio output, digital output, rear audio input, front audio output, and rear audio line-input. It's not 5.1 surround, and I have no front-panel input, but I have no objections as of yet. All I really wanted was front-panel output. 5.1 would be a plus, but I'm happy :censored2: (I'll post the kexts as soon as I receive word that it's OK from him)

Thanks for the help though, and thanks to the guy over at osxupdate.blogspot.com!

#8
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

Will it work for ALC888/S/T on DG33FB with 6 channel (5.1 sound)?



I think it will not work for you. I tried to make for Gigabyte's ALC888 because Pin Defaults (Linux Codecdump) of Gigabyte's ALC889A and Gigabyte's ALC888 are the same.

#9
triple675

triple675

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
@tmongkol

Have you tried updating to 10.5.6? Is your sound still intact? I was using the Legacy method from EFI partition and the sound was fine, but after the update the only way I can get it to work is by using Taruga's patcher to /S/L/E/AppleHDA.kext. I have the same codec as provided by Reign of Terror. I don't mind testing your version 2 that you made for him. I just have couple of questions. Can I use only the Legacy kexts with HDAEnabler? Or do I have to use AppleHDA.kext you provided even with Legacy method? I hoping I can leave everything untouched on my System partition. Thanks!

#10
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

@tmongkol

Have you tried updating to 10.5.6? Is your sound still intact? I was using the Legacy method from EFI partition and the sound was fine, but after the update the only way I can get it to work is by using Taruga's patcher to /S/L/E/AppleHDA.kext. I have the same codec as provided by Reign of Terror. I don't mind testing your version 2 that you made for him. I just have couple of questions. Can I use only the Legacy kexts with HDAEnabler? Or do I have to use AppleHDA.kext you provided even with Legacy method? I hoping I can leave everything untouched on my System partition. Thanks!


To triple675,

I've not try 10.5.6 yet. I am still studying about DSDT Patcher amd HDEF so that I can install 10.5.6 w/o problem. I don't think that my modified Lagacy kexts will work with a new AppleHDA.kext, since I took a look AppleHDA.kext10.5.6 which published by cparm a little bit. Now,I hope I can update my system successfully and then study a new AppleHDA.kext.

#11
Vis

Vis

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts


Ok, noob here. I have a ga-p35-ds3l and it uses the alc889a to my knowledge. I've got the downloaded files, but I admit I have no idea how to install on of this. Anyone tell me quickly how to use these files so I can have sound?

EDIT: Solved. The Audio installer file in this thread did the trick for my ACL888

#12
Reign Of Terror

Reign Of Terror

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:Milwaukee WI
those of you with ALC888 and cant get it working, try one of these 3 attached kext folders. the guy over at osxupdate.blogspot.com gave me permission to post them, as long as i mentioned that its all Taruga's work.

Attached Files



#13
rramon

rramon

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts
  • Location:Earth, Cologne
i had serious problems with tarugas modified 889a kexts in the past (sound distortion, lack of bass), had to optimize them by myself but still not the best quality.

question:
is the problem solved with this release? no distortion whatsoever?
oh, forgot to mention: im on 10.5.6.
thanks in advance!

edit:
nevermind, tried it myself, works fine.
volume was too low so i modified the info.plist following this thread

#14
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

those of you with ALC888 and cant get it working, try one of these 3 attached kext folders. the guy over at osxupdate.blogspot.com gave me permission to post them, as long as i mentioned that its all Taruga's work.


@Reign Of Terror

Thank you.

tmongkol

i had serious problems with tarugas modified 889a kexts in the past (sound distortion, lack of bass), had to optimize them by myself but still not the best quality.


@rramon

Did you try my ALC889A_V1.zip and ALC889A_V2.zip? I think the first one has bass.

tmongkol

#15
rramon

rramon

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts
  • Location:Earth, Cologne
yep, did try v1 and i think ill keep it.
removing the maximum volume limit gave a lot more pressure to it. :)

#16
proxys32

proxys32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 150 posts
this Set of Kext works great with EFIv9 and p35ds4 rev1 but the little cracking sound before playing audio is really annoying... it's really loud and happen every time i play audio... I was not having this kind of problems with an "old" Patched AppleHDA and Azalia EFI string using efiv8

It seems we will have to wait for a fix ;)

#17
TallonKrd

TallonKrd

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts

this Set of Kext works great with EFIv9 and p35ds4 rev1 but the little cracking sound before playing audio is really annoying... it's really loud and happen every time i play audio... I was not having this kind of problems with an "old" Patched AppleHDA and Azalia EFI string using efiv8

It seems we will have to wait for a fix :rolleyes:


I've noticed this problem with any legacy hda solution I've tried. The only way I can get past this cracking sound is by using Taruga's patched hda kext's. Is anyone actively trying to fix this problem?

#18
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets

those of you with ALC888 and cant get it working, try one of these 3 attached kext folders. the guy over at osxupdate.blogspot.com gave me permission to post them, as long as i mentioned that its all Taruga's work.

Thanks I will test them. :D

#19
guvenck

guvenck

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
So, does anyone have the microphone working? I have a GA-P35-DS3R and the only thing that doesn't work is the bloody Microphone.

#20
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets

those of you with ALC888 and cant get it working, try one of these 3 attached kext folders. the guy over at osxupdate.blogspot.com gave me permission to post them, as long as i mentioned that its all Taruga's work.

They are working but Line Out doesn't :D

I guess I need HDA connection to have auto-switching to the front panel headphones.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy