set_palette itself takes care of vcmode != KD_GRAPHICS for X. I
do not see any relation between whether console driver updated screen
itself and updating palette, so I believe that console.c in 2.4.0-test6-pre9
is correct...
> What was causing the problem was we where not setting the palette for vga
> text mode when we where switching away from the X server.
I think that both fixes are needed. With console.c from test6-pre8
"echo ^[]P0FF0000" behaves a bit unexpected during VT switches, as
^^ ESC
palette is not reprogrammed... (tested with plain test5 + vgacon;
test6-pre9 + vgacon or fbcon does it right).
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/