Jump to content

Fully working legacy driver for ALC883 address 0 (Notebook)


coconup
 Share

106 posts in this topic

Recommended Posts

Not sure its loading for me. I put dsdt.dsl in root and Extensions.mkext in /Extras. I also get these errors:

 

Extension "com.apple.driver.AppleHDAController" cannot be found

Can't find extension com.apple.driver.AppleHDAController

Can't determine dependencies for com.apple.driver.AppleHDAController

Couldn't alloc class "AppleHDAController"

Sound assertion "0 == pathMap_aDriverInstance" failed in...

Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in...

Link to comment
Share on other sites

Not sure its loading for me. I put dsdt.dsl in root and Extensions.mkext in /Extras. I also get these errors:

 

Extension "com.apple.driver.AppleHDAController" cannot be found

Can't find extension com.apple.driver.AppleHDAController

Can't determine dependencies for com.apple.driver.AppleHDAController

Couldn't alloc class "AppleHDAController"

Sound assertion "0 == pathMap_aDriverInstance" failed in...

Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in...

 

you must put dsdt.aml in root, not dsl.. btw I made an error before, even if I'm still not sure about your internal mic.. try this one: ALC889.kext.zip

 

remember to delete the extra/extensions folder and to put all your kexts (dsmos etc) in extensions.mkext

 

btw is anything working with the previous kext?

Link to comment
Share on other sites

I don't think it did anything. Am I suppose to delete AppleHDA.kext and HDAenabler.kext in /System/Library/Extensions? I have never used /Extras before so I might be doing something wrong. What I did was put ALC889.kext in Extensions.mkext and placed it in /Extras/ I also renamed dsdt.dsl to dsdt.aml. When I restart, it shows it loaded something from /Extras. In the about info, all I see is ALC889. No connections or anything.

Link to comment
Share on other sites

I don't think it did anything. Am I suppose to delete AppleHDA.kext and HDAenabler.kext in /System/Library/Extensions? I have never used /Extras before so I might be doing something wrong. What I did was put ALC889.kext in Extensions.mkext and placed it in /Extras/ I also renamed dsdt.dsl to dsdt.aml. When I restart, it shows it loaded something from /Extras. In the about info, all I see is ALC889. No connections or anything.

 

...

 

dsdt.dsl must be compiled to dsdt.aml and not just renamed, please read the dsdt topics for that. also, you must put all your modified kexts in extra/extensions.mkext and delete the extra/extensions folder if you were using that (after transferring all the kexts it contains to extensions.mkext). you can also use hdaenabler avoiding the dsdt patching. if you have all your patched kexts (like dsmos.kext) in s/l/e and nothing in exta/extensions, just put alc889.kext and hdaenabler in extra/extensions.mkext and delete that dsdt.aml. this is your hdaenabler: HDAEnabler.kext.zip

 

ps: you must also have the original applehda.kext in s/l/e and delete all the other audio injectors like hdaenabler, azaliaaudio and alcinject from there

Link to comment
Share on other sites

