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

#401
ANtrah

ANtrah

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
i need Snow L 10.6 ... PLS

#402
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

i need Snow L 10.6 ... PLS


Sorry! I didn't get it. What do you need? Please specify.

#403
iNarancs

iNarancs

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
For now I've been trying for 3 days to get my 5.1 surround system work properly.. I have an EP35-DS3 motherboard. Unfortunately the most I've managed to achieve is to get the green(front), black(rear) and pink(mic) jacks to work simultaneously. I really want to get to work that damn orange jack, because that's the jack of the center/sw. Otherwise everything else is working fine, that's the last problem I have. If anybody can help... PLEASE don't be shy

Full config: Intel Core 2 Duo | Gigabyte EP35-DS3 | 2 GB RAM @ 800MHz | Sapphire Radeon HD4830 - Installed OSX from Kalyway 10.5.2 DVD updated to 10.5.8

#404
baller2319

baller2319

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts
  • Gender:Male
tmongkol,
i have a gigabyte EP45-UD3R rev 1.1, everything works properly on the board except the sound. I keep getting this pop noise every time the computer starts up or if i do something after the computer sits for a bit. I have searched countless hours to try to remedy this but could not find a solution. My system is set to MacPro 3,1 and i have tried every kext on the first page. They all make the sound work but i still get that pop. Your help would be greatly appreciated. Thank you

#405
scorcho

scorcho

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 110 posts
thank you for this thorough guide! finally found myself with some free time to tackle the dsdt and your instructions were perfect! i've no longer any need for HDAEnabler and the legacy kext works great in E/E for both 10.5.8 and 10.6

thanks!

#406
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

For now I've been trying for 3 days to get my 5.1 surround system work properly.. I have an EP35-DS3 motherboard. Unfortunately the most I've managed to achieve is to get the green(front), black(rear) and pink(mic) jacks to work simultaneously. I really want to get to work that damn orange jack, because that's the jack of the center/sw. Otherwise everything else is working fine, that's the last problem I have. If anybody can help... PLEASE don't be shy

Full config: Intel Core 2 Duo | Gigabyte EP35-DS3 | 2 GB RAM @ 800MHz | Sapphire Radeon HD4830 - Installed OSX from Kalyway 10.5.2 DVD updated to 10.5.8



@iNarancs

Which kext did you use? Are you using HDEF enabler via DSDT or HDAEnabeler.kext? If you try to use vanilla AppleHDA.kext, you will not be able to get as you want. I use 3outs2ins LegacyHDA.kext which matchs to Windows outputs.

tmongkol,
i have a gigabyte EP45-UD3R rev 1.1, everything works properly on the board except the sound. I keep getting this pop noise every time the computer starts up or if i do something after the computer sits for a bit. I have searched countless hours to try to remedy this but could not find a solution. My system is set to MacPro 3,1 and i have tried every kext on the first page. They all make the sound work but i still get that pop. Your help would be greatly appreciated. Thank you



@baller2319

It is normal to get pop noise at starting up. I have no idea how you set your model. Model and boot rom version should be related each other. For example, model is MacPro1,1 and boot rom version is MP11.xxx.xxxx.xxx.xxxxxxxxxx. If you set it correctly, you should not get popping sound before normal sound.

#407
baller2319

baller2319

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts
  • Gender:Male

@baller2319

It is normal to get pop noise at starting up. I have no idea how you set your model. Model and boot rom version should be related each other. For example, model is MacPro1,1 and boot rom version is MP11.xxx.xxxx.xxx.xxxxxxxxxx. If you set it correctly, you should not get popping sound before normal sound.



Thank you so much for your response. I noticed that it says MacPro 3,1 and the boot room version says IM71.007A.B01, Do you know how i can fix that? Thank you.

#408
iNarancs

iNarancs

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

Which kext did you use? Are you using HDEF enabler via DSDT or HDAEnabeler.kext? If you try to use vanilla AppleHDA.kext, you will not be able to get as you want. I use 3outs2ins LegacyHDA.kext which matchs to Windows outputs.

Right now I'm using the files from this: Legacy HDA 1057 / Legacy 4outs2ins analog HDA headphone / LegacyHDAPlatformDriver.kext HDAEnabler.kext LegacyHDAController.kext

#409
Guest: Snowski_*

Guest: Snowski_*
  • Guests
Since this is all a bit confusing to me I'm going to ask:

What do I need for 5.1 (analog) sound to work in Snow Leopard 64bit for my ALC889a?

Thx in advance

#410
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

Thank you so much for your response. I noticed that it says MacPro 3,1 and the boot room version says IM71.007A.B01, Do you know how i can fix that? Thank you.


@baller2319

