How to patch AppleHDA.kext from 10.5.2 and above, It is a little bit hard, but is fun. |
![]() |
How to patch AppleHDA.kext from 10.5.2 and above, It is a little bit hard, but is fun. |
|
Cheops
InsanelyMac Protégé
|
![]() |
Sep 30 2008, 11:04 AM Post #61
|
|
Ok I cannot get my 10.5.5 kext to load to try the Default Pin Config Overrides you guys suggested.
If someone could have a look at this kext to see what i'm doing wrong that would be great. Ive posted a linux dump of my codec and the modified AppleHDA kext i'm trying to load. Thanks Ade.
Attached File(s)
|
|
Cheops
InsanelyMac Protégé
|
![]() |
Oct 1 2008, 02:57 PM Post #62
|
|
Anyone help. Please don't let this thread die we are starting to get somewhere
Best Ade. |
|
cparm
InsanelyMac Legend
|
![]() |
Oct 1 2008, 08:23 PM Post #63
|
![]()
|
thank you madtux, now i understand how to remap applehda by myself,
but with my p35-ds3l ( alc888 - ich9 ), i was unable to activate analog 5.1 output wathever the pin configuration i choose, even if the system profiler and the sound prefpane show me 3 output, only the green jack work here is my HDAaudio dump
HDaudio.txt ( 10.76K )
Number of downloads: 83any help will be appreciated . |
|
jaadkd
InsanelyMac Protégé
|
![]() |
Oct 1 2008, 11:41 PM Post #64
|
|
Has anyone had any luck getting the ALC888 on ICH7 to work via this method? Taruga's patcher doesn't support this soundcard on this chipset.
|
|
MadTux
InsanelyMac Geek
|
![]() |
Oct 2 2008, 09:05 PM Post #65
|
![]() ![]()
|
Anyone help. Please don't let this thread die we are starting to get somewhere Best Ade. I saw your kext: 1. U didn't patch AppleHDA bin 2. Where is your codec id inside PlatformDriver on Layout 12? U didn't done that ether. 3. And where are your Nodes inside Pathmap that os associated to Layout 12? Read the first post, do as much U can, then test PinConfig |
|
justvisiting
InsanelyMac Sage
|
![]() |
Oct 4 2008, 12:53 AM Post #66
|
![]() ![]() ![]() ![]()
|
Very good instructions. I do have one problem. My kexts keep opening as _*folders*_ in hexedit or 0xed or any other editor i've tried instead of a binary file. I am not sure what i changed to make this happen (some setting in finder??) or how to change it back. any one have suggestions?
Thanks. |
|
justvisiting
InsanelyMac Sage
|
![]() |
Oct 4 2008, 04:03 AM Post #67
|
![]() ![]() ![]() ![]()
|
OK, my mistake. MadTux is not saying edit AppleHDA.kext in the hex editor, but edit the following file:
AppleHDA.kext/Contents/MacOS/AppleHDA |
|
nobb1x
InsanelyMac Geek
|
![]() |
Oct 4 2008, 11:58 AM Post #68
|
![]() ![]() ![]()
|
hi MadTux, thanks for this guide, i'm trying to do one for mine ALC268, because taruga's one (any version) crash the hack on shutdown, i have the modified kext loaded but no input/output peripherals, looking in the system profiler i can see instead it see many IO, even those i've deleted!! spdif,line in/out etc.
you say "Now we have to delete all things in side Layout map that we don't need so if U don't have a InternalSpeakers remove that line or SPDIF and so one, but leave things U need :-)" ok, i have only internal speakers, mic and headphones "The easy way of knowing what U have and your node numbers is if U use a applehda patcher and copy a result of a found devices with node numbers. The hard way (and a better coz more input/output U can put in Platformdriver, and some codec dumps are not so full with descriptions) is to read a codec dump what is not so hard." i'm looking on taruga's one,i still need to understand it 100% //"PathMap there U put a node numbers they are in this order: 0 > Mic > 3 node numbers 1 > Line in > 3 node numbers 2 > SPDIF in > 2 numbers 3 > Speakers > 3 node numbers 4 > Headphones > 3 node numbers 5 > LineOut > 3 node numbers 6 > SPDIF out > 2 node numbers" Do i need to delete unnecessary items from here too? so if i have mic,speakers and headphones i need to erase 1,2,5,6 ?? ATM, the kext load and shutting down the mac it don't crash,i can succeed in kextunloading too,while this is forbidden using taruga's. just i need it emitting some sounds edit-- i get this error twice in dmesg loading the modified kext, what i'm doing wrong? Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-157.1.24/AppleHDA/AppleHDADriver.cpp" at line 1653 goto Exit Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-157.1.24/AppleHDA/AppleHDADriver.cpp" at line 108 goto Exit |
|
barnum
InsanelyMac Protégé
|
![]() |
Oct 5 2008, 10:01 AM Post #69
|
![]()
|
Hi all,
I've an ALC1200 (p5q pro motherboard) Can you give me the translation in decimal, hex and hexedit ? I think is in hex : 0x10ec0888 so hexedit : 8808EC10 but in decimal ? thanks vincent |
|
nobb1x
InsanelyMac Geek
|
![]() |
Oct 5 2008, 10:14 AM Post #70
|
![]() ![]() ![]()
|
|
|
MadTux
InsanelyMac Geek
|
![]() |
Oct 5 2008, 10:44 AM Post #71
|
![]() ![]()
|
Hi all, I've an ALC1200 (p5q pro motherboard) Can you give me the translation in decimal, hex and hexedit ? I think is in hex : 0x10ec0888 so hexedit : 8808EC10 but in decimal ? thanks vincent Why don't U use calculator? Nobix can U post "non shutdown" alc268 kext? hi MadTux, thanks for this guide, i'm trying to do one for mine ALC268, because taruga's one (any version) crash the hack on shutdown, i have the modified kext loaded but no input/output peripherals, looking in the system profiler i can see instead it see many IO, even those i've deleted!! spdif,line in/out etc. you say "Now we have to delete all things in side Layout map that we don't need so if U don't have a InternalSpeakers remove that line or SPDIF and so one, but leave things U need :-)" ok, i have only internal speakers, mic and headphones "The easy way of knowing what U have and your node numbers is if U use a applehda patcher and copy a result of a found devices with node numbers. The hard way (and a better coz more input/output U can put in Platformdriver, and some codec dumps are not so full with descriptions) is to read a codec dump what is not so hard." i'm looking on taruga's one,i still need to understand it 100% //"PathMap there U put a node numbers they are in this order: 0 > Mic > 3 node numbers 1 > Line in > 3 node numbers 2 > SPDIF in > 2 numbers 3 > Speakers > 3 node numbers 4 > Headphones > 3 node numbers 5 > LineOut > 3 node numbers 6 > SPDIF out > 2 node numbers" Do i need to delete unnecessary items from here too? so if i have mic,speakers and headphones i need to erase 1,2,5,6 ?? ATM, the kext load and shutting down the mac it don't crash,i can succeed in kextunloading too,while this is forbidden using taruga's. just i need it emitting some sounds edit-- i get this error twice in dmesg loading the modified kext, what i'm doing wrong? Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-157.1.24/AppleHDA/AppleHDADriver.cpp" at line 1653 goto Exit Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-157.1.24/AppleHDA/AppleHDADriver.cpp" at line 108 goto Exit Pinconfig is bigest thing in 268 try to use one in your broken kext |
|
nobb1x
InsanelyMac Geek
|
![]() |
Oct 5 2008, 11:52 AM Post #72
|
![]() ![]() ![]()
|
Why don't U use calculator? Nobix can U post "non shutdown" alc268 kext? Pinconfig is bigest thing in 268 try to use one in your broken kext I'm trying pinconfig just right now, i have extracted the infos from the Vista driver Here is the "non shutdown" alc268 kext, its a common problem, not just on my hack, Some time ago someone made a fix for it, there is a thread on this forum, but it works 5 out 10 times, i'm sure the crash on shutdown is due the Taruga kext because starting the system with -v i can see a panic saying "an application releasing the hda audio has caused a corruption in the register" (about, i'm not sure it say this exactly)
Attached File(s)
|
|
clockworx
InsanelyMac Protégé
|
![]() |
Oct 5 2008, 01:26 PM Post #73
|
|
Can anyone tell me if a full reboot is necessary to test a layout, or can I just unload and reload the kexts? (I'm assuming I'd have to unload HDAEnable and AppleHDA kext.
Can anyone clarify this? EDIT: A few more questions: -Does anyone know what causes the volume slider to be disabled in some cases? Is that a matter of switching codec? Layout? -My codec layout doesn't have the * for the mixer selectors, and the output seems to be connected to multiple mixers. How do I know which to use? My codec is attached. Actually, it does have *, but only for the front connectors, which are off of a motherboard header that I'm not using.
Attached File(s)
|
|
MadTux
InsanelyMac Geek
|
![]() |
Oct 5 2008, 03:09 PM Post #74
|
![]() ![]()
|
I'm trying pinconfig just right now, i have extracted the infos from the Vista driver Here is the "non shutdown" alc268 kext, its a common problem, not just on my hack, Some time ago someone made a fix for it, there is a thread on this forum, but it works 5 out 10 times, i'm sure the crash on shutdown is due the Taruga kext because starting the system with -v i can see a panic saying "an application releasing the hda audio has caused a corruption in the register" (about, i'm not sure it say this exactly) try this one, it will not kernel panic. And if U have spare time we can test it to show devices in sysprofiler
Madtux_ALC268.zip ( 340.06K )
Number of downloads: 211And If U maybe have a HDA kext from 10.5.0 or anybody has, please post it, I need for some testing. |
|
MadTux
InsanelyMac Geek
|
![]() |
Oct 5 2008, 04:01 PM Post #75
|
![]() ![]()
|
Can anyone tell me if a full reboot is necessary to test a layout, or can I just unload and reload the kexts? (I'm assuming I'd have to unload HDAEnable and AppleHDA kext. I always reboot QUOTE -Does anyone know what causes the volume slider to be disabled in some cases? Is that a matter of switching codec? Layout? U can fix volume slider thru Pathmap, but U will lost mute QUOTE -My codec layout doesn't have the * for the mixer selectors, and the output seems to be connected to multiple mixers. How do I know which to use? My codec is attached. Actually, it does have *, but only for the front connectors, which are off of a motherboard header that I'm not using. use the first one, do with some trial end error, or find a better codec dump. Build latest alsa from source and get the latest one, or learn how to read datasheet from realtek. |
|
nobb1x
InsanelyMac Geek
|
![]() |
Oct 5 2008, 07:29 PM Post #76
|
![]() ![]() ![]()
|
try this one, it will not kernel panic. And if U have spare time we can test it to show devices in sysprofiler
Madtux_ALC268.zip ( 340.06K )
Number of downloads: 211And If U maybe have a HDA kext from 10.5.0 or anybody has, please post it, I need for some testing. Yes, it works, tried 4 shutdowns with no crashes, i've lost the headphones output, well, it show in system preferences, enabling it mute the internal speakers, but no audio on the headphones jack. I'm trying it with the HDAEnabler kext, but i think this has no impact on the problem. Using the standard Taruga, the one that crash, i have headphones out. i've worked all the afternoon following your guide and patching the 10.5.5 kext and got some results too, i got it working (somehow) only using the PathMap and the ConfigData taken from the Taruga kext, i've tried with a my own codec dump but it seem too much hard for me. sorry, i don't have the 10.5.0 HDA kext, my older macos is 10.5.2, and yes, i have some spare time, i'm glad to test if you want. my laptop has internal speakers, internal mic (stereo), one jack for external mic,and one jack for external headphones. here is the codec dump.its a Compal FT00, Compal is an oem manifacturer, so many other laptops can share the same hw i've included mine based on 10.5.5 too, it suffer of the same problem, no headphones out and don't show nothing in the system profiler panel
Attached File(s)
codec_alc268.zip ( 1.82K )
Number of downloads: 57
AppleHDA.kext.zip ( 510.46K )
Number of downloads: 55 |
|
MadTux
InsanelyMac Geek
|
![]() |
Oct 5 2008, 08:03 PM Post #77
|
![]() ![]()
|
|
|
IronFly
InsanelyMac Geek
|
![]() |
Oct 5 2008, 08:10 PM Post #78
|
![]() ![]() ![]() ![]()
|
Tried to follow the guide but i can't have sound output.
i see the volume but is locked at full, and some configuration on More infos (with taruga, no sound and no infos).
Immagine_1.png ( 238.67K )
Number of downloads: 102it's a realtek 662 rev1 on my system2, is 5.1 new version. this is the dump from Ubuntu.
ALC662V1_dump.txt ( 8.15K )
Number of downloads: 38 |
|
MadTux
InsanelyMac Geek
|
![]() |
Oct 5 2008, 08:14 PM Post #79
|
![]() ![]()
|
nobb1x so U have sound from speakers with 10.5.5?
|
|
nobb1x
InsanelyMac Geek
|
![]() |
Oct 5 2008, 09:19 PM Post #80
|
![]() ![]() ![]()
|
nobb1x so U have sound from speakers with 10.5.5? Yes, sound from internal speakers, working internal mic and volume regulation, yours give me another item in the mic panel, the noise reduction option. of course using it too the system is able to turn off without problems. |
![]() |
|
Lo-Fi Version | Time is now: 21st November 2009 - 12:40 PM |