* Framebuffer output but no framebuffer console output
@ 2006-05-16 14:32 Sylvain Garrigues
2006-05-16 14:39 ` Sylvain Garrigues
2006-05-20 0:39 ` Antonino A. Daplas
0 siblings, 2 replies; 4+ messages in thread
From: Sylvain Garrigues @ 2006-05-16 14:32 UTC (permalink / raw)
To: linux-fbdev-devel
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 screen, 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Framebuffer output but no framebuffer console output
2006-05-16 14:32 Framebuffer output but no framebuffer console output Sylvain Garrigues
@ 2006-05-16 14:39 ` Sylvain Garrigues
2006-05-20 0:39 ` Antonino A. Daplas
1 sibling, 0 replies; 4+ messages in thread
From: Sylvain Garrigues @ 2006-05-16 14:39 UTC (permalink / raw)
To: linux-fbdev-devel
Sylvain Garrigues wrote:
> 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 screen, althought key strokes are taken into
> account.
s/echo on the screen/echo on the TV
Sorry, I don't get any echo on the _TV_. No more echo on the screen is
normal since the tty has been redirected.
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Framebuffer output but no framebuffer console output
@ 2006-05-16 15:02 Sylvain Garrigues
0 siblings, 0 replies; 4+ messages in thread
From: Sylvain Garrigues @ 2006-05-16 15:02 UTC (permalink / raw)
To: linux-fbdev-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Framebuffer output but no framebuffer console output
2006-05-16 14:32 Framebuffer output but no framebuffer console output Sylvain Garrigues
2006-05-16 14:39 ` Sylvain Garrigues
@ 2006-05-20 0:39 ` Antonino A. Daplas
1 sibling, 0 replies; 4+ messages in thread
From: Antonino A. Daplas @ 2006-05-20 0:39 UTC (permalink / raw)
To: linux-fbdev-devel; +Cc: garrigue
Sylvain Garrigues wrote:
> 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 screen, 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.
No vfb should work.
Can you post fbset -i, cat /proc/fb and dmesg after running con2fb.
Tony
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-05-20 0:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-16 14:32 Framebuffer output but no framebuffer console output Sylvain Garrigues
2006-05-16 14:39 ` Sylvain Garrigues
2006-05-20 0:39 ` Antonino A. Daplas
-- strict thread matches above, loose matches on Subject: below --
2006-05-16 15:02 Sylvain Garrigues
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).