Subject: X on lifebook 530t
To: None <port-i386@netbsd.org>
From: Matt Sandstrom <mattias@beauty.se>
List: port-i386
Date: 10/18/2002 22:38:14
hi,

i'm using xfree86 4.2 on netbsd 1.6, and my computer is a standard 
lifebook 530t. i ran the autoconfig and the c&t adapter was found just 
fine, but when i startx the computer just hangs. the last message in the 
log is "chips(0): bad v_bios checksum followed by "chips(0): primary 
v_bios segment is 0xc000". this happens shortly after loading module 
"int10", which i believe is a vga mode. what exactly is that needed for 
when my config is set up for 800x600@24bpp? anyway, the screen seems to 
be in text mode still, since i do have a block cursor present in the top 
left corner. i can't do anything a this point, not shut down the 
x-server, not switch to a virtual console or anything. i found a config 
file for a lifebook 555 which i borrowed the sync and modelines from, 
but that didn't help.

the error i get seems to suggest there's something wrong with my bios 
settings, but there aren't that many options to be set in the bios 
setup. the docs for xfree86 talk about diabling caching and so on, but i 
don't have that option. my bios says "video bios shadowed" during 
startup, but i can't change that either. any ideas?

so, anyway, below is my xconfig. if somebody is using a 500 series 
lifebook, perhaps you could email me your config so i can check for 
differences?

(in case you're wondering, graphics are working just fine in win95, so i 
don't simply have a broken computer) :-)

thanks a lot,

	/matt sandström


Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "xtrap"
	Load  "speedo"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
         Option	    "XkbModel"    "pc102"
         Option	    "XkbLayout"   "se"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "wsmouse"
	Option	    "Device" "/dev/wsmouse0"
EndSection

Section "Monitor"
	Identifier   "TFT"
	VendorName   "Fujitsu"
	ModelName    "Lifebook TFT"
         HorizSync    25-64
         VertRefresh  40-70
	ModeLine "640x480"   25.175  640 664 760 800  480 491 493 525
	ModeLine "800x600"   35.464  800 824 908 996  600 601 603 625
EndSection

Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "Linear"             	# [<bool>]
         #Option     "NoAccel"            	# [<bool>]
         #Option     "HWclocks"           	# [<bool>]
         #Option     "SWcursor"           	# [<bool>]
         #Option     "HWcursor"           	# [<bool>]
         #Option     "STN"                	# [<bool>]
         #Option     "UseModeline"        	# [<bool>]
         #Option     "NoStretch"          	# [<bool>]
         #Option     "LcdCenter"          	# [<bool>]
         #Option     "MMIO"               	# [<bool>]
         #Option     "SuspendHack"        	# [<bool>]
         #Option     "FixPanelSize"       	# [<bool>]
         #Option     "18BitBus"           	# [<bool>]
         #Option     "ShowCache"          	# [<bool>]
         #Option     "ShadowFB"           	# [<bool>]
         #Option     "Rotate"             	# [<str>]
         #Option     "SetMclk"            	# <freq>
         #Option     "FPClock8"           	# <freq>
         #Option     "FPClock16"          	# <freq>
         #Option     "FPClock24"          	# <freq>
         #Option     "FPMode"             	# [<bool>]
	Identifier  "C&T"
	Driver      "chips"
	VendorName  "C&T"
	BoardName   "65550"
	VideoRam    2048
	BusID       "PCI:0:20:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "C&T"
	Monitor    "TFT"
         DefaultDepth 24
	SubSection "Display"
		Depth     8
                 Modes     "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
                 Modes     "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
                 Modes     "800x600" "640x480"
	EndSubSection
EndSection