From: Peter L. <pl...@gm...> - 2007-08-31 13:21:18
|
Could you clarify what the steps are to enable the virtual terminal? I can't find the exact directions on the Wiki. I have CONFIG_LOGO=y in the Linux .config and I know about the tty0 line in /etc/inittab. I don't think my /dev/tty0 is linked to the LCD at this point, though. Thanks. On 7/26/07, Craig Hughes <cr...@gu...> wrote: > > On Jul 26, 2007, at 10:06 AM, Jason Peterson wrote: > > > I have enabled the necessary options in the kernel to get the Gumstix > > logo splash screen to show up on an LCD during boot. I can see the > > cursor flashing in the upper left hand corner along with the logo. > > > > 1. How do I write messages to the frame buffer console during boot? > > /dev/tty0 should be connected to the fbcon, so you can do stuff like > > echo "Hello world" > /dev/tty0 > > > 2. How do I disable the flashing cursor during boot? > > I forget how you turn the cursor black -- some escape sequence you > can send to the tty probably. According to this: > > <http://linux.die.net/man/4/console_codes> > > it *might* be: > > ESC [ ? 25 h > DECTECM (default on): Make cursor visible. > > So you'd do something like: > > echo -ne '\033[?25h' > /dev/tty0 > > It might be '\0033[?25h' -- I never remember whether you need that > extra 0 in octal escape sequences or not... > > C > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |