USB and suspend. Will it still charge?

Andy Green andy at openmoko.com
Wed Apr 23 09:08:21 CEST 2008


-----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.

- -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-----




More information about the openmoko-kernel mailing list