lkml.org 
[lkml]   [2008]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.


On Thu, 21 Feb 2008, Jeff Chua wrote:
>
> After inserting "return 0;" right at the top of those two functions, suspend
> (and power-off properly), and resume (without green screen) works just fine.
>
> I would like to know what they're for.

Try suspend-and-resume without X.

Also, try it on one of the more modern laptops - even *with* X.

Basically, the kernel wants to be able to do what X does, because it means
that when it works, it works _so_ much better than doing it in X. So
getting it working is definitely worth it.

That said, before you do anything else, try if suspend-to-RAM works.

That's the primary goal for this code anyway, and if it works that gives a
good hint. Suspend-to-disk is fundamentally different, and it's entirely
possible that for the suspend-to-disk case we should just say "screw
trying to suspend/resume graphics", since you'll have the BIOS resuming
text-mode anyway, and there are no performance or debugging advantages.

Linus


\
 
 \ /
  Last update: 2008-02-20 18:33    [W:0.175 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site