Friday, August 11, 2006

Working suspend the nvidia modules

Fedora Core 5
copied from http://forums.fedoraforum.org/forum/showthread.php?t=106444

1) Make backups of files we're going to edit and install pm-utils:
Code:

su -
yum install pm-utils
cp /etc/pm/functions-nvidia /etc/pm/functions-nvidia.backup
cp /boot/grub/grub.conf /etc/grub.conf.backup

Now, edit the /etc/pm/functions-nvidia and commend out this line:
Code:

/usr/sbin/vbetool post

in the resume_video() so that the line ends up looking like this:
Code:

### /usr/sbin/vbetool post

2) Next, we have to remove the built-in AGP support and use Nvidia's AGP driver. So, let's edit the /boot/grub/grub.conf, and add agp=off to the kernel line.
See a line like this:
Code:

kernel /vmlinuz-2.6.16-1.2096_FC5 ro root=LABEL=/ quiet

agp=off should be added to the end to look like:
Code:

kernel /vmlinuz-2.6.16-1.2096_FC5 ro root=LABEL=/ quiet agp=off

Your line may look a little different or the kernel version in the /vmlinuz-... path may not be the same. Please don't change that part, like last time this is just to show where to add the text.
3) Reboot, and you're good to go. Hitting the "suspend" button will put the computer into power-saving mode, and all your previous windows and applications will return to their previous state on resume.

Ubuntu
copied from http://parrenin.frederic.free.fr/DellLatitudeD800/linux-DellLatitudeD800.html
1)Change /etc/X11/xorg.conf from Driver "nv" to Driver "nvidia"
2)add Option "NvAGP" "1" in section "devide"
3)set POST_VIDEO to false in /etc/default/acpi-support

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home