Jump to content
kosakgroove

USB e Bluetooth Nao funcionam depois de sleep

50 posts in this topic

Recommended Posts

Ola pessoal! Estou precisando de ajuda com o meu primeiro laptop na assinatura. O USB e o Bluetooth funcionam perfeitamente se for de Cold Boot.

 

post-1517295-0-04572900-1457301576_thumb.png

 

post-1517295-0-97922800-1457301579_thumb.png

 

O hackfaz suspensao ok mas depois do wake, nem os 2 USB 3.0 nem o porto USB 2.0 funcionam. O Bluetooth fica "Not Avaliable"

 

post-1517295-0-09143700-1457301669_thumb.png

 

post-1517295-0-06728900-1457301682_thumb.png

 

Estou usando os drivers da Apple, nada de Generic USB XHCI nem por esse estilo. É um sistema praticamente vanilla.

Deixo aqui os meus arquivos ACPI , o meu config plist e o meu IOREG antes e depois de suspensao.. Agradeço muito desde ja :D

 

Arquivos.zip

Share this post


Link to post
Share on other sites
Advertisement

Como poderao ver na DSDT, apliquei o patch no RP04, o patch vinha para o RP05 mas tive de modifica-lo.

Depois de testar mais uma vez, o USB e Bluetooth funcionam depois de Cold Boot, mas depois da suspensao só funciona o USB2.0, Os dois portos USB3.0 nao funcionam, o Bluetooth tambem nao.

Tal como @mendietinha pensou, o Bluetooth leva consigo o USB3.0 quando morre.

Que fazer?

 

 

post-1517295-0-23138400-1457361498_thumb.png

 

 

Posto aqui a minha DSDT e o ioreg depois de suspensao, tal como a mensagem da consola.

 

DSDT, CONSOLE e IOREG.zip

Share this post


Link to post
Share on other sites

olá

 

como era suspeitável problemas no usb

