Jump to content
Allan

[Guia] DSDT/SSDT - Conhecimentos Gerais

90 posts in this topic

Recommended Posts

Advertisement

estou aplicando a patche em minha DSDT original extraída do Windows que está no olaria para minha placa GA X58A-UD3R.

 

Ao efetuar a compilação apareceu esses erros, como eu faço para corrigir?

 

218, 4064, Object does not exist (OSTP)

225, 4064, Object does not exist (\_SB.PCI0.PX40.AG3E)

226, 4064, Object does not exist (SLPE)

231, 4064, Object does not exist (\_SB.PCI0.PX40.AG3E)

233, 4096, syntax error, unexpected PARSEOP_ELSE

235, 4064, Object does not exist (\_SB.PCI0.PX40.AG3E)

247, 4096, syntax error, unexpected PARSEOP_METHOD, expecting $end

Share this post


Link to post
Share on other sites

Para o LPC carregar (se o patch do Clover não funcionou), veja se o método _DSM foi aplicado no device LPCB em seu DSDT:

 

Screen Shot 2015-12-02 at 4.43.21 PM.png

 

E no campo "device-id" verifique se está com a informação da sua maquina:

0x18, 0x3A, 0x00, 0x00

OBS: Adicionando/modificando isso em seu DSDT, remova o patch do Clover.

Share this post


Link to post
Share on other sites

Arthur

 

Com essa nova DSDT que vc enviou o clover entre em repouso monitores desligam computador fica ligado mas não volta pois teclado e mouse deixam de funcionar

 

E o chameleon que entrava em repouso completamente ao clicar o mouse ou teclado ele voltava mas não ligava os monitores, agora ele entre em repouso desliga os monitores fica com o computador ligado mas não volta devido ao teclado e mouse estar desabilitado.


Então, veja que nesse guia eu postei como achar o device e aplicar o patch:

http://www.hackintoshosx.com/forums/topic/22715-gerenciamento-de-energia/?do=findComment&comment=117436

 

Está meio confuso pois estamos reorganizando o layout do Forum, mas dá pra entender.

 

Com essa nova DSDT do Arthur tem agora o LPCB

 

