InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Snow Leopard 10.6 (http://infinitemac.com/forumdisplay.php?f=87)
-   -   [GUIDE] How to port AppleHDA to SL (http://infinitemac.com/showthread.php?t=3981)

mormegil 09-08-2009 03:15 AM

[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)
AD1984        299112836        0x11D41984
AD1988        299112843        0x11D4198B
STAC9220    -2088470912        0x83847680
ALC262        283902562        0x10ec0262
ALC885        283904133        0x10ec0885

If your codec id matches one of these you can skip this step.
Else, look into your vanilla SL AppleHDA.kext (Right click -> Show Package Contents) and browse to:

Code:

(SL)AppleHDA.kext/Contents/MacOS/
Open up the AppleHDA binary with HexEdit. You are going to replace one of the codec ids above with your own.
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
Open it up with your plist editor, go to:

Code:

IOKitPersonalities/HDA Hardware Config Resource/HDAConfigDefault/
and delete everything under it.

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
(Leo)AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist

Then browse through until you see something like this:
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
Go to:

Code:

IOKitPersonalities/HDA Platform Resource/
and delete everything under Layouts and PathMaps

Again, depending on which version your working applehda is, open either one of these:
Code:

(Leo)AppleHDA.kext/Contents/Info.plist
(Leo)AppleHDA.kext/Contents/PlugIns/AppleHDAPlatformDriver.kext/Contents/Info.plist

Then browse through until you see something like this:
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.

infinitek 09-08-2009 03:58 AM

Thanx for the info.....can u post your alc888 patched applehda...?????

mormegil 09-08-2009 04:09 AM

This plist works best. I'm not going to upload patched applehda from now on.

Snow 09-08-2009 06:36 AM

Great and thorough guide bro, good job!

xxxslayeriiixxx 09-08-2009 06:41 AM

i hope this will work for me. thx for the post

Pietruszka 09-09-2009 12:17 PM

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

mormegil 09-09-2009 12:45 PM

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.

Pietruszka 09-09-2009 12:53 PM

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???

mormegil 09-10-2009 03:23 AM

Quote:

Originally Posted by Pietruszka (Post 34147)
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???

have you patched dsdt?

Pietruszka 09-10-2009 09:07 AM

yes I've patched DSDT

still doesn't work for me...maybe I do something wrong.....

anyway thanks for help

arm1tage 09-10-2009 10:45 AM

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...

Gurruwiwi 09-10-2009 12:34 PM

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
I will try again tonight from scratch, but I guess I cant just leave vanilla values, will try though.

You know where I can find this info regarding my chip?

mormegil 09-10-2009 01:53 PM

Quote:

Originally Posted by arm1tage (Post 34237)
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...

That codec address belongs to alc885/alc889a from realtek. Get your own dump with a linux live cd.

mormegil 09-10-2009 01:56 PM

Quote:

Originally Posted by Gurruwiwi (Post 34241)
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
I will try again tonight from scratch, but I guess I cant just leave vanilla values, will try though.

You know where I can find this info regarding my chip?

Is your audio working in 10.5?

Gurruwiwi 09-10-2009 02:32 PM

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.

mormegil 09-10-2009 03:41 PM

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

Gurruwiwi 09-10-2009 06:17 PM

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!! :)

Pietruszka 09-10-2009 07:52 PM

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.......

mormegil 09-10-2009 10:55 PM

Quote:

Originally Posted by Pietruszka (Post 34287)
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.......

You sure your applehda works in 10.5? whats your layoutid in dsdt?

In 10.5, go to System Profiler>Audio: What's your "Audio ID"?

Pietruszka 09-11-2009 12:54 PM

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

mormegil 09-11-2009 01:37 PM

check the link in my original post

Pietruszka 09-11-2009 07:50 PM

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

tokyovigilante 09-16-2009 03:55 AM

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!

lemn 09-16-2009 09:28 AM

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.

mormegil 09-18-2009 03:35 AM

Just add the hdef code into your dsdt if you can't find it.

Code:

            Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id",
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            },

                            "PinConfigurations",
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

Find Device (PCI0) and it should look like this:

Code:

      Device (PCI0)
        {
            Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id",
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            },

                            "PinConfigurations",
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
            .
            .
            .


Ezhoon 09-18-2009 05:35 AM

Can this hdef code be used with alc883 too?

Quote:

Originally Posted by mormegil (Post 35175)
Just add the hdef code into your dsdt if you can't find it.

Code:

            Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id",
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            },

                            "PinConfigurations",
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

Find Device (PCI0) and it should look like this:

Code:

      Device (PCI0)
        {
            Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id",
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            },

                            "PinConfigurations",
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
            .
            .
            .



mormegil 09-18-2009 06:03 AM

Yes. It's a generic code for any codec

Jedric 09-20-2009 05:07 AM

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

mormegil 09-20-2009 05:44 AM

Device ID: 0x1458A002
Audio ID: 12

Device ID: 0x10438277
Audio ID: 12

Notice something?

Jedric 09-20-2009 06:26 AM

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)

mormegil 09-20-2009 05:15 PM

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.

rachaf 09-20-2009 07:31 PM

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

Jedric 09-21-2009 01:25 AM

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.

thorazine74 09-21-2009 11:01 AM

