From owner-freebsd-current Fri Aug 27 2:47: 8 1999 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.42.68.2]) by hub.freebsd.org (Postfix) with ESMTP id E544A15485 for ; Fri, 27 Aug 1999 02:47:01 -0700 (PDT) (envelope-from sobomax@altavista.net) Received: from vega. (dialup2-37.iptelecom.net.ua [212.42.74.101]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id MAA06576 for ; Fri, 27 Aug 1999 12:46:07 +0300 (EEST) Received: from altavista.net (big_brother [192.168.1.1]) by vega. (8.9.3/8.9.3) with ESMTP id MAA33627 for ; Fri, 27 Aug 1999 12:44:37 +0300 (EEST) (envelope-from sobomax@altavista.net) Message-ID: <37C65E04.399159BF@altavista.net> Date: Fri, 27 Aug 1999 12:44:36 +0300 From: Maxim Sobolev Reply-To: sobomax@altavista.net Organization: Vega International Capital X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: ru,uk,en MIME-Version: 1.0 To: current@freebsd.org Subject: VESA_800x600 mode on CT65554 based videocard. Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to get VESA_800x600 mode to work on my notebook (Toshiba SatellitePro 445, CT65554 videocard, 2MB, 800x600 LCD), and unfortunately found that it is impossible. Any ideas of what is wrong? Following is relevant pieces from dmesg, vidcontrol, kernel debug (VESA_DEBUG=1 in my kernel config), and trace of syscalls made by vidcontrol: Output of vidcontrol -i mode: mode# flags type size font window linear buffer ------------------------------------------------------------------------------ 258 (0x102) 0x0000000b G 800x600x4 4 8x16 0xa0000 64k 64k 0x00000000 2048k 259 (0x103) 0x0000000f G 800x600x8 1 8x16 0xa0000 64k 64k 0xfe000000 2048k 275 (0x113) 0x0000000f G 800x600x15 1 8x16 0xa0000 64k 64k 0xfe000000 2048k 276 (0x114) 0x0000000f G 800x600x16 1 8x16 0xa0000 64k 64k 0xfe000000 2048k 277 (0x115) 0x0000000f G 800x600x24 1 8x16 0xa0000 64k 64k 0xfe000000 2048k Output of dmesg: VESA: information block 56 45 53 41 00 02 00 01 00 01 00 00 00 00 40 00 00 01 20 00 00 01 16 01 00 01 31 01 00 01 4a 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 VESA: 20 mode(s) found VESA: v2.0, 2048k memory, flags:0x0, mode table:0xc0265fa0 (1000040) VESA: CHIPS 6x554 Super VGA VESA: Chips & Technologies, Inc. 6x554 Display Controller 2 vga-pci0: at device 4.0 on pci0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x700ff fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 06 40 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sc0: fb0 kbd0 Output of vidcontrol VESA_800x600: vidcontrol: cannot activate raster display: Inappropriate ioctl for device Kernel debug msgs when doing vidcontrol VESA_800x600 VESA: set_mode(): 24(18) -> 258(102) VESA: about to set a VESA mode... VESA: mode set! vesa_set_mode(): vi_width:800, len:100, line_width:100 VESA: set_mode(): 258(102) -> 24(18) Trace of syscalls (truss vidcontrol VESA_800x600): syscall ioctl(0,CONS_GETINFO,0x804bc1c) returns 0 (0x0) syscall ioctl(0,CONS_GET,0xbfbfd904) returns 0 (0x0) syscall ioctl(0,VSIOABORT,0x0) returns 0 (0x0) syscall ioctl(0,KDRASTER,0xbfbfd908) errno 25 'Inappropriate ioctl for device' syscall ioctl(0,SW_VGA_C80x25,0x0) returns 0 (0x0) syscall write(2,0xbfbfd1c4,12) returns 12 (0xc) syscall write(2,0xbfbfd1dc,30) returns 30 (0x1e) syscall write(2,0xbfbfd1bc,2) returns 2 (0x2) syscall write(2,0xbfbfd1c0,31) returns 31 (0x1f) syscall exit(0x0) process exit, rval = 0 -- "We believe in the Power and the Might!" (Manowar, 1996) ---------------------------------------- Maxim V. Sobolev, Financial Analyst, Vega International Capital Phone: +380-(44)-246-6396 Fax: +380-(44)-220-8715 E-mail: sobomax@altavista.net ICQ: #42290709 ---------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message