[CentOS] Disable hybernate/suspend in CentOS 7

Thu Oct 13 16:55:25 UTC 2016
Mike - st257 <silvertip257 at gmail.com>

On Thu, Oct 13, 2016 at 11:33 AM, Valeri Galtsev <galtsev at kicp.uchicago.edu>
wrote:

> Dear Experts,
>
> Could someone point me in the right direction: how can I disable
> hybernate/suspend in CentOS 7?
>
> I get workstations for graduate students with decent amount of RAM (32
> GB), and for machines with large RAM I either do not have swap at all of
> have some small (4 GB) swap. As I remember from older manuals, one has to
> have at least twice amount of swap compared to physical RAM for
> hybernate/suspend to work. This probably is what bit me: new Dells came
> with keyboard that has sleep button, when one hits that button the machine
> locks up. (it stays powered on, does not respond mouse, keyboard, does not
> respond ping).
>
> I would like to disable that sleep button on keyboard. (I'm kind of trying
> to avoid replacing keyboard with the ones that do not have "sleep" key).
>

Have you tried disabling power management via GRUB options?
http://askubuntu.com/a/130541


>
> Thanks a lot for all your help!
>
> Valeri
>
> ++++++++++++++++++++++++++++++++++++++++
> Valeri Galtsev
> Sr System Administrator
> Department of Astronomy and Astrophysics
> Kavli Institute for Cosmological Physics
> University of Chicago
> Phone: 773-702-4247
> ++++++++++++++++++++++++++++++++++++++++
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //