ac power_supply changed to adapter

Sean McNeil sean at
Mon Dec 1 11:45:15 CET 2008

Andy Green wrote:
> Hash: SHA1
> Somebody in the thread at some point said:
> | Is there a specific reason for this? I chose ac initially because that
> | is what Android expects. I can abstract it out if adapter is thought to
> | be a better choice.
> Balaji can tell for sure but I think this may be confusion at one end or
> the other (maybe my end :-) ).  pcf50633 supports an "adapter" path that
> we don't use on GTA02, but Balaji has exposed it since it's meant to be
> generic solution for that device now.
> I assume what you had as "ac" was the 1A charger coming in through USB?

Oh, right. So the adapter power_supply is something completely 
different? Isn't there a way to tell between usb and ac charger? Like 
check the current?

More information about the openmoko-kernel mailing list