Skip to contentSkip to conversation

Need help !

DISCUSSION Srinivasa Deevi 3 participants 3 messages Jun 14, 2004 – Jun 15, 2004 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Hi all

do I need to add any fonts in fonts directory to see the any console output through fbcon ? Right now I am able to see the blinking cursor but any data from it .

can somebody help me what should I do to see the cosole output on a frame buffer device ? The frame buffer driver is working in graphics mode . I have trouble in console mode .

thanks in advance,
sri

-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND

#1 lore raw
Quoted 2 lines · Srinivasa Deevi

do I need to add any fonts in fonts directory to see the any console output through fbcon ?

You shouldn't need to.

Have you set the fb_info[.*|.var.*|.fix.*] fields to reflect your hardware? Try running 'fbset -i > stats.txt' blind from the console and affirm that the settings are currect.

-dte

-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND

#2 lore raw
In reply to Srinivasa Deevi

On Mon, 2004-06-14 12:21:35 -0700, Srinivasa Deevi <sdeevi%[email protected]> wrote in message <[email protected]>:

Quoted 3 lines

do I need to add any fonts in fonts directory to see the any console output through fbcon ? Right now I am able to see the blinking cursor but any data from it .

No, you don't need to add fonts, but make sure you've choosen at least one of them:)

Quoted 3 lines

can somebody help me what should I do to see the cosole output on a frame buffer device ? The frame buffer driver is working in graphics mode . I have trouble in console mode .

I've seen that, too, when I wrote a FB driver. My bug was that I was missing

#ifdef CONFIG_VT

#ifdef CONFIG_DUMMY_CONSOLE
	/*
	 * We need a dummy console up at cons_init time, otherwise there'll
	 * be no VTs allocated for the real fbdev console to later take over.
	 */
	conswitchp = &dummy_con;

#endif
#endif

in arch-dependand code (for me, adding it to ./arch/vax/kernel/setup.c did the job).

MfG, JBG

Signature · 4 lines
   Jan-Benedict Glaw       [email protected]    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));