Problems with suspend
O. Sinclair
o.sinclair at gmail.com
Tue Aug 7 06:34:03 UTC 2007
Dotan Cohen wrote:
> On 06/08/07, Paul S <paulatgm at gmail.com> wrote:
>> Dotan Cohen said the following on 08/05/2007 06:58 PM:
>>
>>> before the machine powers down. How do I disable the KDE lock screen?
>> Right click on the power manager in the panel, and select restore. Then
>> uncheck the box for lock screen on resume. Also, if things seem frozen
>> after a resume, you can also try hitting Alt-SysRq-K, which is a kernel
>> system kill signal. It kind of replaces Cntl-Alt-Backspace, when that
>> doesn't work. On my system, it will cycle me back to the login window.
>>
>> HTH
>
> Thanks. I found that with KPowersave instead of Klaptop I can disable
> the lock screen. However, this did not resolve my issue. The screen
> stays black (lit, but black) when I resume. What else can I check?
>
> What is the SysRq key?
>
> Also, although hibernation works properly, it is way to slow for my
> constantly moving workflow, thus I need suspend.
>
I found this at ubuntuforums and since I did these changes it has worked
near perfect for me. I do always quit/close Kontact/Kmail though before
I suspend/hibernate as a couple of times files have got locked up.
code follows:
getting suspend to work
root edit /etc/default/acpi-support
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=""
# Add modules to this list to leave them in the kernel over suspend/resume
MODULES_WHITELIST="fglrx"
# Should we save and restore state using the VESA BIOS Extensions?
SAVE_VBE_STATE=false
# 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=false
# 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="mysql "
# 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
More information about the kubuntu-users
mailing list