I posted this mail yesterday, but I lost some of my mails, so I probably
lost the replies on this one. If someone bothered to reply, please do so
again. Thanks ans sorry...
(I tried the archives, but they are are not updated sto frequently)
I forgot to mention that I am using linux kernel 2.4.18 on strongARM.
Here it goes:
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?