Contribute
Register

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

Test Feedback: I have run some tests to ascertain why my iPad only charges for about 5 minutes when connected to a USB2 port on my rig
after I implemented RehabMan's fantastic fake EC and USBX patch on my GA-Z170X-UD3 build. Please note I stumbled across this patch quite by accident earlier today.
For what it is worth here are my findings :
"Umbilical cording" :) my iPhone, via a USB2 port poses no charging problems whatsoever, even during periods of extended sleep.
It does not matter what settings are present in "Clover config.plist Devices USB". As a result I unticked everything in that area ie. inject, high power and fix ownership.
Now to my iPad:
This device only charges for a few minutes, after which it informs me, via it's charging status indicator, that it is - not charging - . It does not matter what settings are present in "Clover config.plist Devices USB" Consequently I left them ALL unticked as they do not seem to affect USB operation at all.
Then I tested my iPad on a USB3 port and voila, it worked.
Conclusion or findings:
USB2 ports are not capable to supply the power which is required by the iPad, with the iPad disconnecting itself automatically from a USB2 "power source"
The iPhone on the other hand is quite happy with the power - current - that is available on a USB2 port and charges merrily until the batteries are at full capacity.
When connecting the iPad to a native USB3 port it however charges without problems or interruptions.
In my opinion, that stands to reason as the specification for USB3 ports provide for higher power delivery compared to USB2 ports. Indeed the charger that was supplied with my iPhone is rated at 1 amp whereas for the iPad the charger is rated at 2.1 amps.
Hoping that this feedback will be useful for those struggling with this issue.
Thanks and appreciation go specifically to RehabMan for providing and documenting the solution to this problem in such a concise and detailed manner so that even I could implement the patches without wrecking my brain into extinction :)
I just wander what the size of the hackintosh "family" would have been had it not been for RehabMan's efforts and inputs over the years, his excellent technical inputs and patience with some users, are just admirable.
Cheers

Not true. USB 2.0 is capable of Charging a iPad but depending on if AAPL Values are injected and EC Controller is implemented. Charging a iPad on USB 2.0 on both of my Desktops works fine.
 
Not true. USB 2.0 is capable of Charging a iPad but depending on if AAPL Values are injected and EC Controller is implemented. Charging a iPad on USB 2.0 on both of my Desktops works fine.
I have implemented RehabMan's fake EC and USBX patch on my GA-Z170X-UD3 rig, because that is what I understood I needed to do to get charging working. I do not recollect that RehabMan mentioned anything about AAPL values for my specific mobo. Before I applied Rehabman's fake EC and USBX patches to my mobo, charging was not functioning at all, either from a USB2 or USB3 port, but now it does work with the limitation I elaborated on. So kindly please elaborate from your vantage point as to your statement regarding AAPL values. what they mean and what I need to do to implement them. Your input will be much appreciated.
 
I have implemented RehabMan's fake EC and USBX patch on my GA-Z170X-UD3 rig, because that is what I understood I needed to do to get charging working. I do not recollect that RehabMan mentioned anything about AAPL values for my specific mobo. Before I applied Rehabman's fake EC and USBX patches to my mobo, charging was not functioning at all, either from a USB2 or USB3 port, but now it does work with the limitation I elaborated on. So kindly please elaborate from your vantage point as to your statement regarding AAPL values. what they mean and what I need to do to implement them. Your input will be much appreciated.

Probably off topic but it might help to inject both AAPL Values and EC. Might be better to create a new thread.
 
Probably off topic but it might help to inject both AAPL Values and EC. Might be better to create a new thread.
I cannot see why this is off topic. It was your statement in this thread that I needed to inject AAPL values and whatever, to get iPad charging to work on a USB2 port on my mobo. So please elaborate as it seems not to be a requirement by RehabMan in post 1 of this thread to get charging fully working for my mobo. Opening a new thread seems, to me at least, to defeat the purpose of this thread, being to get charging to work universally for Sierra.
Waiting for your clarification, I am willing and capable to learn. More than a statement knocking my findings off, derived at through extensive testing, is actually now desired requested and required.
Kindly shed some light, in this thread, on AAPL values, as that seems to be required to make this thread usable for what it was originally intended. Thanks
 
I cannot see why this is off topic. It was your statement in this thread that I needed to inject AAPL values and whatever, to get iPad charging to work on a USB2 port on my mobo. So please elaborate as it seems not to be a requirement by RehabMan in post 1 of this thread to get charging fully working for my mobo. Opening a new thread seems, to me at least, to defeat the purpose of this thread, being to get charging to work universally for Sierra.
Waiting for your clarification, I am willing and capable to learn. More than a statement knocking my findings off, derived at through extensive testing, is actually now desired requested and required.
Kindly shed some light, in this thread, on AAPL values, as that seems to be required to make this thread usable for what it was originally intended. Thanks

