enable_irq_wake() problems

Werner Almesberger werner at openmoko.org
Wed Aug 13 16:47:35 CEST 2008


Simon Kagstrom wrote:
> Looking at the schematics, I don't see where the second interrupt (pin 9
> on the accelerometer) goes. Is it connected at all?

We don't connect it, because we realized that all relevant conditions
can also be signaled with just one interrupt.

> Anyway, enable_irq_wake() on GTA02_IRQ_GSENSOR_2 for the second sensor
> does not work since s3c_irqext_wake does not allow this pin. I also
> tried to manually allow this, but while I get interrupts from the
> second sensor, it does not wake the device up.

EINT16 can't wake up the CPU (see page 7-17 and 7-20 of the 2442 manual).
So you can only use the first accelerometer to resume.

- Werner




More information about the openmoko-kernel mailing list