kajgan / fbterm

Automatically exported from code.google.com/p/fbterm
0 stars 0 forks source link

Kernel messages printed on top of fbterm? #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am new to Linux so please do not flame me for asking a stupid question.

I have compiled fbterm 1.6 on Debian Lenny. After adding the kernel option 
vga=791 to activate the framebuffer device, fbterm works.

However, when I am in fbterm and hot-plug an USB device, the kernel messages 
(like "[123.456789] usb 1-2.1: New USB device found, blah blah blah") are 
printed directly on top of what is displayed in fbterm. These are in the font 
used by the native console and at the cursor location of the native console 
before launching fbterm. I believe the system console is still drawing on the 
framebuffer although fbterm is open.

Is there a way to:
1. display these messages in fbterm, by either somehow directing them to fbterm 
or having fbterm intercept and display these messages;
2. or make fbterm stay "on top of" these messages and suppress them?

Additionally, although this is not a question regarding fbterm, I would be very 
happy if someone could tell me how to suppress or redirect these kernel 
messages in the native console, like sending all these messages to tty2 when I 
work on tty1 and such.

Thanks in advance.

Original issue reported on code.google.com by zhaga...@gmail.com on 13 Jun 2010 at 1:39

GoogleCodeExporter commented 8 years ago
Your question is related to redirecting /dev/console output, please google it 
for more information.

linux kernel has a ioctl API for this feature, I will look into the details.

Original comment by zgchan...@gmail.com on 19 Jun 2010 at 3:15

GoogleCodeExporter commented 8 years ago
added in version 1.7

Original comment by zgchan...@gmail.com on 6 Oct 2010 at 3:52