gaof fei wrote: > Dear List, > > I'm with linux-2.6.8 on EDB9307(ep93xx). > At the moment, the framebuffer driver(ep93xxfb.c) doesn't support > monochrome mode. > However, I would like to support the mode. > What can I do with ep93xxfb.c or anything else? In fbdev parlance, monochrome means black and white and the number of bits per pixel does not matter. (It's possible to have 1-bit but the visual is pseudocolor). Basically, set fix->visual = FB_VISUAL_MONO01 (or MONO10). Then set var->bits_per_pixel and var->{green|red|blue} to the appropriate numbers. Assuming 1-bit monochrome: var->bits_per_pixel = var->green.length = var->red.length = var->blue.length = 1; var->green.offset = var->red.offset = var->blue.offset = 0; Tony