Re: linux as a minicomputer ?

James Simmons (jsimmons@transvirtual.com)
Thu, 11 Apr 2002 11:46:54 -0700 (PDT)


> > > No, it's for running one Xserver on multiple displays at once only.
> > > Sad, ain't it?
> >
> > Very sad. Nice to know it's not really the kernel's fault.
>
> It IS the kernel's fault, becauslle only one VT can be active. The
> kernel VT stuff needs to be redesigned to hadle multiple VT at the
> same time ...

Correct. The current VT system assumes only one active VT at a time.
Also the VT system has lots and lots of global variables which make it
non re-entry. Go examples of dumbness are when running mdacon and vgacon
when you blanks both displays blank. This is bad. Also you can VC switch
from a vga VC to a mda VC but it doesn't quite work.

I already have reworked the console system to fix the many bugs and I
have already placed some of it into the dave jones tree. I haven't removed
the global fg_console since it would break a few drivers. This is why I
have been pushing people to port over there keyboard drivers to the input
api. I'm also pushing the new fbdev api for the same reason. This way I
can change the console system without break lots of drivers.

For example is the fg_console variable. At present the following
drivers use it and it should be removed.

atyfb_base.c
aty128fb.c
radeonfb.c

By porting to the new fbdev api the fg_console can be removed.

The following keyboard drivers use fg_console.

sunkbd.c
streamable.c
mac_keyb.c

We already have a Mac input driver so mac_keyb.c could go away. We
also have a sunkbd input driver as well. It this case it is a matter
of writing a proper serio layer driver for the input layer. Streamable
needs to ported to the input api layer. Several over files use fg_console
but they are not low level drivers so they easly can be fixed.

All of these changes are in the dave jones tree but I hope to start
pushing these changes to Linus.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/