Contribute
Register

Lion HDMI Audio - Part 1: Requirements

Status
Not open for further replies.
toleda, thanks so much by attention.
keep in mind thats i'm already grateful if there any type of help and i know that's just a attempt for enabled HDMI Audio.

No success for now, but no problem.

i followed your tips and here are the results:
toleda said:
2. delete all references to PEGP (Search PEGP, delete, Next, delete, repeat Next, etc.)
3. rename GFX0 to IGPU (Search GFX0, Replace IGPU, Replace)
4. rename PEG0 to PEGP
After steps, this error message appears:
Code:
dsdt.dsl  7637:         Method (_PRW, 0, NotSerialized)
Error    4057 -                                                               Name already exists in scope ^  (_PRW)
and i deleted all itens selected in picture and no more erros appears. Is that right what i made???


toleda said:
5. paste HDMI edit code into new PEGP (Preserve existing Name and Methods, copy Device (GFX0) and Device (HDAU))
Then i added the following injection to dsdt:
Code:
Device (PEGP)
            {
                Name (_ADR, 0x00010000)
                Name (_PRW, Package (0x02)
                {
                    0x09, 
                    0x05
                })
                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Name (_SUN, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x1E)
                            {
                                "AAPL,slot-name", 
                                "PCI x16", 
                                "@0,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 
                                "@0,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x08, 0x00, 0x00
                                }, 
                                "@0,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 
                                "@0,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-A"
                                }, 
                                "@1,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 
                                "@1,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x08, 0x00, 0x00
                                }, 
                                "@1,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 
                                "@1,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-B"
                                }, 
                                "NVCAP", 
                                Buffer (0x18)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 
                                    /* 0008 */    0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                }, 
                                "VRAM,totalsize", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x40
                                }, 
                                "device_type", 
                                Buffer (0x0C)
                                {
                                    "NVDA,Parent"
                                }, 
                                "model", 
                                Buffer (0x10)
                                {
                                    "GeForce GTX 460"
                                }, 
                                "rom-revision", 
                                Buffer (0x0F)
                                {
                                    "70.04.2E.00.70"
                                }, 
                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
                Device (HDAU)
                {
                    Name (_ADR, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x02)
                            {
                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }
And edited AppleHDA with the all necessary informations about my VGA, as you can see in attachments.

http://www.mediafire.com/?2965p8kc514or

If there some error on attached files or any suggestion i'll appreciate your help,
if not, i understand.

Thanks again.
Regards, Maf3r0.
 
If there some error on attached files or any suggestion i'll appreciate your help,
if not, i understand.

The correct fix for the "Name already exists ..." delete one of the two:
Scope (_SB, PCI0, PEGP)
and leave the others.

The second problem is to "copy GFX0 and ..."
Delete the code below as noted:
Code:
Device (PEGP)
            {
                Name (_ADR, 0x00010000)
                Name (_PRW, Package (0x02)    <  Delete
                {                             <  Delete
                    0x09,                     <  Delete
                    0x05                      <  Delete
                })                            <  Delete
                Device (GFX0)

Try the fixes above and reply with dsdt and copy of IOReg.
 
Hi toleda, thanks...

i believe, really believe, that my mobo is incompatible with HDMI audio and i'm losing hope.
i never had success in HDMI audio...including with earlier F12 bios.

hehehe, think i made all steps precisely and correctly but i don't get this HDMI audio.
as you requested, the newest DSDT and IOReg are attach to prove my words, rsrsrs!!!
http://www.mediafire.com/?xfanv94o546fn

thanks so much by the patience.

just for information:
my graphic card (gtx 460) are enabled using only DSDT, no GE=Yes in boot.plist.
appleHDA alc889 works fine and all the outputs are enabled, see image:



do you think that is necessary add the hda-gfx <"onboard-1"> in HDEF device?
i have tried, but no any success again...

there's a last tip, hehehe? i'll appreciate...
best regards,
Maf3r0.
 
hehehe, think i made all steps precisely and correctly but i don't get this HDMI audio.
as you requested, the newest DSDT and IOReg are attach to prove my words, rsrsrs!!!
http://www.mediafire.com/?xfanv94o546fn

my graphic card (gtx 460) are enabled using only DSDT, no GE=Yes in boot.plist.
appleHDA alc889 works fine and all the outputs are enabled, see image:

do you think that is necessary add the hda-gfx <"onboard-1"> in HDEF device?
i have tried, but no any success again...
Why are you using GE=No? Why did you use the wrong edits in HDEF? I have not tested those edits and have no idea if they work together. Lets try the minimal edits. HDEF/hda-gfx injection is for HD3000/HD4000 HDMI audio only.

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


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


                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Name (_SUN, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x06)
                            {
                                "@0,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x08, 0x00, 0x00
                                }, 


                                "@1,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x08, 0x00, 0x00
                                }, 


                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }


                Device (HDAU)
                {
                    Name (_ADR, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x02)
                            {
                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
 
toleda, no way.
HDMI don't like me, rsrsrs, and i give up.

i have tried just now the minimum edits for DSDT and enabled GE on boot.plist, buuuuut no success.
i really don't know what's wrong and where is my mistake, if exist.

thanks, thanks so much for patience and help.
hug, Maf3r0.
 
toleda, no way.
HDMI don't like me, rsrsrs, and i give up.

i have tried just now the minimum edits for DSDT and enabled GE on boot.plist, buuuuut no success.
i really don't know what's wrong and where is my mistake, if exist.

thanks, thanks so much for patience and help.
hug, Maf3r0.
If you are interested, attach a copy of IOReg with the minimum edits.
 
thanks toleda, you are so considerate and i'm very grateful

if you think that there some changes, methods and tests to make...i'm here to do this.

the files:
http://www.mediafire.com/?kn1ltvb92th9e

regards, Maf3r0.
 
if you think that there some changes, methods and tests to make...i'm here to do this.
What HDMI device on what port is connected to your system? Remove S/L/E/GeForceX, fix permissions and cache and restart.
 
toleda, no way.
i'm using my monitor Samsung Syncmaster P2370h as HDMI device. in my old mainboard, with your help, i had success. see: http://www.tonymacx86.com/hdmi-audi...-edits-discrete-amd-nvidia-39.html#post343264

i think that problem is with my mobo. as i say before, i don't had success in F12 bio too.
just to you know, i have a problem with mod AppleHDA too, a delay at the first sound reproduced. 1 - 2 secs of delay.
after de first sound, the next sounds are ok, on the right moment.

in this moment i'll start a re-install of OS X Lion and try with a new install and coming soon i'll post results, good or bad.

thanks so much.
regards,
Maf3r0
 
Status
Not open for further replies.
Back
Top