USB and suspend. Will it still charge?

Carsten Haitzler (The Rasterman) raster at openmoko.org
Wed Apr 23 09:15:07 CEST 2008


On Wed, 23 Apr 2008 08:08:21 +0100 Andy Green <andy at openmoko.com> babbled:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Somebody in the thread at some point said:
> | On Tue, 22 Apr 2008 15:42:36 +0100 Andy Green <andy at openmoko.com> babbled:
> |
> |> -----BEGIN PGP SIGNED MESSAGE-----
> |> Hash: SHA1
> |>
> |> Somebody in the thread at some point said:
> |> | This afternoon I recognized my laptop throwing a note about "USB device
> |> | detached" when Freerunner goes suspend.
> |> | Raster knows, at least Windows definitely will power down the
> |> USB-connector
> |> | when it sees USB-disconnect.
> |> |
> |> | Maybe we should investigate this, and should clock down the CPU and
> |> shut off
> |> | LCM, but not go to suspend while charging.
> |> | I should mention I'm not even sure Freerunner did charge at all at this
> |> | moment, just in case this makes a difference.
> |>
> |> What's the actual concern there?  If it is to do with missing charging
> |> state change, the PMU throws an interrupt to the CPU on USB connector
> |> insertion and removal, AFAIK these will cause wake.
> |
> | concern is:
> |
> | we plug in, phone wakes. phone gets bored. phone goes to sleep. uspend
> happens.
> | pc detects device removal. pc powers down usb port. phone does not
> have power
> | from usb. no charging happens.
> 
> Normal PC doesn't "power down USB port" I think you'll find.  The port
> has to be powered to detect next device insertion.  You can confirm with
> one of these USB reading lamps for example that have no smarts inside.

what about being in 500ma mode? ie enough power to charge? windows i know will
not go above 100ma unless u have a driver for the device... or i'm pretty
sure... ?

> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkgO4GQACgkQOjLpvpq7dMpsYgCdER77Gh/yIyX9W3Zw6k5YE2v9
> DWgAn0slhKcsTvue/ztFAfFjMBseMY8n
> =VqC8
> -----END PGP SIGNATURE-----


-- 
Carsten Haitzler (The Rasterman) <raster at openmoko.org>




More information about the openmoko-kernel mailing list