sent some info to you via PM. Did you install Chameleon 2 RC1 or RC2? If you installed, you just edit smbios.plist.

#411
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

Right now I'm using the files from this: Legacy HDA 1057 / Legacy 4outs2ins analog HDA headphone / LegacyHDAPlatformDriver.kext HDAEnabler.kext LegacyHDAController.kext


@iNarancs

If you are using these kexts, you should be able to set 5.1. Are you using Audio MIDI Setup for setting Aggregate Devices? I still don't understand why you could not get it work. I tested an orange port's working fine.

Since this is all a bit confusing to me I'm going to ask:

What do I need for 5.1 (analog) sound to work in Snow Leopard 64bit for my ALC889a?

Thx in advance


@Snowski

You may use my LegacyHDA,kexts or others that have 3 analog ports available, including green, orange, and black. If you are using mine, there are 3outs2ins (analog) HDA headphone and 4outs2ins (analog) HDA headphone. So, you don't have to change ports if you are using more than one OS.

You need to use Audio MIDI Setup for setting Aggregate Devices, link a guide on the first post.

I've known only one application called VLC that can play 5.1. I tested it worked fine on SL 64 bit. Also, a source must provide 5.1. :rolleyes:

#412
iNarancs

iNarancs

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

@iNarancs

If you are using these kexts, you should be able to set 5.1. Are you using Audio MIDI Setup for setting Aggregate Devices? I still don't understand why you could not get it work. I tested an orange port's working fine.


Allright.. The problem there is no sound on the devices connected to the orange port on any output device appearing in the Audio MIDI.
Can you tell me EXATCLY which pack/kext/whatever should i download? And if I install that kext for eg than reboot under what name should I find the orange port in the outs?

#413
zeddys

zeddys

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
Thanks very much aschar1 - followed your guide and got sound finally working on Snow Leopard 64bit.

My MB GA-EP35-DS4 rev 2.1

Sound Solution for 889a for SL

needs DSDT patch

decompile your DSDT.aml to DSDT.dsl (you can use iaslme program. just drag your DSDT.aml on icon of iaslme)

Edit your DSDT.dsl file with textedit

a. search and replace all AZAL entires with HDEF

b. replace the whole section Device (HDEF) above the line : "Name (BUFA, ResourceTemplate ()" with the following:

