do not suspend/sleep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all.

I usually run my systems (laptops) so that they will suspend to RAM
after 30 or 60 minutes of no use (no input), but when I am building
e.g. 3 kernels, that will take more than 30 minutes and I don't want
the system to suspend during that time.

I was wondering what options are available to prevent entering suspend.
I am willing to manually enter a command to make that happen if one
is available.

I was considering a way to generate a fake kbd or mouse input every
M (e.g. 29) minutes.
If that is feasible, what would someone suggest to use here?
(I can script the "wait M minutes" part :) Just need the "how to
inject a keystroke or mouse input" part.)

My first idea was some way to prevent suspend/sleep if the system load
level is > N (e.g. 4 -- user input), but I don't know where to do that.

thanks for any suggestions.

-- 
~Randy




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux