netkas.org

Netkas blog.

Updated FakeSMC

A new release of fakesmc contains improvements:

  • Proper error handling when requested smc key isn’t found in database
  • If requested smc key isn’t found in database, fakesmc will drop warning about it into dmesg with information about length of requested key, usefull for debug of apps which reads some smc keys
  • fixed timeout delay on restart/shutdown (added keys LSOF and LSSB)

source – fakesmc.zip , snowleopard kext – fakesmc.kext.zip, leopard kext – fakesmc.kext.zip

If you use opengaltrestart or other reboot/shutdown fixers, then u still need to use it with fakesmc.

p.s. this doesnt work well with voodoo kernel, because voodoo kernel blocks Dont steal mac os.kext, so you need to use dsmos/appledecrypt anyway

Comments

  1. stickpin
    August 22nd, 2009 | 11:07 am

    Great work netkas!
    Thanks alot!

  2. shrisha
    August 22nd, 2009 | 11:23 am

    Thanks man! You are the Best! As usual :)

  3. DB1
    August 22nd, 2009 | 11:59 am

    Wicked – my Advent 4211 thinks it’s a real macBook Air!

    Software update showing “MacBook Air SMC Firmware Update v1.2 432kb”

    Will there be a problem taking the update?

  4. namakemono
    August 22nd, 2009 | 12:18 pm

    Always appreciate stuff from netkas :)

    I still get the errors at boot:
    –ACPI_SMC_PlatformPlugin::pushCPU_CSTData – _CST evaluation failedAppleRTL8169Ethernet: Ethernet address “REMOVED”
    –ACPI_SMC_PlatformPlugin::pushCPU_CSTData – _CST evaluation failed
    –ACPI_SMC_PlatformPlugin::registerLPCDriver – WARNING – LPC device initialization failed: C-state power management not initialized

    Other than that it works pretty good.
    Also, when i look under IORegistryExplorer it has a FakeSMC listed and SMC. Under SMC/AppleSMC/SMCWatchDogTimer/IOWatchDogTimer it says Value “False”. Should it be True ?

    Running: OS X 10.6, Chameleon-2.0-r431 with PC EFI V10.1, dsdt.aml, smbios.plist kexts(fakesmc, openhaltrestar, platformuuid)

    Really appreciate your work!

  5. mactos
    August 22nd, 2009 | 12:19 pm

    Now ShutDown works fine. Restart doesn’t. Restart works fine with OpenHaltRestart. Everything fine. Faster booting – took only 24 seconds compared to the previous 28 seconds with AppleDecrypt.

    Thanks

    D945GCNL (Retail 10.5.8)

  6. August 22nd, 2009 | 12:29 pm

    WICKED SAID :” Software update showing “MacBook Air SMC Firmware Update v1.2 432kb”
    Will there be a problem taking the update?”

    That update is intended only for real macs. You can download it, but it doesn´t take any effect. It only stores the file on your HD but simply can´t update your BIOS, becouse isn´t a EFI.

  7. mactos
    August 22nd, 2009 | 1:37 pm

    ShutDown doesn’t work properly if the system gone for sleep a while – System will halt, but the Power LED remain switched on.

  8. rennerst
    August 22nd, 2009 | 2:27 pm

    hi netkas,
    Now ShutDown works. Restart works with OpenHaltRestart. Faster booting on my HP 530.

    thank you very much

  9. cparm
    August 22nd, 2009 | 3:41 pm

    Great work , as always ;-)

  10. Tim
    August 22nd, 2009 | 4:35 pm

    For those using voodoo kernel, use blacklist=0 kernel option to disable the disabling/blacklisting of Don’t Steal…kext. You’ll likely need powermanagement disabler kext after using this option.

  11. Azimutz
    August 22nd, 2009 | 5:51 pm

    Ok.. had a bit weirdness on shutdown, even though it was working.
    Weirdness fixed with this last update :)
    “Shutdown cause” is now showing 3 instead of 0.

    By the way.. the kernel flag to disable blacklist on Voodoo kernel is:
    blacklist=0

    Thanks again :)

  12. DB1
    August 22nd, 2009 | 6:17 pm

    Ed-Saxman

    Of course I know that – what i meant and should have made clearer is: if updated would it break the fakeSMC or cause other problems where the fake is solving. Now we have no need for dsmos/disabler etc.

  13. Vladlen45
    August 22nd, 2009 | 9:13 pm

    Very Thanks! All work perfectly! But now I have string in down:
    FakeSMC: key not found NVPR, length – 1
    What should me do with it?

    ///what video card ?

  14. Vladlen45
    August 22nd, 2009 | 9:22 pm

    MSI 8800 GTS remake to mac 8800 GT

  15. August 22nd, 2009 | 10:11 pm

    Netkas,

    this REALLY is AWESOME at 150%. You’re making dreams come true. Say, do you ever sleep?

    Kudos, nl2k

  16. lamune
    August 22nd, 2009 | 10:28 pm

    great work netkas!

    ive notice there is a bit more delay on shutdown, i still get the intelcpumanagment timeout

    also, what should we do about software updating wanting to update the smc firmware?

  17. blackosx
    August 23rd, 2009 | 12:13 am

    Fantastic support Netkas. My system would not be up and running without all your hard work.

  18. Harolod
    August 23rd, 2009 | 12:59 am

    What does this men… Previous Shutdown Cause: 3 ?

  19. N
    August 23rd, 2009 | 7:53 am

    I took out AppleDecrypt, and added FakeSMC, then compiled a new mkext for my Extra folder. SMC version shows in System Profiler. I kept OpenHaltRestart and I am not using a disabler for AppleIntelCPUPowerManagement. I have a DSDT file in Extra. Sleep, Restart, and Shutdown are working, but shortly after Wake, kernel panic.

    Thanks netkas!

  20. August 23rd, 2009 | 8:47 am

    ACPI_SMC_PlatformPlugin::pushCPU_CSTData – _CST evaluation failed

    I see this error from the initial release of fakeSMC.kext
    Plz help.

    Running 10.5.8, in /S*/L*/E* (Slice’s modified IOUSBFamily and IOPCIFamily), in /E*/E*/ (legacy plist-only AppleHDA, VoodooPower Mini, HDAEnabler, ApplePS2Contoller + AppleACPIPS2Nub). EFI Strings to enable Graphics and fix uuid error.

    ICH7, Core2Duo E6400, 1GB Memory, Geforce 7300 LE.

    ////this is not the error of fakesmc, remove appleintelcpupowermanagement.kext

  21. August 23rd, 2009 | 9:06 am

    netkas , superb job on it. I don’t get any more SMC errors. Plus it works great on MSI Wind U100 (Intel Atom)

  22. N
    August 23rd, 2009 | 9:28 am

    Edit to post 19:

    I may have solved the KP after wake. I had 2 DSDT.aml files, one in /Volumes/EFI/Extra and one in /Volumes/EFI. I got rid of the one at /Volumes/EFI. I don’t know if or how that caused the problem, but it looks to be stable after wake now.

  23. りらっくま
    August 23rd, 2009 | 9:47 am

    Amazing!

    Sleep works now. I still need to use OpenHaltRestart.kext for restart/shutdown though. Using: GA-G31M-ES2L, Intel Q8200, all SATA Drives

    Is it possible to expand this to include Fan Control support in the future?

  24. shadowmajk
    August 23rd, 2009 | 12:04 pm

    Here Gigabyte P31-DS3L F10a and…

    “ACPI_SMC_PlatformPlugin::pushCPU_CSTData – _CST evaluation failed”

    This comunicat with fakesmc.kext or without it… any ideas to fix?

  25. OcciJano
    August 23rd, 2009 | 12:39 pm

    Hi Netkas, is it posible to compile it for Tiger?

  26. Andreas
    August 23rd, 2009 | 12:46 pm

    ““ACPI_SMC_PlatformPlugin::pushCPU_CSTData – _CST evaluation failed”

    This comunicat with fakesmc.kext or without it… any ideas to fix?”

    No, its on some mainboards which didnt give PSTATE / other CPU infos to OS X and or CPU type didnt fit with Macmodell.
    Doenst matter at all.
    I think you can get rid of the message by REMOVING the ACPI_SMC_PlatformPlugin.

    Netkas: Is it Ok to remove ACPI_SMC_PlatformPlugin, or does fakesmc need that?

  27. BeSweeet
    August 23rd, 2009 | 3:37 pm

    This gives me problems when shutting down/restarting.

    My screen will instantly go off after I choose Restart or Shut Down (which is good), I’ll see “MACH Reboot” for a second (if I’ve booted with -v), my screen will go blank, and it just sits there for like 60 seconds.

    10.6, 10A433

  28. N
    August 23rd, 2009 | 5:29 pm

    Edit post 22:

    Still KP after wake, this time after sleeping overnight.

  29. madhias
    August 23rd, 2009 | 6:51 pm

    Works on Asus P5B-E and 10a432 :)

  30. berii
    August 24th, 2009 | 1:38 am

    hi, need dsmos.kext with this?

  31. August 24th, 2009 | 9:58 am

    berli, can you read?

  32. FormerlyKnownAs
    August 24th, 2009 | 1:43 pm

    Works like a charm – using OpenHR.

    Nice One netkas

  33. Les
    August 24th, 2009 | 3:22 pm

    Works great on my P4 Prescott. I recompiled voodoo2-alpha3 to remove the blacklist entry for “Dont_Steal_Mac” and that allows me to use fakesmc.kext without dsmos.kext or Disabler.kext.

    Shutdown and restart both work. Sleap does not work but it stopped working when I upgraded from 10.5.5 to 10.5.6 so that’s nothing new.

    Many thanks for this.

  34. VultU
    August 24th, 2009 | 5:04 pm

    Thank you again Netkas!

    Worked perfect. ;)

    ASUS P5Q – Snow Leopard

  35. hows
    August 24th, 2009 | 6:21 pm

    Hi Netkas, i have the same problem that Vladlen45

    “FakeSMC: key not found NVPR, length – 1″

    I have a nVidia Geforce 8600GT with EFI strings in com.apple.Boot.plist

    What would be a problem???

    ////the problem is when your tires flated far away from any service. this is not problem

  36. Eugenio
    August 24th, 2009 | 7:13 pm

    My ISP is blocking rapidshare. Where else can I get the latest fakesmc.kext.zip ?

    TIA

  37. dong
    August 24th, 2009 | 10:35 pm

    Works well for 10.5 and 10.6 here. If you don’t have dropbox blocked, try this:
    http://dl.getdropbox.com/u/1727104/fakesmc.kext.10.6.zip
    http://dl.getdropbox.com/u/1727104/fakesmc.kext.10.5.zip

  38. Jinteck
    August 25th, 2009 | 1:01 am

    Thank U. netkas.

    It works fine…
    In my case(I use Lenovo Thinkpad Laptop),
    I can see what you said in my system profiler.
    I also removed dsmos.kext. ^^

    But, Sleep and restart still doesn’t work.
    Also, without nullcpupowermanagement.kext, my laptop go to panic during boot.
    Just for reference…. thank you.

  39. dcpark
    August 25th, 2009 | 9:23 am

    good emu kext!
    btw, a suggestion…
    how about OpenSMC.kext than FakeSMC.kext for it’s name?

  40. FormerlyKnownAs
    August 25th, 2009 | 10:04 am

    ““ACPI_SMC_PlatformPlugin::pushCPU_CSTData – _CST evaluation failed”

    For boards without c-states.

    You can get rid of this message by adding SSDT _cst tables from MB3,1 (posted on forums.)- for example to your DSDT.

    use dropSSDT=y as boot argument and edit plist of acpi_smc_platformplugin to the Mac model that you have used values from. – eg MacPro3,1

    D

  41. Andreas
    August 25th, 2009 | 11:47 am

    Thanks NETKAS – fakesmc works for me perfect !

    To give something back – i know you are an great GPU fan also my
    OPENCL BENCHMARK (does mean: CPU vs GPU computing)
    http://www.insanelymac.com/forum/index.php?showtopic=181590

  42. bluebayou
    August 25th, 2009 | 4:08 pm

    Works on p5w dh dlx in 64-bit.

    Files on /Extra/Extensions are: NullCPUPowerManagement,
    OpenHaltRestart, PlatformUUID, Sleepenabler & fakesmc.
    File on Extra: com.apple.Boot.plist (contains efi strings for gfx, lan & audio)

    -Shutdown & restart – works though a bit longer
    -Sleep works but wakes only by pressing the power button.
    -Time machine works (just finished backup to a firewire hd).
    -Firewire works only after deleting appleHPET.

    So far not working are: Sound & built-in wifi.

    Big thanks to Netkas.

  43. gdl
    August 26th, 2009 | 12:05 am

    Thanks Netkas,

    FakeSMC.kext works fine for me only one question: i´d like to change the SMC Version for example to 1.24f2 it is possible ?

    May be a custom info.plist ?

  44. galbazaaa
    August 26th, 2009 | 10:30 am

    @netkas

    Whats the relation with smc and intelx3100 framebuffer?

    Had once KP and SMC with AppleIntelGMAX3100FB showed up there.

  45. galbazaaa
    August 26th, 2009 | 11:58 am

    FakeSMC: key info not found BALG, length – 6
    FakeSMC: key info not found ACID, length – 6

    duh?

    ///what did you run to get this ? those keys used in PowerManagement.bundle

  46. rayap
    August 26th, 2009 | 12:14 pm

    Hi Netkas, FYI. Same problem “FakeSMC: key not found NVPR, length – 1″ with ATI Radeon HD 4850 (HIS Ice Turbo).

  47. galbazaaa
    August 26th, 2009 | 2:18 pm

    On boot it shows it. Maybe from native Speedstep?

  48. oZ
    August 27th, 2009 | 2:47 pm

    For some reason, my CPU speed is halved when using FakeSMC vs. the latest dsmos.kext. I can feel the difference when using it, and Xbench shows a CPU speed of 54 vs 110 with dsmos. This is a ThinkPad X61 tablet with a Core 2 Duo L7500 @ 1.60 GHz, tested on 10A432.

  49. tea
    August 31st, 2009 | 10:43 am

    2 galbazaaa

    /* _shouldTrustBatteryTimeEstimate
    * – Intel Smart batteries provide a good time remaining to empty/to full estimate.
    * – Our older PPC batteries do not.
    * – Certain batteries (as indicated by the ‘BALG’ SMC key) can be trusted to
    * provide a reliable time remaining estimate. Other batteries shall not be
    * trusted.
    */

  50. sunkid
    September 1st, 2009 | 11:31 pm

    Just wanted to add my “me too” on the NVPR error. The error is either the last or second to last entry in kernel.log before a KP.

    Nvidia 9800 GTX 512MB, EFI string in c.a.B.plist

    thanks for any pointers!

  51. Dagor
    September 2nd, 2009 | 4:23 pm

    Also get “FakeSMC: key not found NVPR, length – 1″
    with a Radeon 4850 – I think because if this error it won’t load the ATI4800 Controller kext.

  52. frodo
    September 3rd, 2009 | 3:06 pm

    On the DSMOS.kext post, you said that we’ll have to update the kext before updating to 10.6.1.

    Is that also true if we use Fake SMC Instead of dsmos.kext?

    ///no

  53. rayap
    September 4th, 2009 | 11:37 am

    Radeon 4850 and ATI4800Controller is loaded but “FakeSMC: key not found NVPR, length – 1″ persists both in 32 and 64-bit.

  54. crazybyte
    September 6th, 2009 | 1:10 pm

    Hello Netkas, i have an idea for you. As many Mac OS users, i have installed iStat 2.0 toolbar which has Snow Leopard Support. It uses a small program to talk with SMC module for getting temperatures, fan speed, voltages? Obviously it doesn?t support hackintosh.
    This program is GNU: http://www.islayer.com/help/istatmenus-intel/

    I think that if you see what the program expects to recibe from SMC module, you can use your fakesmc.kext to get C2D Thermal sensor info (it?s only to read a register in the cpu) and insert into smc info.

    Thank for your time.

  55. A7V
    September 7th, 2009 | 11:14 pm

    Using fakesmc instead of dsmos on SL I loose my Intel Dual Gbe PCIe. Hardware is detected but no link. Fine using dsmos. Any hints?

  56. September 9th, 2009 | 2:15 pm

    Hello Netkas, i saw in the sl video your bios version. i didi the update and now we have the same :)

    But i habe checksum error and cant fix it. can you please send or update your dsl-file?

    SL runs so far :) thx

  57. Common Sense
    September 10th, 2009 | 6:40 pm

    Thanks a lot for developing things for the community!

    Does FakeSMC has anything to do with auto sleep? I read somewhere that SMC in real macs was related to powermanagement.

    I cannot seem to get auto sleep to work, do you think FakeSMC can implement something to make auto sleep work?

    Or maybe FakeSMC is unrelated to these kind of problems?

  58. September 15th, 2009 | 10:37 am

    you make my day

    26 0 0xffffff7f806fa000 0×4000 0×4000 org.netkas.fakesmc (1)
    11 0 0xffffff7f8065a000 0×2000 0×2000 com.psystar.driver.OpenHaltRestart (1.0.3)

    i removed the ACPI_SMC_PlatformPlugin::start – waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out

    feels ok, but iam afraid to restart. its an apple soft raid 10.6.1.

    How do i freeze this state?
    should i backup thus stuff .. which one will be destroyed :)

    -rw-r–r– 1 root wheel 8850921 Sep 15 09:42 /Volumes/BootRaid1/com.apple.boot.P/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext

    or

    total 37456
    -rw-r–r– 1 root wheel 10315455 Sep 15 09:12 kernelcache_x86_64.85027B1C
    -rw-r–r– 1 root wheel 8850921 Sep 15 09:12 Extensions.mkext
    drwxr-xr-x 4 root wheel 136 Sep 15 10:15 ..
    -rw-r–r– 1 root wheel 8121 Sep 15 11:18 OS1061_OK.txt
    drwxr-xr-x 5 root wheel 170 Sep 15 11:18 .

    thx

  59. d00d
    September 16th, 2009 | 2:05 pm

    I get the following on a Lenovo T61 laptop with vanilla 10.6.1 and no DSDT, should I be concerned?
    FakeSMC: key not found RPlt, length – 8
    FakeSMC: key not found EPCI, length – 4

    E;
    NullCPUPowerManagement.kext
    VoodooPS2Controller.kext
    fakesmc.kext

    SLE;
    Intel82566MM.kext

    Thanks.

  60. December 3rd, 2009 | 1:25 pm

    hi im new to hackintosh and already I want to thank you for all your hard work.

    Quick question, I used the GA-EP45-UD3P life hacker guide. I noticed that my (extra folder) had a file named (extentions.mkext) Do i need to install fakeSMC 2.5 within that file to be able to have it load on boot ?

Leave a reply