Ben NanoNote

Sign in or create your account | Project List | Help

Issue 87: Problem with console color palette

Reported by Rikard Lindström, Jul 11, 2010

I have noticed that the text color palette in the console is wrong.

Reproduce: Show any colored text i.e. "echo -e '\x1B[1;32mThis 
text should be green.\x1B[0m'".

The color mapping can be changed by "echo -e 
'\x1B]Pxrrggbb'"
x = color number, value 0-F
rr, gg, bb = red, green and blue, value 00-FF 
Generated colors:
000000 = black
ff0000 = red
00ff00 = yellow
0000ff = cyan
ffff00 = yellow
00ffff = white
ffffff = white
So it seems as some color values overwrite other color values under 
some conditions.

I'm running Openwrt 10.3, r21701.

Comment 1 by Xiangfu Liu, Jul 12, 2010

thanks for your patch. I tested it and commit in :
e131401cbed2695a65e0031381e9aaf2f4a2b5aa

I have one question. how kernel use the function: 
"fb_setcolreg"

every time kernel want display color. kernel will use that ? right?

thanks.
Status: Fixed

Created: 4 years 5 months ago by Rikard Lindström

Updated: 4 years 5 months ago

Status: Fixed

Followed by: 1 person

Labels:
Type:Defect
Priority:Medium



interactive