neo1973kbd.c KEY_PAUSE

Mike (mwester) mwester at dls.net
Sat May 10 05:47:19 CEST 2008


Sean McNeil wrote:
> Looking at the code, it would appear that this (KEY_PAUSE) might be the 
> button on a headset when plugged into the jack. Is that correct?

Sounds right, but I'm not certain.

> I'm not 
> getting this event at all. Does the irq need to be enabled somehow? What 
> does enable_irq_wake() do? Is that to allow a particular irq to wake up 
> the processor when is suspend or does it mean the irq is make active?

enable_irq_wake() marks that particular IRQ as one that can wake the 
processor from suspend.  AFAIK it assumes that the IRQ is otherwise 
functional.

Mike (mwester)




More information about the openmoko-kernel mailing list