The bios is set to use si and s3, and suspend/hibernate works flawlessly in XP. Here is my hal-system-power-suspend before the modifications (I bolded where there might be a problem?). Ditto all the way back to Dapper and Edgy. I tried this on my Feisty and Gutsy installs with same results. If I do a ctrl-alt F1 then a ctrl-alt-del, the computer obviously goes through a proper shutdown script and no harm is done on reboot. and it goes back to blank when I stop moving the mouse. and I get just flickering (still mostly black with random horizontal bands) when I do this.
well, there is no screen until I wiggle the mouse. s2disk -force makes the computer suspend, but on waking. I tried to follow this thread but I have still problems. Sudo dpkg-divert -rename -divert /usr/sbin/pmi-disabled /usr/sbin/pmiĪnd now both hibernate and suspend work. not just the files had to be owned by the root, but I had to do a: chmod 755 on the files so as to have the same kind of permissions (-rwxr-xr-x). Paul :~$ cat /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux Paul :~$ cat /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux rw-r-r- 1 root root 4092 09:15 hal-system-power-suspend-linux.bak rwxr-xr-x 1 root root 112 20:57 hal-system-power-suspend-linux rwxr-xr-x 1 root root 335 03:29 hal-system-power-shutdown-linux rwxr-xr-x 1 root root 897 03:29 hal-system-power-set-power-save-linux rwxr-xr-x 1 root root 333 03:29 hal-system-power-reboot-linux rw-r-r- 1 root root 3124 09:16 hal-system-power-hibernate-linux.bak rwxr-xr-x 1 root root 78 20:57 hal-system-power-hibernate-linux rwxr-xr-x 1 root root 2447 03:29 hal-system-lcd-set-brightness-linux rwxr-xr-x 1 root root 2393 03:29 hal-system-lcd-get-brightness-linux rwxr-xr-x 1 root root 2121 03:29 hal-system-killswitch-set-power-linux rwxr-xr-x 1 root root 1965 03:29 hal-system-killswitch-get-power-linux rwxr-xr-x 1 root root 813 03:29 hal-luks-teardown-linux rwxr-xr-x 1 root root 1093 03:29 hal-luks-setup-linux rwxr-xr-x 1 root root 1283 03:29 hal-luks-remove-linux Paul :~$ ls -la /usr/lib/hal/scripts/linux/
Open a terminal and check with these commands (see how you compare to mine): which means the original scripts are still running when you use the menus to hibernate / suspend. It sounds like you didn't correctly move the original files and create the new ones. I've got the problem of the white screen after either suspending or hibernate I don't know why it works when I type on terminal Include the necessary parts on your initramfs. The -initrd option and you use mkinitramfs-tools, this package should If you use an debian kernel package which was made with You will need to set up an initramfs which calls the resume program for You still have the system state saved to disk and can resume without This has the advantage that resume will be faster, with the dis‐Īdvantage that you still use batteries.
S2both will do precisly the same as s2disk except that it will not pow‐Įr off the system, but will suspend it to ram (put the system in S3 Save the PCI config space of the VGA card before suspend and re‐Īlso, it is recommended to use s2both instead of s2ram in case the system loses power. Set the acpi_sleep parameter before suspend. Turn off the backlight on radeons before suspending. Save VBE state before suspending and restore after resume. Prints a string that identifies the machine.įorce suspending, even on unknown machines. If you have errors there are a bunch of settings to mess around with: If this breaks stuff, just restore the backup files you made. Sudo gedit /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux Sudo gedit /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux
Now, edit these two files and replace all the code with this: Sudo cp /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux.bak Sudo cp /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux.bak If someone running Edgy could tell me what the files names are I will add it here. Note: This part is for FEISTY AND GUTSY ONLY!!! The scripts in Edgy are stored in "/usr/share/hal/scripts" and have different names AFAIK. Now, if one or both of these commands work and you would like to use them, we need to change the command on the shutdown menu to this. Now, test out suspend to see if it works: If the normal suspend and hibernate buttons don't work, you can try this little hack.