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

Re: printk on framebuffer console

From: Terence Soh <hidden>
Date: 2006-05-31 11:33:56

The simplest solution is to write a utility that opens /dev/tty0
for example, then do an ioctl,

ioctl(fd, KDSETMODE, KD_GRAPHICS);

where fd is the file descriptor of /dev/tty0 for instance.

To get back your console, do this:

ioctl(fd, KDSETMODE, KD_TEXT);
Tony,

Thanks for your help!

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