public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Success with kernel-swsusp and Nvidia-closed-source
@ 2004-11-03 11:25 liste-9nAOAgdJVo4b1SvskN2V4Q
       [not found] ` <Pine.LNX.4.60.0411031215260.1187-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: liste-9nAOAgdJVo4b1SvskN2V4Q @ 2004-11-03 11:25 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1228 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Salut Folks,
just had a bit of spare time to re-iterate the test, if my Acer TM634 
(with it's Nvidia 2 Go) would now be ready for suspend-to-disk.

Since some time ago, it is no problem to suspend to disk, if using the 
open-source (i.e. nv) driver for X. As it has problems with perfomance, 
e.g. DVD-playback is so slow, that the audio stops playing... I need to 
use the closed source driver.
With plain Linux 2.6.9 it nearly worked. It reported:
Could not suspend device 0000:01:00.0: error -1

After a quick search on Nvidia's forums I steped over Haggis dirty hack 
for the NVIDIA-Linux-x86-1.0-6111-pkg1. I attached this. Now suspending to 
disk works relyably for me.

Cheers
   hartwig felger

Hartwig Felger informatics
P.S.: with mplayer I use the gl2 device with the nvidia-driver.
- -- 
1024D/339FD693 Hartwig Felger <hgfelger-9nAOAgdJVo4b1SvskN2V4Q@public.gmane.org>
Key fingerprint = FB2F 3EE9 345A D55B 6FF2  0EC1 F5B0 684F 339F D693
For the pulic keys, please visit my page.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFBiMBD9bBoTzOf1pMRAj1cAKDjGomgzQFyoxXBQ+lhQODItBRdTwCg0s6R
tQp8JIj4hrb+4Wn8Sr2HAjE=
=/olf
-----END PGP SIGNATURE-----

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1678 bytes --]

--- NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c.ori	2004-11-02 21:03:38.000000000 +0100
+++ NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c	2004-11-02 21:03:38.000000000 +0100
@@ -19,6 +19,9 @@
 MODULE_ALIAS_CHARDEV_MAJOR(NV_MAJOR_DEVICE_NUMBER);
 #endif
 
+/* fix for 2.6.9-rc# kernels where __VMALLOC_RESERVE is not exported */
+#define __VMALLOC_RESERVE (128 << 20)
+
 /*
  * our global state; one per device
  */
@@ -3694,19 +3697,24 @@
 
     switch (state)
     {
-        case PM_SAVE_STATE:
-            nv_printf(NV_DBG_INFO, "NVRM: ACPI: received standby event\n");
+      //        case PM_SAVE_STATE:
+      //            nv_printf(NV_DBG_INFO, "NVRM: ACPI: received standby event\n");
+        case NV_PM_ACPI_STANDBY:
+            nv_printf(NV_DBG_INFO, "NVRM: ACPI: received standby event: %d\n", state);
             status = rm_power_management(nv, 0, NV_PM_ACPI_STANDBY);
             break;
 
-        case PM_RESUME:
-            nv_printf(NV_DBG_INFO, "NVRM: ACPI: received resume event\n");
+	    //        case PM_RESUME:
+	    //           nv_printf(NV_DBG_INFO, "NVRM: ACPI: received resume event\n");
+
+     default:
+        nv_printf(NV_DBG_INFO, "NVRM: ACPI: received resume event: %d\n", state);
             status = rm_power_management(nv, 0, NV_PM_ACPI_RESUME);
             break;
 
-        default:
-            nv_printf(NV_DBG_WARNINGS, "NVRM: ACPI: unsupported event: %d\n", state);
-            return -1;
+	    //        default:
+	    //            nv_printf(NV_DBG_WARNINGS, "NVRM: ACPI: unsupported event: %d\n", state);
+	    //            return -1;
     }
 
     if (status != RM_OK)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-11-15 22:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-03 11:25 Success with kernel-swsusp and Nvidia-closed-source liste-9nAOAgdJVo4b1SvskN2V4Q
     [not found] ` <Pine.LNX.4.60.0411031215260.1187-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
2004-11-03 18:58   ` Christian Hesse
     [not found]     ` <200411031958.47910.christian.hesse-5lmcC6f56PSELgA04lAiVw@public.gmane.org>
2004-11-03 22:29       ` liste-9nAOAgdJVo4b1SvskN2V4Q
     [not found]         ` <Pine.LNX.4.60.0411032322410.4984-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
2004-11-04  2:11           ` Nigel Cunningham
     [not found]             ` <1099534267.3991.52.camel-r49W/1Cwd2ff0s6lnCXPXw0QcLn3kwYh@public.gmane.org>
2004-11-04 11:59               ` liste-9nAOAgdJVo4b1SvskN2V4Q
     [not found]                 ` <Pine.LNX.4.60.0411041242210.1565-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
2004-11-04 13:03                   ` Christian Hesse
2004-11-04 16:36                   ` liste-9nAOAgdJVo4b1SvskN2V4Q
     [not found]                     ` <Pine.LNX.4.60.0411041729180.4727-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
2004-11-04 17:12                       ` Christian Hesse
     [not found]                         ` <200411041812.54813.christian.hesse-5lmcC6f56PSELgA04lAiVw@public.gmane.org>
2004-11-07 19:52                           ` Christian Hesse
     [not found]                             ` <200411072052.53065.mail-8oMOrB1mGocUSW6y5lq3GQ@public.gmane.org>
2004-11-08 15:47                               ` liste-9nAOAgdJVo4b1SvskN2V4Q
     [not found]                                 ` <Pine.LNX.4.60.0411081640410.4713-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
2004-11-08 16:45                                   ` Karol Kozimor
2004-11-06 22:17                       ` liste-9nAOAgdJVo4b1SvskN2V4Q
     [not found]                         ` <Pine.LNX.4.60.0411062301590.5414-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
2004-11-15 22:10                           ` liste-9nAOAgdJVo4b1SvskN2V4Q
2004-11-04  8:54           ` Christian Hesse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox