Re: Clear screen from the kernel

2010-01-15 Thread Bernd Petrovitsch
Hi! On Fre, 2010-01-15 at 03:47 +1100, Microbit_Ubuntu wrote: [...] Having dug around more, I am now getting the impression that my problem is actually NOT getting console tty1 output to my serial ttyS0... Eg. after boot, I login on ttyS0, ok, I get prompt. If I then login from tty1 (the

Re: Clear screen from the kernel

2010-01-14 Thread Bernd Petrovitsch
On Mit, 2010-01-13 at 19:05 -0300, Diego Woitasen wrote: Hi, I want to clear the console before a printk() call. Is there a funcion in the kernel API to do it? No, because the console can be your ordinary Linux console or over the network or over a serial line. You could look up the control

Re: Clear screen from the kernel

2010-01-14 Thread Microbit_Ubuntu
On Thu, 2010-01-14 at 12:42 +0100, Bernd Petrovitsch wrote: On Mit, 2010-01-13 at 19:05 -0300, Diego Woitasen wrote: Hi, I want to clear the console before a printk() call. Is there a funcion in the kernel API to do it? No, because the console can be your ordinary Linux console or over

Re: Clear screen from the kernel

2010-01-14 Thread Bernd Petrovitsch
Hi! On Fre, 2010-01-15 at 00:24 +1100, Microbit_Ubuntu wrote: [...] I can't seem to find any reference to getting *both* the ordinary AND the serial line to work. The first few paragraphs of http://www.mjmwired.net/kernel/Documentation/serial-console.txt describes this IMHO. I didn't try it

Re: Clear screen from the kernel

2010-01-14 Thread Microbit_Ubuntu
On Thu, 2010-01-14 at 15:17 +0100, Bernd Petrovitsch wrote: Hi! On Fre, 2010-01-15 at 00:24 +1100, Microbit_Ubuntu wrote: [...] I can't seem to find any reference to getting *both* the ordinary AND the serial line to work. The first few paragraphs of

Clear screen from the kernel

2010-01-13 Thread Diego Woitasen
Hi, I want to clear the console before a printk() call. Is there a funcion in the kernel API to do it? Regards -- Diego Woitasen -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Clear screen from the kernel

2010-01-13 Thread Greg KH
On Wed, Jan 13, 2010 at 07:05:32PM -0300, Diego Woitasen wrote: Hi, I want to clear the console before a printk() call. Is there a funcion in the kernel API to do it? No, printk() goes to the kernel log, not the screen. Yes, it might also be copied to the console at different times, but it