x86 硬件上的 Mac OS X 2008–2024 技术文献库
Member #10,120 · 2009-08-22 → 2010-06-27
#50 by Dispatches #35 by Author Reads #20 by Thread Reach Member #10,120 DSDT ALC889a / Audio Chameleon / Boot-132

@mormegil

InfiniteMac 社区核心贡献成员:共发表 148 则技术帖文、主笔撰写 1 篇技术专卷(累计 478,935 次直接阅读),参与之技术讨论共触达 4,371,461 位历史读者。

技术发帖数 148 Ranked #50 of 6,691
主笔专卷阅读量 478,935 Ranked #35 · 1 dossiers
参与讨论触达读者 4,371,461 Ranked #20 in reach
主笔技术专卷 1 478,935 avg reads / dossier
会员注册编号 #10,120 Joined 2009-08-20
历史活跃年份 2009–2010 2009-08-22 → 2010-06-27
Preserved Forum Signature & OSx86 Rig
Core2Quad / MSI P45 Neo2-FR / HD4870 / Snow Leopard
文献库贡献排名
#50 of 6,691 by Dispatches (148 notes) · #35 of 3,454 by Author Readership (478,935 reads across 1 dossiers) · #20 by Thread Reach (4,371,461 cumulative reads)
InfiniteMac 会员编号
Member #10,120 · Joined 2009-08-20
InsanelyMac Profile
@mormegil (Member #6,903) ↗
硬件与内核研究领域
DSDT (41) · ALC889a / Audio (41) · Chameleon / Boot-132 (8) · Retail DVD / USB (3) · AHCI / SATA (1) · Gigabyte G31M / P35 (1)
常态协作技术成员
@Gurruwiwi (16) @thorazine74 (14) @Snow (11) @DocShadow (10) @ajacocks (9) @x986123 (8) @xXrkidXx (7) @wwbsox (6) @monsieur.d (6) @blkhockeypro19 (6) @Pietruszka (5) @sk1nhd33t (4) @vladrxpx (4) @slic (4)

各代 Mac OS X 技术专区发帖分布

Distribution across 3 technical boards

由 @mormegil 主笔撰写之技术专卷 (1)

478,935 cumulative reads on threads started by @mormegil

专卷标题与摘要所属专区历史阅读量
如何将 Leopard 的 AppleHDA.kext 声卡驱动移植至 Snow Leopard(二进制 Byte-Flip 与 Plist 结构移植教程)
Mormegil 撰写的经典声卡驱动工程教程:通过 HexEdit 对 AppleHDA 二进制文件进行小端序 (Byte-Flip) Codec ID 替换,并将 Leopard 的 HDAConfigDefault、Layouts 与 PathMaps 移植至 Snow Leopard。
Snow Leopard 10.6478,935 reads
2009-09-08 · 117 notes

精选技术回帖与实测笔记 (40)

Direct links into threads where @mormegil contributed solutions & commentary

讨论串与回帖摘录所属专区日期与阅读量
Retail Snow Leopard DVD install for G31M-ES2L
“Success at last with MSI P45 Neo2-FR! From not being able to even boot (KP right after choosing boot partition) to running in x64 mode for hours now It wasn't much about the installing from USB, just the other steps and attached kexts i gue…”
Snow Leopard 10.62009-08-22
1,741,402 dossier reads
ALC889a (with analog 5.1 surround)
“Let it run. It covers hdef injection into dsdt which I didn't. Only thing you should change is your dsdt code. The code starting from Name (BUFA, ResourceTemplate is not part of HDEF. You can delete them, they might cause confusion.”
Snow Leopard 10.62009-09-08
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Yes. You should be using layout 12 in your dsdt.”
Snow Leopard 10.62009-09-08
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“hi m8, i tried downloading it and it doesn't download properly... if you could, can you please PM me the kexts? Use this plist and follow this guide”
Snow Leopard 10.62009-09-08
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Mormegil, No, I don't. I just have tried voodoohda, in the past, in the effort to get it to make a dump. K.. I thought it was voodoohda that was ----ing around when you have a patched applehda. Never use them together! Well, I've seriously …”
Snow Leopard 10.62009-09-07
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Mormegil, Does the fact that voodoohelper can't dump, for me either, mean anything? I'm not quite sure where else to go from here. Do you have voodoohda installed all this time? When you're using patched applehda? same goes to gurru”
Snow Leopard 10.62009-09-07
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“sorry to bothering you. I read the your post about alc888 (this post, #8) I downloaded attached file, but that file was broken. It's not extract properly. so, could you plz re-upload AppleHDA.kext about alc888? I tried downloading it and it…”
Snow Leopard 10.62009-09-07
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Oh man, that was super! On to the next part, windows and voodoohelper dumps Update: Again... I had forgotten about it. voodoohelper can't dump. Says; error: IORegistryEntryGetPath returned 0x10000003 : morm ? I've fixed your dsdt. Dunno if …”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Yep, this is a laptop...a 17" desktop replacement. I made the codec dump myself, using a Ubuntu 9.04 x64 livecd, following TheKing's instructions. try this set”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Yes,... and you pasted BELOW layout-id.. Oh please, lets not make a big deal out of this... You know what you are doing, I dont! I'm just following your lead. I am your dsdt bitch right now repalced the whole hdef section with what you aske…”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“mormegil, No, my sound isn't working. I have no input and no output devices listed in the Audio part of System Preferences. I also get those assertion failures that I pasted in, above, when a sound tries to play. Thanks so much for continui…”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Waiting for you input if the example above is correct. You say "place about layout-id" but I think you may have meant "below" yes, that config data from info.plist inside applehda/AppleHDAHardwareConfigDriver/plist/etc etc I assume that is …”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Insert it in your dsdt above "layout-id". It's for my codec (alc888). You'll have to convert your "ConfigData" in plist into it. Just separate them into bytes and add "0x" in front. …”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“@ajacocks Is your sound working? @gurru have you compiled yet? What configdata? in your plist?”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“@ Gurru Read again what I wrote. What you have done is completely replace your layoutid with your configdata. I said copy the WHOLE code into your dsdt. Not replace stuff. Wheres the "ConfigData" header? Looks like I have to do everything f…”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“That applehda.kext you posted earlier. Is that patched or not? and why do you have info.plist in root of AppleHDAHardwareConfigDriver.kext/AppleHDAPlatformDriver.kext? It shdn't be there. Should be under Contents.”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“@ Gurruwiwi Doesn't matter. As long as it appears as above but with your configdata instead. @ ajacocks You seem to be doing fine with King's guide. I see all the required files in your attached package. Once you're done patching the binary…”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“If they are in sound pref then there should be sound! Have you tried plugging a headphone or mic to test? Internal speakers might be too soft to hear. edit: My master volume in aggregate device is also greyed out for every port. Doesn't rea…”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“@: ajacocks Why are your kexts empty? Your codec 10ec0883 is not natively supported. You'll have to patch the AppleHDA binary. You want to replace a supported codec such as 10ec0885 (alc885,889a). So open up the AppleHDA binary in AppleHDA.…”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Man, I did nothing except normal reboot ... I go get the codecs The prob might be with codec address (the leading hex that I asked you to change). One time it works with 3 and next it works with 0. Try this: /* Sample */ "ConfigData", Buffe…”
Snow Leopard 10.62009-09-06
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“You've got it once. I take it the problem is solved. Just retrace your steps. That's only the hdmi portion btw. Try codec0.”
Snow Leopard 10.62009-09-05
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Ah finally it worked I had to manually do your ConfigData from scratch using the codec dump you linked. Glad I did everything right. All ports properly mapped and all. Booting into x64 has nothing to do with dsdt or applehda. and btw, the u…”
Snow Leopard 10.62009-09-05
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“CodecID 083904133 ConfigData AZcdMAH3HeE= FuncGroup 1 LayoutID 12 You only need to change this part since your layoutid in dsdt is set to 12. All other layouts can be deleted if you want to. Do it to the patched kext I made! Not the vanilla…”
Snow Leopard 10.62009-09-05
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Sorry. I've fixed the path. And use my dsdt pls. The one you created is useless. I know it shows up all nice in Sys Prof but you're basically telling it what to show on the screen. I doubt you really have all that ports on your laptop. Show…”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Try this: AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist/IOKitPersonalities/HDA Hardware Config Resource/HDAConfigDefault/10/ConfigData Change ALL the first HEX value to 3. For example 21871C40 to 31871…”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Sorry. Nothing much I can do if I don't have your actual codec dump. Will be much easier if we put the guessing out of the picture.”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Try this out SL 1.7.4 AppleHDA.kext for acer 6920g alc889:”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Ahh! You have a true 889 codec as opposed to the fake 889 (renamed 885). All the above plists are useless for you then. Also, your pinconfig are different as I expected and you might have to hex edit your binary.”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“If you're certain it matches yours, just go through King's guide. He'll guide you step by step. You will understand things more clearly by reading it.”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Since you're on a lappy, the only way to properly write your own plists is to create your own codec dump in linux or find one on the internet. Try searching acer laptop forums for example. The thing is, all the codec dumps we've been using …”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Think I know what's wrong. Just checked the plists I made for Snow and the legacy kexts. Turns out they are for different codecs! Both are 889a but the former is address 3 and the latter is address 2. You need to be certain first which of t…”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“It's fine since you're showing before and after injecting the code. It just shows the important fact that dsdt is system specific and just blindly adding code into it will result in compilation errors etc.”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“If you can see the ports in SysProf and still no sound, then your configdata is correct but your pathmaps are not right. You might have a different variant of the same codec. Are you on a laptop? You sure your codec is 889a (885 address 3)?”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“That's because those code were there originally in his stock dsdt while yours didn't. Just like mine.”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Your dsdt is fine. Don't touch it anymore. Make sure to change ALL LayoutIDs! Or just use the plists I made and you don't have to change anything. Edit: I meant all LayoutID so long as they're 889 or 885. This confusion can be totally avoid…”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“So you downloaded tmongkol's legacy kext. There should be a few in the package. Only choose one. Then, edit all LayoutID's from 889 or 885 to 12.”
Snow Leopard 10.62009-09-04
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“If you use tmongkol's legacy kexts, make sure to edit the plist and replace all occurrences of "LayoutID" to 12. You don't need the HDAenabler.”
Snow Leopard 10.62009-09-03
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“Nothing to do with dsdt I think. Perhaps your gfx string that's the issue. I've heard EFI string which works in Leopard might not always work with SL. You're using the plists I posted in this thread correct? Rename to Info.plist and replace…”
Snow Leopard 10.62009-09-03
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“I just force compiled and ignored the warnings. All errors I've corrected.”
Snow Leopard 10.62009-09-03
497,008 dossier reads
ALC889a (with analog 5.1 surround)
“You have to insert the code if it's not present. Was the same as me. Just copy and paste the whole "Device (HDEF)" block of code so that it appears under "Device (PCI0)" (i.e. subset of it). Read the guide by King again.”
Snow Leopard 10.62009-09-03
497,008 dossier reads

选择语言 · Choose your language