Contribute
Register

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

At last¡¡¡ iPad charging¡¡
A lot of thanks RehabMan...:thumbup:

in case it helps someone:

AppleBusPowerControllerUSB is load

ACPI->DSDT patches:
change EC0 to EC 58484349 5848435F
change H_EC to EC 485F4543 45435F5F
 
Last edited:
At last¡¡¡ iPad charging¡¡
A lot of thanks RehabMan...:thumbup:

in case it helps someone:

AppleBusPowerControllerUSB is load

ACPI->DSDT patches:
change EC0 to EC 58484349 5848435F
change H_EC to EC 485F4543 45435F5F

No need to use both of those patches (if they were both effective, it would cause KP).
 
No need to use both of those patches (if they were both effective, it would cause KP).
you are absolutely right, in my DSDT only this EC0 so H_EC is redundant.
Thank you.
 
Hi RehabMan,
I followed the #1 post and got the AppleBusPowerController loaded correctly.
But if I try to sleep my laptop, it takes a long time to get in sleep state and frozen right after waking up from sleep state.
please help me to check this issue. thank you so much.
log files are in the attachment
 

Attachments

  • RehabMan.zip
    2.7 MB · Views: 124
Hello,

I'm trying to adapt this on my rig , so far without success.
Could someone pls shed some light, maybe I'm just missing something.
Attached are all ( I hope ) debug files for 2 scenarios.

1. with SSDT-USBX at /efi/clover/acpi/patched
2. with SSDT-EC + SSDT-UIAc at efi/...


Thank you for any hint what I'm doing wrong here !

@RehabMan: You're providing fantastic guides
 

Attachments

  • debug_with_EC+UIAC.zip
    1.8 MB · Views: 143
  • debug_with_USBX.zip
    1.8 MB · Views: 142
...
But if I try to sleep my laptop, it takes a long time to get in sleep state and frozen right after waking up from sleep state.
please help me to check this issue. thank you so much.
log files are in the attachment

Off-topic. Open a separate thread.
 
Hello,

I'm trying to adapt this on my rig , so far without success.
Could someone pls shed some light, maybe I'm just missing something.
Attached are all ( I hope ) debug files for 2 scenarios.

1. with SSDT-USBX at /efi/clover/acpi/patched
2. with SSDT-EC + SSDT-UIAc at efi/...


Thank you for any hint what I'm doing wrong here !

@RehabMan: You're providing fantastic guides

With "debug_with_USBX.zip" no "EC" shown in ioreg, so not sure why you expect that to work. Must use SSDT-EC.aml to add a "fake" EC (your computer has no EC).

With "debug_with_EC+UIAC.zip" you have the SSDT-EC.aml, but you neglected to add SSDT-USBX.aml. Therefore no power properties are populated under the EC node.

Read post #1 carefully.
 
Hi, RehabMan. I apologize. I've read through the guide multiple times to try to avoid having to ask anything. But I have to ask.

I've confirmed that AppleBusPowerController.kext is looking for EC.
I've confirmed that I do NOT have ECDT in ACPI.

What I can't seem to figure out is whether my EC is named EC0 or H_EC. I also can't located USBX in my IOreg. I know I've misinterpreted something, and I apologize for having to ask, but at least my reporting files are attached.
 

Attachments

  • debug_26809.zip
    3.9 MB · Views: 135
What I can't seem to figure out is whether my EC is named EC0 or H_EC.

Your computer has no EC at all.
As a result, must use SSDT-EC.aml to add a fake one.

I also can't located USBX in my IOreg.

Not expected without SSDT-USBX.aml.
 
Your computer has no EC at all.
As a result, must use SSDT-EC.aml to add a fake one.



Not expected without SSDT-USBX.aml.

Thanks, RehabMan. That guidance, I can work with... especially since you were kind enough to use iMac 17,1 as your example. Since my AppleBusPowerController.kext info.plist did not include the iMac 17,1 SMBIOS, I had nothing to override. So, I just compiled the two patches you referenced above and placed them in in Clover/ACPI/Patched and restarted.

USBX is now appearing in the IOreg, and if the measure of success is that a USB port will charge an iPad, then I'm in good shape, because my iPad is charging as I type this.

Still, if you have a moment to take a peek to make sure I've done this correctly, I'd be grateful. Thanks again for your guidance.
 

Attachments

  • debug_16435.zip
    3.3 MB · Views: 133
Back
Top