Jump to content

Fully working legacy driver for ALC883 address 0 (Notebook)


coconup
 Share

106 posts in this topic

Recommended Posts

Im sorry.. what?

Ok so i have sound but only from my internal speakers

im completely new to osx and i have no idea what to do, can anybody tell me what to do?

 

so far what i understand to do is place the kext in extra/extensions, but where is it?

Link to comment
Share on other sites

  • 2 weeks later...

tried this a while ago using the dsdt patch, i got the errors below but still i have sound but its too low. reverted back to my patched applehda + hdaenabler until i sorted it out :)

 

Aug 10 00:33:16 TimesTwo kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDA/AppleHDAWidget.cpp" at line 2514 goto handler

Aug 10 00:33:16 TimesTwo kernel[0]: Sound assertion "0 != widget->setUnsolicited ( true )" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDA/AppleHDACodecGeneric.cpp" at line 855 goto handler

Aug 10 00:33:16 TimesTwo kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDA/AppleHDAWidget.cpp" at line 2514 goto handler

Aug 10 00:33:16 TimesTwo kernel[0]: Sound assertion "0 != widget->setUnsolicited ( true )" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDA/AppleHDACodecGeneric.cpp" at line 855 goto handler

Link to comment
Share on other sites

Alright, now everything's working and displayed correctly. No sound assertions at all under 10.5.6. You must put the kext in extra/extensions.mkext and patch your dsdt or inject the codec verbs in hdaenabler.

 

I changed the verbs to make every jack connection shown as combo, like in real macbooks. This didn't actually affect any functionality. If you prefer to have external stuff shown as 1/8 inch Jack, just change every 'B' with '1' in the verbs and in the pin configuration.

 

Coconup,

 

I think what you have accomplished is truly amazing! I've spent the last three days trying to understand how the Sound driver gets loaded and hooked up to the hardware device, and progress is slow. I have an Asus P5K board with the ALC883 chip, and a working legacy HDA driver courtesy of Taruga. What I wanted to do was use the Chameleon 2.0RC2 bootloader and move all my patched kexts to the /Extra/Extensions folder. This worked well with 10.5.8 with the exception of the sound driver.

 

I read Master Chief's tutorial on how to convert the data from a linux dump to the Pin Configuration data and how to include same in the dsdt.aml file. After booting, I find the device has been included in the IORegistry, and the pin values I have in the dsdt.aml file actually show up in the registry. The system information has data about the audio that's "almost right."

 

However, Apple changed the rules again (at least relative to the information in the older .plist files, and added some new criteria to match against in 10.5.8.

 

As a result, I'm seeing the following lines in the system log on booting:

 

 8/14/09 9:34:06 PM kernel Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-171.1.2/AppleHDA/AppleHDADriver.cpp" at line 1459 goto Exit 
8/14/09 9:34:06 PM kernel Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-171.1.2/AppleHDA/AppleHDADriver.cpp" at line 172 goto Exit 
8/14/09 9:34:06 PM kernel Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-171.1.2/AppleHDA/AppleHDADriver.cpp" at line 1459 goto Exit 
8/14/09 9:34:06 PM kernel Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-171.1.2/AppleHDA/AppleHDADriver.cpp" at line 172 goto Exit

 

Diving into the plist files inside the vanilla AppleHDA kext, it looks like the Object world has been vastly redefined. If anyone knows where I might find more information about the new matching paradigm or if anyone has a handle on what mods need to go into the dsdt.aml file that would be great.

 

Thanks,

Link to comment
Share on other sites

  • 3 weeks later...
yes I know the sound quality isn't the best.. to improve it you should look at the sound processing values (layout section). open the original applehda and try to copy and paste the whole softwaredsp section from different layouts of the alc885 codecs.. I tried a few and some of them also caused the system to crash.. if you find something better pls let me know :)

 

Hi dude. I finally got my MIC and Speakers tuned. And I wanna ask u a question. Hope you can help me out of the mess you`d been through. It`s about the DSDT fix. I dumped my DSDT.DSL. And I have difficulty compiling it. Fassl told me a tip to fix the compiling issue but it turned out the CPU frequency go higher the usual after the fix and I found out the DSDT seems not working because the HDEF entry I added not working at all. We have the same vender BIOS and I googled u asked the same question about those 200+ errors and u give it a shot. I wanna know how did u fix ur DSDT eventually. Pls tell me the trick. I wanna have a try. :P

Link to comment
Share on other sites

  • 2 weeks later...

Let's hope i'm not too off topic, but i started off from coconups kexts, so..

 

Finally i got Alc883 Address 1 almost working,

strange thing is i used half coconup's verbs and half mine

i'm on a Fujitsu Siemens Amilo Xi 2528

 

my Verbs

11471C10 11471D40 11471E21 11471F01 11571C50 11571D00 11571E13 11571F90 11971C60 11971D00 11971EA3 11971F90 11871C30 11871D90 11871EA1 11871F01 11E71C40 11E71D00 11E71E43 11E71F90

With these i could not get my ins working,

 

But when i got some of coconup's Verbs (nodes 18, 19):

11471C10 11471D40 11471E21 11471F01 11571C50 11571D00 11571E13 11571F90 11971C10 11971D01 11971EA0 11971F90 11871C20 11871D30 11871E8B 11871F01 11E71C40 11E71D00 11E71E43 11E71F90

 

and voila! works!

i have no idea if stereo line in or mono nor quality,

i have not tested yet, just plugged in headphones and saw volume bar moving as i spoke in system prefs..

Things are not as they should in system profiler (but is it only cosmetic?)

 

in 10.5.8 i get no assertions at boot (at least i don't see anything)

 

i am missing the woofer speaker, and i do not think i can get it to work without aggregate

 

PS: changed coconup's verbs only first number on verbs (to match my CAd)

PS2: atached are: kexts, codec dump from linux and voodoohda and Verbs from Verbit.

Alc883_Cad_1.zip

Link to comment
Share on other sites

  • 3 months later...

Thanks for coconup's kext. I have never bothered to install the kext in /extra folder, installed in s/l/e. Prior to these, i have uninstalled VoodooHDA prefpane and VoodooHDA kext (I have problems with the internal as well as the external mic with this kext). Never even bothered to patch DSDT, I can't seem to find one on my system... anyway.

 

Now internal mic works, I still have to test the external mic, headphone works switching with internal speakers, on stereo.

 

Btw, I have a Hasee W230N, core duo. Prior to these i have updated to 10.5.8...

Link to comment
Share on other sites

 Share

×
×
  • Create New...