If you noticed that the Power Properties are the same as the injected AAPL Values on EHCI Controllers. I found that without having AAPL Values injected on EH01, EH02 USB Charging is broken even with EC Controller implemented. Ive tested this on my Z77 Desktop and on my Intel DH67 Desktop but note that your hardware maybe different. From what I've seen Apple still injects AAPL Values. I was going to mention it to Rehabman but forget too.

Might not be the case why you can't charge but this is what i found on my Hardware.

Screen Shot 2017-06-26 at 20.24.15.png


IMG_0047.PNG


Screen Shot 2017-06-26 at 20.29.09.png

Screen Shot 2017-06-26 at 20.29.18.png
 
If you noticed that the Power Properties are the same as the injected AAPL Values on EHCI Controllers. I found that without having AAPL Values injected on EH01, EH02 USB Charging is broken even with EC Controller implemented. Ive tested this on my Z77 Desktop and on my Intel DH67 Desktop but note that your hardware maybe different. From what I've seen Apple still injects AAPL Values. I was going to mention it to Rehabman but forget too.

View attachment 263297

View attachment 263298

View attachment 263299
View attachment 263300
Thanks for your speedy response, the gist of which is most interesting. But please note that I implemented "fake EC" as suggested by RehabMan in post #1 of this thread, as my mobo does not have an EC Controller which you are referring to and which is required for your hardware. or so it seems. RehabMan was provided with "Problem Reporting" files for my rig and his response was, and I quote "Looks fine (implemented with fake EC and USBX)"
Over the years I have learned to appreciate the excellent and reliable engineering by RehabMan, including his detailed and comprehensive dissertation of all of his technical findings, investigations and discoveries. I would not be with my hackintoshing where I am at present without RehabMan's extensive endeavors over the years. I have learned that I can depend on what he recommends one should do to make ones hack working "better".
So if you feel that RehabMan omitted something to get my iPad charging working also on a USB2 port for my mobo, then I suggest that you clarify it with him. I am certain that he will not hesitate updating his #1 post of this thread accordingly, should he consider that to be appropriate. You have been active on this board for 4 years and accumulated an impressive number of almost 10,000 messages during this period. Great for you however it maybe noteworthy that I have only accumulated 95 messages over a 6 year period with my messages never assuming things which are not sustainable. You have sort of admitted, with this AAPL thing, and after far to many messages between us, that this AAPL thing might not in the end apply to my mobo. I wander how many hackers have been led up the garden path with that kind of statement of yours, for sure I was one of them, fortunately only for a short "moment" though. My involvement with Apple hardware dates back many decades, with me together with another member of my family, being responsible for producing assembler code converting an Apple 2e floppy drive from 180 kb capacity to double that ie. 360 kb. My engineering background dictates that before I make wild and confusing statements I need to get totally acquainted with the topic at hand. Something I believe was lacking in your initial response.
Hoping that you understand that I did not try to offend you but rather attempted to advise you to respond to messages in a more "measured" fashion.
Thank you for undestanding.
 
I have implemented RehabMan's fake EC and USBX patch on my GA-Z170X-UD3 rig, because that is what I understood I needed to do to get charging working. I do not recollect that RehabMan mentioned anything about AAPL values for my specific mobo. Before I applied Rehabman's fake EC and USBX patches to my mobo, charging was not functioning at all, either from a USB2 or USB3 port, but now it does work with the limitation I elaborated on. So kindly please elaborate from your vantage point as to your statement regarding AAPL values. what they mean and what I need to do to implement them. Your input will be much appreciated.

Apple still has the old (legacy) power properties injected (it is done in their firmware/ACPI).
Those properties still may have some use with the EHCI drivers.
 