06/03/16 21:45:36,000    kernel[0]    Previous Sleep Cause: 5
06/03/16 21:45:36,000    kernel[0]    USB (XHCI Root Hub USB 2.0 Simulation):Port 5 on bus 0xa connected or disconnected: portSC(0x206e1)
06/03/16 21:45:36,000    kernel[0]    USB (XHCI Root Hub USB 2.0 Simulation):Port 6 on bus 0xa connected or disconnected: portSC(0x206e1)
06/03/16 21:45:36,000    kernel[0]    USBF:    263.792    AppleUSBEHCI: setPowerState - PCI device still has PME status bit set. PMCSR is 0x8008
06/03/16 21:45:36,000    kernel[0]    USB (EHCI):Port 1 on bus 0x1d connected or disconnected: portSC(0x301803)
06/03/16 21:45:36,000    kernel[0]    USBF:    263.792    AppleUSBXHCI::RestoreControllerStateFromSleep - Error restoring controller state USBSTS = 0x411
06/03/16 21:45:36,000    kernel[0]    The USB device USB Camera (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (1)

possivelmente tens de usar um injector para as portas de usb

 

vê aqui

 

https://bitbucket.org/RehabMan/os-x-usb-inject-all

 

bom hack

 

Share this post


Link to post
Share on other sites

ARTUR, pelo que leio isso é so para El Capitan. Eu estou interessado em ficar pelo Mavericks, como hei de fazer para arranjar este problema?

Nao me importa o que custar.. Nao gostei nada da performance de El Capitan comparado com o Mavericks..  E nem falemos do look..

 

Que me aconselham a fazer?

Share this post


Link to post
Share on other sites

E os driversUEFI64, qual usa? Tente setar o modo hibernar em 0, e veja se soluciona.

 

USBs + Sleep, quando dão problema, isso mostra que o gerenciamento de energia está falhando.

Share this post


Link to post
Share on other sites

olá

 

eu uso 57

MacBook-Pro:~ artur_pt$ pmset -g | grep hibernatemode
 hibernatemode        57
MacBook-Pro:~ artur_pt$ 

sem qualquer problema em os x

 

bom hack

Share this post


Link to post
Share on other sites

Experimentei o modo 57 varias vezes e o hack fica logo em Hibernated state, do qual tentando fazer boot para  resumir da hibernaçao, o hack simplesmente reinicia e elimina a sleep image. Com o modo 0 tem estado a funcionar bem, Bluetooth e USB funcionam depois do sleep. Obrigado pela ajuda

Share this post


Link to post
Share on other sites

Ai vai a minha pasta Clover..

 

CLOVER.zip

 

O USB e BT funcionam depois de sleep curto.. Deixei a noite toda em sleep e acordei com o BT e o USB a nao funcionarem...

 

Ca vai o log da console.

 

All Messages.log.zip

 

Qualquer sugestao para editar a DSDT ou os kext ou os drivers64UEFI é bem-vinda. Estou precisando da vossa assistência.

Share this post


Link to post
Share on other sites

Acerca do power management eu acho que ta tudo bem como podem ver nos meus ioreg e nos arquivos ACPI que eu uso no Clover... Eu generei a SSDT para o meu Haswell.. 

E a config plist tem tudo certo para dar native CPU Power Management. Que sugestoes tem???

Share this post


Link to post
Share on other sites

Sim? A DSDT e as SSDT-0 ---> SSDT-12 sao extraidas do Clover e corrigidas.

A SSDT sem numero é a do power management.

Estou fazendo algo de errado?

Share this post


Link to post
Share on other sites

Bem, se já tem 1 SSDT cuidando do gerenciamento não tem necessidade usar as outras 12!

 

Você aplicou patch em todas essas 12? Pra que exatamente cada uma delas serve?

Share this post


Link to post
Share on other sites

As outras 12 sao as nativas do PC... Tem informaçao sobre as placas graficas NVIDIA e Intel HD 4400, sobre dispositivos de audio, sobre CPU... 

Voce acha que eu deveria eliminar alguma das SSDT ? pensa que sao desnecessarias?

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 End3rPower50
      Hi, is Qualcomm Atheros AR956x compatible with MacOS Mojave 10.14.3?
    • By STLVNUB
      No sense re-inventing the wheel.
       
    • By Bushi93
      Finally Manage to make on of the most powerful and compact Hackintosh available with > the i9-9940X 14 cores + the AsRock X299e motherboard and Vega RX 64 8GB.
      Used for Editing, Motion Design and VFX on Mojave 10.14.3
      Exports time >Four time faster compared to my last i7 6 cores hackintosh.

      Need to add a lot of parameters to get the config.plst to work but once it's right it Works very smoothly!
      Turbo Boost up to 4.2 Ghz all core

      Geekbench scores
      Multi core : 54000 (above the iMacPro 18 cores)
      Single core : 5200
      GPU : 186 800

      Ethernet & Audio work without kext
       
      GPU : The Gygabite VEGA RX 64 required a lowfanspeed.kext otherwise it will always have the fans running in full speed mode (and it can get really noisy).

      Bluetooth & wifi (you can get a blue tooth dongle - the Azus works but you may experience some issue or lag sometime so the best solution is to replace the Bluetooth/Wifi card with the Bcm94360cs2 AC + its adaptor:
      https://www.amazon.fr/gp/product/B07HFQKC2Z/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1
      https://www.amazon.fr/gp/product/B073XHY68N/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
      With this card you won't need any kext to make it work : you will get native bluetooth and wifi support and even be able to control your bios and clover with your bluetooth magic mouse / keyboard !
       
      USB3 PORTS : need to add some kext
      1 of the 2 USB 3.1 WORK in full speed > USB C  in 3.1 and for some mysterious reson the other USB type A in 3.1 work as USB 2 only
      The other 4 USB3 work fine and the 2 USB3 of my front IO (NCASE M1) work fine too 

      XRP RAM OVERCLOCK : YES
      CPU Overcloking to 4.5GHz may work but did experience some freeze/crash and didn't notice any increase in render time when activated.

      Here is a quick overview of my setup
       
       
       
       
    • By vin047
      I have a Kingston HyperX Predator PCIE-SSD (model: SHPM2280P2H) matched with an X58 motherboard (legacy bios). The card has a Marvell 88SS9293 controller with an Option ROM which allows it to be detected on my motherboard as a bootable drive - listed as "IDE: Kingston SHPM". As my BIOS is non-UEFI, I assume the Option ROM presents it in IDE mode instead of AHCI.
       
      I use Clover legacy with BiosBlockIO to get around this, and it works well - Clover detects my drive and allows me to install macOS onto it and use it as a boot drive. macOS detects the drive correctly as a SATA AHCI drive. I guess Clover correctly detects (configures?) the Option ROM into AHCI mode and presents it as such to macOS - getting full speed read Read/Write performance. All is well.
       
      Except waking from sleep. When waking from sleep, depending on clover config options + dsdt, I either get an immediate reboot or hang on black screen that requires hard reset. I eventually realised that nothing after entering sleep mode is recorded in the logs, its completely empty until next boot up. This makes me think that on resume from sleep, macOS isn't seeing the drive anymore (hence can't even write to logs). My assumption here is that the Option ROM is presenting/configuring the card in IDE mode, which is not what macOS is expecting.
       
      This post describes the problem: 
       
      and also has a solution: in dsdt, simply write the correct values to 0x40, 0x41, 0x42 (which must be the BAR0 register?) to configure Option ROM to use AHCI mode. But I have no idea what address BAR0 is on the Marvell 88SS9293 - there appears to be no documentation whatsoever on this controller available online!
       
      I managed to dump the ROM using Linux sysfs, but don't have the skills to disassemble/decipher the binary to find the correct addresses. Anyone with such experience able to help?? I've attached the ROM dump and lspci output.
       
      Thanks in advance!
      rom.bin
      lspci_output.txt
    • By vin047
      Hi, have an old Asrock X58 Deluxe motherboard with an i7-920 Nehalem CPU (yes old board ) + AMD RX460 . As per the title, i've managed to get Mojave installed and running with Speed Step working too!
       
      Final issue i'm having is with sleep - it sleeps fine and even responds to keyboard/mouse event, but instead of waking up to the desktop it restarts and loads from BIOS boot screen. When finally booted into macos, it restores as if restored from unexpected shutdown (though no error is shown).
       
      I've tried for days to get it working, sometimes depending on clover config changes, I can get it to wake up without reboot, but it just remains at a black screen and is unresponsive. 
       
      I have no custom DSDT, i've tried writing one but don't know really know what i'm looking for? Currently relying on clover patches. I've uploaded my original DSDT (dumped from Clover, F4 option) + current config. Anyone have any ideas?
      dsdt original.zip
      config.plist.zip
×