Contribute
Register

Dell Inspiron 3x37 - 5x37 -7x37 Clover Install Guide

Status
Not open for further replies.
Hi people,

I have a problem with the USB after sleep.

On battery mode, after sleep, the USB stops working...I tried unplugging and plugging the devices, but nothing.

I have re-patched again all files, and i tried both patches:
"USB3 _PRW(0x0D) and Rename XHC to XHC1" (new patch)
"USB3 _PRW(0x6D) and Rename XHC to XHC1" (new patch)

Instant-wake was solved using one of these patches.

With AC adapter connected, everything it's working perfectly.

Thanks! :D

It is likely your DSDT calling XSEL or ESEL from _WAK, which manipulates the XHC controller in a way OS X does not expect.

Fix: Make XSEL and ESEL do nothing.
 
Thank you for your reply.

I've removed the implementations of the both methods, the problem persists.

I attach my DSDT
https://www.dropbox.com/s/hwt6g00szvcdt5w/DSDT.dsl?dl=0

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Note: It is easier if you use copy/paste instead of typing the commands manually.

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu

Also, post EFI/Clover folder.
 


I attach all the files..

And the output:

sie-osx:~ sie$ kextstat|grep -y acpiplat
13 1 0xffffff7f82964000 0x65000 0x65000 com.apple.driver.AppleACPIPlatform (3.1) <12 11 7 6 5 4 3 1>
sie-osx:~ sie$ kextstat|grep -y appleintelcpu
sie-osx:~ sie$
 

Attachments

  • patchmatic-cr0mpare.zip
    31.7 KB · Views: 80
  • IOReg-cr0mpare.ioreg
    4.8 MB · Views: 77
  • CLOVER-cr0mpare.zip
    5.8 MB · Views: 77
Is this ioreg after sleep? If not, post ioreg after sleep/wake.

I attach the IOREG with no USB working, after sleep/wake(in battery mode).
 

Attachments

  • sie-osx-noUSB.ioreg
    3.5 MB · Views: 114
I attach the IOREG with no USB working, after sleep/wake(in battery mode).

USB partially working (look at XHC1 node). Check system.log for clues. Check BIOS USB settings.
 
Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Note: It is easier if you use copy/paste instead of typing the commands manually.

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu

Also, post EFI/Clover folder.

Thank you for the help. Here we go -

View attachment MacBook Air.ioreg

View attachment CLOVER.zip

View attachment RehabMan.zip


Output -

Code:
Last login: Sat Jul  4 11:49:26 on ttys000
Kammys-MacBook-Air:~ kammy$ kextstat|grep -y acpiplat
   13    1 0xffffff7f822d7000 0x65000    0x65000    com.apple.driver.AppleACPIPlatform (3.1) <12 11 7 6 5 4 3 1>
Kammys-MacBook-Air:~ kammy$ kextstat|grep -y appleintelcpu
Kammys-MacBook-Air:~ kammy$
 
USB partially working (look at XHC1 node). Check system.log for clues. Check BIOS USB settings.

Problem solved!

In my IOREG i had :

04/07/15 10:25:05,000 kernel[0]: Previous sleep cause: 5
04/07/15 10:25:05,000 kernel[0]: USB (EHCI):port 1 on bus 0x1d connected or disconnected: portSC(0x301803)
04/07/15 10:25:05,000 kernel[0]: USB (XHCI Root Hub USB 2.0 Simulation):port 1 on bus 0xa connected or disconnected: portSC(0x206e1)
04/07/15 10:25:05,000 kernel[0]: USB (XHCI Root Hub USB 2.0 Simulation):port 5 on bus 0xa connected or disconnected: portSC(0x206e1)
04/07/15 10:25:05,000 kernel[0]: USB (XHCI Root Hub USB 2.0 Simulation):port 6 on bus 0xa connected or disconnected: portSC(0x206e1)
04/07/15 10:25:05,000 kernel[0]: USB (XHCI Root Hub USB 2.0 Simulation):port 7 on bus 0xa connected or disconnected: portSC(0x206e1)
04/07/15 10:25:05,000 kernel[0]: USBF: 164.269 AppleUSBXHCI::RestoreControllerStateFromSleep - Error restoring controller state USBSTS = 0x411

I disabled all USB extra stuff(USB PowerShare, USB Emulation,USB Wake Support...) on the BIOS and I added one patch from your HP Envy Repo.
This patch:

<dict>
<key>Comment</key>
<string>Enable USB3 post wake</string>
<key>Find</key>
<data>
xoDIAAAAAQ==
</data>
<key>Name</key>
<string>AppleUSBXHCI</string>
<key>Replace</key>
<data>
xoDIAAAAAA==
</data>
</dict>


Now got USB working after sleep/wake, without using AC adapter.

Thank you man!
 
Thank you for the help. Here we go -

View attachment 142998

View attachment 142999

View attachment 143000


Output -

Code:
Last login: Sat Jul  4 11:49:26 on ttys000
Kammys-MacBook-Air:~ kammy$ kextstat|grep -y acpiplat
   13    1 0xffffff7f822d7000 0x65000    0x65000    com.apple.driver.AppleACPIPlatform (3.1) <12 11 7 6 5 4 3 1>
Kammys-MacBook-Air:~ kammy$ kextstat|grep -y appleintelcpu
Kammys-MacBook-Air:~ kammy$

Use the "9mb cursor bytes" patch described here: http://www.tonymacx86.com/yosemite-...tel-hd4200-hd4400-hd4600-mobile-yosemite.html

It is also in my config.plist linked from my guide: http://www.tonymacx86.com/yosemite-...de-booting-os-x-installer-laptops-clover.html
 
Status
Not open for further replies.
Back
Top