Jump to content

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


VCH888
 Share

1,156 posts in this topic

Recommended Posts

@ DriveTheOne

 

Can you get Codecdump of ALC889? You have two HDA soundcards, Realtek & HDMI Nvidia.

 

tmongkol,

 

Appreciate your work and effort here. I have an Acer 8930G and have tried to find a solution for the sound problem but to no avail. My knowlegde unfortunately is not up to scratch. I realise that DrivetoOne has the same notebook but he did not post the codecdump for acer 8930G's alc889 so I am posting it. I hope that you can help us here.

 

You mentioned that there is 2 hda soundcard so i am posting all the codec dump from ubuntu ie codec#0, codec#1, and codec#2 and the dump files are named accordingly alc889_codecdump.txt, alc889_codecdump1.txt and alc889_codecdump2.txt.

 

Can you help us with our sound problem? Thanks in advance. :D

 

alc889_codecdump.txt

alc889_codecdump1.txt

alc889_codecdump2.txt

Link to comment
Share on other sites

I was hoping somebody might be able to clarify some things for me some more: ;)

 

I've just spent most of the day just trying to gather different solutions for solving the Acer 6920g sound problem, and seeing if I could determine where they are different. In the plethora of tryouts, it seems there are a total of 3 types of solutions people have attempted, some of which seem to have to be used in conjunction with one another. My aim is to figure out where we should focus our attention and to see if my understanding of the different files is correct. Thanks in advance for any responses! :D

 

1. For example the HDAenabler and ALC889 kext files from DPyro, am I right that they are supposed to be installed together without any other kexts? My ideneb 1.4 installation (with EFI v9 bootloader) would not show the audio devices under system preferences until I installed an ALCinject.kext file. Whats the purpose of this alcinject.kext file? I've also been reading this thread and what i dont understand in the instructions is "Then you must put the verbs and codec id (283,904,137) in hdaenabler or alternatively patch yout dsdt." I'm guessing I don't have to patch the dsdt, but how can i edit the hdaenabler?

 

2. AppleHDApatcher and linux dumps. It seems that a lot of people are able to get their sound cards to work by using Taruga's AppleHDAPatcher in combination with a linux dump of their drivers. The ALC889a dumps are successfully imported by the tool, but renders the hardware non-functional. I've found two seperate dumps for the ALC889 chipset (Mandriva_Codec_Dump and the one posted by redsin, which seem to be the same one), but the AppleHDApatcher tells me that it's an unsupported codec and quits. I've tried several versions and also putting the dump in root (as suggested), but none of this worked. Is there any chance of this method succeeding?

 

3. I've also tried the alc889.pkg for the gigabyte motherboards, but unfortunately to no avail. Also the azaliaaudio.pkg files didnt resolve anything. Is it easy to explain what the differences are of these pkg files withregard to the kext files?

 

as you can maybe tell I'm quite new to this, but I love sorting out these kinds of things and therefore would really like to make some sort of contribution, especially as so many people are experiencing this one last drawback to having osx on their 6920gs... ;) If anyone needs any of the files I collected, just let me know!

Thanks again everyone!

Link to comment
Share on other sites

I already tried everything you posted. I came to the conclusion that we need to dev our own AppleHDA driver. With the help of Kizwan, I have gotten to the point where the only devices that don't work are the internal speaker and headphones. Everything else works:

 

Internal Mic

External Mic

Line In

Digital Out

 

I will post the latest kext for you to try.

Place Extensions.mkext (use mkext tool) in /Extra folder with the vanilla AppleHDA installed to s/l/e.

You'll need PC_EFI9 installed to use the /Extras folder. You can install it using Universal OSx86 Installer.

ALC889_04.01.2009.rar

Link to comment
Share on other sites

I am not sure, but thanks tmongkol, and also you dpyro for continuing this work

 

Not sure who last reply from you was directed at but I am 'butting in' to ask and try again ..

 

I have (see my signature) an nForce 730i chipset based system, reportd as ALC888 and have spent at least 100 hours during the last 2 months trying to learn about this, and trying different verbs and methods.

 

How close would the 889 kexts be to what mine would need? Would just changing the device IDs etc. maybe get some sound out? Any chance I could use the kexts you are planning to post on this thread and change some items to the ALC888 ID's etc. and perhaps get lucky?

 

The only way I have gotten audio out is with Azalia (inly LIne out) and with a file from skippyretards threads that ONLY has Digital Audio Out and it works great with fantastic sound quality. But I am still trying. I have many posts (many 'noob' posts on this thread alone a while back that tmongkol has tried to help me with ... and others ...).

 

I already tried everything you posted. I came to the conclusion that we need to dev our own AppleHDA driver. With the help of Kizwan, I have gotten to the point where the only devices that don't work are the internal speaker and headphones. Everything else works:

 