i just installed with patched DSDT and added kext HDA to Extension Folder ( i don't use EXTRA folder for extension) but afterall i got :

 

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 1327 goto Exit

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 127 goto Exit

Mar 27 22:12:02 localhost kernel[0]: VGA: family specific matching fails

Mar 27 22:12:02 localhost kernel[0]: Matching service count = 0

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 1327 goto Exit

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 127 goto Exit

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 1327 goto Exit

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 127 goto Exit

 

 

what is wrong

 

is it any way to add /extra folder to be readed on startup when i don't use it this way ? if yes how to do it ?

Link to comment
Share on other sites

Ok, I just noticed both line in and the internal mic work. So at least we're getting somewhere.

 

EDIT: I've been messing around with this for a bit, and I actually have static on the headphones when I crank the volume to 100% and play an mp3 file. Also, if I wiggle the cable the digital out light (red light) comes on.

Link to comment
Share on other sites

i just installed with patched DSDT and added kext HDA to Extension Folder ( i don't use EXTRA folder for extension) but afterall i got :

 

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 1327 goto Exit

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 127 goto Exit

Mar 27 22:12:02 localhost kernel[0]: VGA: family specific matching fails

Mar 27 22:12:02 localhost kernel[0]: Matching service count = 0

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 1327 goto Exit

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 127 goto Exit

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 1327 goto Exit

Mar 27 22:12:02 localhost kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 127 goto Exit

 

 

what is wrong

 

is it any way to add /extra folder to be readed on startup when i don't use it this way ? if yes how to do it ?

 

sorry but I don't know if 'plist only kexts' could be used without putting them in extra/extensions.mkext.. refer to the legacy drivers topics or to the king's guide. if you want to add the extra folder support you must use a bootloader like pc efi v9 that supports it

 

Ok, I just noticed both line in and the internal mic work. So at least we're getting somewhere.

 

EDIT: I've been messing around with this for a bit, and I actually have static on the headphones when I crank the volume to 100% and play an mp3 file. Also, if I wiggle the cable the digital out light (red light) comes on.

 

so what's working and what's not? aren't internal speakers working? do you get sound assertions? also, you are pretty lucky your internal mic worked on the first try, it took me weeks to figure out how to adjust mine :(

Link to comment
Share on other sites

What 'works' (as far as I know) - Internal mic, External mic

 

Headphones don't 'work' per say. When I play an mp3 I get static to the tune that the music plays, and only the bass part of the sound. With the Internal speakers, I get no sound at all.

 

I also get these errors:

Sound assertion "0 != result" failed in "...AppleHDA/AppleHDAWidget.cpp" at line 2508 goto handler

Sound assertion "0 != widget->setUnsolicited ( true )" failed in "...AppleHDA/AppleHDACodecGeneric.cpp" at line 850 goto handler

Link to comment
Share on other sites

That one broke the Internal mic (no sound controls at all) and External mic (some sound controls - but doesn't indicate that it works). No change to the headphones or internal speakers. The only other thing that changed was the about page, showing more devices connected.

Link to comment
Share on other sites

Yes, with the first one headphones and internal speakers were shown. However, in sound preferences internal speakers and headphones would display as one via autoswitch (plugging in the headphones changed internal speakers display to headphones).

 

Heres a sample of what I hear using headphones.

 

EDIT: No change with the last one, except for the about page.

headphones.mp3

Link to comment
Share on other sites

is everything displayed also in system preferences? I just deleted the internal speakers mutegpio value (0) and split the hp and int speaker in two different devices (no autoswitch). I think you should try different mutegpios for the internal speaker and hp... try with these:

 

- int speaker: 0 / 1677787156 / 1342242836 / 838926356

- hp: 1677787157 / 1677787163 / 1342242837 / 1342242843 / 838926357 / 838926363

Link to comment
Share on other sites

int speaker:

0 - was set like this by default

1677787156 - no improvement

1342242836 - no devices in sound preferences

838926356 - no devices in sound preferences

 

hp:

1677787157 - no improvement

1677787163 - no devices in sound preferences

1342242837 - no improvement

1342242843 - no improvement

838926357 - no devices in sound preferences

838926363 - no improvement

Link to comment
Share on other sites

Hi,

I try to moddify attached kext to get all features working but now it seams only that Sys Profiler is showing as they should be.. thats ok with your verbs added to HDAController but devices in Sound Pref looks like attached screen

 

Sounds comes only when SPEAKERS are selected when i plug HP in and i chooos HEADPHONES from devices - NO sound

 

out.tiff

 

and input

 

in.tiff

 

Mic is working as LINE IN and INTERNAL MIC with NOISE REDUCTION is not working at all.. LINE IN is not working as it should be ...

 

 

Profiler:

profiler.tiff

 

please check attached kext couse i don't know what should be done.. ALC883CAD05.1NoSPDIFIn.kext.zip

Link to comment
Share on other sites

Sound is now working perfectly on my Hasee with vanilla 10.5.6 but only if I don't use the dsdt.aml at all

 

so in my Extra/extensions.mkext I've a decrypter, a disabler, a smbiosresolver, a standard hdaenabler, the acpibattery kext and your kext (PC EFI)

 

So my suggestion is to install the OS without any extra kexts, install PC EFI , build the /Extra/extensions.mkext with mktool using those kexts and that is all.

 

Thank you again coconup, you really did a great job :)

 

P.S. voodoopower doesn't seem to work with 10.5.6 , any solutions ?

Link to comment
Share on other sites

Hmm..the verbs in the first file are weird.

 

You had something like this:

01471C40 01471D01 01471E10 01471F90

01571C50 01571D40 01571E2B 01571F01

01271C10 01271D01 01271EA0 01271F90

01871C20 01871D30 01871E8B 01871F01

E71C6001 E71DE101 E71E4B01 E71F0101

 

When it should be more like this:

01471C40 01471D01 01471E10 01471F90

01571C50 01571D40 01571E2B 01571F01

01271C10 01271D01 01271EA0 01271F90

01871C20 01871D30 01871E8B 01871F01

01E71C60 01E71DE1 01E71E4B 01E71F01

Link to comment
Share on other sites

@ dakkie, I don't understand if you're using my kext or not... if you are, use the hdaenabler I put in the first post, cos you're using layout id 12 while my kext uses layout id 883

 

P.S. voodoopower doesn't seem to work with 10.5.6 , any solutions ?

 

it works without problems for me.. try to put it in s/l/e cos it must load after smbiosenabler

 

Hmm..the verbs in the first file are weird.

 

You had something like this:

01471C40 01471D01 01471E10 01471F90

01571C50 01571D40 01571E2B 01571F01

01271C10 01271D01 01271EA0 01271F90

01871C20 01871D30 01871E8B 01871F01

E71C6001 E71DE101 E71E4B01 E71F0101

 

When it should be more like this:

01471C40 01471D01 01471E10 01471F90

01571C50 01571D40 01571E2B 01571F01

01271C10 01271D01 01271EA0 01271F90

01871C20 01871D30 01871E8B 01871F01

01E71C60 01E71DE1 01E71E4B 01E71F01

 

yes you're right, sorry :angel:

Link to comment
Share on other sites

coconup,

i just try to use parts of yours plist to load it as kext without /Extra folder thats way i try to move some of values to HDAController and HDAPlatformDriver to get it works.. and with this pinconfig and platformdriver i got this results.. i tryin' to figure it out how to load it without efi partitions and extra folder.. that's why..

 

you doing really great job :star_smile:

 

i looking for any help to get this working same way as you have

 

greetings

 

PS. i need only LINE IN working to record my synthesizers :star_smile:

Link to comment
Share on other sites

 Share

×
×
  • Create New...