View Full Version : Suspending with ACPI, clash with nvidia.ko
caesius
December 8th, 2008, 21:01
acpiconf -s3 doesn't work when nvidia.ko is loaded, but I use kdm so Xorg is always running
I can't kldunload nvidia because it complains that nvidia.ko is busy.
How do I go about stopping X, then suspending? And then letting X start again when resumed?
kamikaze
December 9th, 2008, 12:34
You actually have to change /etc/ttys (deactivate kdm there). Then you run kill -HUP 1 to make the init process reread the file. Afterwards you can terminate X and it won't start up. If you want to start kdm again you have to change /etc/ttys back and run kill -HUP 1 again.
richardpl
December 9th, 2008, 12:35
Only way is to kill Xorg and then trying to kldunload nvidia.ko.
But it is waste of time, if you want to suspend with Xorg do not use nvidia blob.
caesius
December 10th, 2008, 03:36
You actually have to change /etc/ttys (deactivate kdm there). Then you run kill -HUP 1 to make the init process reread the file. Afterwards you can terminate X and it won't start up. If you want to start kdm again you have to change /etc/ttys back and run kill -HUP 1 again.
Yes, any way this could be "automated"?
Only way is to kill Xorg and then trying to kldunload nvidia.ko.
But it is waste of time, if you want to suspend with Xorg do not use nvidia blob.
It doesn't seem much of a solution, giving up a graphics driver so my computer can suspend...
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.