Jump to content

Master Chief's P5K PRO ACPI Warfare


VegasKarma
 Share

908 posts in this topic

Recommended Posts

I said I will remove previous posts(including last one), since was for nothing.

You don't have an answer for my question(I bet you have no idea) so no need to spam this topic(that isn't yours) even my question was on topic.

I will leave you to stay in peace with your n00bs that like to kiss you at least once/day with mister Chen, Steve Jobs, Bill Gates, and GOD knows who else(I think you should take a consult).

 

Bye.

Link to comment
Share on other sites

I said I will remove previous posts(including last one), since was for nothing. You don't have an answer for my question(I bet you have no idea) so no need to spam this topic(that isn't yours) even my question was on topic. I will leave you to stay in peace with your n00bs that like to kiss you at least once/day with mister Chen, Steve Jobs, Bill Gates, and GOD knows who else(I think you should take a consult).

 

Bye.

Listen man. I might have misunderstood your question, but I was very busy at the time. And I can show people what I did, simply because I was trying to help other people in this forum. The very same people who you prefer to call names. And this over and over again. And yes, I asked VegasKarma to start this thread. Sort of making it mine, because if I wasn't here... wait. Then your contributions would have flown in instantly? Nah. I don't think so.

 

And speaking about contributions, you keep removing posts. Moving it to the other side. Too many noobs I guess. Yeah, "experts" like you, obviously only interested in getting information from me, because you was unable to find it yourself. And before you start yelling again: Show the people here (or elsewhere) what you have found, because I am pretty sure that you did not find any information regarding the registers used in Device (ED). And that was the only reason you landed here. Not to help me, VegasKarma or anyone else here. Absolutely not!

 

