Skip to contentSkip to conversation

2.6.0-test4: fbcon missing con_set_default_unimap?

PATCH Mario Lang 1 participant 1 message Sep 3, 2003

Subsystems (2)
lore
Share & tools
lore

Mario Lang

author
#0 lore raw

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.

drivers/video/console/fbcon.c renamed from drivers/video/console/fbcon.c.orig +1 -0
@@ -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);
 }
 
Signature · 4 lines
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
        | Get my public key via finger [email protected]
        | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44