Recently I decided to switch to Debian from Ubuntu mainly because I felt that Ubuntu is getting slow. Of course the obvious disadvantage is that there will be things that won't work out-of-the-box. One of the items on the menu to be tweaked and hacked is suspend and hibernate. Now I really don't use hibernation, but just suspension. So what I've shown you here may work for hibernating. I just don't know b/c I'm too lazy to test it. Sorry.I heavily consulted this tutorial and this advice given on the Debian forum.
1. In a terminal, type su and then enter your root password.
2. Type gedit /etc/X11/xorg.conf
3. Add the following under the “Device” section:
Option “NvAGP” “1″
Then save and close.4. Type gedit /etc/modprobe.d/blacklist
5. Add the following, save, and close:
blacklist intel_agp
blacklist agpgart
6. Type gedit /etc/default/acpi-support
7. Change the following values to be as shown, save, and exit.
- ACPI_SLEEP=true
- ACPI_HIBERNATE=true
- SAVE_VBE_STATE=false
- POST_VIDEO=false
- SAVE_VIDEO_PCI_STATE=true
gconftool –set /apps/compiz/general/screen0/options/sync_to_vblank 0 –type bool
8. Type gedit /etc/pm/config.d/suspend
9. To be able to reload the wireless driver, add the following, save, and exit.
SUSPEND_MODULES=ath_pciChange the part "ath_pci" to whatever wireless driver you are using. I have an Atheros AR5212 wireless card and by default, Lenny uses ath5k driver. I downloaded the madwifi driver and followed this instruction, and then blacklisted ath5k in the /etc/modprobe.d/blacklist file. The ath5k driver seemed to be slower and unreliable for some reason.
Hope this helps somebody. It certainly helps me to have this written for my future reference
Printer Friendly
July 20th, 2009 at 1:33 am
Thank you very much.
I had this problem with Atheros ethernet (ath_pci).
Bye.
May 30th, 2010 at 12:15 pm
Thank you!
This was useful for me when I installed Ubuntu 10.04 LTS. Didn’t have to do item 7, but instead did not get it working using compiz, so I installed all packages with compiz in them. (Of ocurse, could also simply disable desktop effects.)
My wireless card is a Dell TrueMobile 1150 (orinoco_cs driver). To get it working, see: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/498336/comments/93
July 11th, 2010 at 10:27 pm
I guess that to get the loans from banks you should have a great motivation. But, once I’ve got a small business loan, because I wanted to buy a car.