Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Sign in to follow this  
Kuebeker

ACPIDebug.kext and _PTS logging.

2 posts in this topic

Recommended Posts

Hi 

 

I added the following to _PTS

        \RMDT.PUSH("Entering _PTS")
        \RMDT.P2("Arg0 = ", Arg0)
and to _WAK
        \RMDT.PUSH("Entering _WAK")
        \RMDT.P2("Arg0 = ", Arg0)
 
 

When I wake the system from sleep the _PTS gets logged at the same time as _WAK. 

I thought that _PTS gets called before the system goes to sleep, or is it that _PST gets logged on file only after the system wakes up? 

2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807eb83ecc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807eb3becc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807f28becc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807f2cbecc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: "Entering _PTS"
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: { "_PTS Arg0 = ", 0x3, }
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: "Entering PTS"
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: { "PTS Arg0 = ", 0x3, }
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807eb3becc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807eb83ecc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807f2cbecc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807f28becc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: "Entering _WAK"
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: { "_WAK Arg0 = ", 0xffffff7f808d4c50, }
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: "Entering WAK"
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: { "WAK Arg0 = ", 0x808d4c50, }

Share this post


Link to post
Share on other sites

 

Hi 

 

I added the following to _PTS

        \RMDT.PUSH("Entering _PTS")
        \RMDT.P2("Arg0 = ", Arg0)
and to _WAK
        \RMDT.PUSH("Entering _WAK")
        \RMDT.P2("Arg0 = ", Arg0)
 
 

When I wake the system from sleep the _PTS gets logged at the same time as _WAK. 

I thought that _PTS gets called before the system goes to sleep, or is it that _PST gets logged on file only after the system wakes up? 

2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807eb83ecc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807eb3becc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807f28becc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807f2cbecc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: "Entering _PTS"
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: { "_PTS Arg0 = ", 0x3, }
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: "Entering PTS"
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: { "PTS Arg0 = ", 0x3, }
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807eb3becc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807eb83ecc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807f2cbecc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug::message(-536707056, 0xffffff800a818f00, 0xffffff807f28becc)
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: "Entering _WAK"
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: { "_WAK Arg0 = ", 0xffffff7f808d4c50, }
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: "Entering WAK"
2/13/14 5:21:58.000 PM kernel[0]: ACPIDebug: { "WAK Arg0 = ", 0x808d4c50, }

_PTS is called before sleep, but ACPIDebug.kext may not output the logs until after sleep due to the way the kext works.  Read the readme and/or code so you understand how it works.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×