From: "Antonino A. Daplas" <adaplas@gmail.com>
To: gaof fei <sitman99@hotmail.com>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: monochrome framebuffer driver on EDB9307
Date: Wed, 02 Aug 2006 20:30:22 +0800 [thread overview]
Message-ID: <44D09ADE.2070503@gmail.com> (raw)
In-Reply-To: <BAY12-F78D543C7574811FEA0F99C3520@phx.gbl>
[-- 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
next parent reply other threads:[~2006-08-02 12:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <BAY12-F78D543C7574811FEA0F99C3520@phx.gbl>
2006-08-02 12:30 ` Antonino A. Daplas [this message]
[not found] <BAY12-F670AE04118CDA60C65088C3520@phx.gbl>
2006-08-02 5:22 ` monochrome framebuffer driver on EDB9307 Antonino A. Daplas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44D09ADE.2070503@gmail.com \
--to=adaplas@gmail.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=sitman99@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).