Jump to content

meklort

Members
  • Posts

    2
  • Joined

  • Last visited

meklort's Achievements

Private

Private (2/17)

0

Reputation

  1. The one and *only* thing that SleepEnabler does is tell XNU (the kernel) that it can *try* to sleep. This is what normally happens... The user (or a program) tells the computer to sleep. 1) XNU checks to see if it has any power management driver, if not it say "no, not gonna happen." 2) XNU checks to see if the power management driver told xnu that everything was setup. If not, it says no. 3) XNU checks to see if the power management driver told xnu that it has a function to stop the cpu. If not, it says no. 4) XNU calls the cpu stop function. The function returns 0 for success. If not, xnu says no. 5) XNU goes to sleep if all of the above happens. So... what sleep enabler does is this. 1) It tells the kernel that there is a power management driver. If it tells xnu that it provides the wrong version of power management, XNU will panic and yell at you. 2) It tells the kernel that the power management driver is done initializing everything. 3) it tells the kernel to call the half function it provides. 4) the halt function does absolutely nothing but returns 0. In other words. SleepEnabler tells XNU that it can go to sleep. It doesn't tell it how to sleep. It doesn't tell it how to wake. If you're machine goes to sleep fine, don't mess with SleepEnabler, if it doesn't wake up properly, *also* don't mess with SleepEnabler, it's not the problems, something else is. Now, for those of you using any machine that can run a vanilla kernel (read: intel cpu), you should *never* use SleepEnabler. Apple's power management kexts already doe everything listed here, and if you do install SleepEnabler bad things can happen. What that really means is people running any intel processor, even atoms and celerons (they do need a binary kernel patch though) don't need to use this kext.
  2. meklort

    meklort

    Hi, I'm meklort and I live in the USA. As far as hackintoshing goes, I've been doing this since 10.4 not sure the exact date. Initially started a a regular users, took a break for a few years, then joined up as a developer. My initial interest was because I wanted to run OS X but didn't want to go out and pay for a mac. My interest as a developer were to make my hardware run better + reliably. I'd say my computer skills are pretty advanced... I regularly uses Mac OS X, use windows when I have to (work) and used to be a gentoo linux user. As far as programming goes, used to write sites in php, before php5 came out. My languages of choice include c, embedded-c++, asm and objective-c, although I have (and still do) write in numerous over languages. I'm here to offer support when needed, but mostly just to lurk.
×
×
  • Create New...