Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: [SOLVED] How to totally disable hibernate/suspend?

  1. #1
    Join Date
    Oct 2005
    Location
    Oklahoma, U.S.A.
    Beans
    43
    Distro
    Ubuntu 8.04 Hardy Heron

    Angry [SOLVED] How to totally disable hibernate/suspend?

    Hello all.

    I am running Hardy (latest with all updates) on a Dell Optiplex GX630.
    P4D 3.2GhZ, 4GB RAM, ATI Radeon x1950PRO 256MB, 80GB HDD.
    / = 10GB
    /home = 65GB
    /swap = 5GB

    After about 30 minutes of non-use, my system hibernates (or suspends). I am unable to wake it up. I must hard boot it.
    The same happens when I select Hibernate from the shut down menu.
    I have disabled Power Management in all places I know.
    System>Preferences>Power Management = Never.
    Boot Up Manager = powernowd.early, apmd, acpi-support, acpid, powernowd, and laptop-mode all disabled.
    No DPMS option in xorg.conf.

    My ACPI-SUPPORT file:

    Code:
    # Comment the next line to disable ACPI suspend to RAM
    #ACPI_SLEEP=true
    
    # Comment the next line to disable suspend to disk
    #ACPI_HIBERNATE=true
    
    # Change the following to "standby" to use ACPI S1 sleep, rather than S3.
    # This will save less power, but may work on more machines
    #ACPI_SLEEP_MODE=mem
    
    # Add modules to this list to have them removed before suspend and reloaded
    # on resume. An example would be MODULES="em8300 yenta_socket"
    #
    # Note that network cards and USB controllers will automatically be unloaded 
    # unless they're listed in MODULES_WHITELIST
    MODULES="ptyq4"
    
    # Add modules to this list to leave them in the kernel over suspend/resume
    MODULES_WHITELIST=""
    
    # Should we save and restore state using the VESA BIOS Extensions?
    SAVE_VBE_STATE=true
    
    # The file that we use to save the vbestate
    VBESTATE=/var/lib/acpi-support/vbestate
    
    # Should we attempt to warm-boot the video hardware on resume?
    POST_VIDEO=true
    
    # Save and restore video state?
    # SAVE_VIDEO_PCI_STATE=true
    
    # Should we switch the screen off with DPMS on suspend?
    #USE_DPMS=true
    
    # Use Radeontool to switch the screen off? Seems to be needed on some machines
    # RADEON_LIGHT=true
    
    # Uncomment the next line to switch away from X and back again after resume.
    # This is needed for some hardware, but should be unnecessary on most.
    # DOUBLE_CONSOLE_SWITCH=true
    
    # Set the following to "platform" if you want to use ACPI to shut down
    # your machine on hibernation
    HIBERNATE_MODE=shutdown
    
    # Comment this out to disable screen locking on resume
    LOCK_SCREEN=true
    
    # Uncomment this line to have DMA disabled before suspend and reenabled
    # afterwards
    # DISABLE_DMA=true
    
    # Uncomment this line to attempt to reset the drive on resume. This seems
    # to be needed for some Sonys
    # RESET_DRIVE=true
    
    # Add services to this list to stop them before suspend and restart them in 
    # the resume process.
    STOP_SERVICES=""
    
    # Restart Infra Red services on resume - off by default as it crashes some
    # machines
    RESTART_IRDA=false
    
    # Switch to laptop-mode on battery power - off by default as it causes odd
    # hangs on some machines
    ENABLE_LAPTOP_MODE=false
    
    # Spindown time on battery
    SPINDOWN_TIME=12
    So what am I missing? I am getting pretty desperate at this point, it is very annoying (and dangerous to my data).

    Thanks for the help!

  2. #2
    Join Date
    May 2007
    Location
    California, USA
    Beans
    245

    Re: How to totally disable hibernate/suspend?

    Your problem is very strange. However, if you want to totally disable these features, you can do the following:

    1) back up /usr/lib/hal/scripts/linux/hal-system-power-{suspend,hibernate}-linux

    2) Change the contents of those files to say:
    Code:
    #!/bin/sh
    
    :
    3) restart HAL

  3. #3
    Join Date
    Oct 2005
    Location
    Oklahoma, U.S.A.
    Beans
    43
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to totally disable hibernate/suspend?

    Quote Originally Posted by InfinityCircuit View Post
    Your problem is very strange. However, if you want to totally disable these features, you can do the following:

    1) back up /usr/lib/hal/scripts/linux/hal-system-power-{suspend,hibernate}-linux

    2) Change the contents of those files to say:
    Code:
    #!/bin/sh
    
    :
    3) restart HAL

    Thank you much, will give that a try and report back soon!

  4. #4
    Join Date
    Oct 2005
    Location
    Oklahoma, U.S.A.
    Beans
    43
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to totally disable hibernate/suspend?

    This did not work.

    Any other ideas?


    Thanks again.

  5. #5
    Join Date
    Jan 2008
    Location
    Bentonville AR
    Beans
    Hidden!
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: How to totally disable hibernate/suspend?

    Press Alt+F2 and type in gconf-editor and press Enter.
    Navigate to /apps/gnome-power-manager/general
    There, uncheck can_hibernate and can_suspend
    Close the editor window..
    Sayak Banerjee
    KDE Sysadmin | KDE e.V.
    Need help? Contact us.

  6. #6
    Join Date
    Oct 2005
    Location
    Oklahoma, U.S.A.
    Beans
    43
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to totally disable hibernate/suspend?

    Quote Originally Posted by LinuxIsInnovation View Post
    Press Alt+F2 and type in gconf-editor and press Enter.
    Navigate to /apps/gnome-power-manager/general
    There, uncheck can_hibernate and can_suspend
    Close the editor window..
    Thank you much, giving that a try now. Will report back.

  7. #7
    Join Date
    Oct 2005
    Location
    Oklahoma, U.S.A.
    Beans
    43
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to totally disable hibernate/suspend?

    argh. still no go.

    Any other ideas please? This is getting frustrating!

  8. #8
    Join Date
    Oct 2005
    Location
    Oklahoma, U.S.A.
    Beans
    43
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to totally disable hibernate/suspend?


  9. #9
    Join Date
    Oct 2005
    Location
    Oklahoma, U.S.A.
    Beans
    43
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to totally disable hibernate/suspend?

    Up again in desperation. help please!

  10. #10
    Join Date
    Oct 2005
    Location
    Oklahoma, U.S.A.
    Beans
    43
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to totally disable hibernate/suspend?

    bump for help

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •