Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 22:50:12 -0500
From:      Steve Fettig <lists@stevenfettig.com>
To:        freebsd-questions@freebsd.org
Subject:   Console Display Size and X 4.2 Problems on Thinkpad 770ED
Message-ID:  <3D0EADF4.3090302@stevenfettig.com>

next in thread | raw e-mail | index | archive | help
I am working on reviving an old machine that has been my workhorse for 
years and just installed FreeBSD 4.6-Release onto it and am having two 
problems.
The regular, non-x, screen is 640x480 in the middle of a 14" screen and 
I can't figure out how to get it to "stretch" like it normally would on 
a monitor to fill up the whole screen...  Any mini- how-do-ya' do it 
guides for this?  (Yes, I've checked the bios, etc. and there doesn't 
seem to be anything in there allowing me to change this...)

The other problem is with Xfree86 4.2.  I can get things installed and 
semi-configured, but whenever WindowMaker comes up, it is in 8 color 
mode.  I am befuddled as to what I am doing wrong and perhaps staring at 
this for 6 hrs has drained my ability to think intelligently.  I have 
included my XF86Config at the end of this message.  I have also looked 
through all I can find as far as howto's for freebsd and linux, but 
nothing is helping me.

Any help (besides RTFM at this point) would be greatly appreciated.
Steve



<--Begin XF86Config-->
# File generated by xf86config.

#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

     Load        "dbe"  	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
     SubSection  "extmod"
       Option    "omit xfree86-dga"   # don't initialise the DGA extension
     EndSubSection

# This loads the Type1 and FreeType font modules
     Load        "type1"
     Load        "freetype"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

     RgbPath	"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

     FontPath   "/usr/X11R6/lib/X11/fonts/local/"
     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
     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/75dpi/"
     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

# none

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

     Identifier	"Keyboard1"
     Driver	"Keyboard"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

     Option "AutoRepeat" "500 30"
     Option "XkbRules"	"xfree86"
     Option "XkbModel"	"pc101"
     Option "XkbLayout"	"us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

     Identifier	"Mouse1"
     Driver	"mouse"
     Option "Protocol"    "MouseSystems"
     Option "Device"      "/dev/sysmouse"

EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

     Identifier  "IBM Thinkpad"
     HorizSync   31.5 - 57.0
     VertRefresh 50-90

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present
# Device configured by xf86config:

Section "Device"
     Identifier  "Trident Cyber 9397 (generic)"
     Driver      "trident"
     VideoRam    4096
     # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
     Identifier  "Screen 1"
     Device      "Trident Cyber 9397 (generic)"
     Monitor     "IBM Thinkpad"
     DefaultDepth 16

#    Subsection "Display"
#        Depth       8
#        Modes       "1024x768"
#        ViewPort    0 0
#    EndSubsection
     Subsection "Display"
         Depth       16
         Modes       "1024x768"
         ViewPort    0 0
     EndSubsection
#    Subsection "Display"
#        Depth       24
#        Modes       "640x480" "800x600"
#        ViewPort    0 0
#    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
     Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

     Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

     InputDevice "Mouse1" "CorePointer"
     InputDevice "Keyboard1" "CoreKeyboard"

EndSection

<--End XF86Config-->


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D0EADF4.3090302>