Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 1999 13:24:46 +0800 (CST)
From:      Michael Robinson <robinson@netrinsics.com>
To:        freebsd-mobile@FreeBSD.ORG, stanb@awod.com
Subject:   Re: XF86Config help with Toshiba 500CDT
Message-ID:  <199904070524.NAA02710@netrinsics.com>
In-Reply-To: <19990407022306.E6AB9154D4@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Stan Brown" <stanb@awod.com> writes:
>	Could someoen plase give me some guidence on how to write XF86Config
>	files for internal LCD displays?

Find something from the Internet close to what you've got, and then play
with the modelines until you get something that works.

>	Aparaently no one has a working config for a Toshiba 500CDT, or at
>	least my searches have all come up empty.

This is from my 510CDT.  If it doesn't work, play with the the modelines
until it does.

	-Michael Robinson

# XF86Config auto-generated by XF86Setup
#
# Copyright (c) 1996 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.
#

# See 'man XF86Config' for info on the format of this file

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/URW"
   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        "everex"
   XkbLayout       "us"
   XkbOptions      "ctrl:nocaps"
EndSection

Section "Pointer"
   Protocol        "SysMouse"
   Device          "/dev/sysmouse"
#   Protocol        "PS/2"
#   Device          "/dev/psm0"
#   Protocol        "Microsoft"
#   Device          "/dev/cuaa0"
   Emulate3Timeout 50
   Emulate3Buttons
EndSection

Section "Monitor"
   Identifier      "Primary Monitor"
   VendorName      "Unknown"
   ModelName       "Unknown"
   HorizSync       31.5-53.7
   VertRefresh     60-85
#   Modeline  "1024x768"   65.00 1024 1032 1176 1344 768 771 777 806 -hsync -vsync
#   Modeline  "800x600"    50.00 800 856 976 1040 600 637 643 666 +hsync +vsync
#   Modeline  "800x600"    50.00 800 856 976 1040 600 637 643 666
#ModeLine "800x600" 50.5 800 856 976 1040   600 637 643 666
Modeline "800x600" 40.30 800 840 968 1056   600 601 605 628
#   Modeline  "640x480"    36.00 640 696 752 832 480 481 484 509 -hsync -vsync
#   Modeline  "640x400"    31.50 640 672 736 832 400 401 404 445 -hsync +vsync
#   Modeline  "512x384"    20.16 512 528 592 640 384 385 388 404 -hsync -vsync
#   Modeline  "480x300"    29.95 480 504 584 624 300 319 322 333 doublescan
#   Modeline  "400x300"    25.00 400 424 488 520 300 319 322 333 doublescan
#   Modeline  "320x240"    15.75 320 336 384 400 240 244 246 262 doublescan
#   Modeline  "320x200"    12.59 320 336 384 400 200 204 205 225 doublescan
EndSection

Section "Device"
   Identifier      "Primary Card"
   VendorName      "Unknown"
   BoardName       "Chips & Technologies CT65550"
# Option "noaccel"
# Option "no_bitblt"
# Option "xaa_no_color_exp"
# Option "xaa_benchmark"
# Option "sw_cursor"
# Option "sync_on_green"
# Option "fast_dram"
# Option "use_vclk1"
# Textclockfreq 25.175
# Option "nolinear"
# MemBase 0x03b00000
# Device section for C&T cards.
# Option "suspend_hack"
# Option "STN"
# Option "no_stretch"
# Option "no_center"
# Option "use_modeline"
# Option "fix_panel_size"
# videoram 512


EndSection

Section "Screen"
   Driver          "Accel"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   SubSection "Display"
      Depth        8
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
   SubSection "Display"
      Depth        15
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
   SubSection "Display"
      Depth        16
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
   SubSection "Display"
      Depth        24
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
   SubSection "Display"
      Depth        32
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
EndSection

Section "Screen"
   Driver          "Mono"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   SubSection "Display"
      Depth        1
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
EndSection

Section "Screen"
   Driver          "VGA2"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   SubSection "Display"
      Depth        1
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
EndSection

Section "Screen"
   Driver          "VGA16"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   SubSection "Display"
      Depth        4
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
EndSection

Section "Screen"
   Driver          "SVGA"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   DefaultColorDepth 16
   SubSection "Display"
      Depth        8
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
   SubSection "Display"
      Depth        15
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
   SubSection "Display"
      Depth        16
#      Virtual 1024 768
      ViewPort 0 0
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
   SubSection "Display"
      Depth        24
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
   SubSection "Display"
      Depth        32
      Modes        "1024x768" "800x600" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" "320x200"
   EndSubSection
EndSection



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




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