linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Antonino A. Daplas" <adaplas@gmail.com>
To: Terence Soh <gopher@singnet.com.sg>
Cc: directfb-dev@directfb.org,
	Linux Fbdev development list
	<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: [directfb-dev] printk on framebuffer console
Date: Tue, 30 May 2006 20:17:57 +0800	[thread overview]
Message-ID: <447C37F5.8000008@gmail.com> (raw)
In-Reply-To: <447C03C6.3000805@singnet.com.sg>

Terence Soh wrote:
> Hi,
> 
> I'm seeking advise on getting printk displayed on the framebuffer console.

You're better off sending this to linux-fbdev-devel, so I'm adding
this to the CC list.

> 
> My display is RGB555 VGA resolution and I using the mainline kernel 
> font_8x8 for fonts and I've disabled the serial console and tile 
> blitting support. At the moment, the printk are printing black lines on 
> the screen instead of the printk statements.
> 
> In bitblit.c bit_putcs(),the image.depth = 1. Is this correct for my 
> application?
> 
> Also is font_8x8 suitable for 16 bit screens? It seems  like it's meant 
> for monochrome display.

Yes, the monochrome bitmap are expanded to the current foreground and
background colors of the console.

First, make sure that writing directly to the framebuffer memory displays
something properly on your monitor.

Then make sure that your driver has a working xxxfb_setcolreg function()
and that info->pseudo_palette is properly filled up.

Make sure also that info->var and info->fix are correctly set.

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

       reply	other threads:[~2006-05-30 12:18 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 ` Antonino A. Daplas [this message]
2006-05-31  0:45   ` printk on framebuffer console Terence Soh
2006-05-31  0:54     ` Antonino A. Daplas
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=447C37F5.8000008@gmail.com \
    --to=adaplas@gmail.com \
    --cc=directfb-dev@directfb.org \
    --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 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).