Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67574 - Patch for nvidia-kernel to make it suspend
Summary: Patch for nvidia-kernel to make it suspend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-14 12:23 UTC by Daniel Gryniewicz (RETIRED)
Modified: 2004-11-09 17:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to make nvidia driver suspend (nvidia-suspend-dfg.patch,423 bytes, patch)
2004-10-14 12:24 UTC, Daniel Gryniewicz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Gryniewicz (RETIRED) gentoo-dev 2004-10-14 12:23:08 UTC
On 2.6.9-rc*, the nvidia kernel module fails to suspend with an error of unknown state 3.  Looking at the code, it appears that it's a victim of the changes in the power core in 2.6.9, and what it really wants to do is always suspend when called by the suspend callback.  The attached patch makes this happen, and works on my Dell Inspiron 8600 for suspend-to-RAM (S3).  I have not yet checked that this works for swsusp, becasue I prefer S3.

Reproducible: Always
Steps to Reproduce:
1. Suspend to RAM or swsuspend.

Actual Results:  
Suspend failed with an error in the nvidia driver of unknown state.
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2004-10-14 12:24:05 UTC
Created attachment 41818 [details, diff]
Patch to make nvidia driver suspend
Comment 2 Andrew Bevitt 2004-11-09 17:40:56 UTC
Fixed. Thanks.