Re: [PATCH] restore framebuffer console after suspend

From: Carl-Daniel Hailfinger (c-d.hailfinger.kernel.2002-Q4@gmx.net)
Date: Fri Nov 08 2002 - 21:16:09 EST


Marcelo,

please disregard my previous patch as it is needlessly invasive. I'm
currently evaluating a smaller patch (attached) which does not require an
audit of the low-level drivers and still fixes my problem.

Ben, can you please comment on this?

Thanks
Carl-Daniel


===== drivers/video/fbcon.c 1.12 vs edited =====
--- 1.12/drivers/video/fbcon.c Thu Sep 12 17:22:35 2002
+++ edited/drivers/video/fbcon.c Sat Nov 9 02:57:00 2002
@@ -1573,7 +1573,7 @@ static int fbcon_blank(struct vc_data *c
         return 0;
 #ifdef CONFIG_PM
     if (fbcon_sleeping)
- return 0;
+ return blank ? 0 : 1;
 #endif /* CONFIG_PM */
 
     fbcon_cursor(p->conp, blank ? CM_ERASE : CM_DRAW);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:17 EST