OPTiK Posted March 12, 2006 Share Posted March 12, 2006 I have a serious problem. I have done alot of reaserch and I built a box just for running OSx86 what consists of Pentium D 805 ASUS P5LD2-VM (i945 chipset) 512mb DDR2 80gb WD IDE HDD HP 400i DVDR I Installed 10.4.4 with no problems at all. I solved the networking issuse with the IONetorkingFamily.kext from 10.4.3. That worked with no problems. Now here's my problem. I can't seem to get any audio at all. I tried EVERYTHING (at least everyting I could find). Adding the AppleAzaliaAudio.kext didn't do anything. Changing the IDs inside that kext didn't do anything. Here's the thing I don't understand. When it boots I see this on the screen "AppleHDA.kext failed to load Unable to locate 'layout-ID' properly. Now if I try to move or delete that kext like in some instuction on here, I get kernal panics and everything screws up and I'd have to re-install the OS. I'm at a total loss. If anyone would be so kind as to coach me through this troublesome time or supply me with a working config file or something I'd be forever greatful and in debt to that person for life because I don't think I'll be able to figure it out on my own. If you need to ask me any question about that I have done and what I haven't done. Please do. After all, that's part of the learning curve. -Thanks Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/ Share on other sites More sharing options...
thrunner Posted March 12, 2006 Share Posted March 12, 2006 1. Install 10.4.5 without the AMD Enabler 2. Edit 10.4.5 AppleAzaliaAudio.kext with your IDs 3. Delete AppleHDA.kext (or move it) 4. You don't need IONetorkingFamily.kext from 10.4.3 or any other kexts (at least for P5LD2-VM) 5. Do the usual kext cache refresh, eg, chown -R root:wheel /System/Library/Extensions/AppleAzaliaAudio.kext kextcache -k /System/Library/Extensions/ Sound, Network should work. If NIC doesn't work, go to System Pref, Network, ethernet and apply the MAC manually. http://forum.osx86project.org/index.php?s=...indpost&p=70358 Basically you'll need to delete the AppleHDA.kext in addition to edit plist: Yes. Confirmed in 10.4.5 Asus P5LD2-VM (input and front audio not working though). It is not enough to edit plist vendor IDs for AppleAzalia. Also required disabling of AppleHDA.kext (moved to Extensions.disabled folder) Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-73711 Share on other sites More sharing options...
OPTiK Posted March 12, 2006 Author Share Posted March 12, 2006 So using 10.4.5 instead of 10.4.4 should basicly fix everything? Because in my post I said that moving or deleting AppleHDA.kext would result in a kernal panic appon restart. So that wont happen in 10.4.5? Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-73893 Share on other sites More sharing options...
MacApprentice Posted March 12, 2006 Share Posted March 12, 2006 I did this, easy and it worked! The new Intel HD audio system works differenty then the "old" AC97 audio device. Basically it comes to this: There is a special bus for audio devices. On to this bus you can attach several devices (but usually only an audio controller is installed) In my case this is a Realtek ALC882 HD audio device on an Intel 945 Chipset. Some people reported their ALCxx HDA was working after booting Windows XP before booting OSX. This makes sense because then the controller bus was already initialized and was probably not reset after rebooting What I did to make ik work: First: find the device/vendor ID of your HD audio Hub (for the Intel 945 Chipset it's 0x27d88086) Second: find the device/vendor ID of your audio device (for the Realtek ALC882 it's 0x088210ec) (I assume you know how to find this) As reported before, the ALC8xx HD audio controller uses the AppleAzaliaAudio.kext Open /System/Library/Extensions/AppleAzaliaAudio.kext/Contents/Info.plist and find the key "Realtek ALC880/ALC860 Codec Driver" Below this key there is something like this. <key>IOHDAudioCodecVendorID</key> <string>0x10ec0880 0x10ec0882</string> (add you vendor/device ID here) Pleas note that the device/vendor ID is turned around So it's Vendor ID first and Device ID second!) After this open /System/Library/Extensions/AppleAzaliaAudio.kext/Contents/PlugIns/AppleAzaliaController.kext/Contents/Info.plist Find the key "IOPCIPrimaryMatch" Now edit the string below and add your IO controller hub ID <string>0x26688086 0x27d88086</string> (The second ID is for the Intel 945 chipset) After saving the files go to \System\Library and remove Extenstions.kextcache and Extensions.mkext They will be rebuild after rebooting Now reboot and you should have sound! Good Luck! X-iT UPDATE: If you have trouble fixing your sound under 10.4.3. (Crashing OSX on boot time) First remove the ALC882 device ID from AppleHDA.kext! It's from this post Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-73897 Share on other sites More sharing options...
OPTiK Posted March 12, 2006 Author Share Posted March 12, 2006 I tried that aswell. What I don't understand is: "Second: find the device/vendor ID of your audio device (for the Realtek ALC882 it's 0x088210ec)" - That's my Device. but here it's: key>IOHDAudioCodecVendorID</key> <string>0x10ec0880 0x10ec0882</string> (add you vendor/device ID here) - Same number, different order. Why is the same number in there twice? ... and, "Find the key "IOPCIPrimaryMatch" Now edit the string below and add your IO controller hub ID <string>0x26688086 0x27d88086</string> (The second ID is for the Intel 945 chipset)" I don't know my controller hub ID!! All I know is is the Device/Vender ID!. This is all so confusing to me. Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-73960 Share on other sites More sharing options...
MacApprentice Posted March 12, 2006 Share Posted March 12, 2006 in /System/Library/Extensions/AppleAzaliaAudio.kext/Contents/Info.plist : <key>IOHDAudioCodecVendorID</key> <string>0x27d88086</string> in /System/Library/Extensions/AppleAzaliaAudio.kext/Contents/PlugIns/AppleAzaliaController.kext/Contents/Info.plist : <key>IOPCIPrimaryMatch</key> <string>0x26688086 0x27d88086</string> that's what I have and sound is working. it seems to be reversed when I look @ the first post, gotta have to try to reverse it back. Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-73993 Share on other sites More sharing options...
wingtsun Posted March 12, 2006 Share Posted March 12, 2006 MacApprentice: whoa! I have SoundOutput now. Have you Input too? I don't have it Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74002 Share on other sites More sharing options...
MacApprentice Posted March 12, 2006 Share Posted March 12, 2006 no input, but no one have input Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74011 Share on other sites More sharing options...
thrunner Posted March 12, 2006 Share Posted March 12, 2006 key>IOHDAudioCodecVendorID</key><string>0x10ec0880 0x10ec0882</string> (add you vendor/device ID here) - Same number, different order. Why is the same number in there twice? Yes, it is confusing, it just posted by the author to reflect the changes, the second is the right one : eg, <string>0x10ec0882</string>"Find the key "IOPCIPrimaryMatch"Now edit the string below and add your IO controller hub ID <string>0x26688086 0x27d88086</string> (The second ID is for the Intel 945 chipset)" I don't know my controller hub ID!! All I know is is the Device/Vender ID!. Again, it is confusing, but for the P5LD2-VM it should be: <string>0x27d88086</string>If you can't get it to work, I am sure someone can PM you the correct modified kext. Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74028 Share on other sites More sharing options...
OPTiK Posted March 12, 2006 Author Share Posted March 12, 2006 Thanks for clearing that up thrunner. I really hope it works. I'm getting 10.4.5 in the next day or so and I'll try that. Do I still have to remove AppleHDA.kext? I don't really want to do that because like I said, that just messes everthing up when I restart. MacApprentice, if you have a P5LD2-VM mobo, why is your vender ID set to 0x27d88086 and not 0x10ec0882? Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74035 Share on other sites More sharing options...
MacApprentice Posted March 12, 2006 Share Posted March 12, 2006 because the explanation above wasn't that clear,i tried editing it the way it should be but my osx crashed big time. I've reinstalled everything but haven't changed those back, I'll try latter. Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74068 Share on other sites More sharing options...
thrunner Posted March 12, 2006 Share Posted March 12, 2006 Do I still have to remove AppleHDA.kext? I don't really want to do that because like I said, that just messes everthing up when I restart.You won't get sound without removing 10.4.5 AppleHDA.kext with the the Azalia kext patch and Asus P5LD2-vm. I would suggest anyone patching kext to have dual boot (or do it under VMware) ability and easy way to revert back to a working state. After all, kexts are kernel extensions and can mess up OSX big time. You can revert back after a bad patch by using Macdrive (lets you edit files in a HFS+ partition under WinXP) for example or using a disk imaging program such as Acronis True Image (lets you restore a previously working image of OSX). Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74074 Share on other sites More sharing options...
OPTiK Posted March 12, 2006 Author Share Posted March 12, 2006 thrunner: Okay... I'll try it. When using VMware, is there a performance decrese as apposed to running it natively? The reason why I'm asking, is that if it runs well I'll keep that configuration. But if not I'll have to do some reading on how to dual boot it with XP. What are my options if removing the AppleHDA.kext is always screwing up the OS? When you removed it did it screw up your system? Do you think it'll mess up 10.4.5 like it did 10.4.4? MacApprentice: Did you remove the AppleHDA.kext? and did you have problems? Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74087 Share on other sites More sharing options...
MacApprentice Posted March 12, 2006 Share Posted March 12, 2006 I never touched AppleHDA.kext and it was working before i f***ed up the system gotta have to do regular backup under winxp Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74096 Share on other sites More sharing options...
OPTiK Posted March 12, 2006 Author Share Posted March 12, 2006 Hmmm interesting. But you have 10.4.5. I wonder why you had sound without touching the HDA kext when thrunner says you wont get sound with it in there. So could be be that you don't have to remove the AppleHDA.kext in 10.4.5? Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74107 Share on other sites More sharing options...
MacApprentice Posted March 12, 2006 Share Posted March 12, 2006 I dunno Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74113 Share on other sites More sharing options...
MacApprentice Posted March 12, 2006 Share Posted March 12, 2006 ok, I followed all thrunner said (changing the 2 keys, restore all the system atuhorisation back, pass the kextcache command then delete AppleHDA.kext) and it all worked perfectly Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74135 Share on other sites More sharing options...
OPTiK Posted March 12, 2006 Author Share Posted March 12, 2006 And you restarted and you have no kernal panics? I'm installing it 10.4.4 under VMware now. I'll keep you posted. BTW.. you followed this right? 1. Install 10.4.5 without the AMD Enabler2. Edit 10.4.5 AppleAzaliaAudio.kext with your IDs 3. Delete AppleHDA.kext (or move it) 4. You don't need IONetorkingFamily.kext from 10.4.3 or any other kexts (at least for P5LD2-VM) 5. Do the usual kext cache refresh, eg, chown -R root:wheel /System/Library/Extensions/AppleAzaliaAudio.kext kextcache -k /System/Library/Extensions/ UPDATE:: Just installed under VMware and it wont even boot... Oh well, I tried! Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74145 Share on other sites More sharing options...
MacApprentice Posted March 12, 2006 Share Posted March 12, 2006 1 - Changed permissions to myself and modified AppleAzaliaAudio.kext with my 2 IDs 2 - changed back permissions to system and kextcached it 3 - deleted AppleHDA.kext 4 - reboot 5 - sound is working Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74182 Share on other sites More sharing options...
OPTiK Posted March 12, 2006 Author Share Posted March 12, 2006 Sorry to be a pain-in-the-a**, but can you expain 1 - Changed permissions to myself and modified AppleAzaliaAudio.kext with my 2 IDs 2 - changed back permissions to system and kextcached it In more detail... just so I get it right ... Also, did you get my PM? Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74191 Share on other sites More sharing options...
murcielago585 Posted March 12, 2006 Share Posted March 12, 2006 This worked for me too, finally. Pretty much follow thrunner's guide and to edit the the AppleAzaliaAudio.kext follow the instructions MacApprentice posted right after which should be the second one. After you edit these then go back to thrunner's post to fix all the permissions. Restart and you should get some audio. Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74194 Share on other sites More sharing options...
MacApprentice Posted March 12, 2006 Share Posted March 12, 2006 This thread is a mess I'll try to write a clean step by step tutorial in a new thread tomorrow Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74204 Share on other sites More sharing options...
OPTiK Posted March 12, 2006 Author Share Posted March 12, 2006 I think your right. I think that I'm have problems understanding the permissions aspect of this all. From all of you guys helping me out it looks like I have done everything eles right so I think that's what I really need to have explain to me in great detail. Can f***ed up permission give you kernal panics? It's not a mess MacApprentice, If anyone reads it from start to finish then they'll get. execpt for me... because I'm Slow Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74209 Share on other sites More sharing options...
OPTiK Posted March 13, 2006 Author Share Posted March 13, 2006 This thread is a mess I'll try to write a clean step by step tutorial in a new thread tomorrow If you can, post the thread link here when your done. Thanks! Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74621 Share on other sites More sharing options...
OPTiK Posted March 13, 2006 Author Share Posted March 13, 2006 UPDATE: Okay I installed 10.4.5 on a new SATA drive I got today. I deleted the appleHDA.kext and it didn't mess up the system this time. But now I'm faced with another problem. I can't edit the Azalia kext. I changed the permissions to read & write but I keep getting this error: Couldn’t save document as “Info.plist” in folder “Contents”. I have no idea why I can't edit this. I could in 10.4.4. Any ideas? If it's not one thing it's the other. LOL Link to comment https://www.insanelymac.com/forum/topic/11758-need-help-with-asus-p5ld2-vm-sound/#findComment-74860 Share on other sites More sharing options...
Recommended Posts