Contribute
Register

[Guide] USB power property injection for Sierra (and later)

RehabMan, I'm trying to get USB power properties to load for the iMac15,1 profile. I placed the SSDT-EC.aml file in the ACPI/patched folder and the EC property does show up in IOReg but when I look under the USB properties in System Information, it is not showing the correct power properties when my iPad is plugged in. I have enabled Inject USB and HighCurrent option in config as well but no luck.

For the USB fix, I have applied the EHC1 an ECH2 rename patch in config. I have used the two USB kexts (FakeCIID and MUX one). Could you please help me out to get this to work?
 

Attachments

  • CLOVER.zip
    2.2 MB · Views: 69
  • CyCLoBoTiMac.ioreg
    5 MB · Views: 106
  • Screen Shot 2017-08-22 at 12.18.11 PM.png
    Screen Shot 2017-08-22 at 12.18.11 PM.png
    128.8 KB · Views: 177
RehabMan, I'm trying to get USB power properties to load for the iMac15,1 profile. I placed the SSDT-EC.aml file in the ACPI/patched folder and the EC property does show up in IOReg but when I look under the USB properties in System Information, it is not showing the correct power properties when my iPad is plugged in. I have enabled Inject USB and HighCurrent option in config as well but no luck. Could you please help me out to get this to work?

Your USB configuration is wrong (15-port limit is being exceeded).

Read guide:
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/
 
From that guide I did the following:

Specific Recommendations (7-series, 8-series, 9-series, X99)

Do the EHCx->EH0x rename. It is a no-brainer first step.

For 7-series, 8-series, and 9-series, install FakePCIID_XHCIMux.kext (FakePCIID_XHCIMux has no effect without FakePCIID.kext, and is valid only for the Intel chipsets mentioned).

Is that not enough to get USB to work for my motherboard?
 
From that guide I did the following:
..
Is that not enough to get USB to work for my motherboard?

The text you show is not from the guide I linked.
 
Why did you omit SSDT-7.aml from ACPI/patched? Don't forget to add it to SortedOrder.
Your ioreg is corrupt, so I didn't look at it (read "Problem Reporting" carefully).
sorry, I've edited and doing as you say. pls help me check it one time. thanks you
 

Attachments

  • s46cm report.zip
    3.4 MB · Views: 72
sorry, I've edited and doing as you say. pls help me check it one time. thanks you

Your ACPI files are still wrong.
For some reason, SSDT-7.aml in ACPI/patched is a completely different file than SSDT-7.aml in ACPI/origin.

I didn't check anything else.
See ACPI patching guide.
 
# usb_prw_0x6d_xhc. TXT
# remove _PRW the methods to prevent instant injection of AAPL wake patch file, the current available = 2100 current - extra = 2200 - sleep = 1600 device - in internal = 0 x02 Max - port - current - in - sleep = 2100 attribute values can be modified into kUSBSleepPortCurrentLimit, kUSBSleepPowerSupply, kUSBWakePortCurrentLimit, kUSBWakePowerSupply, attribute values? The usb_prw_0x6d_xhc. TXT patch file is not suitable for the sierra? You can customize the "AAPL", current... Are these four property values? My EC is now in trouble you help me to see! FakeSMC.kext Does this relate to the native SCMkey?I don't know whether you also need to inject a SSDT in AppleBusPowerControllerUSB, my two clover file DSDTs, SSDTs have a USB mouse is not able to wake up the laptop. Please help me to know this 2 mouse USB file directly influence will not be able to wake up Thank you very much! It's the only logical mouse on the right side of the usb 2.0 interface
 

Attachments

  • MacBook Air.ioreg
    13.1 MB · Views: 86
  • SMC_keys.txt
    1.1 KB · Views: 147
  • touchkexts.png
    touchkexts.png
    167.8 KB · Views: 136
  • dmesg.txt
    3.9 KB · Views: 146
  • cloverI 2.zip
    2.4 MB · Views: 71
  • cloverI.zip
    2.4 MB · Views: 75
  • extract.zip
    50.7 KB · Views: 67
  • MacBook Air.ioreg
    6.3 MB · Views: 91
# usb_prw_0x6d_xhc. TXT
# remove _PRW the methods to prevent instant injection of AAPL wake patch file, the current available = 2100 current - extra = 2200 - sleep = 1600 device - in internal = 0 x02 Max - port - current - in - sleep = 2100 attribute values can be modified into kUSBSleepPortCurrentLimit, kUSBSleepPowerSupply, kUSBWakePortCurrentLimit, kUSBWakePowerSupply, attribute values? The usb_prw_0x6d_xhc. TXT patch file is not suitable for the sierra? You can customize the "AAPL", current... Are these four property values? My EC is now in trouble you help me to see! FakeSMC.kext Does this relate to the native SCMkey?I don't know whether you also need to inject a SSDT in AppleBusPowerControllerUSB, my two clover file DSDTs, SSDTs have a USB mouse is not able to wake up the laptop. Please help me to know this 2 mouse USB file directly influence will not be able to wake up Thank you very much! It's the only logical mouse on the right side of the usb 2.0 interface

Your ioreg shows the USB properties working on EC->AppleBusPowerControllerUSB (and also legacy power properties are injected, which is fine).

But your USB ports are not configured correctly on XHC.
See guide:
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/
 
Your ioreg shows the USB properties working on EC->AppleBusPowerControllerUSB (and also legacy power properties are injected, which is fine).

But your USB ports are not configured correctly on XHC.
See guide:
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/
Do you mean kUSBSleepPortCurrentLimit, kUSBSleepPowerSupply, kUSBWakePortCurrentLimit, kUSBWakePowerSupply need to add the SSDT is need "8086 _9xxx" corresponding port injection?
 
Back
Top