# This XF86Config file works with the XFree86 3.3.6 SVGA server # under FreeBSD 4.11 on a IBM ThinkPad 560 (just plain 560) with # a TFT screen. # # ThinkPad 560 models with a DSTN screen does not support 16bpp, # these are recognised by having two knobs on the right hand of # the screen. One for brightness and one for contrast. # If this is the case, remove the DefaultColorDepth line in the # screen section, as default is 8bpp. # # I don't know if it matters, but I've built my kernel with the # SC_PIXEL_MODE option and use the line # allscreens_flags="-g 100x37 VESA_800x600" # in my /etc/rc.conf file. This makes use of the whole screen. # Take a look at vidcontrol(1) and /etc/defaults/rc.conf. # BTW, I took vidcontrol source from DragonFlyBSD which has got # some features FreeBSD's vidcontrol lack. Me, I wanted to have # black text on lightwhite background in the console. # # /usr/X11R6/lib/X11/doc/README.trident may also be of interest. # # I've included a bunch of modelines, and other things I don't # use myself, to play with. Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" EndSection Section "ServerFlags" EndSection Section "Keyboard" Protocol "Standard" XkbRules "xfree86" XkbModel "pc101" XkbLayout "us" EndSection Section "Pointer" Protocol "PS/2" Device "/dev/sysmouse" Emulate3Timeout 50 Emulate3Buttons EndSection Section "Monitor" Identifier "ThinkPad 800x600 TFT" VendorName "IBM" ModelName "560" # These values are quite specific for the 800x600 res @ ~75Hz HorizSync 47-48 VertRefresh 75-76 Modeline "800x600" 49.85 800 832 1016 1048 600 611 619 631 # @75Hz # These two work as well # Modeline "800x600" 45.86 800 832 1000 1032 600 612 619 631 # @70Hz # Modeline "800x600" 40.1 800 848 1000 1056 600 605 607 633 # These two does not work # Modeline "800x600" 41.98 800 832 984 1016 600 612 619 631 # @65Hz # Modeline "800x600" 38.21 800 832 976 1008 600 612 618 631 # @60Hz # I don'nt know about these.. # Modeline "800x600" 40.1 800 848 1000 1056 600 605 607 633 # Modeline "640x480" 31.15 640 672 784 816 480 489 495 505 # @75Hz # Modeline "640x480" 29.70 640 672 784 816 480 489 495 505 # @72Hz # Modeline "640x480" 24.11 640 672 760 792 480 490 495 505 # @60Hz # Modeline "800x600" 40.1 800 848 1000 1056 600 605 607 633 # Modeline "640x480" 28.32 640 664 760 800 480 491 493 525 # Modeline "320x240" 28.32 320 336 384 400 240 245 246 262 doublescan EndSection Section "Device" Identifier "TG 9660 / 9382" VendorName "Trident" BoardName "9382" Chipset "cyber9382" # You won't be needing these two, VideoRam 1024 # but they won't hurt you either. # Option "cyber_shadow" # Option "lcd_center" EndSection Section "Screen" Driver "svga" Device "TG 9660 / 9382" Monitor "ThinkPad 800x600 TFT" DefaultColorDepth 16 SubSection "Display" Depth 8 Modes "800x600" # "640x480" "320x240" EndSubSection SubSection "Display" Depth 16 Modes "800x600" # "640x480" "320x240" EndSubSection EndSection