Comment 3 for bug 863314

Revision history for this message
Ming Lei (tom-leiming) wrote : Re: [Bug 863314] Re: Panda hangs in suspend

Hi,

In theory, we can enable remote wakeup on many remote-wakeup
capable devices, then system sleep may be brought out by these
devices.

I have not tried Oneiric kernel recently on Panda, but on mainline kernel
plus some TI's patch I can wakeup panda in system sleep by ttyO2
(uart3 per OMAP4 manual).

You can find the devices with remote capability by below:

           find /sys/devices/platform/ -name wakeup

Just this command can enable remote wakeup(take uart.2 for example):

    echo enabled >/sys/devices/platform/omap/omap_uart.2/power/wakeup

In fact, panda may support wakeup from 'user button'(gpio 121), but
it doesn't work now. Also, ehci/ohci ports should be as remote wakeup
source too, and TI guys are working on it.

So we don't need to disable system sleep now.

thanks,
--
Ming Lei