Skip to contentSkip to conversation

FB device without console support

DISCUSSION Manousaridis Angelos 3 participants 6 messages Oct 29, 2003 – Oct 30, 2003 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Hello all,

Is it possible to implement a fremebuffer device without console support? All I want is to access the graphics card buffer memory to display some graphics. Can I find source code example for this?

--
Manousaridis Angelos

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/

#1 lore raw

Yes. Take a look at the latest 2.6.0-testX kernels.

Quoted 12 lines · Manousaridis Angelos

Hello all,

Is it possible to implement a fremebuffer device without console support? All I want is to access the graphics card buffer memory to display some graphics.
Can I find source code example for this?

--
Manousaridis Angelos

Quoted 10 lines

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-fbdev-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/

#2 lore raw
Quoted 9 lines · James Simmons

Yes. Take a look at the latest 2.6.0-testX kernels.

Quoted 4 lines · Manousaridis Angelos

Hello all,

Is it possible to implement a fremebuffer device without console support? All I want is to access the graphics card buffer memory to display some graphics. Can I find source code example for this?

Is it possible with a 2.4.xx kernel?
Upgrading would be a nighmare fom me, I am targeting an embedded platform.

--
Manousaridis Angelos

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/

#3 lore raw
Quoted 11 lines · Manousaridis Angelos
Quoted 7 lines · James Simmons

Yes. Take a look at the latest 2.6.0-testX kernels.

Quoted 4 lines · Manousaridis Angelos

Is it possible to implement a fremebuffer device without console support? All I want is to access the graphics card buffer memory to display some graphics.
Can I find source code example for this?

Is it possible with a 2.4.xx kernel?
Upgrading would be a nighmare fom me, I am targeting an embedded platform.

Disable CONFIG_VT_CONSOLE, and the console messages will no longer be printed to the frame buffer. You still have a console though, i.e. you can still print to /dev/ttyX if you want.

If you don't want to provide console drawing operations, just set display->dispsw to &dispsw_dummy.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/

#4 lore raw
Quoted 5 lines · Geert Uytterhoeven
Quoted 2 lines · Manousaridis Angelos

Is it possible with a 2.4.xx kernel?
Upgrading would be a nighmare fom me, I am targeting an embedded platform.

Quoted 8 lines

Disable CONFIG_VT_CONSOLE, and the console messages will no longer be printed to the frame buffer. You still have a console though, i.e. you can still print to /dev/ttyX if you want.

If you don't want to provide console drawing operations, just set display->dispsw to &dispsw_dummy.

Gr{oetje,eeting}s,

I found no dispsw_dummy, do you mean fbcon_dummy?

Thanks foy the reply, that seems to be the solution I was looking for.

--
Angelos Manousaridis

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/

#5 lore raw
Quoted 9 lines · Manousaridis Angelos
Quoted 8 lines · Geert Uytterhoeven
Quoted 2 lines · Manousaridis Angelos

Is it possible with a 2.4.xx kernel?
Upgrading would be a nighmare fom me, I am targeting an embedded platform.

Disable CONFIG_VT_CONSOLE, and the console messages will no longer be printed to the frame buffer. You still have a console though, i.e. you can still print to /dev/ttyX if you want.

Quoted 6 lines
Quoted 4 lines

If you don't want to provide console drawing operations, just set display->dispsw to &dispsw_dummy.

Gr{oetje,eeting}s,

I found no dispsw_dummy, do you mean fbcon_dummy?

Yes (I really should look up terms in the sources).

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/