mdacon.c & svgatextmode

Alexey Vyskubov (alexey@alv.stud.pu.ru)
Sun, 03 Jan 1999 19:42:11 +0300 (MSK)


Hello.

I found an annoying problem.

I use Hercules as a secondary monitor on my Linux box. And I have

<something>.<anything> /dev/tty14

in syslog.conf, because I want some logs on Hercules.

But when svgatextmode is invoked (for nice 90x30x85Hz mode), Hercules
goin' crazy. Probably it's because tty14-17 (Hercules' ones) receive
vc_resize_con.

I change

static int mdacon_switch(struct vc_data *c)
{
return 1; /* redrawing needed */
}

in /usr/src/linux/drivers/video/mdacon.c to

static int mdacon_switch(struct vc_data *c)
{
vc_resize_con(mda_num_lines, mda_num_columns, c->vc_num);
return 1; /* redrawing needed */
}

so it fixed the problem. But I do not know why.

--
With best wishes,
Alexey Vyskubov.
This is a message.

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