From: Jon Smirl Date: Wed, 27 Jul 2005 18:46:05 +0000 (-0700) Subject: [PATCH] fbdev: colormap fixes X-Git-Tag: v2.6.13-rc4~25^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d210224732b3d32e802e3537499297d387852166;p=pandora-kernel.git [PATCH] fbdev: colormap fixes Color maps have up to 256 entries. 4096/256 allows for 16 characters per line. The format for a cmap entry is "%02x%c%4x%4x%4x\n" %02x entry %c transp %4x red %4x blue %4x green You can read the color_map with cat fb0/color_map. Signed-off-by: Jon Smirl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed