|
From: Petr V. <VAN...@vc...> - 2000-06-14 08:57:45
|
On 13 Jun 00 at 20:30, James Simmons wrote:
> Well I have the patch attached what I have done. It bzip2ed and its 76K.
> Unzipped it 536K so you can see it is a massive rewrite. I still have some
> cleanup to do yet and some early testing.
Hi,
is it complete diff between Linus/Alan tree and current linuxconsole
CVS or is it an addition to linuxconsole CVS (I did not look at patch
yet and because of I have no linuxconsole CVS copy here yet, I'm asking...)
> TODO:
>
> Fix con_open. Right now the console system dynamically allocates each VC.
> I have to figure away to find which VT each tty belongs to when con_open
> is called.
I think that for backward compatibility you should add new ioctl
OPENVT2, which opens VT on specific output device. Old code (simple
open /dev/tty* and OPENVT ioctl) should use same lowlevel device as
current->tty uses... I think... Probably with exception that if
current->tty is not VT, you should use first head (for use by init, for
example, which is connected to /dev/console).
> Figure out how to have each head be able to be blanked indepedently of
> each other.
Create per-VT blanking timers which will expire individually and which
are restarted on keypress (on that VT) and console switch... Looks like
easiest solution to me. Another solution is glue it together as 'seat'
(all kbds, mouses and monitors at one place), but this does not
work correctly if you take into account that app can disable blanking
for such VT (XFree and fbtv does it, for example). Only unfortunate thing
is that currently setting VT blanking period is per-system and not per-VT.
But we can emulate it...
Best regards,
Petr Vandrovec
van...@vc...
|