This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Resume from suspend

Other Parts Discussed in Thread: TPS65950, OMAP3530, TPS65920

I am trying reducing power consumption on my board (OMAP3530 + TPS65950).
Linux version is PSP 03.01.00.06.

The power sonsumption is able to be reduced after suspending by following command.

 echo mem > /sys/power/state

But I cannot make system resume from suspend, even if cursor buttons connected directly with GPIO of OMAP is pushed.

Power state of the peripheral power domain including GPIO keeps ON state while suspend.

On the other hand, the resume can be done correctly by pushing buttons connected with the KPD of TPS65920.

To be able to resume from GPIO of OMAP, is there anything necessary for instance configuration or patch?

Regards,
Masaki Nose

  • I found there is a problem in wakeup of GPIO originally in the following site (clause Known Problems).

     http://elinux.org/OMAP_Power_Management

    It is written that it is possible to solve the problem by executing following commands in the site.

     <=2.6.36 kernel
     # echo enabled > /sys/devices/platform/serial8250.3/tty/ttyS3/power/wakeup
     >=2.6.37-rc1 kernel (please verify and edit - the quad uart port still uses 8250 driver, while omap uses ttyO (omap-serial driver) )
     # echo enabled > /sys/devices/platform/serial8250.0/tty/ttyS0/power/wakeup

    However, my Linux doesn't have a directry of serial8250.3.

    There was no effect in serial8250.0, serial8250.1 and serial8250.2.

    My Linux kernel version is 2.6.35.

    Is there any method of the above-mentioned command's substituting?

    Regards,
    Masaki Nose