Jump to content
Pimentel

Gerenciamento de energia para Sandy Bridge/Ivy Bridge/Haswell CPU

271 posts in this topic

Recommended Posts

Segui o tutorial, patcheei o kernel, ativei a flag no clover, criei o ssdt, coloquei na pasta "acpi/patched" e reiniciei. O sistema dá o boot, mas chega em uma parte que fala que o gerenciamento de energia é desconhecido "algo do tipo", da timeout na ACPM e o sistema reinicia.

Estou usando smbios 15.1. Uma coisa que notei é que quando a kext disabler estava na pasta de kexts no efi, o sistema subia normalmente.

 

EDIT: eu havia esquecido de adicionar algumas coisas no clover. A kextdisabler não tem nada a ver com o problema que eu estava  tendo.

 

O sistema iniciou legal, mas estou com um probleminha aqui que me impossibilita de instalar qualquer coisa na pasta /System/Extensions, pois sempre dá erro.

 

Vou tentar ver se consigo corrigir, pra poder instalar algum app que monitore os states da cpu pra ver se está funcionando corretamente.

 

Problema corrigido.

 

EDIT2: nem a X86PlatformPlugin e nem a AppleLPC estão carregadas. Apenas a ACPI_SMC_PlatformPlugin carrega.

 

Olhem essa mensagem que aparece no boot: 

 

SeR84IY.jpg

 

O que eu faço? 

Share this post


Link to post
Share on other sites
Advertisement

Se o CPU for o da assinatura, está usando -xcpm e KernelPM?

 

Para carregar a LPC seria interessante aplicar um patch no DSDT.

Share this post


Link to post
Share on other sites

Se o CPU for o da assinatura, está usando -xcpm e KernelPM?

 

Para carregar a LPC seria interessante aplicar um patch no DSDT.

Opa, é sim o da assinatura. Estou usando apenas o KernelPM. Vou colocar o -xcpm no clover e vê no que dá. 

 

Brigadão pelo suporte!  :thumbsup_anim:

 

@Allan

 

Adicionei o -xcpm mas deu no mesmo. Outra coisa estranha, é o turbo que não está funcionando. No ssdt tá configurado a frequência do turbo, mas olhando pelo Intel Power Gadget a frequência só tá indo até 3.5GHz, que é a frequência máxima sem turbo.

Share this post


Link to post
Share on other sites

Voce não precisa usar SSDT modificado, apenas as opções que te falei.

Removi o SSDT e agora o turbo boost funciona. 

 

Com relação a LPC, não estou conseguindo achar o patch pra aplicar na dsdt. E sobre a X86PlatformPlugin, como fazer pra ela ser carregada? Só quando a LPC for carregada também?

Share this post


Link to post
Share on other sites

olá

into method label _DSM parent_label LPCB remove_entry;into device label LPCB insert begin
Method (_DSM, 4, NotSerialized)\n
{\n
Store (Package (0x02) {\n
"compatible", Buffer () {"pci8086,8c44"}\n
}, Local0)\n
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
Return (Local0)\n
}
end;

precisas também do DTGP

 

bom hack

Share this post


Link to post
Share on other sites

O Artur-pt te passou o patch para o LPC, caso tenha problemas, apenas mude o Ven/Dev ID para o seu.

 

Para termos certeza de como está seu gerenciamento de energia, verifique no IOReg. Entenda que a escolha certa de um SMBios influi nisso. Está usando qual modelo ai?

 

Tem que ter as informações como mostra abaixo no campo CPU0@0

WTc.png

Share this post


Link to post
Share on other sites

olá

into method label _DSM parent_label LPCB remove_entry;into device label LPCB insert begin

Method (_DSM, 4, NotSerialized)\n

{\n

Store (Package (0x02) {\n

"compatible", Buffer () {"pci8086,8c44"}\n

}, Local0)\n

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n

Return (Local0)\n

}

end;

precisas também do DTGP

 

bom hack

 

 

Valeu artur! =D

 

O Artur-pt te passou o patch para o LPC, caso tenha problemas, apenas mude o Ven/Dev ID para o seu.

 

Para termos certeza de como está seu gerenciamento de energia, verifique no IOReg. Entenda que a escolha certa de um SMBios influi nisso. Está usando qual modelo ai?

 

Tem que ter as informações como mostra abaixo no campo CPU0@0

WTc.png

Então, ainda não apliquei patchs e tals. Olhei no ioreg e está assim:

post-637410-0-97055000-1431096102_thumb.jpg

Share this post


Link to post
Share on other sites

Está com o gerenciamento de energia errado!

 

Aconselho usar um SMBios de MacPro. E adiciona o patch para adiantar as coisa para você.  ;)

Share this post


