From: James S. <jsi...@tr...> - 2002-04-12 17:53:24
|
> Here is dumb console driver created by me for X. Hm. I see dummycon has come back to tease me. > Dumb console create VT and then do nothig. > All work do linuxconsole vt-manager. > You can configure dumb with kernel command line "dumbcon=x", > where x is number of dumb consoles. > Every console is binded with /dev/tty's depended from > MAX _NR_USER_CONSOLES. Hm. Go add about the number of VTs. > Sample: > file vt_kern.h > #define MAX_NR_USER_CONSOLES 4 MAX_NR_USER_CONSOLES is how many VCs per VT device. This is always 16. MAX_NR_CONSOLES represents how many total VCs you can have. Dividing the two you see wwe can have at most 4 VTs. > VGA configured, DUMB cofigured, command line "dumbcon=2" . > > Result > /dev/tty1 VGA > /dev/tty2 VGA > /dev/tty3 VGA > /dev/tty4 VGA > /dev/tty5 DUMB 0 > /dev/tty6 DUMB 0 > /dev/tty7 DUMB 0 > /dev/tty8 DUMB 0 > /dev/tty9 DUMB 1 > /dev/tty10 DUMB 1 > /dev/tty11 DUMB 1 > /dev/tty12 DUMB 1 It should be /dev/tty0 to /dev/tty15 VGA /dev/tty16 to /dev/tty31 dummycon. > This are tested by me with xdm, triple graphic login succesfully run. > Edit /etc/X11/xdm/Xservers . > Seems kdm, gdm don't like multiple X or wrong configuration on my end. > X patch is necessary. Can you post the patch :-) > Q: Why linuxconsole vt-manager is better as separate keyboard driver for X. > A: Linuxconsole project already have tons of keyboard drivers. All You can > add to X > via /dev/tty. Well XFree86 is currently based on using the VT. This will go away in the future. I already have spoken to Jim Getty about this and he already is working on making XFree86 independent of VT switching and to use the input api!!! Yeah!!!! |