As long as you present files with USB WiFi, I will continue to advise accordingly and ignore the rest of the files posted.
Correct USB configuration:
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/
Now I fixed the USB configuration according to the guide. I do not have EHC1/EHC2..., only XHC . So there is no patch in config.plist (port limit removed after creating SSDT-UIAC). Two kexts used USBInject, FakePCIID_XHCIMux together with FakePCIID.
I checked all folders /ACPI/origin, /ACPI/patched and also extract with patchmatic. I can decompile those without any error.
I used native power management according to your guide.
XCPM only
Still I have the sleep problem screen becoming white from black. BacklightInject kext is not loading. No brightness slider. I had it without BacklightInject
-------------Terminal output-------------
Last login: Thu Oct 12 23:54:56 on ttys000
Abhisheks-MacBook-Pro:~ abanerjee$ kextstat|grep -y acpiplat
15 2 0xffffff7f82b15000 0x9c000 0x9c000 com.apple.driver.AppleACPIPlatform (6.1) 642EF8D6-8F86-3F92-B450-FDC9BAE4F3DD <14 12 11 7 6 5 4 3 1>
Abhisheks-MacBook-Pro:~ abanerjee$ kextstat|grep -y appleintelcpu
Abhisheks-MacBook-Pro:~ abanerjee$ kextstat|grep -y applelpc
90 0 0xffffff7f8226c000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) 7C24E741-BD4A-3917-83AC-E956A03ADC20 <89 12 5 4 3>
Abhisheks-MacBook-Pro:~ abanerjee$ kextstat|grep -y applehda
96 1 0xffffff7f827bb000 0x1d000 0x1d000 com.apple.driver.AppleHDAController (280.12) 55162F3D-B7E9-315C-A7E1-C5C4C02F03EC <95 94 77 12 7 6 5 4 3 1>
129 0 0xffffff7f8293b000 0xb7000 0xb7000 com.apple.driver.AppleHDA (280.12) 7FC2BABA-4D4F-34FC-93E2-3E3244DEB73D <128 106 96 95 94 77 6 5 4 3 1>
Abhisheks-MacBook-Pro:~ abanerjee$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
Abhisheks-MacBook-Pro:~ abanerjee$ pmset -g assertions
2017-10-12 23:58:35 -0700
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 76(timed): [0x000002f500018114] 00:00:18 NoIdleSleepAssertion named: "com.apple.timed.ntp"
Timeout will fire in 91 secs Action=TimeoutActionTurnOff
pid 95(hidd): [0x0000000800098037] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968094.3"
Timeout will fire in 2220 secs Action=TimeoutActionRelease
No kernel assertions.
Idle sleep preventers: IODisplayWrangler
Abhisheks-MacBook-Pro:~ abanerjee$ system_profiler SPSerialATADataType|grep TRIM
TRIM Support: Yes
Abhisheks-MacBook-Pro:~ abanerjee$ sudo kextcache -i /
Password:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903d34f460 [0x7fff885305b0]> { URL = "CodecCommander.kext/ -- file:///Library/Extensions/", ID = "org.tw.CodecCommander" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903d2eca00 [0x7fff885305b0]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903d2e89c0 [0x7fff885305b0]> { URL = "VoodooI2C.kext/ -- file:///System/Library/Extensions/", ID = "com.alexandred.VoodooI2C" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903d2a12a0 [0x7fff885305b0]> { URL = "USBInjectAll.kext/ -- file:///System/Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903d25a540 [0x7fff885305b0]> { URL = "RealtekRTL8111.kext/ -- file:///System/Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903d24bc20 [0x7fff885305b0]> { URL = "Lilu.kext/ -- file:///System/Library/Extensions/", ID = "as.vit9696.Lilu" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903d00a910 [0x7fff885305b0]> { URL = "IntelGraphicsFixup.kext/ -- file:///System/Library/Extensions/", ID = "as.lvs1974.IntelGraphicsFixup" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903c7ad690 [0x7fff885305b0]> { URL = "FakeSMC_LPCSensors.kext/ -- file:///System/Library/Extensions/", ID = "org.hwsensors.driver.LPCSensors" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903c79a110 [0x7fff885305b0]> { URL = "FakeSMC.kext/ -- file:///System/Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903c7aa820 [0x7fff885305b0]> { URL = "FakeSMC_CPUSensors.kext/ -- file:///System/Library/Extensions/", ID = "org.hwsensors.driver.CPUSensors" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903c7a3e90 [0x7fff885305b0]> { URL = "FakeSMC_ACPISensors.kext/ -- file:///System/Library/Extensions/", ID = "org.hwsensors.driver.ACPISensors" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903c79ad60 [0x7fff885305b0]> { URL = "FakePCIID_XHCIMux.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.FakePCIID.XHCIMux" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903c791fe0 [0x7fff885305b0]> { URL = "FakePCIID.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.FakePCIID" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903c793ba0 [0x7fff885305b0]> { URL = "FakePCIID_Intel_HDMI_Audio.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.injector.FakePCIID-Intel-HDMI-Audio" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903c793e50 [0x7fff885305b0]> { URL = "FakePCIID_Intel_HD_Graphics.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.injector.FakePCIID-Intel-HD-Graphics" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903c71f000 [0x7fff885305b0]> { URL = "AsusNBFnKeys.kext/ -- file:///System/Library/Extensions/", ID = "org.emlydinesh.driver.AsusNBFnKeys" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903a610300 [0x7fff885305b0]> { URL = "ApplePS2Keyboard.kext/ -- file:///System/Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903a603840 [0x7fff885305b0]> { URL = "ApplePS2Controller.kext/ -- file:///System/Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Controller" }
Kext with invalid signatured (-67030) allowed: <OSKext 0x7f903c0ab040 [0x7fff885305b0]> { URL = "AppleHDAHardwareConfigDriver.kext/ -- file:///System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/", ID = "com.apple.driver.AppleHDAHardwareConfigDriver" }
Kext with invalid signatured (-67061) allowed: <OSKext 0x7f903c0698f0 [0x7fff885305b0]> { URL = "AppleHDAController.kext/ -- file:///System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/", ID = "com.apple.driver.AppleHDAController" }
Kext with invalid signatured (-67061) allowed: <OSKext 0x7f903c05a1b0 [0x7fff885305b0]> { URL = "AppleHDA.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.driver.AppleHDA" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f903a70cee0 [0x7fff885305b0]> { URL = "ACPIBatteryManager.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }
KernelCache ID: 44962EBF315B6FDE8C0A1F74B9090F14
Abhisheks-MacBook-Pro:~ abanerjee$