fbcon and unimap (kernel 2.6.8.1) again

From: Fabrice Ménard
Date: Sun Sep 26 2004 - 08:55:00 EST


Hi,

Switching from 2.6.5 to 2.6.8.1, I found the same problem with accented chars
at boot time (fbcon didn't set a unicode map in 2.6.5).
Looking into fbcon.c, I found that in the 2.6.8.1 release it is done in
fbcon_startup (fbcon.c). I don't know exactly the internals but I think this
call is misplaced (maybe too late for the boot process ?).

So I placed a call to con_set_default_unimap in fbcon_init and it works fine !

Here is the patch

--- linux-2.6.8.1/drivers/video/console/fbcon.c.orig 2004-09-26
15:48:10.000000000 +0200
+++ linux-2.6.8.1/drivers/video/console/fbcon.c 2004-09-26 14:27:37.000000000
+0200
@@ -853,6 +853,7 @@ static void fbcon_init(struct vc_data *v
softback_top = 0;
}
}
+ con_set_default_unimap(vc->vc_num);
}

static void fbcon_deinit(struct vc_data *vc)

(I think it doesn't hurt to leave the previous call in fbcont_startup)

regards,

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