2003-09-03 13:38:08

by Mario Lang

[permalink] [raw]
Subject: 2.6.0-test4: fbcon missing con_set_default_unimap?

Hi.

Well, I investigated the previously reported issue
regarding a empty SFM when using fbcon a bit more.

What looks strange to me is that it seems that con_set_default_unimap
is never called when using fbcon. Below patch fixes my problems,
after boot, I have a correctly defined sfm. However, since
I am totally new to kernel hacking, I suspect it is not really
correct. However, it is tested, and it works for me as expected.

--- linux-2.6.0-test4/drivers/video/console/fbcon.c.orig 2003-09-03 15:32:42.000000000 +0200
+++ linux-2.6.0-test4/drivers/video/console/fbcon.c 2003-09-03 15:27:09.000000000 +0200
@@ -695,6 +695,7 @@
fb_display[unit].scrollmode = SCROLL_YNOMOVE;
else
fb_display[unit].scrollmode = SCROLL_YREDRAW;
+ con_set_default_unimap(unit);
fbcon_set_display(vc, init, !init);
}


--
CYa,
Mario | Debian Developer <URL:http://debian.org/>
| Get my public key via finger [email protected]
| 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44