Thread (10 messages) 10 messages, 4 authors, 2006-05-31

Re: printk on framebuffer console

From: Terence Soh <hidden>
Date: 2006-05-31 01:48:42

quoted
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.
Thanks Tony,

Turned out that I was missing the xxxfb_setcolreg function() and 
info->pseudo_palette. Once that's done, the console is appearing on the 
framebuffer.

Another question. The console only prints starting from the scripts in 
/etc/init.d/rcS , the printk messages from the various drivers are 
missing. My kernel command line is "console=ttyS0 root=/dev/mtdblock3 
rootfstype=jffs2". Is there any reason why?

Terence.


-------------------------------------------------------
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help