E o meu está como listado abaixo, mas como mudar manualmente isso sem afetar toda a DSDT?

 

              Method (_DSM, 4, NotSerialized)

                {
                    Store (Package (0x02)
                        {
                            "compatible", 
                            Buffer (0x0D)
                            {
                                "pci8086,3a18"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)

Share this post


Link to post
Share on other sites

Mas pra que mudar se o Artur inseriu corretamente?  :wacko:

 

Mas o o meu está assim

 

8086, 3A16, 1458, 5001, Intel Corporation, 82801JIR (ICH10R) LPC Interface Controller

 

E o que o Arthur colocou está assim:

 

            Method (_DSM, 4, NotSerialized)

                {
                    Store (Package (0x02)
                        {
                            "compatible", 
                            Buffer (0x0D)
                            {
                                "pci8086,3a18"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
 
 
Parece ter uma diferença
3a18 e 3a16

Share this post


Link to post
Share on other sites

Bem se com essa diferença a LPC não está sendo carregada então...mude!

Method (_DSM, 4, NotSerialized)                
{
                    Store (Package (0x02)
                        {
                            "compatible", 
                            Buffer (0x0D)
                            {
                                "pci8086,3a16"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)

:)

Share this post


Link to post
Share on other sites

Feita a alteração ambos os bootloaders estão carregando a AppleLPC, coloco os sistemas em repouso mas na hora de retornar a maquina acorda mas os monitores, mouse e teclado sem operação

Share this post


Link to post
Share on other sites

olá

 

3a16 nem existe na kext ...

 

teu problema deve ser o usb .. se a kext lpc é carregada .. não é dai o problema ..

 

e já antes a lpc carregava .. com 3a18

 

como mostro na foto que postei

 

bom hack

Share this post


Link to post
Share on other sites

Arthur_pt 

 

Quais os patchers que vc usou?


estou usando a DSDT que vc enviou mas não está carregando a AppleLCP.kext e sim LCPSensor.kext, a DSDT que vc enviou da outra vez ele ativava a AppleLCP.kext.

 

post-1097441-0-62614100-1454253983_thumb.jpg

post-1097441-0-84754800-1454253993_thumb.jpg

Share this post


Link to post
Share on other sites

Testei e não habilitou, ai eu peguei essa DSDT da versãoFB que o artur fez, tem não ativou, aí resolvi pegar a DSDT para aversão FB http://www.insanelymac.com/forum/topic/297771-guia-dsdtssdt-conhecimentos-gerais/?p=2193626 

 

ai leu a kext, mas ainda estou tendo o problema de desligamento, estou com o plist quase fazio!

config.plist.zip

 

Mas fica a pergunto como pode?

 

Outra coisa, sobre o post 22 vc pediu para retirar da pasta UEFI o arquivo, retirei ai ele não mostra o HD de boot na tela de iniciação do Clover. Fica tbm a pergunta como minha placa sento uma EFI legacy acessar a pasta UEFI para realizar a leitura dos drivers?

Share this post


Link to post
Share on other sites

Artur_pt

 

Será que vc pode me dizer quais os patchers que vc usou para criar a DSDT da versão FB? por incrível que parece só ela esta ativando a LPC

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 rio2
      I recently installed High Sierra on my Ryzen system, just to find out how crappy the USB situation really is on AMD systems. The only choice is basically most of your ports flat out not working or GenericUSBXHCI crashing every time you pull out a thumbdrive. So after some trial and error here are my findings.
      The USB ports controlled by the XHCI controller on the SoC worked fine, but the ones attached to the chipset XHCI controller didn't.
      That's when I looked at the log and saw these lines:
      PTXH@00000000: AppleUSBXHCIPCI::createPorts: port 1 unsupported protocol USB 03.10 PTXH@00000000: AppleUSBXHCIPCI::createPorts: failed to allocate port 1 It turns out that for some reason the AppleXHCIPCI driver doesn't support the first two ports on the B350 chipset (made by ASMedia) USB controller. And after the driver fails to allocate port 1 it just stops and doesn't even look at the rest of the ports. So I first tried commenting out the first two ports from the DSDT and that worked and made all the other ports show app in the IOService tree. Than I quickly tested all the USB ports and it turns out that the 2 problematic ports aren't even wired to anything. But instead of editing the DSDT I wanted a cleaner solution, because I don't want to re-edit my DSDT every time I update the BIOS or change some BIOS settings.
       
      So here is my small SSDT that disables the stock PTXH device and adds a new device XHCI, that has all the ports needed for my board (ASUS PRIME B350-PLUS).
      DefinitionBlock ("SSDT-PRIME-B350-PLUS.aml", "SSDT", 1, "APPLE", "tinySSDT", 0x00000006) { External (\_SB_.PCI0.GPP2, DeviceObj) External (\_SB_.PCI0.GPP2.PTXH, DeviceObj) Scope (\_SB_.PCI0.GPP2.PTXH) { Name (_STA, Zero) } Scope (\_SB_.PCI0.GPP2) { Device (XHCI) { Name (_ADR, Zero) Device (RHUB) { Name (_ADR, Zero) // USB3.1 back panel Device (PRT1) { Name (_ADR, 0x5) Name (_UPC, Package (0x04) { 0xFF, 0x03, Zero, Zero }) } Device (PRT2) { Name (_ADR, 0x6) Name (_UPC, Package (0x04) { 0xFF, 0x03, Zero, Zero }) } // USB3.0 front panel Device (PRT3) { Name (_ADR, 0x7) Name (_UPC, Package (0x04) { 0xFF, 0x03, Zero, Zero }) } Device (PRT4) { Name (_ADR, 0x8) Name (_UPC, Package (0x04) { 0xFF, 0x03, Zero, Zero }) } // USB2.0 Device (PRT5) { Name (_ADR, 0x9) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT6) { Name (_ADR, 0xa) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT7) { Name (_ADR, 0xb) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT8) { Name (_ADR, 0xc) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT9) { Name (_ADR, 0xd) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRTA) { Name (_ADR, 0xe) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } } } } } Please note that this is just an example and it most likely needs to be changed for your board.
    • By MaLd0n
      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/   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 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 with my Clover folder CLOVER Install.zip   --Install Sierra/High Sierra and boot into system!   Post Installation --Install Clover and replace with my folder CLOVER Post Install.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 MaLd0n
      First... If you need DSDT edits... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation --Create a bootable copy of El Capitan and 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 with my Clover folder CLOVER Install.zip   --Install EL Capitan / Sierra / High Sierra and boot into system! for Sierra/High Sierra you need a Processor with SSE4.1 instruction   Post Installation --Install Clover and replace with my folder CLOVER Post Install.zip   --Reboot and activate video!   Bingo! Now you need a fine tune! DSDT Time! -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) and tell me what your hardware! -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    My DSDT GA P35-DS3 DSDT.MaLd0n LGA775.zip   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DARWIN -LPC -HDEF -RTC -EHCI -UHCI -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF --Native Power Management
       
      Use Clover, check Generate P and C States
       
      --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
       
      --AUDIO
       
      Device HDEF + AppleAlc + Lilu
       
      --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/293863-applehda-patch-requests/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   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, Apple, 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!   ENJOY!  
×