[GUIDE] How to port AppleHDA to SL
3 Attachment(s)
Okay. I've been getting a lot of requests from people who wants to convert their Leopard AppleHDA.kext into Snow Leopard.
This guide assumes you have fully working kext or at least one which works well enough for your needs. Edit: This guide also assumes you have injected your audio by DSDT. Check out snow's guide If you can't find any AZAL or HDEF in your dsdt, just insert it manually like this. Things you need: 1. Vanilla SL AppleHDA.kext 2. Working AppleHDA.kext (make sure it works in leopard!) 3. PlistEdit Pro 4. HexEdit 1) First off, these are the codecs known to be supported natively without any binary patching required. Code:
Name Codec ID (dec) Codec ID (hex) Else, look into your vanilla SL AppleHDA.kext (Right click -> Show Package Contents) and browse to: Code:
(SL)AppleHDA.kext/Contents/MacOS/ In this example I'm going to replace the codec 0x10ec0885 (ALC885) with 0x10ec0888 (ALC888). So hit Command+F and search for 8508ec10 (byte-flip of 10ec0885) and replace with 8808ec10 (byte-flip of 10ec0888). Then just hit "Replace All". There will be 4 instances just to double check. Once you're done, Save and Exit. 2) Next, the plists. You will have to edit two of them in your SL kext. Firstly you need to edit: Code:
(SL)AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist Code:
IOKitPersonalities/HDA Hardware Config Resource/HDAConfigDefault/ Now, depending on which version your working applehda is, open either one of these: Code:
(Leo)AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext/Contents/Info.plist Attachment 615 Right click on the key (number 0 in the picture above) containing your CodecID and copy. Also, take note of the LayoutID you're using. It should be 12. Now go back to your SL plist above, click on HDAConfigDefault and paste as child. Save and exit. 3) Next, you need to edit: Code:
(SL)AppleHDA.kext/Contents/PlugIns/AppleHDAPlatformDriver.kext/Contents/Info.plist Code:
IOKitPersonalities/HDA Platform Resource/ Again, depending on which version your working applehda is, open either one of these: Code:
(Leo)AppleHDA.kext/Contents/Info.plist Attachment 613 Right click on the key under Layouts (the number 0 in the picture) which contains your LayoutID (12) and copy. Take note of the PathMapID being used. In this case it's 9. Also make sure CodecID is correct. Now go back to your SL plist above, click on Layouts and paste as child. Back to the Leo plist, browse through until you see something like this: Attachment 614 Right click on the key under PathMaps (number 0) which has your PathMapID (9 in this case). Copy. Go back to your SL plist, click on PathMaps and paste as child. |
Thanx for the info.....can u post your alc888 patched applehda...?????
|
This plist works best. I'm not going to upload patched applehda from now on.
|
Great and thorough guide bro, good job!
|
i hope this will work for me. thx for the post
|
Hi
what if I've got more (not only 0) numbers in my old appleHDA.kext...I've got form 0...to 23... which one need to copy ??? thanks for help |
In step no. 2, search for your codec id (decimal) under the key CodecID. Once you've found it, take not the LayoutID it's using. If it's not 12, change it.
Search again, just to make sure it appears only once. You can safely remove the other layouts and keep your plist clean. |
thanks
copied all pathmaps and layouts but didn't work..... I'll try yous suggestions... thanks for help p.s. if doesn't work can I post working applehda form leo and the new one from 10.6??? |
Quote:
|
yes I've patched DSDT
still doesn't work for me...maybe I do something wrong..... anyway thanks for help |
This also did not work for me (Dell E6500, IDT audio byteflipped hex:8508EC10) even with pathed DSDT. However now I have a new mysterious New Interface Detected - PCI Serial Adapter (3) in my Network Prefs...
|
Following your guide mormegil, now with all the info you helped me gather, I have "found" that ALL the "assertion "0"" verbose errors are gone, all except one! The system does not crash anymore or KP's, once in a while it triggers double verbose messages. An error I know I created, because I deleted an entry to make my plist as close in structure as your guide, and I'm pretty sure it had this name. I inside it was an entry called codecAddressMaskData. The whole verbose line reads
Code:
Sound assertion "0 == codecAddressMaskData" failed in "/sourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDAcontroller.cpp" at line 1159 goto Exit You know where I can find this info regarding my chip? |
Quote:
|
Quote:
|
Yes, but with voodooHDA.
I just went through it again, and I surely did something wrong the last time because I didnt find that codecAddress thing on the way. Started again and made double sure I had vanilla appleHDA. I have my very own codec dumps from linux, the only guessing I did was pathmapID being 9. The rest is absolutely my system. Rebooted and KP'd unfortunately. Note: When I redid the steps, I noticed that when editing AppleHDA/macos/appleHDA hex to byte flip the codec, when you save, it created a text file (appleHDA.txt) and the hex is renamed "appleHDA~". So the second time I copied it out to another folder, edited, saved, created the same output, renamed and removed the "~" and copied it back in (just hex file). Dont know if this is relevant, but I thought it would be interesting to share. |
Youre using hexedit right? it shdn't create a txt file.
Anyway, as I said before, I assumed a working kext for this to work. Run leopard and try out all the ready made kexts you can find until you find one which works. Try searching insanelymac forums. You're just looking for a set of plists with the right configdata, layout and pathmap for your codec. Once, youve done that then you can start thinking about porting it over to SL |
yes, I did. From the link provided. I replaced all 4 entries, File-> Save.
Maybe because I have Finder "showing all hidden files" ? But it did also alter the unix file adding "~" at the end. Will do, hadnīt thought of that !! thanks!! :) |
Hi again
still no working kext.... at step 2... I've got 2 times my codecID ....tried copy 2, didn't work, one of them ,,didn't work changed layoutid from 662 to 12...didn't work have no idea what now I give UP.... don't know what else can do....... |
Quote:
In 10.5, go to System Profiler>Audio: What's your "Audio ID"? |
ID urządzenia: 0x1458A002 (devID)
Audio ID: 662 but I think I didn't understand something...(my fault)...you asked if I had patched DSDT Yes I have (RTC, TMfix, LAN, 7600GS)..but....no sound..never needed...just had to replace applehda.kext Do I need to patch sound with DSDT for SNow LEO???? before no need sorry my English :( anyway thanks for help |
check the link in my original post
|
Hi
Thanks for all your help.... patched DSDT as you said then used alc662.kext (form Extra) and it works...found it on other forum... thank you |
This is fantastic thanks. Had my AD1988B (Asus P5K-E) running with a plist injector kext, but this method allows use of my SPDIF output. Great stuff!
|
hi, i followed your giude, and now have a patched applehda.kext.
problem is, when i load it with kextload, no devices show up. my card is adi1988. i tried to follow the guide to patch the dsdt file, but since that applies to another card (alc 889), i can't find the specified sections in my dsdt.dsl file. any help? thanks. |
Just add the hdef code into your dsdt if you can't find it.
Code:
Device (HDEF) Code:
Device (PCI0) |
Can this hdef code be used with alc883 too?
Quote:
|
Yes. It's a generic code for any codec
|
Not working for me.
DSDT was patch ok. Getting this errors in SL Sep 19 23:31:33 Mac-Pro kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 1459 goto Exit Sep 19 23:31:33 Mac-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 172 goto Exit Sep 19 23:31:33 Mac-Pro kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 1459 goto Exit Sep 19 23:31:33 Mac-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 172 goto Exit Sep 19 23:31:33 Mac-Pro kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 1459 goto Exit Sep 19 23:31:33 Mac-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 172 goto Exit Sep 19 23:31:33 Mac-Pro kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 1459 goto Exit Sep 19 23:31:33 Mac-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 172 goto Exit Sep 19 23:31:33 Mac-Pro kernel[0]: DSMOS has arrivedSound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 1459 goto Exit Sep 19 23:31:33 Mac-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 172 goto Exit Detected in SL - No sound Intel High Definition Audio: Device ID: 0x1458A002 Audio ID: 12 Available Devices: Line Out: Connection: 1/8-Inch Jack External Microphone: Connection: 1/8-Inch Jack External Microphone: Connection: 1/8-Inch Jack Headphone: Connection: 1/8-Inch Jack S/P-DIF Out: Connection: RCA Leo - Sound working Intel High Definition Audio: Device ID: 0x10438277 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 |
Device ID: 0x1458A002
Audio ID: 12 Device ID: 0x10438277 Audio ID: 12 Notice something? |
Yap I saw that. That's why I posted it. For some reason my Audio is always being detected Device ID: 0x1458A002 in SL.
I have tried to search in SL Vanilla AppleHDA.kext but I could not find any reference to 341,352,450(dec) which is 1458A002(hex) |
Have you even read the guide? doesn't matter whats in vanilla SL kext. The idea is to transfer/copy from a working Leo kext.
0x1458A002 is NOT your codec id. I can't help if you don't even know what it is. |
hello mormegil
i have IDT 92HD71B7 @ Intel 82801IB ICH9 codeid=0x111D76B2 my PIN CONFIG is: <00571C10 00571D01 00571E56 00571F18 00771C21 00771D01 00771E56 00771F58 00971C22 00971D01 00971E56 00971F58 00B71C23 00B71D01 00B71E56 00B71F58 00D71C24 00D71D01 00D71E56 00D71F58> i have downloaded your applehda patched kext posted here: http://www.infinitemac.com/f57/solve...835/page2.html it works but it gave me many kp like this (Sound assertion "0 == pathMa.......AppleHDA/AppleHDADriver.cpp.....") and No Audio after Wake from Sleep WOULD YOU CLEAR ME WHAT TO DO sorry for my bad english. thanks in advance. http://www.qtl.co.il/img/copy.pnghttp://www.google.com/favicon.icohttp://www.babylon.com/favicon.icohttp://www.qtl.co.il/img/copy.pnghttp://www.google.com/favicon.icohttp://www.babylon.com/favicon.ico |
Yes I have read and followed it and I get the idea that this is a transfer of layout, pathmaps and codecid from leo to snow.
and I know that 0x1458A002 is not my codecID. Its 0x10ec0883 on the actual machine. The point I was trying to make was 0x1458A002 was showing up in SL and yet its no where to be found in the vanilla AppleHDA.kext so im just curious about this and as you have shown, its not part of the default. I did a google on0x1458A002 and its looks like its ALC889A. In leo Im using taruga patch 1.20 from a self generated codec dump appleHDA.kext which is working. My Audio in Leo is being seen as Device ID: 0x10438277 - googled this and its ADI 1988b.(weird) Just got an Idea... I will probably try to use 0x10438277 since this is what is being seen in Leo instead of the actual machine's 0x10ec0883. |
Quote:
I got not clue why you got that there though, 0x1458A002 refers to some Gigabyte P35 motherboards, so if you got an Asus board that should not be there unless you (wrongly) inject that value somewhere (dsdt, plist...) 0x10438277 is some Asus board thats the right one I guess, keep in mind thats not the codec id, is the vendor id (Realtek makes the codec, Asus puts it the board). You need a codec dump to know your codec id, cant rely on System Profiler. |
hi everybody this is my first post in this forum i only want to ask you if this guide can be used for the realtek alc660/861 on a asus z53ja notebook thanks
|
Quote:
|
i have some difficults in plist editing because this is a rare codec.It reports alc600 but in the codec dump is 0x6108ec10
|
Quote:
|
2 Attachment(s)
Quote:
Codec: Realtek ALC883 Address: 0 Vendor Id: 0x10ec0883 Subsystem Id: 0x1043829e Code:
Codec: Realtek ALC883 Looks ok in Registry explorer codec is 0x10ec0883 |
1 Attachment(s)
This is what im getting in Leo. As you have explained subsystem-id and subsystem-vendor-id differ in whats showing up in SL and leo.
|
Hey guys. I patched my DSDT properly and followed the guide with no trouble. On reboot, I get these errors:
9/21/09 6:46:35 PM kernel NVDANV50HAL loaded and registered. 9/21/09 6:46:36 PM kernel Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAWidgetSTAC9220.cpp" at line 113 goto Exit 9/21/09 6:46:36 PM kernel Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAFunctionGroup.cpp" at line 116 goto Exit 9/21/09 6:46:36 PM kernel Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAFunctionGroupSTAC9220.cpp" at line 55 goto Exit 9/21/09 6:46:36 PM kernel Sound assertion "0 != err" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDACodecGeneric.cpp" at line 205 goto ExitError 9/21/09 6:46:36 PM kernel Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAWidgetSTAC9220.cpp" at line 113 goto Exit 9/21/09 6:46:36 PM kernel Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAFunctionGroup.cpp" at line 116 goto Exit 9/21/09 6:46:36 PM kernel Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAFunctionGroupSTAC9220.cpp" at line 55 goto Exit 9/21/09 6:46:36 PM kernel Sound assertion "0 != err" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDACodecGeneric.cpp" at line 205 goto ExitError 9/21/09 6:46:36 PM kernel Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAWidgetSTAC9220.cpp" at line 113 goto Exit 9/21/09 6:46:36 PM kernel Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAFunctionGroup.cpp" at line 116 goto Exit 9/21/09 6:46:36 PM kernel Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAFunctionGroupSTAC9220.cpp" at line 55 goto Exit 9/21/09 6:46:36 PM kernel Sound assertion "0 != err" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDACodecGeneric.cpp" at line 205 goto ExitError 9/21/09 6:46:36 PM kernel DSMOS has arrived Any idea what the problem is? It's a stac9227 kext from leopard. |
Screenshots are too small to discern anything
|
Quote:
|
Quote:
|
Conexant Cx20561 get sound assertion on SL
3 Attachment(s)
Hi, all
I followed this guide and patched the original AppleHDA (snow leopard edition). Every time I reboot I see the sound assertion as below. Sep 25 18:22:03 Ping-Tsengs-Mac-Pro kernel[0]: Previous Shutdown Cause: 3 Sep 25 18:22:04 Ping-Tsengs-Mac-Pro kernel[0]: VoodooPS2SynapticsTouchPad loaded Sep 25 18:22:05 Ping-Tsengs-Mac-Pro kernel[0]: VoodooPS2Trackpad: Synaptics TouchPad v7.0 Sep 25 18:22:05 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 1459 goto Exit Sep 25 18:22:05 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 172 goto Exit Sep 25 18:22:05 Ping-Tsengs-Mac-Pro kernel[0]: DSMOS has arrivedSound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 1459 goto Exit Sep 25 18:22:05 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 172 goto Exit Sep 25 18:22:05 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 1459 goto Exit Sep 25 18:22:05 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 172 goto Exit Sep 25 18:22:06 Ping-Tsengs-Mac-Pro kernel[0]: com_psystar_RealtekR1000: Ethernet address 00:1f:16:57:9c:45 Sep 25 18:22:06 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 == entry" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAEngine.cpp" at line 2976 goto Exit Sep 25 18:22:08: --- last message repeated 2 times --- Sep 25 18:22:07 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 == entry" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAEngine.cpp" at line 3009 goto Exit Sep 25 18:22:09: --- last message repeated 15 times --- Sep 25 18:22:07 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 == entry" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAEngine.cpp" at line 2976 goto Exit Sep 25 18:22:09: --- last message repeated 1 time --- Sep 25 18:22:07 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 == fPathControls" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAPath.cpp" at line 1273 goto Exit Sep 25 18:22:07 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAPath.cpp" at line 1194 goto Exit Sep 25 18:22:07 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != pathSet->getWidgetAmplifierGainRange ( &zeroValue, &minValue, &maxValue, &minDB, &maxDB, kPATH_CONTROL_SPATIAL_CHANNELID_Master )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAEngine.cpp" at line 278 goto handler Sep 25 18:22:08 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 == fPathControls" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAPath.cpp" at line 1273 goto Exit Sep 25 18:22:08 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAPath.cpp" at line 1097 goto Exit Sep 25 18:22:08 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 == fPathControls" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAPath.cpp" at line 1273 goto Exit Sep 25 18:22:08 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAPath.cpp" at line 1194 goto Exit Sep 25 18:22:08 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAEngine.cpp" at line 4954 goto Exit Sep 25 18:22:08 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAEngine.cpp" at line 4906 goto Exit Sep 25 18:22:08 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != readVolumeSettingFromCache ( pathSet, hdaSpatialChannnelID, &cachedVolumeMuteSetting )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAEngine.cpp" at line 2103 goto Exit Sep 25 18:22:08 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != createVolumeControlForActivePathSet ( hdaSpatialChannnelID, direction )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAEngine.cpp" at line 2273 goto Exit Sep 25 18:22:08 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 != createVolumeAndMuteControlsForActivePathSet ( kPathDirectionInput )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAEngine.cpp" at line 7684 goto Exit Sep 25 18:22:10 Ping-Tsengs-Mac-Pro kernel[0]: ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPower Management) timed out Sep 25 18:22:58 Ping-Tsengs-Mac-Pro kernel[0]: Sound assertion "0 == entry" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAEngine.cpp" at line 3009 goto Exit Sep 25 18:24:40 Ping-Tsengs-Mac-Pro kernel[0]: IOHIDSystem::relativePointerEventGated: VBL too high (20863126), capping to 20000000 Some times, I could get kp, failed to get into SL desktop, and had to reboot with -v -f and managed to get into SL and got working headphones, internal speakers, line out(automatically switch), but can't record. After that, I can reboot normally and get into SL, but sound assertion in logs. If I intalled any new kexts or ran kextutility, in next reboot, I would get a kp same as before. Attached are my patched drivers and code dump from linux and pinconfigurations from windows. Anyone can help would be much appreciated. Really need working recording. |
Quote:
Looking at your dump and the KP symptoms I'm assuming you have a laptop. You don't have a working kext do you? Patching from scratch? If so, this guide is not meant for you. The one you're looking for is here. Your plists seem to be in order though. Maybe you just need to trim your Configdata, Layout and Pathmap a little. You seem to have too many ports mapped out for a laptop. |
Quote:
|
Hi, mormegil. Thanks very much for your help.
Yes, it's a loptop CQ60-202TX, and running 60bit Snow Leopard, using Chemeleon 2RC3. I also have tried PCEFI 10.3 but it didn't help. I patched binary AppleHDA by replacing 6202EC10 with 5150F114(linux dump:0x14f15051). I also tried replacing others as in this thread mentioned with 5150F114, but the same result. On leopard, I have a patched working kext(no recording) and just followed this guide to import to SL. I just learned dump from linux and use codegraph & verbit to get verbs, but don't know how to manually put layout and path map, could you tell me how to? Thanks a lot. |
So your problem is not actually related to this guide since your old kext is not fully functional to begin with? I'm afraid I can't help much in that regard since patching from scratch involves a lot of trial and error.
You will have to try out different port mappings by following king's guide and see for yourself if it works. Try to reduce your configdata to only include the minimum number of ports for basic usage OR you can try searching for a good kext which works in leopard so you don't reinvent the wheel. Also, avoid using chameleon rc3 if you're on 64bit since it doesn't have fully working 64bit efi support which leads to sound assertion errors during boot. |
Hi, Mormegil. Thanks for your prompt reply. I will follow your advice to figure it out.
|