* Re: monochrome framebuffer driver on EDB9307
[not found] <BAY12-F670AE04118CDA60C65088C3520@phx.gbl>
@ 2006-08-02 5:22 ` Antonino A. Daplas
0 siblings, 0 replies; 2+ messages in thread
From: Antonino A. Daplas @ 2006-08-02 5:22 UTC (permalink / raw)
To: linux-fbdev-devel
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
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
[-- Attachment #2: Type: text/plain, Size: 348 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #3: Type: text/plain, Size: 182 bytes --]
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: monochrome framebuffer driver on EDB9307
[not found] <BAY12-F78D543C7574811FEA0F99C3520@phx.gbl>
@ 2006-08-02 12:30 ` Antonino A. Daplas
0 siblings, 0 replies; 2+ messages in thread
From: Antonino A. Daplas @ 2006-08-02 12:30 UTC (permalink / raw)
To: gaof fei; +Cc: linux-fbdev-devel
[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]
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
>
> Thank you for your reply.
> I set visual to FB_VISUAL_MONO01, and bits_per_pixel is 4.
> However, I don't know how to set the PIXELMODE register and the pallette.
> Any suggestion?
You have to ask someone who has docs for that chipset.
Tony
[-- Attachment #2: Type: text/plain, Size: 348 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #3: Type: text/plain, Size: 182 bytes --]
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-02 12:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <BAY12-F78D543C7574811FEA0F99C3520@phx.gbl>
2006-08-02 12:30 ` monochrome framebuffer driver on EDB9307 Antonino A. Daplas
[not found] <BAY12-F670AE04118CDA60C65088C3520@phx.gbl>
2006-08-02 5:22 ` Antonino A. Daplas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).