Contribute
Register

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

I didn't look... just went off your description of the problem...
Oh - was hoping you could take a look just to make sure I did the patching correctly... ioreg and clover folder attached.

Thanks!
 

Attachments

  • CLOVER.zip
    2.2 MB · Views: 92
  • Raptor.ioreg
    6.6 MB · Views: 99
Oh - was hoping you could take a look just to make sure I did the patching correctly... ioreg and clover folder attached.

Thanks!

The ioreg shows AppleBusPowerControllerUSB loaded under the EC node, complete with power properties...
 
The ioreg shows AppleBusPowerControllerUSB loaded under the EC node, complete with power properties...
Much appreciated.

BTW, there still is something weird going on. I don't suppose you would have a USB meter to be able to see if you are getting the indicate current from the ports...?

For example with my iPad at 50% state-of-charge, and I plug into any port (2.0 or 3.0) that's directly on my motherboard, I get an indication in System Information that it's drawing 500mA:
View media item 189009However, my USB power meter shows it drawing 1A - which has to be true, because if it truly was only 500 mA, the iPad would indicate "Not Charging"

However, when plugged into my Front Panel USB ports (both are 2.0), I get in System Information:
View media item 189008which indicates it should be getting 2.1A, however the USB power meter still shows it drawing 1A.

As a final data point if I plug my iPad into the Apple iPad wall charger, the USB power meter reads 1.5A - which is what I would expect.

The front panel numbers makes some sense to me as this would be as if the power profiles loaded correctly, but the port cannot handle more than 1A of current, so it gives what it can.

However, all of the motherboard ports don't seem to be showing the correct power profile in System Information. Could this all just be that there is no EC on my mobo and it's being faked?

My ioreg is attached (with my iPad plugged into one of the motherboard ports). I'm using SMBIOS of iMac17,1 and used the power profile for that same system as in post #1.
 

Attachments

  • Raptor.ioreg
    6.7 MB · Views: 86
Much appreciated.

BTW, there still is something weird going on. I don't suppose you would have a USB meter to be able to see if you are getting the indicate current from the ports...?

For example with my iPad at 50% state-of-charge, and I plug into any port (2.0 or 3.0) that's directly on my motherboard, I get an indication in System Information that it's drawing 500mA:
View media item 189009However, my USB power meter shows it drawing 1A - which has to be true, because if it truly was only 500 mA, the iPad would indicate "Not Charging"

However, when plugged into my Front Panel USB ports (both are 2.0), I get in System Information:
View media item 189008which indicates it should be getting 2.1A, however the USB power meter still shows it drawing 1A.

As a final data point if I plug my iPad into the Apple iPad wall charger, the USB power meter reads 1.5A - which is what I would expect.

The front panel numbers makes some sense to me as this would be as if the power profiles loaded correctly, but the port cannot handle more than 1A of current, so it gives what it can.

However, all of the motherboard ports don't seem to be showing the correct power profile in System Information. Could this all just be that there is no EC on my mobo and it's being faked?

My ioreg is attached (with my iPad plugged into one of the motherboard ports). I'm using SMBIOS of iMac17,1 and used the power profile for that same system as in post #1.

Unless you're doing the same tests on a real Mac, I don't think you can understand the correct expectations.
 
Unless you're doing the same tests on a real Mac, I don't think you can understand the correct expectations.

Should have put that in ... when I plug iPad into my MacBook Pro, I get 1.5A indicated on the USB power meter.

View media item 189010
Which is what I expect. However, on my Hack, I see this same info in the System Information and only get 1A (which would make sense if it is a hardware limitation on the mobo)

The more interesting part for me is why do my mobo ports not show the correct power profile (i.e., they only show 500 mA available)
 
Should have put that in ... when I plug iPad into my MacBook Pro, I get 1.5A indicated on the USB power meter.

View media item 189010
Which is what I expect. However, on my Hack, I see this same info in the System Information and only get 1A (which would make sense if it is a hardware limitation on the mobo)

The more interesting part for me is why do my mobo ports not show the correct power profile (i.e., they only show 500 mA available)

If power property injects are the same, indicates a hardware limitation/setting.
 
Thanks RehabMan, great work! Ever since the release of Sierra my Intel USB 3.0 ports never charged my iPad. Wasn't really an issue for me but it was a nice thing to have. I use iMac 14,2 for my MSI H81M motherboard and adding SSDT-EC to the ACPI/patched folder worked.

Screen Shot 2017-06-05 at 4.32.28 PM.png


Interestingly enough, my USB 2.0 ports which are handled natively by macOS are now also able to charge the iPad. I never knew this was possible. Still using your GenericUSBXHCI kext for my VIA USB 3.0 ports which is still working to this day. Those ports can't charge the iPad though but I could care less if they did or not.
 
cant work my usb 3.0 on sierra on z97x-ud5 any simple method
 
Back
Top