Contribute
Register

Shutdown & Sleep/Awake issues

Status
Not open for further replies.
The DTGP edit you made was causing the problem. But as i say it is recommend to have a clean DSDT for making new patches.

But the DSDT origin I sent to you is clear, right? You're saying that I have to do all the edits again? Hahahaha! I don't even remember what I did in this DSDT.

But ok, I will try to do it again.
 
But the DSDT origin I sent to you is clear, right? You're saying that I have to do all the edits again? Hahahaha! I don't even remember what I did in this DSDT.

But ok, I will try to do it again.

Yes. The clean DSDT was fine. The edited one you did wasn't had errors. Only add patches your machine needs.
 
Yes. The clean DSDT was fine. The edited one you did wasn't had errors. Only add patches your machine needs.

How will I know what are the only patches my machine needs?
 
How will I know what are the only patches my machine needs?

Ok! I managed to insert the ID on my DSDT! O found a post explaining that when you don't have a PEG string you just need to create one just bellow PCI0. This is how my code is now:

Code:
Device (PCI0)
        {
            Name (_HID, EisaId ("PNP0A03"))  // _HID: Hardware ID
            Name (_ADR, Zero)  // _ADR: Address
            Name (_UID, One)  // _UID: Unique ID
            Name (_BBN, Zero)  // _BBN: BIOS Bus Number
            Method (_S3D, 0, NotSerialized)  // _S3D: S3 Device State
            {
                If (LEqual (OSFL, 0x02))
                {
                    Return (0x02)
                }
                Else
                {
                    Return (0x03)
                }
            }

            Device (PEGP)
            {
                Name (_ADR, 0x00010000)  // _ADR: Address
                Device (GFX0)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                    Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                    {
                        Store (Package (0x0C)
                            {
                                "device-id",
                                Buffer (0x04)
                                {
                                     0xE0, 0x68, 0x00, 0x00                        
                                },

                                "ATY,DeviceID",
                                Buffer (0x02)
                                {
                                     0xA1, 0x68                                    
                                },

                                "vendor-id",
                                Buffer (0x04)
                                {
                                     0x02, 0x10, 0x00, 0x00                        
                                },

                                "ATY,VendorID",
                                Buffer (0x02)
                                {
                                     0x02, 0x10                                    
                                },

                                "AAPL,slot-name",
                                Buffer (0x07)
                                {
                                    "Slot-0"
                                },

                                "@0,AAPL,boot-display",
                                Buffer (Zero) {}
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }

            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                Return (0x0F)
            }

Just one last thing about the DTGP. I saw in your DSDT that your DTGP section is equal to mine. Why did you said that this was wrong in my DSDT?

Thanks!
 
Ok! I managed to insert the ID on my DSDT! O found a post explaining that when you don't have a PEG string you just need to create one just bellow PCI0. This is how my code is now:

Code:
Device (PCI0)
        {
            Name (_HID, EisaId ("PNP0A03"))  // _HID: Hardware ID
            Name (_ADR, Zero)  // _ADR: Address
            Name (_UID, One)  // _UID: Unique ID
            Name (_BBN, Zero)  // _BBN: BIOS Bus Number
            Method (_S3D, 0, NotSerialized)  // _S3D: S3 Device State
            {
                If (LEqual (OSFL, 0x02))
                {
                    Return (0x02)
                }
                Else
                {
                    Return (0x03)
                }
            }

            Device (PEGP)
            {
                Name (_ADR, 0x00010000)  // _ADR: Address
                Device (GFX0)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                    Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                    {
                        Store (Package (0x0C)
                            {
                                "device-id",
                                Buffer (0x04)
                                {
                                     0xE0, 0x68, 0x00, 0x00                      
                                },

                                "ATY,DeviceID",
                                Buffer (0x02)
                                {
                                     0xA1, 0x68                                  
                                },

                                "vendor-id",
                                Buffer (0x04)
                                {
                                     0x02, 0x10, 0x00, 0x00                      
                                },

                                "ATY,VendorID",
                                Buffer (0x02)
                                {
                                     0x02, 0x10                                  
                                },

                                "AAPL,slot-name",
                                Buffer (0x07)
                                {
                                    "Slot-0"
                                },

                                "@0,AAPL,boot-display",
                                Buffer (Zero) {}
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }

            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                Return (0x0F)
            }

Just one last thing about the DTGP. I saw in your DSDT that your DTGP section is equal to mine. Why did you said that this was wrong in my DSDT?

Thanks!

You only need to do edits under Device ID. DTGP you added is a different edit to what I added and was causing errors. DSDTs which has errors isn't a good thing.
 
You only need to do edits under Device ID. DTGP you added is a different edit to what I added and was causing errors. DSDTs which has errors isn't a good thing.

About the graphics injection, in the code above it's already with my id! This problem ia definitily solved!

About the DTGP, my dsdt only has warnings when compiling it! Could you be more specific please?
This doesn't seem to be hard to aolve, just need your help in a more specific way! Where is the error!? What is the right code?
 
About the graphics injection, in the code above it's already with my id! This problem ia definitily solved!

About the DTGP, my dsdt only has warnings when compiling it! Could you be more specific please?
This doesn't seem to be hard to aolve, just need your help in a more specific way! Where is the error!? What is the right code?

You don't need to touch DTGP I've already added it.
 
You don't need to touch DTGP I've already added it.

Oh sorry, I wasn't clear before, I'm using my dsdt, not yours!

So if that is the only thing wrong is just a matter o fixing it in my dsdt!

My hack works better with my dsdt (best cinebench scores).
 
Status
Not open for further replies.
Back
Top