linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Framebuffer problems
@ 2004-05-22  0:57 Christopher E Cordahi
  2004-05-22  7:25 ` Module Compiling Problem Song Sam
  0 siblings, 1 reply; 9+ messages in thread
From: Christopher E Cordahi @ 2004-05-22  0:57 UTC (permalink / raw)
  To: linuxppc-embedded


Hello all,

I'm having problems with a framebuffer on /dev/fb0 using the DENX 2.4.24
kernel

I have added the Linux Console Driver for the Epson S1D13806
http://www.erd.epson.com/vdc/RelSoft/generic/s1d13xxx_linux.zip
which prints the following to the console as it is initialized
Console: switching to frame buffer device
S1D13xxx: fb0: s1d13xxx frame buffer device
S1D13xxx: Display 240 x 320 8Bpp

Whenever the framebuffer is accessed a call is made to the
function PROC_CONSOLE in fbcon.c which always returns -1
because the info->display_fg pointer is NULL

None of the functions that call PROC_CONSOLE test for this error value.

Some commands seem to work because later functions test for con == -1.
(FBIOGET_FSCREENINFO works because fbgen_get_fix tests for it)
Ofher commands fail because later functions assume the con passed is
correct and use it as an index into the fb_display array.
(FBIOGETCMAP fails because fbgen_get_cmap doesn't test for it)
I guess I'm lucky the whole O/S is not crashing.

Is there a way to have PROC_CONSOLE always return a valid value?
Or should all the functions in fbgen.c be fixed to handle con == -1?

I would like to leave the serial port (/dev/ttyS0) as the console
and I don't actually want the framebuffer as the console.
I would prefer that only Konqueror/Embedded with Qt/Embedded
use the framebuffer.

Any assistance would be greatly appreciated.

Chris


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-05-24 15:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-22  0:57 Framebuffer problems Christopher E Cordahi
2004-05-22  7:25 ` Module Compiling Problem Song Sam
2004-05-23  2:00   ` Song Sam
2004-05-23 18:34     ` Sam Ravnborg
2004-05-24  1:49       ` Song Sam
2004-05-24  5:06         ` Sam Ravnborg
2004-05-24  7:22           ` Query about KERNELLOAD Venkatesh Savithri Mahesh
2004-05-24 12:09             ` Mark Chambers
2004-05-24 15:17           ` Module Compiling Problem Song Sam

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).