Internal Mic

External Mic

Line In

Digital Out

 

I will post the latest kext for you to try.

Place in /Extra folder with the vanilla AppleHDA installed to s/l/e.

Link to comment
Share on other sites

Hi DPyro, thanks for your swift reply!

 

I installed your kexts with the original appleHDA in /s/l/e and you're totally right, the devices you listed work except for the headphones and internal speakers. Is this also the kext that is supposed to give me static via headphones?

 

So is it down to editing the verbs and pinconfigs now? If so I will definitely look into that!

thanks again, great to see some progress with this! B)

Link to comment
Share on other sites

As far as I know, the verbs are fine. We need to find out if the pins for speakers and headphones are correct, and if changing the MuteGPIO values helps.

 

EDIT:

Indeed, the pins for speakers and headphones are not correct. I've managed to get both working, but not at the same time!

 

More to come!

Link to comment
Share on other sites

Alright people, here it is!

 

The long awaited ALC889 audio driver is here! :thumbsup_anim:

 

Everything is working, including auto-detect with headphones. I will be looking into adding auto-detect for Spdif out. Note that there's a duplicate entry for Internal speakers, I haven't figured out how to remove that yet. Also, be aware you may need to boot into windows first to get the driver to work. However I'm not positive you will, I've just encountered problems where it works and then doesn't work while I was developing it. Thanks goes out to tmongkol for the windows dev tools, coconup for the original kext, and Kizwan who made this all happen. Let me know if you find any problems with the kext. Use the same instructions as in my previous post.

ALC889_04.01.2009_R2.zip

Link to comment
Share on other sites

Alright people, here it is!

 

The long awaited ALC889 audio driver is here! :hysterical:

 

Everything is working, including auto-detect with headphones. I will be looking into adding auto-detect for Spdif out. Note that there's a duplicate entry for Internal speakers, I haven't figured out how to remove that yet. Also, be aware you may need to boot into windows first to get the driver to work. However I'm not positive you will, I've just encountered problems where it works and then doesn't work while I was developing it. Thanks goes out to tmongkol for the windows dev tools, coconup for the original kext, and Kizwan who made this all happen. Let me know if you find any problems with the kext. Use the same instructions as in my previous post.

 

Hi DPyro,

 

Congrats! :P As I am pretty much clueless about this, will this work in my Acer 8930G? it is also a alc889 but i think the device ID number is different? I have not tried installing the kext yet but I thought I will ask first and get some expert view first..

 

If it does not work, how difficult would it be to modify what you have to work with my 8930G. If I can get sound to work then the only pending hw is the wireless which is intel 5100. I doubt we will have the support for 5100 but i can use USB wifi adaptor.

 

Thanks in advance

Link to comment
Share on other sites

Hey DPyro, excellent job man, thanks for this! Unfortunately though, my output devices do not seem to work. I can clearly see the microphone working (the meter changes when i tap the mic), but no matter which output device i select, I cannot hear anything. The headphone autodetection works superbly, but also through the headphones I receive no sound. I do see the spdif red light come up when i plug in my headphones so it seems that the soundcard is being communicated with properly.

 

I have installed the original AppleHDA under /s/le/, and used mkexttool to put both kexts into extensions.kext under /extra. Can you see anything that i did wrong? Am I missing a file somewhere?

cheers mate! :D

Link to comment
Share on other sites

damn, i tried that as well. Do I need to do anything while in Vista? I have a dualboot system so switching is no problem whatsoever.

 

Just to recap: I removed all the old drivers, copied the appleHDA to /s/l/e and put your alc889 and HDAenabler kexts into extensions.kext under /extra. I also tried including all the kext files from /system/library/extensions into the extensions.kext file under /extra, but this didnt solve the problem either. The strange thing is that I can see the mic working and the spdif light burning, even the headphone detection works. Itunes will even play an mp3 but no sound is coming out, no matter which output device i select.

 

Oh, I also tried installing the kext files using kexthelper. I do see some kind of error regarding the appleHDA kext file during startup, maybe you can give me the appleHDA you're using? I didnt back mine up and am therefore using the vanillla AppleHDA.kext version 1.6.2a37...

 

thanks again for your help, guys like you really help this community immensely! :D

Link to comment
Share on other sites

You only need to put custom kexts in /Extra folder. I have an idea though. Try installing these drivers in windows.

 

Go to Device Manager:

 

Sound, video and game controller

-- High Definition Audio Device ---> click Properties --> update driver (manually) --> select hdaudbuT.inf

 

System devices

-- High Definition Audio Controller ---> click Properties --> update driver (manually) --> select hdaudiT.inf

ALC889_windows.zip

