From: "Antonino A. Daplas" <adaplas@gmail.com>
To: Terence Soh <gopher@singnet.com.sg>
Cc: Linux Fbdev development list <linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: printk on framebuffer console
Date: Wed, 31 May 2006 08:54:52 +0800 [thread overview]
Message-ID: <447CE95C.2080603@gmail.com> (raw)
In-Reply-To: <447CE73C.2060807@singnet.com.sg>
Terence Soh wrote:
>> You're better off sending this to linux-fbdev-devel, so I'm adding
>> this to the CC list.
> Thanks for the tip!
>
>>
>> Yes, the monochrome bitmap are expanded to the current foreground and
>> background colors of the console.
> Would I be better off using vgacon?
Well, depends on what you want. If you just want pure text, then
vgacon should suit your needs just fine.
>
>>
>> First, make sure that writing directly to the framebuffer memory displays
>> something properly on your monitor.
>>
> Yes, I've got the fbcon_logo working and the fb0 working with
> QT-embedded. The problem is that printk doesn't work in fb console only
> in serial console.
If you can display the logo, then you're very nearly done.
>
>> Then make sure that your driver has a working xxxfb_setcolreg function()
>> and that info->pseudo_palette is properly filled up.
>>
> Are xxxfb_setcolreg function() and info->pseudo_palette necessary for
> FB_VISUAL_TRUECOLOR? I thought it's required for FB_VISUAL_PSEUDOCOLOR.
>
Other way around, the info->pseudo_palette is needed for truecolor and
directcolor. So fill this array properly, and you should be good to go.
Look at any driver (ie vesafb.c) on how it's done.
Tony
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
next prev parent reply other threads:[~2006-05-31 0:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <447C03C6.3000805@singnet.com.sg>
2006-05-30 12:17 ` [directfb-dev] printk on framebuffer console Antonino A. Daplas
2006-05-31 0:45 ` Terence Soh
2006-05-31 0:54 ` Antonino A. Daplas [this message]
2006-05-31 1:47 ` Terence Soh
2006-05-31 4:16 ` Antonino A. Daplas
2006-05-31 8:17 ` Terence Soh
2006-05-31 11:11 ` Antonino A. Daplas
2006-05-31 11:32 ` Terence Soh
2006-05-31 14:45 ` Marcin Juszkiewicz
2006-05-31 9:05 ` Geert Uytterhoeven
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=447CE95C.2080603@gmail.com \
--to=adaplas@gmail.com \
--cc=gopher@singnet.com.sg \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.