Date: Fri, 27 Aug 1999 12:44:36 +0300 From: Maxim Sobolev <sobomax@altavista.net> To: current@freebsd.org Subject: VESA_800x600 mode on CT65554 based videocard. Message-ID: <37C65E04.399159BF@altavista.net>
next in thread | raw e-mail | index | archive | help
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: <Chips & Technologies model 00e4 VGA-compatible display device> at device 4.0 on pci0 vga0: <Generic ISA VGA> 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: <System console> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37C65E04.399159BF>