Quote:
Originally Posted by twobob
unplug it. plug it back in instantly. mode will now show charging.
unsure why. that fixes it for that go-round.
foofy code
|
I was looking in the GPL code yesterday, and there is a bunch of complicated logic for enabling the "Apollo" device (USB charger) depending on USB insertion and removal events and USB device detection. There is even code for detecting whether an "official" or "third party" wall charger is plugged in. That code may require a USB insertion event to start charging while USB gadgets are in use.
If you want to see the source for your "foofy code", just look in the GPL source code from amazon. Search for "ACCESSORY". That code mentions controlling a voltage regulator and even specifying what voltage to set it to.