And since you refuse to answer question and/or to offer any kind of help here, have I decided to answer the three questions for you (people interested see bottom of post #174).

Link to comment
Share on other sites

...because I am pretty sure that you did not find any information regarding the registers used in Device (ED). And that was the only reason you landed here. Not to help me, VegasKarma or anyone else here. Absolutely not!

...

                Device (EC) // Embedded Controller
               {
                   Name (_HID, EisaId ("PNP0C09"))
                   Name (_CRS, ResourceTemplate () // Current Resource Settings
                   {
                       IO (Decode16,
                           0x0062,             // Range Minimum
                           0x0062,             // Range Maximum
                           0x00,               // Alignment
                           0x01,               // Length
                           )
                       IO (Decode16,
                           0x0066,             // Range Minimum
                           0x0066,             // Range Maximum
                           0x00,               // Alignment
                           0x01,               // Length
                           )
                   })
                   Name (_GPE, 0x17)               // GPE index for this EC, GPI07 / GPE23 -> Runtime SCI
                   Name (_PRW, Package (0x02)      // Power Resources for Wake
                   {
                       0x1B, 
                       0x03
                   })
                   Name (ECOK, Zero)
                   OperationRegion (ECOR, EmbeddedControl, Zero, 0xFF)
                   Field (ECOR, ByteAcc, Lock, Preserve)
                   {
                       ECVS,   8,                  // EC Version
                       LSTE,   1,                  // LID Controll
                       RPWR,   1,                  // Power Controll
                       CDIN,   1,                  // CD Controll 
                               Offset (0x02), 
                       LWAK,   1,                  // LID Wake
                       ACWK,   1,                  // AC Wake
                       CDWK,   1,                  // CD Wake
                               Offset (0x03), 
                       G3HT,   1,                  // ??
                               Offset (0x04), 
                               Offset (0x10), 
                       ECSS,   8,                  // EC Status
                       PLIM,   8,                  // ??
                               Offset (0x20), 
                       SPTR,   8,                  // SMBus Protocol
                       SSTS,   8,                  // SMBus Status
                       SADR,   8,                  // SMBus Address
                       SCMD,   8,                  // SMBus Command 
                       SBFR,   256,                // SMBus Buffer
                       SCNT,   8,                  // SMBus Control
                       SAAD,   8,                  // SMBus Alarm Address
                       SAD0,   8,                  // SMBus Alarm Data Byte 0
                       SAD1,   8,                  // SMBus Alarm Data Byte 1
                       SMUX,   8                   // ??
                   }

                   Method (_Q5A, 0, NotSerialized) // Embedded controller event
                   {
                       Notify (PWRB, 0x80)         // Power Button Notifier
                   }

                   Method (_Q80, 0, NotSerialized) // Embedded controller event
                   {
                       PNOT ()                     // Power Management Notifier
                   }

                   Method (_REG, 2, NotSerialized)  // This method is needed by Windows XP/2000
                   {                                              // for EC initialization before a driver is loaded
                       If (LOr (LEqual (Arg0, 0x03), LGreaterEqual (OSYS, 0x07D6)))
                       {
                           Store (Arg1, ECOK)
                           If (LEqual (Arg1, One))
                           {
                               Store (Zero, ECSS)
                           }
                       }
                   }
               }

The reason I "landed" here was my question that you are still not able to answer...

I was trying to help you(and others that fallow you) since what you did is wrong.

You don't have an Embedded Controller on your board or others, what you did in your DSDT complicate things and create more trouble then fixing something.

Still waiting for "G3hot" answer...

Link to comment
Share on other sites

The reason I "landed" here was my question that you are still not able to answer...

Nowhere in any of your previous post did you even try to make that clear to me.

 

I was trying to help you(and others that fallow you) since what you did is wrong.

No, you said that removing SIOR and using the "Apple" SBUS was wrong. And I showed you that you was wrong. Not to mention of course that it works. And there was not even a single mention about Device EC in any of your previous posts.

 

You don't have an Embedded Controller on your board or others, what you did in your DSDT complicate things and create more trouble then fixing something.

Show us here how I complicate things.

 

That would be something wouldn't it? The great thing about me is that I have no trouble admitting my errors, and I have no problem communicating with people on a fair and equal level. And in a respectful manner! In fact I am known to come out in public for anything that I did wrong. You however... well just read my next line.

 

Still waiting for "G3hot" answer...

So am I and others here for your sincere apology.

Link to comment
Share on other sites

So am I and others here for your sincere apology.

 

bah, it doesn't matter. I say give him what he wants and let's move on. :angry2:

 

THe KiNG, why don't you discuss the things you disagree on with Master Chief instead of just giving him the middle finger all the time.

The way this dialogue is going, nobody learns anything.

Link to comment
Share on other sites

So I'm still in a bit trouble!

 

I have installed the DSDT v2.9 and I am able to shutdown the computer. However, the USB ports turns on and the CAPS LOCK light in my keyboard turns on. And when I boot into OS X again I have to unplug the mouse, keyboard and Elgato TV-tuner before the devices work.

 

Am I missing something important?

Link to comment
Share on other sites

Nowhere in any of your previous post did you even try to make that clear to me.

Now is my question clear?

No, you said that removing SIOR and using the "Apple" SBUS was wrong. And I showed you that you was wrong. Not to mention of course that it works. And there was not even a single mention about Device EC in any of your previous posts.

I still think removing SIOR is a bad idea, I'll explain later why.

What make you think that SMBus works?

No I didn't in previous but in latest post yes, is not enough?

Show us here how I complicate things.

I don't want to make a list...is not my purpose and you will feel bad about it.

Adding something that you don't have on your board is bad IMHO and more mistakes goes from that...

The great thing about me is that I have no trouble admitting my errors, and I have no problem communicating with people on a fair and equal level. And in a respectful manner! In fact I am known to come out in public for anything that I did wrong. You however...

You are so funny sometimes LOL.

Do you really believe what you said?

I have to see that first then I will agree with you...

As for me IMHO I didn't do anything wrong so far, and I don't think we are surrounded by girls here, do we?

bah, it doesn't matter. I say give him what he wants and let's move on. :D

 

THe KiNG, why don't you discuss the things you disagree on with Master Chief instead of just giving him the middle finger all the time.

The way this dialogue is going, nobody learns anything.

True, I just asked a damn question, and w/ or w/o the "middle" stuff is still unanswered ....

So far I showed him what he wanted and why I think is wrong, waiting for him to do the same.

Link to comment
Share on other sites

@cparm when you delete one of my post at least PM me why you did that.

 

@Master Chief do whatever you want, I'm tired to see that you don't want to answer(do you really have the answer?)

All this was for nothing.

Keep your precious info, I showed mine, and for sure sooner or later I will find out what does that method, then came back here to post the info for others.

Link to comment
Share on other sites

I completely forgot to inform you people that DSDT V3.0 is available for download. Must be the flu. No time for a real announcement, not right now, but have fun!

 

We're now at a state where the dsdt.aml is only a third – well almost: 13,772 bytes vs 35,633 bytes – of what it was originally!

 

And you may have noticed the line: // TODO: Kick ass and use a two liner in my dsdt.dsl – which was nothing more than a note to myself, to do some cleanups. And today I finally got some time to finish my work. Enter a _PDC and _OSC clean Processor definition block (CPUn) for your Asus board!

 

This also means that we no longer use Load or LoadTable. Nope. Nada. Nothing, zip everything is gone!

It might not be the best PR scope, but this is my cleanest thus far.

 

p.s. Lot of comments added!

 

Enjoy!

Link to comment
Share on other sites

Hi Master Chief,

 

I completely forgot to inform you people that DSDT V3.0 is available for download. Must be the flu. No time for a real announcement, not right now, but have fun!

 

                Device (PRT4) // new Device.
               {
                   Name (_ADR, 0x04)

                   Method (_DSM, 4, NotSerialized) // XXX: CLEANUPs NEEDED!!!
                   {
                       Store (Package (0x06)
                       {
                           "io-device-location",
                           Buffer (0x06)
                           {
                               "Bay 5"
                           },

                           "location",
                           Buffer (0x0f)
                           {
                               "0 top 1 bottom"
                           },

                           "AHCI-Ejectable",
                           Buffer (One)
                           {
                               One
                           }

                       }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }

 

Can you explain to me what is this news device ? (what it's use for)

and explain me what are the PRTs devices ( I see that in the prt0 and 1, you declare 2 drv device ? and nothing in the other ?),

it's just to have a better understanding of the sata declaration

 

regards,

barnum

Link to comment
Share on other sites

And you may have noticed the line: // TODO: Kick ass and use a two liner in my dsdt.dsl �" which was nothing more than a note to myself, to do some cleanups. And today I finally got some time to finish my work. Enter a _PDC and _OSC clean Processor definition block (CPUn) for your Asus board!

 

Hi Matser Cief

Thanks for your good work.

With V3.0 speed step does not work any longer for me. The CPU runs only with max speed.

 

Where here is the problem?

Method (_PSS, 0, NotSerialized)
           {
               Return (Package (0x05) // mit 3.3GHz
               {
                  Package (0x06) { 3330, 90999, 10, 10, 0x0A23, 0x0000 },
                  Package (0x06) { 2997, 80860, 10, 10, 0x0922, 0x0001 }, 
                  Package (0x06) { 2664, 70026, 10, 10, 0x0820, 0x0002 }, 
                  Package (0x06) { 2331, 59655, 10, 10, 0x071E, 0x0003 }, 
                  Package (0x06) { 1998, 49746, 10, 10, 0x061C, 0x0004 }
               })
           }

 

thx

 

parcival

Link to comment
Share on other sites

Hi Master Chief,

                Device (PRT4) // new Device.
               {
                   Name (_ADR, 0x04)

                   Method (_DSM, 4, NotSerialized) // XXX: CLEANUPs NEEDED!!!
                   {
                       Store (Package (0x06)
                       {
                           "io-device-location",
                           Buffer (0x06)
                           {
                               "Bay 5"
                           },

                           "location",
                           Buffer (0x0f)
                           {
                               "0 top 1 bottom"
                           },

                           "AHCI-Ejectable",
                           Buffer (One)
                           {
                               One
                           }

                       }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }

Can you explain to me what is this news device ? (what it's use for) and explain me what are the PRTs devices ( I see that in the prt0 and 1, you declare 2 drv device ? and nothing in the other ?), it's just to have a better understanding of the sata declaration

 

regards,

barnum

Hi Barnum,

 

Blimey! I forgot the actual cleanup for this one. Good catch. Should be the same as the other PRTn Devices, which are representing your SATA ports. This change is nothing special. Just a cosmetic change.

 

Hi Matser Cief

Thanks for your good work.

With V3.0 speed step does not work any longer for me. The CPU runs only with max speed.

 

Where here is the problem?

Method (_PSS, 0, NotSerialized)
           {
               Return (Package (0x05) // mit 3.3GHz
               {
                  Package (0x06) { 3330, 90999, 10, 10, 0x0A23, 0x0000 },
                  Package (0x06) { 2997, 80860, 10, 10, 0x0922, 0x0001 }, 
                  Package (0x06) { 2664, 70026, 10, 10, 0x0820, 0x0002 }, 
                  Package (0x06) { 2331, 59655, 10, 10, 0x071E, 0x0003 }, 
                  Package (0x06) { 1998, 49746, 10, 10, 0x061C, 0x0004 }
               })
           }

thx

parcival

Not here. That is if you really have a 6-10 multiplier in your BIOS (I don't). Please check everything again.

Link to comment
Share on other sites

what the meaning of "AHCI-Ejectable" ?

is it a way to declare a SATA device as hotplug ?

 

Barnum

I installed my Mac's SuperDrive – as a test – to see if auto sleep works with it. And it does. I have also been experimenting with a few more properties, stuff I see in my Mac Pro. For a next update. I just forgot to do the final cleanups. That's all.

 

The multiplier (x10 Q6700) are correct and work without problem with V2.9. I understand not the problem :(

Me neither. Especially without having your DSDT (I need the before/after DSDT's).

Link to comment
Share on other sites

Master Chief

 

here are the two files.

big thank you for the bug hunting :unsure:

 

DSDT_not_OK.dsl.zip

DSTD_OK.dsl.zip

I was expecting a before DSDT with the old PR block, but both of the attached DSDT's include my new PR block, which works in DSDT_OK.dsl so that is not the problem. Great.

 

Here's a tip: Make changes in an orderly fashion. Step by step. Having backups like this:

 

dsdt-stripped-01.dsl

dsdt-stripped-02.dsl

dsdt-stripped-03.dsl

...

 

So that you can go back wen something breaks. Making it easier for you and I to catch errors. But please don't attach a dsdt.dsl (as before file) when it included old stuff from a previous update, as I am not willing to go back again.

 

You just need to check everything changes once more, or start over step-by-step. That should tell you where the problem is!

Link to comment
Share on other sites

hi Jefe

 

thx for your continuous updates. i was a time out.. so i was not updating and testing your latest dsdl edits. but today i tried the new one v3.0 finally i don't have to remove irqs for proper sound. :unsure:

 

but the usb uhci's becomes "expansion slot" and sleep is broken. so i checked your entries and saw that you delete this part of every uhci device i add it again and everything is working nice

Method (_DSM, 4, NotSerialized)
             {
                 Store (Package (0x02)
                     {
                         "device-id", 
                         Buffer (0x04)
                         {
                             0x39, 0x3A, 0x00, 0x00
                         }
                     }, Local0)
                 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                 Return (Local0)

 

Does your sleep work even if they are not set as internal?? or do i miss something

 

salu2

Link to comment
Share on other sites

hi Jefe

 

thx for your continuous updates. i was a time out.. so i was not updating and testing your latest dsdl edits. but today i tried the new one v3.0 finally i don't have to remove irqs for proper sound. -_-

Great! Thanks for the confirmation!

 

but the usb uhci's becomes "expansion slot" and sleep is broken. so i checked your entries and saw that you delete this part of every uhci device i add it again and everything is working nice

 

...

 

Does your sleep work even if they are not set as internal?? or do i miss something

 

salu2

But of course. I would not attach a known broken DSDT. I myself am using DSDT V3.0 right now... currently working on more cleanups, more comments and I hope to fix my OCM and LDRC errors (I might have given one of these the wrong name/content). In fact I am pretty sure about it, but without reviews... sh*t happens.

 

p.s. All USB ports show up as (checking) Host Controller Location: Built-in USB

Link to comment
Share on other sites

strange strange strange.....mmmhhhh raro raro raro.....

 

so i don't understand how you get it internal and me not... i saw that parcival had same problem few post back put he has antother board.. thats not my case..

 

do you have a suggestion what is causing this diference??

 

Well i know how to fix it.. but strange strange strange ;)

 

salu2

Link to comment
Share on other sites

I had a doctors appointment the day before yesterday, and came home with having the Mexican flu. Right. I wasn't feeling very well the other week so this explain things. In short: I might be a bit slow from time to time, but I am still here. Less frequently of course, but mostly due to having a severe headache from time to time. And sleep has always been short for me, like 4 hours max, but now coughing starts to make sleep almost impossible. Pretty annoying I tell you. Other than that I am fine.

 

Happy hacking!

Link to comment
Share on other sites

 Share

×
×
  • Create New...