Skip to content
View in the app

A better way to browse. Learn more.

Hackintosh Olarila

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Shutdown funciona mal em HP 8540p (Lion)

Featured Replies

Olá a todos (de Portugal)!


Estou a tentar por o shutdown a funcionar (e mais tarde o sleep, que também não funciona) no meu hackintosh HP Elitebook 8540p. O Shutdown no meu Lion demora uns 15 segundos ou mais e mostra esta mensagem na consola:


"PowerOff still waiting on AppleUSBEHCI"


Cá vai o meu DSDT (devices EHC1 e EHC2):

 

Device (EHC1)
           {
               Name (_ADR, 0x001D0000)
               OperationRegion (EHCX, PCI_Config, 0x54, 0x10)
               Field (EHCX, AnyAcc, NoLock, Preserve)
               {
                       ,   15, 
                   PMES,   1, 
                           Offset (0x0E), 
                   PIMP,   1, 
                   PMSK,   8
               }
               Method (_REG, 2, NotSerialized)
               {
                   If (LAnd (LEqual (Arg0, 0x02), LEqual (Arg1, 0x01)))
                   {
                       Store (0x01, PMSK)
                       Store (0x01, PIMP)
                   }
               }
               Device (RHUB)
               {
                   Name (_ADR, 0x00)
                   Device (PRT0)
                   {
                       Name (_ADR, 0x01)
                   }
                   Device (PRT1)
                   {
                       Name (_ADR, 0x02)
                   }
               }
               Method (_PRW, 0, NotSerialized)
               {
                   Return (UPRW (0x0D, 0x03))
               }
               Name (_S3D, 0x02)
               Name (_S4D, 0x03)
               Scope (RHUB.PRT0)
               {
                   Method (_UPC, 0, Serialized)
                   {
                       Return (EUPC)
                   }
                   Method (_PLD, 0, Serialized)
                   {
                       Return (EPLD)
                   }
                   Device (HPT0)
                   {
                       Name (_ADR, 0x01)
                   }
                   Device (HPT1)
                   {
                       Name (_ADR, 0x02)
                   }
                   Device (HPT2)
                   {
                       Name (_ADR, 0x03)
                   }
                   Device (HPT3)
                   {
                       Name (_ADR, 0x04)
                   }
                   Device (HPT4)
                   {
                       Name (_ADR, 0x05)
                       Method (_EJD, 0, NotSerialized)
                       {
                           Return ("\\_SB.PCI0.RP02.ECF0")
                       }
                   }
                   Device (HPT5)
                   {
                       Name (_ADR, 0x06)
                   }
                   Device (HPT6)
                   {
                       Name (_ADR, 0x07)
                   }
                   Device (HPT7)
                   {
                       Name (_ADR, 0x08)
                   }
               }
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0F)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x34, 0x3B, 0x00, 0x00
                           }, 
                           "built-in", 
                           Buffer (0x01)
                           {
                               0x00
                           }, 
                           "AAPL,clock-id", 
                           Buffer (0x01)
                           {
                               0x01
                           }, 
                           "device_type", 
                           Buffer (0x05)
                           {
                               "EHCI"
                           }, 
                           "AAPL,current-available", 
                           0x04B0, 
                           "AAPL,current-extra", 
                           0x02BC, 
                           "AAPL,current-in-sleep", 
                           0x03E8, 
                           Buffer (0x01)
                           {
                               0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }
           Device (EHC2)
           {
               Name (_ADR, 0x001A0000)
               OperationRegion (EHCX, PCI_Config, 0x54, 0x10)
               Field (EHCX, AnyAcc, NoLock, Preserve)
               {
                       ,   15, 
                   PMES,   1, 
                           Offset (0x0E), 
                   PIMP,   1, 
                   PMSK,   8
               }
               Method (_REG, 2, NotSerialized)
               {
                   If (LAnd (LEqual (Arg0, 0x02), LEqual (Arg1, 0x01)))
                   {
                       Store (0x01, PMSK)
                       Store (0x01, PIMP)
                   }
               }
               Device (RHUB)
               {
                   Name (_ADR, 0x00)
                   Device (PRT0)
                   {
                       Name (_ADR, 0x01)
                   }
                   Device (PRT1)
                   {
                       Name (_ADR, 0x02)
                   }
               }
               Method (_PRW, 0, NotSerialized)
               {
                   Return (UPRW (0x0D, 0x03))
               }
               Name (_S3D, 0x02)
               Name (_S4D, 0x03)
               Scope (RHUB.PRT0)
               {
                   Method (_UPC, 0, Serialized)
                   {
                       Return (EUPC)
                   }
                   Method (_PLD, 0, Serialized)
                   {
                       Return (EPLD)
                   }
                   Device (HPT0)
                   {
                       Name (_ADR, 0x01)
                       Method (_UPC, 0, Serialized)
                       {
                           Return (EUPC)
                       }
                       Method (_PLD, 0, Serialized)
                       {
                           Return (EPLD)
                       }
                   }
                   Device (HPT1)
                   {
                       Name (_ADR, 0x02)
                       Method (_UPC, 0, Serialized)
                       {
                           Return (EUPC)
                       }
                       Method (_PLD, 0, Serialized)
                       {
                           Return (EPLD)
                       }
                   }
                   Device (HPT2)
                   {
                       Name (_ADR, 0x03)
                       Method (_UPC, 0, Serialized)
                       {
                           Return (EUPC)
                       }
                       Method (_PLD, 0, Serialized)
                       {
                           Return (EPLD)
                       }
                   }
                   Device (HPT3)
                   {
                       Name (_ADR, 0x04)
                   }
                   Device (HPT4)
                   {
                       Name (_ADR, 0x05)
                       Method (_UPC, 0, Serialized)
                       {
                           Return (EUPC)
                       }
                       Method (_PLD, 0, Serialized)
                       {
                           Return (EPLD)
                       }
                   }
                   Device (HPT5)
                   {
                       Name (_ADR, 0x06)
                   }
               }
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0F)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x34, 0x3B, 0x00, 0x00
                           }, 
                           "built-in", 
                           Buffer (0x01)
                           {
                               0x00
                           }, 
                           "AAPL,clock-id", 
                           Buffer (0x01)
                           {
                               0x02
                           }, 
                           "device_type", 
                           Buffer (0x05)
                           {
                               "EHCI"
                           }, 
                           "AAPL,current-available", 
                           0x04B0, 
                           "AAPL,current-extra", 
                           0x02BC, 
                           "AAPL,current-in-sleep", 
                           0x03E8, 
                           Buffer (0x01)
                           {
                               0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

 

Alguém sabe como resolver o problema?


Obrigado!

Ele desliga depois de 15 segundos ou não?


Você aplicou o patch "shutdown"?

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

  • Author
Ele desliga depois de 15 segundos ou não?


Você aplicou o patch "shutdown"?

 

Sim, apliquei. Ele desliga correctamente ao fim de 15 segundos (ou mais), assim como reinicia correctamente ao fim de 15 segundos.


O meu problema maior é que provavelmente este problema com o USB impede o Sleep de funcionar bem. Provavelmente é um problema com o driver e talvez se resolvesse implementando / alterando um método no DSDT ou mudando o device-id, mas nao sei qual... Mais logo posto os meus dados ioreg assim como o meu DSDT completo, caso ajude.


Obrigado,


LG

Pro sleep funcionar você precisa ter a gestão de energia a funcionar (não usar NullCPUPowerManagement).


Provável que precise do "lapic kernel" (Taptun) pra dispensar o cpus=1

http://www.osx86.net/view/1945-os_x_lion_kernel_lapic_native.html

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

  • Author

Nao uso cpu=1... o meu Intel i5 540M é bem suportado, todas as 4 cores são detectadas.

É que a maioria dos HP com Nehalem e Sandy Bridge precisam do kernel lapic pra funcionar sem cpus=1, achei que o seu também fosse assim.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.