Link to post
Share on other sites

Está com o gerenciamento de energia errado!

 

Aconselho usar um SMBios de MacPro. E adiciona o patch para adiantar as coisa para você.  ;)

Mas não existe nenhum MacPro com Haswell. O máximo que tem é MacPro 6,1, que é com Ivy Bridge EP.  

 

 

EDIT: ao compilar a DSDT, deu mais de 80 erros (vide anexo) e não consegui dar boot no sistema, pois dá kernel panic.

 

Fiz o boot usando o pendrive de instalação do sistema, e quando entrei no sistema vi que a x86sei lá o que havia carregado, mas não carregou ainda a LPC (vide anexo também).

post-637410-0-27611200-1431100090_thumb.jpg

post-637410-0-05985300-1431100106_thumb.jpg

Share this post


Link to post
Share on other sites

Não precisa se policiar com relação a isso.

 

Pois CPUs com IvyBridge também necessitam do plugin X86PlatformPlugin para ter o gerenciamento de energia correto.

Share this post


Link to post
Share on other sites

Não precisa se policiar com relação a isso.

 

Pois CPUs com IvyBridge também necessitam do plugin X86PlatformPlugin para ter o gerenciamento de energia correto.

Eu testei o smbios do macpro 6,1 mas deu na mesma.  :wallbash:

 

Sem conseguir compilar direito essa dsdt, fica complicado.  :rolleyes:

Share this post


Link to post
Share on other sites

Vamos fazer o seguinte, você tem entradas USB3 certo? Já instalou o kext responsável para o devido reconhecimento das USBs?

Share this post


Link to post
Share on other sites

Vamos fazer o seguinte, você tem entradas USB3 certo? Já instalou o kext responsável para o devido reconhecimento das USBs?

Aqui tinha aquela kext genérica, mas eu a removi pois não preciso usar mais ela. Quando ela tá no sistema, as portas USB ficam "malucas", já sem ela, funciona tudo normalmente.

Share this post


Link to post
Share on other sites

Você se refere a GenericUSBXHCI?

 

Utilizou ela com os boot arguments apropriados?

Sim. É ela mesmo.

 

Quais arguments você se refere? FixUSB, inject usb sei lá o que, clockid e ownership (acho que é isso)?

 

Se sim, usei todas elas mas continuavam malucas.

Share this post


Link to post
Share on other sites

Me refiro a esses:

-gux_defer_usb2 -gux_no_idle

Vamos fazer um teste? Instala essa versão, attachicon.gifGenericUSBXHCI.kext.zip e usa os boot arguments que te falei acima.

Cara, desculpa a pergunta, mas o que tem a ver o USB3 com o gerenciamento de energia processador? Tu não estás confundindo os tópicos não?  :P

Share this post


Link to post
Share on other sites

Bem, se você realmente leu este topico, verá o que eu expliquei na pag. 3: http://www.insanelymac.com/forum/topic/295577-gerenciamento-de-energia-para-sandy-bridgeivy-bridgehaswell-cpu/page-3

 

Não é preciso (ainda) usar SSDT modificada, apenas usar os boot arguments que te falei.

Se quiser é claro, talvez você tenha encontrado um método melhor para corrigir seu problema...

Share this post


Link to post
Share on other sites

Bem, se você realmente leu este topico, verá o que eu expliquei na pag. 3: http://www.insanelymac.com/forum/topic/295577-gerenciamento-de-energia-para-sandy-bridgeivy-bridgehaswell-cpu/page-3

 

Não é preciso (ainda) usar SSDT modificada, apenas usar os boot arguments que te falei.

Se quiser é claro, talvez você tenha encontrado um método melhor para corrigir seu problema...

Você está falando disto aqui:

 

http://www.insanelymac.com/forum/topic/295577-gerenciamento-de-energia-para-sandy-bridgeivy-bridgehaswell-cpu/page-3?do=findComment&comment=1996457

 

As imagens da página 3 estão todas quebradas, o que impossibilita eu ver o que havia nas imagens postadas pelos outros membros e por você.

 

Pois bem, o argument que você citou no post anterior eu usei quando fui instalar o sistema, pois sem ele dava o famoso erro do "Missing Bluetooth Controller Transport". Irei adicionar a kext novamente e usar a flag que você fala. Já já posto aqui o que deu.

 

EDIT: fiz como você falou e as portas USB estão funcionando corretamente. E agora?

Share this post


Link to post
Share on other sites

EDIT: fiz como você falou e as portas USB estão funcionando corretamente. E agora?

 

Abra o IOReg e verifique.

Share this post


Link to post
Share on other sites

Já aplicou o patch LPC no seu DSDT?

