Framebuffer output but no framebuffer console output
Sylvain Garrigues <[email protected]> Tue, 16 May 2006 17:01:01 +0200
| Newsgroups | gmane.linux.fbdev.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I wrote a framebuffer based on the virtual framebuffer (vfb.c) for an embedded device which has a TV output. Basically, I just had to modify the mmap, init, and exit functions so as to use my own memory addresses. I'm using a kernel 2.6.15.1 and the vfb in that tree. This framebuffer works very well, I can make X run on top of it and see my X desktop on the TV. However, in console mode, it doesn't work. Well, it receives keyboard events as if I type 'root' <enter> 'halt', the embedded devices actually halts. So the problem is that there's no echo on the TV in console mode. To redirect a tty to the framebuffer, I'm using the con2fb program (ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/con2fb.c.gz <ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/con2fb.c.gz>) which redirects a tty to a framebuffer. So, as I said, once redirected, I don't get any echo on the TV, althought key strokes are taken into account. What is the problem? Is vfb unfit for console frame buffering? Should I consider taking vesafb as a basis? Is the con2fb wrong? Should I compile vfb with some fonts? Notice that on my development station (the embedded device is on a PCI board), my VESA framebuffer works well, so my kernel is OK with console framebuffer options. Any help would be very very appreciated. Best regards, Sylvain. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642