Contribute
Register

[Guide] 10.11+ USB changes and solutions

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Could use a little help trying to get my X99 system to sleep/wake correctly.
@RehabMan, carefully read through all the guides and just trying to get through the last mile. I've attached the DSDT, SSDT's, Clover config and plist from USBinjectall.
macOS Sierra, final release. XHCI, EHCI handoff enabled in BIOS, XHCI Smart Auto.

Scenario 1:
- USBInject plist is edited, however I'm using XHCIMux to move the USB2 devices to EH01, and use the uia_exclude_hs flag
- The IORegistryExplorer dump is from this configuration
- System will sleep and stay asleep. However it is not possible to Wake the system with USB (keyboard or BT), only with the Power button

Scenario 2"
- Using edited USBinject plist to ensure devices stay < 15, no uia flag, and no XHCIMux
- Devices show on USB 3 ports correctly
- System suffers from instant wake and immediately kernel panics.

Note from the Clover config that I do not use any USB injection flags. However, if under Scenario 1 I do Inject USB via Clover, then the system instant wakes, but does not kernel panic. I reviewed the clover logs and a bit a diff of the DSDT under these two conditions and could not see any changes, so curious to know what the Clover Inject USB option does.

Any help or pointers resolving either scenario 1 or 2 would be appreciated.

Thanks

Your ioreg is corrupt. Read post #1, "Problem Reporting".
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Could use a little help trying to get my X99 system to sleep/wake correctly.
@RehabMan, carefully read through all the guides and just trying to get through the last mile. I've attached the DSDT, SSDT's, Clover config and plist from USBinjectall.
macOS Sierra, final release. XHCI, EHCI handoff enabled in BIOS, XHCI Smart Auto.

Scenario 1:
- USBInject plist is edited, however I'm using XHCIMux to move the USB2 devices to EH01, and use the uia_exclude_hs flag
- The IORegistryExplorer dump is from this configuration
- System will sleep and stay asleep. However it is not possible to Wake the system with USB (keyboard or BT), only with the Power button

Scenario 2"
- Using edited USBinject plist to ensure devices stay < 15, no uia flag, and no XHCIMux
- Devices show on USB 3 ports correctly
- System suffers from instant wake and immediately kernel panics.

Note from the Clover config that I do not use any USB injection flags. However, if under Scenario 1 I do Inject USB via Clover, then the system instant wakes, but does not kernel panic. I reviewed the clover logs and a bit a diff of the DSDT under these two conditions and could not see any changes, so curious to know what the Clover Inject USB option does.

Any help or pointers resolving either scenario 1 or 2 would be appreciated.

Thanks

Your ACPI configuration is wrong. DropOem=true is not valid unless you also include all OEM SSDTs in ACPI/patched.
 
Joined
Jun 5, 2012
Messages
29
Motherboard
GA-X99P-SLI
CPU
Core i7-5820K
Graphics
nVidia GTX760 SLI
Mac
  1. Mac Pro
Your ACPI configuration is wrong. DropOem=true is not valid unless you also include all OEM SSDTs in ACPI/patched.

The original SSDT-0, and SSDT-1 are included in the patched folder.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
The original SSDT-0, and SSDT-1 are included in the patched folder.

Press F4 in Clover and provide all DSDT+SSDTs in ACPI/origin.
 
Joined
Jun 5, 2012
Messages
29
Motherboard
GA-X99P-SLI
CPU
Core i7-5820K
Graphics
nVidia GTX760 SLI
Mac
  1. Mac Pro
Added the origin folder to original post.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Added the origin folder to original post.

I can't find EFI/Clover anywhere.

Please provide all files, as requested. Read post #1, "Problem Reporting".
 
Joined
Jun 5, 2012
Messages
29
Motherboard
GA-X99P-SLI
CPU
Core i7-5820K
Graphics
nVidia GTX760 SLI
Mac
  1. Mac Pro
Not sure what I missed but, but I've uploaded the entire Clover folder to original post
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Not sure what I missed but, but I've uploaded the entire Clover folder to original post

XWAK may be doing things you don't want it to do. You should try to disable it by making it do nothing.
 
Joined
Jun 5, 2012
Messages
29
Motherboard
GA-X99P-SLI
CPU
Core i7-5820K
Graphics
nVidia GTX760 SLI
Mac
  1. Mac Pro
XWAK may be doing things you don't want it to do. You should try to disable it by making it do nothing.
That didn't do anything for Scenario 1, and under Scenario 2 still have instant wake and KP.
Here's the pmset output from scenario 1 after a manual wake from the power button if this reveals anything:

2016-10-05 06:56:52 -0400 : Showing all currently held IOKit power assertions
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 1
NetworkClientActive 0
Listed by owning process:
pid 493(AddressBookSourceSync): [0x000002fd000181cc] 00:00:13 PreventUserIdleSystemSleep named: "Address Book Source Sync"
Timeout will fire in 1786 secs Action=TimeoutActionTurnOff
pid 98(hidd): [0x000002fa000981c2] 00:00:16 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"
Timeout will fire in 595 secs Action=TimeoutActionRelease
Kernel Assertions: 0x10c=USB,BT-HID,MAGICWAKE
id=504 level=255 0x100=MAGICWAKE mod=10/5/16, 6:57 AM description=en1 owner=en1
id=510 level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.14300000 owner=IOUSBHostDevice
id=511 level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.1d133000 owner=Keyboard Hub
id=512 level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.1d133300 owner=Apple Optical USB Mouse
id=513 level=255 0x8=BT-HID mod=12/31/69, 7:00 PM description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice
Idle sleep preventers: IODisplayWrangler
 
Last edited:
Top