Jump to content

baohiep

Members
  • Content Count

    7
  • Joined

  • Last visited

About baohiep

  • Rank
    InsanelyMac Protégé

Recent Profile Visitors

656 profile views
  1. baohiep

    VirtualSMC — SMC Emulator

    @vit9696 I've discovered a design flaw in VirtualSMC. It's in method VirtualSMCKeystore::writeValueByName The value is updated only when writeAccess return SmcSuccess, and the new value is not sent to writeAccess at all. However, there are cases when the plugin needs to check the new value before accepting it. There are two ways to solve this: 1. Store old value, update new value, call writeAccess and check if it returns SmcSuccess. If it doesn't, restore the old value. 2. Send the new value as a parameter in writeAccess Looking forward to your reply. Edit: Just submitted a pull request for option two, which I think is better
  2. baohiep

    VirtualSMC — SMC Emulator

    @vit9696 Can VirtualSMC support ALS sensor in the future?
  3. baohiep

    Lilu — kext and process patcher

    Hi @vit9696 Could you check why my plugin doesn't patch the kext? Link: https://github.com/hieplpvip/AppleBacklightFixup/blob/master/AppleBacklightFixup/kern_applbkl.cpp
  4. baohiep

    Lilu — kext and process patcher

    Hi, can Lilu patch info.plist? I have two info.plist patch in Clover, used to disable Apple's I2C kexts to load. But Clover can't patch kexts in recovery or installation, so I want to write a plugin to do that.
  5. baohiep

    Lilu — kext and process patcher

    Hi @vit9696, can Lilu patch info.plist? I have two info.plist patch in Clover, used to disable Apple's I2C kexts to load. But Clover can't patch kexts in recovery or installation, so I want to write a plugin to do that.
  6. I will try, but how do you know I used that kext ?? Don't mind that question, I know how you know it. Another question sir: What is modified in my DSDT? Could you explain? Edit: It works perfectly. Thank you very much
  7. Hi, My hackintosh has everything worked fine except sleeping. My board is Intel DH61HO. CPU: i3-2100 Sandy Bridge. Patches applied: EHCI, HID/CID, LPCB, WAK, RTC, IPIC, TIMR, DMAC, LAN, GFX0, HDEF, HPET + auto-gen SSDT DSDT has no errors, generated SSDT with ssdtPRGen.sh Below I have attached clover plist, DSDT, SSDT and IOREG. I would be really grateful if someone could help me fix it. All.zip
×