[PATCH] add-resume-reason-sysfs.patch

Andy Green andy at openmoko.com
Mon May 19 09:07:49 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Hi Andy.
|
| Being able to know the cause of a wakeup sounds really useful!
|
| Are the codes you're reporting described more fully somewhere? I'd have
| no idea what "second" means, for example.

The lower case ones under PMU are PMU interrupt sources that are
"hidden" inside a single interrupt pin that reaches the CPU from the
PMU, they're documented in the pcf50633 datasheet you can hopefully
still get from here:

http://wiki.openmoko.org/wiki/Neo_FreeRunner_GTA02_Hardware

Only a very few of those are enabled for wake when
fix-reduce-wake-reasons-in-pcf50633.patch goes in stable:

~ - USB insertion
~ - USB removal
~ - RTC Alarm
~ - Power key pressed
~ - Power key pressed for 1s  (hm oh well)

"second" is a 1s heartbeat interrupt you can enable, but it isn't used
for wake.  I listed everything in case things accidentally get enabled
for wake in the future.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkgxJ0UACgkQOjLpvpq7dMqjnACfcA0a1TAwlHlj/Z/6qjFuzmtb
9lMAnRZaP6NRoJFcGGnzy03zpVl7nAQT
=BmLk
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list