Device (HDEF)
{
Name (_ADR, 0x001B0000)
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x0D,
0x05
})
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0A)
{
"built-in",
Buffer (One)
{
0x00
},

"codec-id",
Buffer (0x04)
{
0x89, 0x08, 0xEC, 0x10
},

"layout-id",
Buffer (0x04)
{
0x0C, 0x00, 0x00, 0x00
},

"device-type",
Buffer (0x11)
{
"ALC889a"
},

"PinConfigurations",
Buffer (One)
{
0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

Method (DTGP, 5, NotSerialized)
{
If (LEqual (Arg0, Buffer (0x10)
{
/* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
/* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
}))
{
If (LEqual (Arg1, One))
{
If (LEqual (Arg2, Zero))
{
Store (Buffer (One)
{
0x03
}, Arg4)
Return (One)
}

If (LEqual (Arg2, One))
{
Return (One)
}
}
}

Store (Buffer (One)
{
0x00
}, Arg4)
Return (Zero)
}
}



Save your DSDT.dsl and compile it to DSDT.aml (just drag it on icon of iaslme again)


put your patched DSDT.aml file in /Extra

put the attached 889a.kext (this is a combined plist) in /Extra/Extensions

Tip: remove Voodoohda

remove your Caches:

sudo rm -rf /System/Library/Caches

rebuild kextcache:

sudo kextcache -v 1 -t -l -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions

reboot and you´re done

You will have all inputs and outputs working (personally not tested digital) headphones no autoswitching
(has 2 sound assertions at boot)

Credit goes to Proengin for the DSDT part and ffosilva for the combined plist



#414
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

Allright.. The problem there is no sound on the devices connected to the orange port on any output device appearing in the Audio MIDI.
Can you tell me EXATCLY which pack/kext/whatever should i download? And if I install that kext for eg than reboot under what name should I find the orange port in the outs?


Using Legacy 4outs2ins analog HDA headphone shoul be OK. Could you check each port (green, orange, grey, black) of your system? Please let me know which ports you can or can't here. I woulk like to help you as much as I can.

#415
SkipG

SkipG

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts
Friends,

I need your help. About a week ago I became frustrated with trying to get my old onboard audio chip, an ALC883, working with the new drivers. I purchased an EP45-UD3P board with an ALC889a chip, I think, because support for the chip is much better. At the time I powered down my system, I had two drives, one used for backup and the other used for daily use and testing (two partitions). I also purchased a new drive for development and testing SL. I installed Retail 10.5.6 following Auzigog's guide on the new drive and then migrated the new drivers and setting back to my 10.5.8 installation. Getting sound to work, particularly through the headphone jack, has remained an issue.

I have successfully mastered patching my DSDT.aml for the onboard ethernet and for the audio chip. I can inject PinConfigurations, device-id, layout-id and device-type, and insert ConfigData via LegacyHDA located in /Extra/Extensions. I'm using Chameleon 2.0 RC1 with Netkas' 10.2 bootloader.

The main issue I'm having is getting the Headphone jack to show up in the audio preferences. The pin is defined in ConfigData, and shows up in the System Profiler. Depending on what I do with the Green Line Out jack in the rear, I can make it show up as a jack or an External port. I have, in the past couple of hours, ripped out the LegacyHDA + HDAEnabler solution, and gone with the HDAEnabler+AppleHDA solution for the 888 chip. That hasn't worked either. I also tried injecting a layout-id of 66 (also 12, 36, 63, 64 and 77), none of which resulted in a working headphone jack.

Here are the results from my last try:

1) My HDEF code in dsdt.aml

[codebox]
Device (HDEF)
{
Name (_ADR, 0x001B0000)
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x0D,
0x05
})
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x08)
{

"codec-id",
Buffer (0x4)
{
0x88, 0x08, 0xEC, 0x10 // 889
},

"layout-id",
Buffer (0x04)
{
0x88, 0x08, 0x00, 0x00 // 888, IM, t=149941
},

"device-type",
Buffer (0x12)
{
"GigaByte ALC889a"
},

"PinConfigurations",
Buffer (0x01)
{
0x00
}

}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
[/codebox]

After booting, here's what shows up in System Profiler:

[codebox]
Audio (Built In):

Intel High Definition Audio:

Device ID: 0x1458A102
Audio ID: 888
Available Devices:
Internal Microphone:
Connection: Internal
External Microphone:
Connection: 1/8-Inch Jack
Line In:
Connection: 1/8-Inch Jack
Headphone:
Connection: 1/8-Inch Jack
Speaker:
Connection: 1/8-Inch Jack
Line Out:
Connection: 1/8-Inch Jack
Line Out:
Connection: 1/8-Inch Jack
Line Out:
Connection: 1/8-Inch Jack
S/P-DIF Out:
Connection: Combo
S/P-DIF In:
Connection: Combo
[/codebox]

Looking at the situation in the IORegistry, we find this:

Attached File  ioreg.png   223.91KB   121 downloads


Good news stops at this point, as the code to build the audio engine failed during the boot process. Here's the relevant information from the System Log:

[codebox]
Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 1327 goto Exit
Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 127 goto Exit
Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 1327 goto Exit
Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 127 goto Exit
[/codebox]

Can anyone please help me out? What other tools do I have to help me understand what's going wrong? I've looked at some of the ConfigData for some stock Apple layouts, and they don't even include microphone pins in their layouts! Since I really don't have an internal speaker, is there a way to eliminate that from the description?

Here's what I'd like to see for outputs:

Line Out
Headphone Out
S/PDIF Out

Here's what I'd like for Inputs

Front Mic
Rear Mic
Line In
S/PDIF In

The outputs don't need to autoswitch, but it would be OK if they did.

I tried eliminating the internal speaker from the layout, but then I couldn't parse the PathMap and determine how to fix it.

Thanks,
--Skip

#416
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

Friends,

I need your help. About a week ago I became frustrated with trying to get my old onboard audio chip, an ALC883, working with the new drivers. I purchased an EP45-UD3P board with an ALC889a chip, I think, because support for the chip is much better. At the time I powered down my system, I had two drives, one used for backup and the other used for daily use and testing (two partitions). I also purchased a new drive for development and testing SL. I installed Retail 10.5.6 following Auzigog's guide on the new drive and then migrated the new drivers and setting back to my 10.5.8 installation. Getting sound to work, particularly through the headphone jack, has remained an issue. ..............

I tried eliminating the internal speaker from the layout, but then I couldn't parse the PathMap and determine how to fix it.

Thanks,
--Skip


@SkipG

You made the wrong layout-id of DSDT. You need to know which layout-id has CodecID of ALC889a (0x10EC0885). The important thing is CodecID in info.plist of AppleHDAPlatformDriver. If you follow my guide and use my kexts, it should not be any problem. After that, when you learn more about DSDT and how to patch AppleHDA, you will be able to rewrite your DSDT and edit info.plists of AppleHDA.kext.

Gigabyte ALC889a (0x10EC0885) is not ALC889 (0x10EC0889).

Off the topic, a new coming MOBO for Intel i5 & i7 (LGA1156), Gigabyte's still using ALC889a but ASUS will use VIA.

#417
iNarancs

iNarancs

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

Using Legacy 4outs2ins analog HDA headphone shoul be OK. Could you check each port (green, orange, grey, black) of your system? Please let me know which ports you can or can't here. I woulk like to help you as much as I can.

I really appreciate your help. Thank you, but still don't work. On windows of course each port is working the 5.1 system works fine but under Mac I can't get to work that orange port, and I don't understand why, I tried almost everything.
Can you give me a link to the proper KEXT and the instructions? Because I've tried every single way to try to get work it.
Thanks much

#418
SkipG

SkipG

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

@SkipG

You made the wrong layout-id of DSDT. You need to know which layout-id has CodecID of ALC889a (0x10EC0885). The important thing is CodecID in info.plist of AppleHDAPlatformDriver. If you follow my guide and use my kexts, it should not be any problem. After that, when you learn more about DSDT and how to patch AppleHDA, you will be able to rewrite your DSDT and edit info.plists of AppleHDA.kext.

Gigabyte ALC889a (0x10EC0885) is not ALC889 (0x10EC0889).


Sir,

You are a kind, patient and gentle man. Thank you for helping me.

I went back to the your suggested approach: Using the LegacyHDA.kext from Series of LegacyHDA/series of LegacyHDA 885 (ALC889a)/3out2in HDA headphone (in /Extra/Extensions) and the HDAEnabler in the parent directory (in /S/L/E) with the vanilla AppleHDA.kext, I edited my dsdt.aml to specify a layout-id of 0x75 0x03, and a codec-id of 0x85 0x08 0xEC 0x10.

On booting, I got no errors about mapping the pins or building the audio engine, but I still have the problem of the headphones not showing up in the Audio Preferences panel. What I see is a list consisting of Internal Speakers, 2 entries labeled Line Out, and one labeled Digital Out.

Here are the relevant screen grabs for my System Profile and IORegistry in hopes they will be of some help in solving the problem. Again, thank you for helping me...

--Skip

Attached File  System_Profiler.png   50.62KB   73 downloads

Attached File  IORegistry.png   175.21KB   70 downloads

#419
SkipG

SkipG

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

On booting, I got no errors about mapping the pins or building the audio engine, but I still have the problem of the headphones not showing up in the Audio Preferences panel. What I see is a list consisting of Internal Speakers, 2 entries labeled Line Out, and one labeled Digital Out.


I have an update for folks that are following this thread: The HP jack and the corresponding rear Line Out are working the way they're supposed to be working! I plug in HP, and the rear Line Out is muted. Whatta construct! It actually works the way it's supposed to with the Jack Detect.

Sigh... I've only been struggling with this for three or four days :(

--Skip

#420
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

Sir,

You are a kind, patient and gentle man. Thank you for helping me.

I went back to the your suggested approach: Using the LegacyHDA.kext from Series of LegacyHDA/series of LegacyHDA 885 (ALC889a)/3out2in HDA headphone (in /Extra/Extensions) and the HDAEnabler in the parent directory (in /S/L/E) with the vanilla AppleHDA.kext, I edited my dsdt.aml to specify a layout-id of 0x75 0x03, and a codec-id of 0x85 0x08 0xEC 0x10.

On booting, I got no errors about mapping the pins or building the audio engine, but I still have the problem of the headphones not showing up in the Audio Preferences panel. What I see is a list consisting of Internal Speakers, 2 entries labeled Line Out, and one labeled Digital Out.

Here are the relevant screen grabs for my System Profile and IORegistry in hopes they will be of some help in solving the problem. Again, thank you for helping me...

--Skip


If you have HDEF enabler in DSDT.aml, you don't need HDAEnabler.kext. Please remove it.

Please take time to learn how other people did on AppleHDA.kext. I took several months to understand how to edit info.plists of AppleHDA.kext.

In registry should be like this.
Attached File  reg_01.jpg   226.75KB   123 downloads

I really appreciate your help. Thank you, but still don't work. On windows of course each port is working the 5.1 system works fine but under Mac I can't get to work that orange port, and I don't understand why, I tried almost everything.
Can you give me a link to the proper KEXT and the instructions? Because I've tried every single way to try to get work it.
Thanks much


@iNarancs

May I have questions? Are you using Leo 10.5.8? What is version of AppleHDA.kext in /S/L/E, i.e. 1.7.1a2? Are you using DSDT.aml with patch HDEF? Please remove all legacy kexts (& HDAEnabler.kext, if have it) from /S/L/E or /E/E.

It's weird that you could not get an orange port working.





0 user(s) are reading this topic

0 members, 0 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