invert lcd on mpc823l
hi all
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?
thanks for helping
stefan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 2 lines · In message <[email protected]> you wrote:
i'm using a sharp LQ64D341 tft lcd on a MPC823L board with the
Is this a custom board, or some standard product?
Quoted 4 lines
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?
Are you sure that all wires are connected properly?
Works here - on a TQM823L-E.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] What can it profit a man to gain the whole world and to come to his property with a gastric ulcer, a blown prostate, and bifocals?
-- John Steinbeck, _Cannery Row_
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
i'm using a tq components board (bought it from you) the pins are connected this way:
Pinbelegung zum Anschluss des SHARP LQ64D341 an TQM823L Board
-------------------------------------------------------------
TQM823L -------------> SHARP LQ64D341 TFT
Stecker Pin Signal Pin Signal
X11 1
X11 20 ---- SHIFT/CLK -----> 2 CK X11 14 ---- FRAME/HSYNC -----> 3 Hsync X11 16 ---- FRAME/VSYNC -----> 4 Vsync X11 5 X11 6 R0 RED (LSB) X11 7 R1 RED X11 5 ---- LCD_A -----> 8 R2 RED X11 26 ---- LD2 -----> 9 R3 RED X11 25 ---- LD1 -----> 10 R4 RED X11 24 ---- LD0 -----> 11 R5 RED X11 12 GND X11 13 G0 GREEN (LSB) X11 14 G1 GREEN X11 3 ---- LCD_B -----> 15 G2 GREEN X11 29 ---- LD5 -----> 16 G3 GREEN X11 28 ---- LD4 -----> 17 G4 GREEN X11 27 ---- LD3 -----> 18 G5 GREEN X11 19 GND X11 20 B0 BLUE (LSB) X11 21 B1 BLUE X11 1 ---- LCD_C -----> 22 B2 BLUE X11 32 ---- LD8 -----> 23 B3 BLUE X11 31 ---- LD7 -----> 24 B4 BLUE X11 30 ---- LD6 -----> 25 B5 BLUE X11 19 ---- GND ------ 26 GND X11 27 ENAB Siehe Manual 7-2 (nicht auf High!) X11 7 ---- VCC5V ------ 28 VCC X11 29 X11 30 R/L Anzeigemodi Siehe
Manual Seite LCY-99193-4
X11 31 U/D Anzeigemodi Siehe
Manual Seite LCY-99193-4
Quoted 14 lines · Wolfgang Denk
Quoted 2 lines · In message <[email protected]> you wrote:
i'm using a sharp LQ64D341 tft lcd on a MPC823L board with the
Is this a custom board, or some standard product?
Quoted 5 lines
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?
Quoted 7 lines
Are you sure that all wires are connected properly?
Works here - on a TQM823L-E.
Wolfgang Denk
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Stefan Wanner
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:
ppc/8xx_io/lcd823.c Mon Oct 22 09:30:46 2001 renamed from ppc/8xx_io/lcd823.c.orig Mon Oct 22 09:30:43 2001 +1 -0
@@ -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 <[email protected]>
MontaVista Software, Inc.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/