Contribute
Register

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

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,623
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Ok, I understand. The iPhone is plugged into a hub then, I just wasn't sure if the UIAC configuration was correct since it showed "built in" under the iPhone item.
Is it possible to get the extra current through the hub? Or does it work only for ports directly connected to the bus?

To be certain of what is going on, attach ioreg with and without the phone attached.
 
Joined
Apr 14, 2013
Messages
86
Motherboard
Aorus Z370 Gaming 7
CPU
i7-8700K
Graphics
GTX 970
Mobile Phone
  1. iOS

Attachments

  • without phone.ioreg
    5.4 MB · Views: 84
  • with phone.ioreg
    5.4 MB · Views: 96

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,623
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
here you go.

In "without iphone.ioreg", is the hub at HS01/SS01 one you plugged in or one that is internal?
If it is external (eg. a device you plugged in), both HS01/SS01 should be marked internal (UsbConnector=255).
If it is internal, both HS01/SS01 should be marked external (UsbConnector=3).

For some reason, you have UsbConnector=255 for HS01, and UsbConnector=3 for SS01, which is wrong in either case.
Since those ports are likely related to the same physical connection, the UsbConnector values should match.
 
Joined
Apr 14, 2013
Messages
86
Motherboard
Aorus Z370 Gaming 7
CPU
i7-8700K
Graphics
GTX 970
Mobile Phone
  1. iOS
In "without iphone.ioreg", is the hub at HS01/SS01 one you plugged in or one that is internal?
If it is external (eg. a device you plugged in), both HS01/SS01 should be marked internal (UsbConnector=255).
If it is internal, both HS01/SS01 should be marked external (UsbConnector=3).

For some reason, you have UsbConnector=255 for HS01, and UsbConnector=3 for SS01, which is wrong in either case.
Since those ports are likely related to the same physical connection, the UsbConnector values should match.
It is an internal hub, here are the updated ioregs:
 

Attachments

  • without phone.ioreg
    5.4 MB · Views: 92
  • with phone.ioreg
    5.4 MB · Views: 92
Joined
Apr 14, 2013
Messages
86
Motherboard
Aorus Z370 Gaming 7
CPU
i7-8700K
Graphics
GTX 970
Mobile Phone
  1. iOS
This configuration of SS01/HS01 looks ok.
Great, thanks for your help. Is there a way to enable the extra current capabilities through the internal USB hub?
 

Attachments

  • debug_6988.zip
    3.3 MB · Views: 80

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,623
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Great, thanks for your help. Is there a way to enable the extra current capabilities through the internal USB hub?

This guide does not cover anything related to power properties for hubs.
You might use google.
 
Joined
Jul 18, 2018
Messages
34
Motherboard
DELL Precision 5520 - OpenCore
CPU
i5-7440HQ
Graphics
HD 630
You would need to attach full problem reporting files as requested in post #1.

Thank you very much for your reply, I thought you forgot this:thumbup:. The PR file has been uploaded.
 

Attachments

  • debug_21288.zip
    4.5 MB · Views: 82
Top