Jump to content

piter2619

Members
  • Posts

    18
  • Joined

  • Last visited

Reputation

0 Neutral

Hackintosh Specs

  • CPU
    intel core i3-2350m
  • MOTHERBOARD
    intel hm65
  • GPU
    intel hd graphics 3000
  1. do you know how to do that? this is my _WAK method Method (_WAK, 1, Serialized) { P8XH (One, 0xAB) Store (One, ECON) If (LNotEqual (\_SB.PCI0.LPCB.H_EC.ACEX, PWRS)) { Store (\_SB.PCI0.LPCB.H_EC.ACEX, PWRS) If (LGreaterEqual (\_SB.OSYS, 0x07D1)) { PNOT () } } If (LNotEqual (\_SB.PCI0.LPCB.H_EC.B1DF, \_SB.BFCC)) { Notify (\_SB.PCI0.LPCB.H_EC.BAT1, 0x80) Notify (\_SB.PCI0.LPCB.H_EC.BAT1, 0x81) } If (NEXP) { If (And (OSCC, 0x02)) { \_SB.PCI0.NHPG () } If (And (OSCC, 0x04)) { \_SB.PCI0.NPME () } } Else { \_SB.PCI0.CPME () } If (LEqual (Arg0, 0x03)) { If (LNotEqual (\_SB.PCI0.LPCB.H_EC.TIST, \_SB.TZON)) { Store (\_SB.PCI0.LPCB.H_EC.TIST, \_SB.TZON) CPRN () } Or (GL01, GBF0, GL01) Or (GL04, GBF1, GL04) Or (GL06, GBF2, GL06) If (LOr (GBF0, LOr (GBF1, GBF2))) { \_SB.SECS (0xB2) } If (LNotEqual (\_SB.HBAT, Zero)) { Notify (\_SB.PWRB, 0x02) } } If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { Store (Arg0, \_SB.RTYP) If (LAnd (DTSE, LGreater (TCNT, One))) { TRAP (TRTD, 0x14) } If (LEqual (OSYS, 0x07D2)) { If (And (CFGD, One)) { If (LGreater (\_PR.CPU0._PPC, Zero)) { Subtract (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC) PNOT () Add (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC) PNOT () } Else { Add (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC) PNOT () Subtract (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC) PNOT () } } } If (LEqual (ECON, One)) { If (LNotEqual (LIDS, \_SB.PCI0.LPCB.H_EC.LIDS)) { Store (\_SB.PCI0.LPCB.H_EC.LIDS, LIDS) If (IGDS) { If (\_SB.PCI0.GFX0.GLID (LIDS)) { Or (0x80000000, \_SB.PCI0.GFX0.CLID, \_SB.PCI0.GFX0.CLID) } } Notify (\_SB.LID0, 0x80) } } If (LEqual (RP1D, Zero)) { Notify (\_SB.PCI0.RP01, Zero) } If (LEqual (RP2D, Zero)) { Notify (\_SB.PCI0.RP02, Zero) } If (LEqual (RP3D, Zero)) { Notify (\_SB.PCI0.RP03, Zero) } If (LEqual (RP4D, Zero)) { Notify (\_SB.PCI0.RP04, Zero) } If (LEqual (RP5D, Zero)) { Notify (\_SB.PCI0.RP05, Zero) } If (LEqual (RP7D, Zero)) { Notify (\_SB.PCI0.RP07, Zero) } If (LEqual (RP8D, Zero)) { Notify (\_SB.PCI0.RP08, Zero) } } Return (Package (0x02) { Zero, Zero }) } as you can see is very complex, while the _WAK method of a macbookpro is quite simple Method (_WAK, 1, NotSerialized) { P8XH (0x00, 0x00) Store (0x00, \_SB.PCI0.LPCB.EC.ECSS) If (OSDW ()) { \_SB.PCI0.SBUS.ENAB () } Store (\_SB.PCI0.LPCB.EC.LSTE, LIDS) Store (\_SB.PCI0.LPCB.EC.RPWR, PWRS) PNOT () Return (Package (0x02) { 0x00, 0x00 }) } do you know for example which parts i can delete? maybe not every line is necessary PS i already tried to make my _WAK method similar to the one from the macbookpro but if i do that then i obtain instant wake..also when waking up from sleep audio's not working anymore
  2. edit: so applying ehci patch the system is going to sleep normally but when I want to wake it up I have to press the power button once then fan at max speed and computer waking up, then i have to press a second time the power button to enable the screen; if i press the power button just once the screen stays turned off. Any ideas on how to patch the DSDT in a way such that i have to press the power button once to have also the screen ready? Besides the wake up time is a bit longer, like 10 seconds while in windows 1 2 seconds Thanks
  3. Hello Finally I'm able to boot without the NullAppleIntelCPUPowerManagement !!! I've extracted the SSDT tabe, put it in /Extra folder then unselected Generate P C States flags then selected DropSSDT flag and thats it Now..The sleep is properly working, just the pc wakes up immediately I wrote this command on terminal syslog -k Sender kernel -k Message Req Wake and Wake Reason is GLAN EHC1 EHC2 So I applyed EHCI patch and then sleep works, but in a very strange way: I have to press the power button several times and then i have to press a key on the keyboard to enable the screen; also when i close the lid its not going to sleep.. What else can I try? Maybe I can just edit _PRW and _PSW methods from GLAN and EHC1 EHC2? Thanks
  4. Stays the same T_T
  5. yeah i applied the patches to my original dsdt, extracted with your dsdt editor but if i reboot using the patched dsdt i get "Invalid Character In ProcessorOP" and so the boot process cannot begin..also the dsdt you have kindly patched for me dont work on my laptop because of this problem A ok..i understood..I was just trying to guess which is the problem
  6. i tried to apply your patches such as dgtp and hdef or hpet but if i reboot i get "Invalid Character In ProcessorOP", maybe because your patches are for i5 i7 processors while mine is i3 and the strange thing is that the kp occurs not when the AppleIntelCPUPowerManagement is initialized (it inizialises correctly) but just a while before the boot process is completed
  7. ok sorry for the inconsistence here's the kp it occurs just before "DSMOS has arrived" kp.zip
  8. Hello, Thanks for posting the dsdt. I have patched AppleIntelCPUPowerManagement correctly according to thishttp://Olarila.com/forum/viewtopic.php?f=9&t=1003, removed nullcpupowermanagement, set p and c-sates=yes in org.chameleon I've tried with your dsdt and it says Invalid Character in ProcessorOP, in an infinite loop while if I boot with the untouched dsdt AppleIntelCPUPowerManagement starts correctly and the boot continues until "Waiting for DSMOS" and "Realtek Ethernet ..." but kp just before "DSMOS has arrived"
  9. hello thanks for your support. so this is what i've tried according to this post http://Olarila.com/forum/viewtopic.php?f=19&t=634 until now tried to enable GenerateCStates and GeneratePStates in Chameleon but kp, i couldnt get rid of nullcpu; then i checked that my AppleLPC is loaded so i dont need that patch. Regarding "No HPET(s) available" I think i dont have kp due to this. Finally i succesfully patched AppleIntelCPUPowerManagement and rebooted but also here kp (this time after loaded successfully AppleIntelCPUPowerManagement and AppleIntelCPUPowerManagementClient) so until now I'm forced to use NullAppleIntelCPUPowerManagement. Attached my DSDT untouched, any hints appreciated. Thank you DSDT.aml.zip
  10. You were right my notebook cant boot without nullcpupowermanagement The explanation is that when i boot with unishit usb that usb bootloader loads nullcpu fake smc and other mandatory kext; now if the /Extra/Extensions folder is empty unishit loads those kexts while if the /Extra/Extension is not empty unishit doesnt load the kexts so i get kp if the /E/E is not empty but there's no nullcpupowermanagement.kext. What i've done now is that i put in /E/E the kext that were normally loaded by unishit plus other kexts i need and that's it. Now remains the hardest part: patching the dsdt to enable sleep D:
  11. hmm..maybe it boots without fakesmc and nullpower because they are loaded by the unishit usb drive (btw i also tried Olarila usb to boot but unfortunately it didn't work for my laptop so i'm using unishit because it's the only one i can boot with) edit: if native power management means embedded speedstep technology i do have
  12. I already know My laptop boots properly without any kext like nullcpupowermanagement or fakesmc and the other stuff for power management and i dont know what are GenerateCStates and GeneratePStates so i didn't enable this feature on chameleon; do i have to try patching AppleLPC anyway? Should i try this? i dont have usb problems The problem isnt that goes to sleep and wakes immediately, the problem is that when i click stop button it simply turn off the screen while fan, power and other devices are still enabled, so it wont sleep at all straight i dont know what smbus kexts are clear they are referred to other mobo. Sorry for the too many lacks of knowledge that i have, thanks in advice to anyone that can explain me either one or more of the above questions
  13. Hello, now that i've learned how to extract a dsdt and boot it from chameleon i need to patch it in order to enable sleep. This is my laptop http://www.samsung.com/it/consumer/pc-peripherals-printer/notebook/business/NP200A5B-A01IT-spec The problem is that i don't have any experience in dsdt patching and there's no dsdt.aml file for my laptop in the database. I can just apply patches via dsdt editor. So my question is: which are the patches from the folder Notebook Core i Sandy Bridge (or from every other folder) that are recommended to enable sleep for my system? Which are the kext for power management recommended to enable sleep for my system? Or is there a tutorial that explains how to make new patches by your own? Thanks.
×
×
  • Create New...