debianRecently 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
7. If you're using Compiz, do the following in the terminal:
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_pci
Change 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 Printer Friendly

Posted by tak, filed under linux. Date: November 8, 2008, 4:33 pm |

3 Responses

  1. Romario Says:

    Thank you very much.
    I had this problem with Atheros ethernet (ath_pci).
    Bye.

  2. Kenny Says:

    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

  3. HolmanDeidre Says:

    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.

Your input counts! Please make this site more interesting by leaving your comments, questions, blurb, etc. Thank you!

*
To prove you're a person (not a spam script), type the answer to the math equation shown in the picture. Click on the picture to hear an audio file of the equation.
Click to hear an audio file of the anti-spam equation

Your comment or question

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Please note: Comment moderation is enabled. However, unless you use foul language or include too many links, it should be not be put in the moderation queue.