RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,008
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
Okay, I just misunderstood purpose of USBInjectAll then.
config.plist has the renaming patch. USBInjectAll seems to be loading. IOReg looks good now, only has the ports injected from my SSDT. I do get my webcam back after instant wake.
All files regenerated and attached.
Last few lines of log for 'Wake reason' (trying to find way to search log backwards, taking too darn long)
2017-10-14 15:29:19.635279-0500 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID EHC2 (User)
2017-10-14 15:29:19.635281-0500 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID EHC2 (User)
2017-10-14 16:17:46.352810-0500 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID EH02 (User)
2017-10-14 16:17:46.352812-0500 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID EH02 (User)
2017-10-14 16:43:15.125654-0500 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID EH02 (User)
2017-10-14 16:43:15.125656-0500 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID EH02 (User)
As expected it is EH02 and the only device I have injected on that is the webcam. I can try removing _PRW for BTN and LID again, I know if I disable webcam it does sleep.
hub ports connected to internal devices should have portType=2.
For your instant wake problem, remove _PRW from PBTN, LID, and probably also EHC2/EH02.
Your patched DSDT is lacking any "OS Check Fix" patch...
It is easier to find recent things in kernel log if you clear it out before rebooting (sudo log erase --all).