Contribute
Register

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

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.
 

Attachments

  • without phone.ioreg
    5.4 MB · Views: 110
  • with phone.ioreg
    5.4 MB · Views: 109
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.
 
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: 110
  • with phone.ioreg
    5.4 MB · Views: 116
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: 93
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.
 
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: 114
Back
Top