Havia aplicado, mas como falei, dá aquele bocado de erros na compilação e kernel panic na hora do boot.

Share this post


Link to post
Share on other sites

Você sabe como achar o device LPC e aplicar o patch no local correto?

 

Usa esse aqui:

Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method                {
                    Store (Package (0x0C)
                        {
                            "device-id", 
                            Buffer (0x04)
                            {
                                 0x02, 0x3B, 0x00, 0x00
                            }, 
                            "compatible", 
                            Buffer (0x0D)
                            {
                                "pci8086,3b02"
                            }, 
                            "IOName", 
                            Buffer (0x0D)
                            {
                                "pci8086,3b02"
                            }, 
                            "name", 
                            Buffer (0x0D)
                            {
                                "pci8086,3b02"
                            }, 
                            "subsystem-id", 
                            Buffer (0x04)
                            {
                                 0x01, 0x50, 0x00, 0x00
                            }, 
                            "subsystem-vendor-id", 
                            Buffer (0x04)
                            {
                                 0x58, 0x14, 0x00, 0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

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

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Nehalem, SandyBridge, IvyBridge, Haswell, Broadwell     Skylake, Kabylake and Coffeelake is here http://www.insanelymac.com/forum/topic/321872-guide-sierra-on-gigabyte-mobos-serie-200-kabylake-dsdt/   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
        Mojave Full DSDT patch   http://olarila.com/forum/viewtopic.php?f=59&t=6428   First...   ***Update bios to last available version!***   If you need a full patched DSDT...  -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation   --Create a bootable copy of macOS Sierra / High Sierra / Mojave   https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick   https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder https://olarila.com/files/Clover.Folder/CLOVER.SERIES.CHIPSET.zip   --Install Sierra/High Sierra and boot into system!   Post Installation --Install Clover and replace with my folder   https://olarila.com/files/Clover.Folder/CLOVER.SERIES.CHIPSET.zip   --Reboot and activate video!   Bingo!   Now you need a fine tune! DSDT time!   --DSDT   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -XXXX to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI
       
      --Power Management
      - 1 Generation Intel Processors, use Generate P and C States in config.plist
      - 2 and 3 Generations Intel Processors, Generate SSDT with Piker script and drop CpuPm and Cpu0Ist SSDTs
      ssdtPRGen.command.zip
      Credits-https://github.com/Piker-Alpha/ssdtPRGen.sh
      - 4 Generation+ Intel Processors, use PluginType=1 in DSDT, SSDT or Clover config.plist
       
      for check Power, Frequency, Temperature and Utilization, use it
       
      Install Intel Power Gadget.pkg.zip
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --Clover
       
      https://sourceforge.net/projects/cloverefiboot/files/Installer/
       
      --AUDIO
       
      Use DSDT + AppleAlc
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/314406-voodoohda-289/   -USB   https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   It's time to Rock   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Apple, Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!  
    • By dannymozzer_
      Hi,
       
      I've been trying to install Mavericks 10.9, I know it's older now, but It's honestly the version I want to use, the specs of the PC are:
      Asus P8H61-MX USB3
      i3-3220
      8GB DDR3 Memory
      GTX 750 ti
      500GB HDD
       
      I've been following this guide: https://www.insanelymac.com/forum/topic/280756-guide-the-all-in-one-guide-to-vanilla-os-x-including-chameleon-dsdt-for-beginners-updated-for-yosemite/
      But, after booting, this is the error screen I get, any guidance on what Kexts, SMBios settings, etc. I need? I can tell I'm probably missing something here.

      Thanks,
      Dan
    • By DiddyKong
      Fully optimizing DSDT & SSDT for OS X Sierra POST INSTALL on a Dell345MT with a i7 - 920(first gen) 
       
      I know how this forum feels about 3rd party software, but that was just a crutch, I'm 100% vanilla now which is why I'm now posting for help because I eliminated the possibility having to do with 3rd party. Anyways, with that said I just have a couple things I want to be sure of.
       
      I used a n---bistro to get a App Store copy of Sierra, as I didn't know there were other ways of getting it now from a windows10 machine. anyways, I was able to build a vanilla usb. I couldn't figure the EFI out on my vanilla Sierra-usb, but the EFI on the usb-ni---bistro I had would boot my pre-install and post-install. so I was able to install Sierra. After a few days of figuring out how to remake a EFI and config, I broke my EFI.
      So back to my windows10 SSD and I found BootDiskUtility, and that made a EFI usb with the newest version of clover(r4895). So then swapped SSDs back to my OS X, plugged in the BDU-usb, after trial and error I got back into my Sierra. Now with the newest version of clover and no traces of ni---bistro anymore. Then copied the BDU-usb to my SSD EFI and was able to boot without a usb again!! YAY.
       
      Then starting working on fixing my web drivers for my gtx 1050 2gb. Installed the os update so i'm at 10.12.6, pulled my hair out figuring out the web drivers, eventually got them installed and the cuda fixed.
       
      Now all 3 of my screens work, yet windows can't sit 'between' screens, I just simply haven't looked for that fix yet as I want the sys itself running like a top first.
      My screen saver works, I don't get stuck in screensaver, I did once before, I believe lilu.kext and whatevergreen.kext fixed that.
      Now with all that I felt it was time to give my config.plist a diet cos it was bloated, I generated a config copied the clover settings check for check instead of coping text cos I'm trying to shrink it.
      Config.plist boots my system with DSDT-1FE7B5D7
       
      So after the above, This is now where I'm stuck
       a 100% correct DSDT and SSDT, from my understanding with a patched DSDT I wouldn't need any options selected in clover on the ACPI page?
       
      So with the patching part that I think I understand how to do it now, but when I extract with F4 every file has RSDT in front of it, I have one that says RSDP.aml and RSDT.aml
      so would I just erase the RSDT from the beginning of each file then go from their, which would then leave me with a DSDT.aml and 17 SSDTs?
      I know I have to decompile and patch them, but with my file names[DSDT table extract] not matching tutorials online I'm having a difficult time understanding which files I need.
      IS the RDST-DSDT.aml my DSDT? it is the biggest file.
      which ones that have SSDT in the filename is the SSDT(s) I need to patch?
       
      also how do I know if everything is patched correctly? like if my CPU is fully working and not just sorta working that way when I start running software like photoshop, unity, 10 chrome tabs, my hackintosh doesn't crash
       
      System details
      i7 920 (first gen) very similar to nehelam
      GeForce 1050 2Gb (3 monitors connected all work, one acer on HD connection, two HP s2031 on HD, using adapters to change all ports on GPU card to HD for screens)
          display port, HDMI, and HD
      4x 1Gg + 2x 8Gb RAM running at 1066 after injecting smbios with ram info macOS sees all my ram correctly
      Samsung SSD 860 EVO 500Gb
       
      Thanks to anyone that can help me out, I've been working on my system for about two weeks and this is basically the wall I finally can't seem to figure out how to pass
      I can post another info also if it helps
       
      Boot.log
      DSDTdump.Log

    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
        Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Install Clover in USB stick UEFI mode https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace Folder CLOVER INSTALLATION.zip   --Install System and boot with USB STICK! --Install Clover in UEFI mode and replace with my folder  Mavericks / Yosemite CLOVER Mavericks-Yosemite.zip El Capitan / Sierra CLOVER El Capitan-Sierra.zip   --Reboot and activate video!   Bingo!   Now you need a fine tune! I prefer DSDT way, apply all patches in one file, many people prefer many SSDTs or Clover patches! If you need DSDT edit... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generate in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609    --DSDT My DSDT DSDT.Asus Z97M-PLUS.zip   Patches  -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -EHCx -DARWIN -LPC -XHCI -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -HDMI -ALS0 -SHUTDOWN -LAN -PNLF --SSDT Generate your SSDT Power Management, use ssdtPRGen Piker-Alpha https://github.com/Piker-Alpha run in terminal curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh chmod +x ~/ssdtPRGen.sh sudo ~/ssdtPRGen.sh ssdtPRGen.command.zip
       
      --SSDT i74790K
      SSDT.i7 4790K.zip
       
      --IOREG
      iMac.ioreg.zip
       
      Clear NVRAM, Purge and Kextcache Olarila.command.zip   stock coolerand Rio 40º    --FakeSMC http://www.hwsensors.com/releases --Audio http://www.insanelymac.com/forum/topic/314406-voodoohda-289/ --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads --LAN http://www.insanelymac.com/forum/topic/304235-intelmausiethernetkext-for-intel-onboard-lan/   Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
          --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   -Replace Folder CLOVER Install.zip   -Install Sierra/High Sierra and boot into system!   -Install Clover and replace with my folder  CLOVER Post Install.zip   -Reboot and activate video!   Bingo!   Now you need a fine tune! I prefer DSDT way, apply all patches in one file, many people prefer many SSDTs or Clover patches!   If you need DSDT edits for Skylake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer IORegistryExplorer.app.zip -Run it, post files generate in your desktop RunMe.app.zip   -DSDT bios F21 My DSDT with patches for skylake DSDT.GA Z170M-D3H F21.zip   -Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -MIKEY -BLC0 -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI






       
      -FakeSMC http://www.hwsensors.com/releases -Audio https://github.com/vit9696/AppleALC -USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads -LAN https://github.com/Mieze/IntelMausiEthernet   Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
×