Link to comment
Share on other sites

@Ken.Liu

 

Could you remove (if you have them in /Extensions folder) HDAEnabler.kext, ALCInject.kext, AppleHDA.kext, and other sound drivers? Then, try install AppleHDA.kext and HDAEnabler.kext again by using KextHelper and then wait a minute and restart your system.

 

Had a fresh installation of Leopard and managed to get audio working with only one AppleHDA.kext with the following in the system profiler:

Intel High Definition Audio:

 

Device ID: 0x1458A102

Audio ID: 12

Available Devices:

Headphone:

Connection: 1/8 inch Jack

Speaker:

Connection: Internal

Line In:

Connection: 1/8 inch Jack

S/P-DIF In:

Connection: Optical

S/P-DIF Out:

Connection: Optical

Microphone:

Connection: Internal

All the available devices will disappear after a reboot.

Leaving only the following:

Intel High Definition Audio:

 

Device ID: 0x1458A102

Audio ID: 12

Tried reinstalling many times but the same thing happens.

What should I do next?

Link to comment
Share on other sites

Hi Dpyro, YOU DA MAN!!!!!!!! :D My god is it nice to finally have sound on my pc! Those drivers seemed to have done the trick, although i dont understand how windows drivers can make a difference under mac. I will quickly try reinstalling my older vista drivers again and see if it still works, as I still had the extensions.kext under /extra instead of only the 2 kext files you provided. Will post back with results, but really man, you're gonna make so many people happy!!! :unsure:

 

EDIT1: without the drivers for vista, the sound under osx stops working. Very weird but nice find nonetheless, at least it works like this! :)

 

EDIT: do headphones work for you? the driver recognizes them being inserted and changes the description to headphones, but doesn't switch the output properly. It basically just kills my sound until i unplug them again. Also, with regard to your older version, it seems that the internal mic stopped working, I'm not sure why... Do you have this also?

Link to comment
Share on other sites

Yes, headphones work. Make sure you have the top output selected, the duplicate one is what makes it all work - if you look at the plist file you'll see under pathmap 4, this is what the duplicate shows and is needed for the sound to work.

 

You mean the mic stopped working with my new driver?

Link to comment
Share on other sites

Yes, headphones work. Make sure you have the top output selected, the duplicate one is what makes it all work - if you look at the plist file you'll see under pathmap 4, this is what the duplicate shows and is needed for the sound to work.

 

hmm very strange indeed. I have selected the top output, it shows me that headphones are connected but i do not get any sound out of it. -_- As soon as i unplug them again, sound works again flawlessly over the speakers.

 

You mean the mic stopped working with my new driver?

 

Unfortunately, yes. It's still listed under system preferences but the meter doesnt move when i tap the mic anymore. Could this be at all appleHDA related? Also, I noticed under system profiler that none of the connectors are listed anymore, just the ID (883), do you see all the ports listed there?

Link to comment
Share on other sites

Which mic? Everything works fine for me. If your just tapping the mic, try turning up the volume in the controls. It is a bit quieter than before.

 

EDIT: For the headphones, Kizwan said to try this in custom AppleHDA kext:

 

1) Change pins 20-12-2 to 20-13-3

2) Remove MuteGPIO entry for both IntSpeaker & Headphones

Link to comment
Share on other sites

hey DPyro,

 

I decided I should just do a complete reinstall of my ideneb 1.4 distribution, to make sure everything was still stock, and I'm very glad I did! :D You definitely fixed our hardware and we owe you big time for it, it works perfectly now! Speakers, headphones (including automatic switching), mics, everything! :huh: Let me just quickly formulate what I did to make your drivers work:

 

After the reinstall, I created the /extra folder, and by using Mkexttool, I packed both your kext files into extensions.mkext, and placed this file under /extra. Then I rebooted and started up Vista, where I had previously installed your Vista drivers. The next time I booted into osx, the sound was working perfectly and was fully listed under system profiler.

 

So a huge thank you for your efforts, seriously awesome what you did! :D

Link to comment
Share on other sites

Now to wait for wireless drivers :)

 

I'll probably release another version of the driver to clean up some stuff, hopefully I can hide the dummy internal speakers. I'll also try to add Spdif detect if possible. I'd encourage you to help me search for a solution where booting into vista is not necessary :)

Link to comment
Share on other sites

Yes, it's there....thx to all especially to DPyro and les_paulde for their patience. I had to reinstall the iPC and now, all is OK!. Only thing is I have to start Vista everytime I want to hear sound in macOS. God knows why. But I hope, there will be some kind of fix or sth. But I think it's because of the control panel on the left side of keyboard. I don't know why but I think so. But great job DPyro ...

Link to comment
Share on other sites

 Share

×
×
  • Create New...