[RFC, PATCH 0/4]: Configuring accelerometer wakeups

Andy Green andy at openmoko.com
Mon Aug 11 17:00:43 CEST 2008


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

Somebody in the thread at some point said:
| On Mon, 11 Aug 2008 11:40:52 +0200
| Simon Kagstrom <simon.kagstrom at gmail.com> wrote:
|
|> I get the interrupts when having the device in non-suspended mode
|> (there is a printout in the interrupt handler), but when suspending
|> the device with apm -s, I don't seem to get it anymore.
|
| OK, some further probing made me find enable_irq_wake(), which makes
| the device wake up on this interrupt. The only problem now is instead
| that this interrupt:
|
|>    GSTATUS4 0x00000200
|>    Interrupt 20
|>    gta02_udc_command(1)
|
| During suspending is triggered and the device therefore resumes
| directly. Well, well, at least I have something else to look at now :-)

Simon I saw these patches thismorning but the way things are headed I
don't get to try them until late tonight or tomorrow.

But the interrupt stuff you mention looks unrelated... 0x200 in GSTATUS4
is EIN9 -> PMU interrupt?  UDC commands come from host PC enumeration
action.

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

iEYEARECAAYFAkigVBsACgkQOjLpvpq7dMrqKACfRPEsOEqnPHCY69Z9wz/F67Zr
OjQAn0Wx1kpm7HsnldWw6AORTtyve6Se
=Onzi
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list