Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-16-05, 09:32 AM   #13
fm2503
Registered User
 
Join Date: Aug 2005
Posts: 7
Default Re: Suspend and 2.6.14

Seems like changing the value in the kernel source tree will confuse every driver that has been updated and break stuff.

Any news on when an updated Nvidia driver will be available to address this issue?

Cheers,

Matt
fm2503 is offline   Reply With Quote
Old 11-16-05, 11:06 AM   #14
Ferenc Szalma
Registered User
 
Join Date: Nov 2005
Posts: 4
Default Re: Suspend and 2.6.14

Quote:
Originally Posted by rbirdman
Try setting NvAGP=1.

http://members.westnet.com.au/rbirdman/suspend.html

I found a link that explained it better but lost it.
I set NvAGP=1. Still the same behavior. Checked out the website you suggested, tried removing modules. Nothing has helped yet.

Any more hints?
Ferenc Szalma is offline   Reply With Quote
Old 11-17-05, 05:27 AM   #15
rbirdman
Registered User
 
Join Date: Sep 2004
Posts: 44
Default Re: Suspend and 2.6.14

Quote:
Originally Posted by Ferenc Szalma
I set NvAGP=1. Still the same behavior. Checked out the website you suggested, tried removing modules. Nothing has helped yet.

Any more hints?
Sorry no but I remembered I put a link to that site in my page. Maybe it has something.
rbirdman is offline   Reply With Quote
Old 11-17-05, 05:32 AM   #16
rbirdman
Registered User
 
Join Date: Sep 2004
Posts: 44
Default Re: Suspend and 2.6.14

Quote:
Originally Posted by bigsur2k4
I've tried it out a few minutes ago and it worked for me :-)

I editet /usr/src/linux/include/linux/pm.h on Line 214 and changed "#define PM_EVENT_SUSPEND 2" to "#define PM_EVENT_SUSPEND 3".
Yes, worked a treat. Suspend seems as good as ever. I changed that line and recompiled from Fedora src and good as gold.
Quote:
Originally Posted by bigsur2k4
Thank you so much for your hint, Zander!!!
Yes. Thanks a lot.
rbirdman is offline   Reply With Quote
Old 11-17-05, 07:47 AM   #17
mini
Registered User
 
Join Date: Jul 2004
Posts: 19
Unhappy Re: Suspend and 2.6.14

Well, I've modified nv.c, and it suspends fine now, bu I've not gotten resume to work. The display is black but the system is alive, I can do the "blind reboot" dance.

I have a GeForce4 440 Go on a DELL Inspiron 8200.
It worked with 2.6.11 and 2.6.12m but not 2.6.14.

I also tried using vbetool. It manages to get the display back on the console! And I can type normally etc. But when switching back to X, the display goes first black then white (looks burned out)....

Oh well, the ACPI suspend saga continues

/Mikael
mini is offline   Reply With Quote
Old 11-18-05, 11:57 PM   #18
Ferenc Szalma
Registered User
 
Join Date: Nov 2005
Posts: 4
Default Re: Suspend and 2.6.14

Quote:
Originally Posted by zander
Recent Linux 2.6 kernels send PM_EVENT_* messages; PM_EVENT_ON and PM_EVENT_SUSPEND used to match PM_SUSPEND_ON and PM_SUSPEND_MEM, but in Linux 2.6.14, PM_EVENT_SUSPEND is #define'd to 2, hence the failure.
Thanks a lot, Zander. The 2 -> 3 change in the /usr/src/linux/include/linux/pm.h has helped. It works great now.
Ferenc Szalma is offline   Reply With Quote
Old 11-20-05, 02:06 PM   #19
bopbaul
Registered User
 
Join Date: Nov 2005
Posts: 4
Default Re: Suspend and 2.6.14

Quote:
Originally Posted by fm2503
Seems like changing the value in the kernel source tree will confuse every driver that has been updated and break stuff.
Probably, and that's why nVidia has to update their driver. In the mean time I'm going to use the above solution (make a copy of my current kernel sources folder and update the /usr/src/linux simlink) provided it doesn't break anything else. If it does or if the nVidia driver get's updated I'll just point the symlink back at my lod sources folder.

Great tip Bigsur!
bopbaul is offline   Reply With Quote
Old 11-21-05, 12:02 PM   #20
masc
Registered User
 
Join Date: Nov 2005
Posts: 2
Default Re: Suspend and 2.6.14

Quote:
Originally Posted by Ferenc Szalma
Thanks a lot, Zander. The 2 -> 3 change in the /usr/src/linux/include/linux/pm.h has helped. It works great now.
yes, it works for S3 standby (resume still doesn't work for me), but not for suspend to disk S4. is there another workaround for it?

bye...masc.
masc is offline   Reply With Quote

Old 11-26-05, 11:46 AM   #21
masc
Registered User
 
Join Date: Nov 2005
Posts: 2
Default Re: Suspend and 2.6.14

i got it working with the patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339329 which patches the nv kernel driver instead of the includes.

thanx for help ...ähäm

bye.masc.
masc is offline   Reply With Quote
Old 11-29-05, 04:13 AM   #22
fm2503
Registered User
 
Join Date: Aug 2005
Posts: 7
Default Re: Suspend and 2.6.14

Quote:
Originally Posted by masc
i got it working with the patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339329 which patches the nv kernel driver instead of the includes.

thanx for help ...ähäm

bye.masc.
I've tried this approach in addition to patching the kernel sources and both work, but patching the nvidia driver feels much more "right".

Cheers,

Matt
fm2503 is offline   Reply With Quote
Old 12-10-05, 01:06 PM   #23
GGtheMaD
Registered User
 
Join Date: Jun 2004
Location: North Italy (near Maggiore Lake)
Posts: 12
Default Re: Suspend and 2.6.14

With this patch for nvidia driver (not for kernel) I use suspend to RAM and suspend to disk with kernel before 2.6.13 and after.
This resolves the problem that describes this topic, but I have other problems with last nvidia drivers, after 1.0-7174 (console screen corrupted after supend and not switch on the screen after DPMS screen switch off), therefore I use the driver 1.0-7174, but with the same patch (version for this driver, but the same code).

My computer is Toshiba M30-801, Go 5200, Slackware 10.2 and kernel 2.6.14.3.

PS: excuse me for my poor English...
Attached Files
File Type: txt patch-1.0-8174-kernel-2_6-new-acpi.diff.txt (1.4 KB, 352 views)
GGtheMaD is offline   Reply With Quote
Old 12-10-05, 01:21 PM   #24
GGtheMaD
Registered User
 
Join Date: Jun 2004
Location: North Italy (near Maggiore Lake)
Posts: 12
Default Re: Suspend and 2.6.14

PS: I've tested this patch with kernels 2.6.14.3 and 2.6.12.6. I've used existing patches and I've added some preprocessor instructions for select the code for the appropriate kernel version, I've not tested with the "--kernel-name" option, but only with the kernel loaded.
GGtheMaD is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:47 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.