All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <pmundt@MVista.COM>
To: Stefan Wanner <stefan.wanner@gmx.ch>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: invert lcd on mpc823l
Date: Mon, 22 Oct 2001 09:33:38 -0700	[thread overview]
Message-ID: <20011022093338.A2836@mvista.com> (raw)
In-Reply-To: <3BD3E484.1030909@gmx.ch>; from stefan.wanner@gmx.ch on Mon, Oct 22, 2001 at 11:19:00AM +0200


On Mon, Oct 22, 2001 at 11:19:00AM +0200, Stefan Wanner wrote:
> i'm using a sharp LQ64D341 tft lcd on a MPC823L board with the
> kernelsources from denx.de. now when i use /dev/tty0 (the frambuffer
> character device) the output apears inverse (white background, black
> text). the tux in the upper left corner has also strange colors (looks
> also like inverse). how can i fix that?
>
Try inverting your colormap. Try something like the following:

--- arch/ppc/8xx_io/lcd823.c.orig       Mon Oct 22 09:30:43 2001
+++ arch/ppc/8xx_io/lcd823.c    Mon Oct 22 09:30:46 2001
@@ -638,6 +638,7 @@
     }

     lcd823_init_dev();
+    fb_invert_cmaps();
     lcd823_install_cmap(0, &fb_info);

     if (register_framebuffer(&fb_info) == 0) {

Regards,

--
Paul Mundt <pmundt@mvista.com>
MontaVista Software, Inc.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      parent reply	other threads:[~2001-10-22 16:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-22  9:19 invert lcd on mpc823l Stefan Wanner
2001-10-22  9:24 ` Wolfgang Denk
2001-10-22  9:39   ` Stefan Wanner
2001-10-22 16:33 ` Paul Mundt [this message]

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=20011022093338.A2836@mvista.com \
    --to=pmundt@mvista.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=stefan.wanner@gmx.ch \
    /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.