wake on touchscreen activity?
Michael Trimarchi
trimarchi at gandalf.sssup.it
Wed Jul 15 21:57:51 CEST 2009
Hi,
Timo Juhani Lindfors wrote:
> Hi,
>
> I'd like my freerunner to wake on touchscreen activity. Should I just modify
>
> struct pcf50633_platform_data gta02_pcf_pdata = {
> .resumers = {
> [0] = PCF50633_INT1_USBINS |
> PCF50633_INT1_USBREM |
> PCF50633_INT1_ALARM,
> [1] = PCF50633_INT2_ONKEYF,
> [2] = PCF50633_INT3_ONKEY1S,
> [3] = PCF50633_INT4_LOWSYS |
> PCF50633_INT4_LOWBAT |
> PCF50633_INT4_HIGHTMP,
> },
>
>
> in arch/arm/mach-s3c2442/mach-gta02.c or is there some existing
> interface to configure such wakeup sources on-the-fly? My first guess
> is that I should add
>
> PCF50633_INT3_ADCRDY = 0x40, /* ADC conversion finished */
The resumers is only used when the device is suspended so I think that
you cannot change
online. But You can try it and give us some information how much often
the device wakeup
in the wakelock path.
Michael
>
> to that list.
>
> best regards,
> Timo Lindfors
>
>
>
More information about the openmoko-kernel
mailing list