Quote:

Originally Posted by Jedric (Post 35398)
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.

0x1458A002 is the subsystem vendor and device id of the codec, not the pci vendor & device id, for some reason Apple reports that instead of the codec id, probably because they use that to identify codec.
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.

vincenzo32 09-21-2009 04:17 PM

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

mormegil 09-21-2009 07:07 PM

Quote:

Originally Posted by vincenzo32 (Post 35454)
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

It should work for any codec as long as the old kext works.

vincenzo32 09-21-2009 08:22 PM

i have some difficults in plist editing because this is a rare codec.It reports alc600 but in the codec dump is 0x6108ec10

thorazine74 09-22-2009 08:42 AM

Quote:

Originally Posted by vincenzo32 (Post 35470)
i have some difficults in plist editing because this is a rare codec.It reports alc600 but in the codec dump is 0x6108ec10

Realtek is known for naming its codecs with different commercial names despite of having the same hardware ids, the best known case is the ALC889 that are identified as 0x088510EC, the numbers in the codec dump are the right ones.

Jedric 09-22-2009 02:50 PM

2 Attachment(s)
Quote:

Originally Posted by thorazine74 (Post 35435)
0x1458A002 is the subsystem vendor and device id of the codec, not the pci vendor & device id, for some reason Apple reports that instead of the codec id, probably because they use that to identify codec.
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.

I looked at my codec dump and its
Codec: Realtek ALC883
Address: 0
Vendor Id: 0x10ec0883
Subsystem Id: 0x1043829e

Code:

Codec: Realtek ALC883
Address: 0
Vendor Id: 0x10ec0883
Subsystem Id: 0x1043829e
Revision Id: 0x100002
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x11: Stereo
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x11: Stereo
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x11: Stereo
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x00 0x00]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
    0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x00 0x00]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
    0x22
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Connection: 1
    0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 10
    0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x19 0x19]
  Connection: 2
    0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
    0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
    0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
    0x05 0x0b
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x083e: IN OUT HP Detect
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
  Pin-ctls: 0x40: OUT
  Connection: 5
    0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x15 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x083e: IN OUT HP Detect
  Pin Default 0x01011012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Connection: 5
    0x0c 0x0d* 0x0e 0x0f 0x26
Node 0x16 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x083e: IN OUT HP Detect
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
  Pin-ctls: 0x40: OUT
  Connection: 5
    0x0c 0x0d 0x0e* 0x0f 0x26
Node 0x17 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x083e: IN OUT HP Detect
  Pin Default 0x01012014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
  Pin-ctls: 0x40: OUT
  Connection: 5
    0x0c 0x0d 0x0e 0x0f* 0x26
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x01a19840: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
  Pin-ctls: 0x24: IN
  Connection: 5
    0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x02a19c50: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
  Pin-ctls: 0x24: IN
  Connection: 5
    0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x0181304f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
  Pin-ctls: 0x20: IN
  Connection: 5
    0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x02214c20: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
  Pin-ctls: 0xc0: OUT HP
  Connection: 5
    0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x593301f0: [N/A] CD at Int ATAPI
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0x00:
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x0820: IN
  Pin Default 0x4005e601: [N/A] Line Out at Ext N/A
    Conn = Optical, Color = White
  Pin-ctls: 0x00:
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
  Pincap 0x0810: OUT
  Pin Default 0x01441130: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
  Pin-ctls: 0x00:
  Connection: 1
    0x06
Node 0x1f [Pin Complex] wcaps 0x400200: Mono Digital
  Pincap 0x0820: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 11
    0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 11
    0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Audio Output] wcaps 0x11: Stereo
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x26 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
    0x25 0x0b

Not sure what Im doing wrong. I tried it again this morning and I'm still getting 0x1458A002. Its a fresh SL install and im not injecting 0x1458A002 anywhere. Its a fresh dsdt, I only added the code that mormegil posted for audio inection of which he said it was generic. DSDT compiled without errors.

Looks ok in Registry explorer codec is 0x10ec0883

Jedric 09-22-2009 03:46 PM

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.

blkhockeypro19 09-22-2009 08:47 PM

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.

mormegil 09-23-2009 03:22 PM

Screenshots are too small to discern anything

mormegil 09-23-2009 03:24 PM

Quote:

Originally Posted by blkhockeypro19 (Post 35575)
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.

Well, do you have sound?

blkhockeypro19 09-23-2009 07:38 PM

Quote:

Originally Posted by mormegil (Post 35649)
Well, do you have sound?

I do not have sound =\

ping99 09-25-2009 12:28 PM

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.

mormegil 09-26-2009 05:17 AM

Quote:

Originally Posted by ping99 (Post 35841)
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.

Are you running 32/64 bit SL? Which bootloader are you using? Also, have you patched your binary?

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.

mormegil 09-26-2009 05:20 AM

Quote:

Originally Posted by blkhockeypro19 (Post 35673)
I do not have sound =\

Have you personally tried that kext in Leopard and confirmed that it's really working for YOU?

ping99 09-26-2009 06:37 AM

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.

mormegil 09-26-2009 07:03 AM

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.

ping99 09-26-2009 07:27 AM

Hi, Mormegil. Thanks for your prompt reply. I will follow your advice to figure it out.