Hi!

> s2ram -f -p
>       SUCCESS!  POSTing the video bios after resume is what's needed
>       for this laptop.
> 
>       On the console, nothing works quite right. After a
>       suspend/resume with no framebuffer (booted with vga=0), The
>       console is OK, but it's shrunk to a quarter-size rectangle in
>       the middle of the screen. Before suspend, it was a normal vga
>       console filling the whole screen.

>       With framebuffer, the result is the same: a small vga console in
>       the middle of the screen (no fb after resume). Only now, the
>       contents of the console is just random green and pink character
>       cells. The system is functional, though.
> 
>       Further investigation shows that it works within X, whether or
>       not the boot console is using framebuffer. I'm not unloading any
>       modules, or doing anything other than running "s2ram -f -p".
>       After resume into X with a framebuffer console, the console VTs
>       are messed up, but differently than if suspend/resume is done on
>       an fb console.

I am not sure if this qualifies... Stefan? It is true that most people
do use X...

> So all that leads me to this patch:
> 
> diff -ur suspend-0.2.orig/whitelist.c suspend-0.2/whitelist.c
> --- suspend-0.2.orig/whitelist.c      2006-06-21 07:52:12.000000000 -0400
> +++ suspend-0.2/whitelist.c   2006-07-04 14:00:53.000000000 -0400
> @@ -54,6 +54,10 @@
>       { "Hewlett-Packard",            "HP Compaq nx6125 *",   "",     "", 
> VBE_SAVE|NOFB },
>       { "Hewlett-Packard",            "HP Compaq nc6230 *",   "",     "", 
> VBE_SAVE|NOFB },
>       { "Hewlett-Packard",            "HP Compaq nx8220 *",   "",     "", 
> VBE_SAVE|NOFB },
> +     /* The full match is:
> +      * { "Hewlett-Packard ", "Pavilion zv5000 (DP523AV)     ",      "F.35", 
> "F.35", VBE_POST|NOFB },
> +      * but I don't see any reason to match that tightly. - Jason Lunz */
> +     { "Hewlett-Packard*",           "Pavilion zv5000 *",    "",     "", 
> VBE_POST|NOFB },
>       { "Hewlett-Packard",            "Presario R4100 *",     "",     "", 
> S3_BIOS|S3_MODE },
>       /* R51 and T43 confirmed by Christian Zoz */
>       { "IBM",                        "1829*",        "ThinkPad R51", "", 0 },
> 
> 
> What's the policy on strict matching? I cleared out sys_version and
> bios_version since most other entries don't use them, and I use looser
> wildcard matches for sys_vendor and sys_product.

I'd use full vendor/product but no versions...
                                                                        Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to