From: Franz Reinhardt <fre@we...> - 2003-05-07 10:22:44
After playing around with the framebuffer driver of an Epia V board
(tridentfb), there are several questions about framebuffer drivers at
all. I would be lucky, if I could get some comments from the
As I have loaded a framebuffer as module with insmod I discovered, that
only the default mode is possible, because fb_find_mode from modedb.c
is replaced by an inline function from <linux/fb.h> ;-) After that I'm
willing to do some additional docs to the kernel sources .....
The documented modes are only available, when the driver is compiled
into the kernel...
If I change the mode on a virtual console (using fbset), and then try to
remove the driver, I will get a kernel freeze (no oops!). After
thinking about it, I don't know if it's possible at all to remove a
framebuffer module, because it may be used by the console driver.
Unfortunately there is no MOD_INC_USE_COUNT to make this safe.
So my question is: How can I safely insert and remove a framebuffer
driver module ?