Thanks for your speedy response, the gist of which is most interesting. But please note that I implemented "fake EC" as suggested by RehabMan in post #1 of this thread, as my mobo does not have an EC Controller which you are referring to and which is required for your hardware. or so it seems. RehabMan was provided with "Problem Reporting" files for my rig and his response was, and I quote "Looks fine (implemented with fake EC and USBX)"
Over the years I have learned to appreciate the excellent and reliable engineering by RehabMan, including his detailed and comprehensive dissertation of all of his technical findings, investigations and discoveries. I would not be with my hackintoshing where I am at present without RehabMan's extensive endeavors over the years. I have learned that I can depend on what he recommends one should do to make ones hack working "better".
So if you feel that RehabMan omitted something to get my iPad charging working also on a USB2 port for my mobo, then I suggest that you clarify it with him. I am certain that he will not hesitate updating his #1 post of this thread accordingly, should he consider that to be appropriate. You have been active on this board for 4 years and accumulated an impressive number of almost 10,000 messages during this period. Great for you however it maybe noteworthy that I have only accumulated 95 messages over a 6 year period with my messages never assuming things which are not sustainable. You have sort of admitted, with this AAPL thing, and after far to many messages between us, that this AAPL thing might not in the end apply to my mobo. I wander how many hackers have been led up the garden path with that kind of statement of yours, for sure I was one of them, fortunately only for a short "moment" though. My involvement with Apple hardware dates back many decades, with me together with another member of my family, being responsible for producing assembler code converting an Apple 2e floppy drive from 180 kb capacity to double that ie. 360 kb. My engineering background dictates that before I make wild and confusing statements I need to get totally acquainted with the topic at hand. Something I believe was lacking in your initial response.
Hoping that you understand that I did not try to offend you but rather attempted to advise you to respond to messages in a more "measured" fashion.
Thank you for undestanding.
Follow up:
Whilst my iPad goes to a "not charging" mode, after a while when it is connected to a USB2 port when Sierra is running, - and not sleeping - it indeed does charge the iPad via a USB2 port once Sierra has gone to sleep. Strange things happen in strange places :) My system USB report - attached - suggests that it may be quite normal behavior. Notice that the sleep current is 2.1 amp when Sierra is sleeping whereas when Sierra is running it is only 1.6 amps, at least this is how I interpret these system report values.
Some time ago I indeed noticed that my iPad air 2 will not charge should I inadvertently plug it into a 1 amp rated charger that shipped with my iPhone.
An hour ago, with my iPad battery charge level at just over 80% Sierra went to sleep, then when I woke Sierra the iPad was fully charged at 100%.
It appears to me that the iPad requires a constant current supply, capable of delivering at least 2 to 2.1 amps for successful charging and that my USB2 port only supplies that with Sierra sleeping. To me at least it makes sense because a 1 amp iPhone charger connected to the iPad will not charge the iPad at all, this also applies to my iPad1.
When the battery is fairly empty charging seems to work with the computer being awake and at the max USB2 current of 1.6 amps. Charging then stops when the battery voltage reaches a level that is attainable by the insufficient current from the USB2 port. Constant current/voltage equilibrium. Once Sierra sleeps the Usb2 port delivers the 2 amps that the iPad requires, therefore charging resumes until constant current/voltage equilibrium
is reached again with the higher charge current, which is the condition when the battery is full and being charged with rated current.
Will continue to monitor this and report back should the need arise.
Greetings
 

Attachments

  • USB2 Charging.jpeg
    USB2 Charging.jpeg
    33.1 KB · Views: 162
Last edited:
Apple still has the old (legacy) power properties injected (it is done in their firmware/ACPI).
Those properties still may have some use with the EHCI drivers.
Thanks RehabMan noted your comments will investigate later as it seems I do not actually have a problem :)
 
Follow up:
Whilst my iPad goes to a "not charging" mode, after a while when it is connected to a USB2 port when Sierra is running, - and not sleeping - it indeed does charge the iPad via a USB2 port once Sierra has gone to sleep. Strange things happen in strange places :) My system USB report - attached - suggests that it may be quite normal behavior. Notice that the sleep current is 2.1 amp when Sierra is sleeping whereas when Sierra is running it is only 1.6 amps, at least this is how I interpret these system report values.
Some time ago I indeed noticed that my iPad air 2 will not charge should I inadvertently plug it into a 1 amp rated charger that shipped with my iPhone.
An hour ago, with my iPad battery charge level at just over 80% Sierra went to sleep, then when I woke Sierra the iPad was fully charged at 100%.
It appears to me that the iPad requires a constant current supply, capable of delivering at least 2 to 2.1 amps for successful charging and that my USB2 port only supplies that with Sierra sleeping. To me at least it makes sense because a 1 amp iPhone charger connected to the iPad will not charge the iPad at all, this also applies to my iPad1.
When the battery is fairly empty charging seems to work with the computer being awake and at the max USB2 current of 1.6 amps. Charging then stops when the battery voltage reaches a level that is attainable by the insufficient current from the USB2 port. Constant current/voltage equilibrium. Once Sierra sleeps the Usb2 port delivers the 2 amps that the iPad requires, therefore charging resumes until constant current/voltage equilibrium
is reached again with the higher charge current, which is the condition when the battery is full and being charged with rated current.
Will continue to monitor this and report back should the need arise.
Greetings

I think you have a USB Problem.
 
Back
Top