Thread (4 messages) 4 messages, 2 authors, 2003-11-12

no console switching

From: Manousaridis Angelos <hidden>
Date: 2003-11-11 13:43:52

Hello,

I am trying to implement a framebuffer device without console support. I want to display only graphics, no text at all.

Is there a way to avoid the console take over?

I don't have the actuall graphics device yet, so I have created an initial version of the driver looking a lot like the vfb device.
I set the dispsw variable of the display structure to fbcon_dummy.
When I load the module I see this:

fbcon_setup: No support for fontwidth 8
fbcon_setup: type 0 (aux 0, depth 8) not supported
Console: switching to colour frame buffer device 80x30
fb0: Teralogic 751 frame buffer device

The module count increases to 63 and I cannot unload the module.

Also, what do I have to put to the owner variable of the fb_ops structure? The above happens with this variable se to THIS_MODULE.

If I comment this line causing the owner variable to be undefined, the module count does not increase and the module can be unloaded.
But It seems that the device is NOT unregistered. When I load the module again, I see this:

fb1: Teralogic 751 frame buffer device

the fb0 is somewhere still defined, and when I try to access it, a page fault occurs. Is it wrong to leave the owner variable undefined?

--
Manousaridis Angelos



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help