Date: Fri, 28 Apr 2000 00:43:05 +0400 From: freebsd <freebsd@ru.ru> To: freebsd-questions@freebsd.org Subject: vidcontrol VESA Message-ID: <1229.000428@ru.ru>
index | next in thread | raw e-mail
subject: vidcontrol VESA
Hello.
I workaround with FreeBSD 4.0.
I have troubles when i try enable vidcontrol VESA_800x600.
On my desk: monitor Flatron 795FT Plus (17 inches).
When i use other vidcontrol modes, like VESA_132x25, VESA_132x43, the result is
not good for me, and i think for others ;)
For 15 inches monitor, i just patch vidcontrol.c --> add lines to
if (ioctl(0, mode, NULL) < 0)
warn("cannot set videomode");
if (mode == SW_VESA_800x600) {
- size[0] = 80; /* columns */
- size[1] = 25; /* rows */
+ size[0] = 100; /* columns */
+ size[1] = 37; /* rows */
size[2] = 16; /* font size */
if (ioctl(0, KDRASTER, size)) {
ioerr = errno;
Where you see minus - remove this line, where plus - add this line.
It's working perfect.
But my home monitor is 17 inches, and lines contains size[0] = 100
and size[1] = 37 only for 15 iches work well, then my question: what numbers i
must use instead off 100 and 37?
I tried many combinations, but nothing help, maybe the guru and simple people
who love this OS know other way to do this?
Best regards from Sergey.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1229.000428>
