Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2004 11:43:20 -0800 (PST)
From:      Bill Schoolcraft <bill@wiliweld.com>
To:        Susumu Tanabe <tanabe@mccme.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /etc/X11/XF86Config  
Message-ID:  <20041112114137.X12801@bsd.billschoolcraft.com>
In-Reply-To: <Pine.LNX.4.58.0411122103500.1996@pc3.mccme.ru>
References:  <Pine.LNX.4.58.0411122103500.1996@pc3.mccme.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
At Fri, 12 Nov 2004 it looks like Susumu Tanabe composed:

>
> Hello,
> I want to install XF86 on my notebook
> Toshiba Satellite A60.
> Whioch kind of configuration file is necessary?
> The following trials gave no results.
>                        yours, Susumu Tanabe

If you can't get any basic "baselines" to go on from any other
source, you may find some help on laptops like this here:
http://tuxmobil.org/toshiba.html  I've used this site in the past
to download some XF86Config files and get some bits of helpful
information.


>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
>
>
> 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/cyrillic/"
> 	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/75dpi/"
> 	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
> EndSection
>
> Section "Module"
> 	Load  "dbe"
> 	Load  "dri"
> 	Load  "extmod"
> 	Load  "glx"
> 	Load  "record"
> 	Load  "xtrap"
> 	Load  "speedo"
> 	Load  "type1"
> EndSection
>
> Section "InputDevice"
> 	Identifier  "Keyboard0"
> 	Driver      "keyboard"
> 	Option "XkbLayout" "us,ru"
> 	Option "XkbOptions" "grp:lalt_toggle"
> EndSection
>
> Section "InputDevice"
> 	Identifier  "Mouse0"
> 	Driver      "mouse"
> 	Option	    "Protocol" "auto"
> 	Option	    "Device" "/dev/sysmouse"
> EndSection
>
> Section "Monitor"
> 	#DisplaySize	  300   230	# mm
> 	Identifier   "Monitor0"
> 	VendorName   "HWP"
> 	ModelName    "b18"
> 	Option	    "DPMS"
> 	HorizSync	31.5-75.0
> 	VertRefresh	50-90
> 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     "NoAccel"            	# [<bool>]
>         #Option     "SWcursor"           	# [<bool>]
>         #Option     "Dac6Bit"            	# [<bool>]
>         #Option     "Dac8Bit"            	# [<bool>]
>         #Option     "DMAForXv"           	# [<bool>]
>         #Option     "ForcePCIMode"       	# [<bool>]
>         #Option     "CCEPIOMode"         	# [<bool>]
>         #Option     "CCENoSecurity"      	# [<bool>]
>         #Option     "CCEusecTimeout"     	# <i>
>         #Option     "AGPMode"            	# <i>
>         #Option     "AGPSize"            	# <i>
>         #Option     "RingSize"           	# <i>
>         #Option     "BufferSize"         	# <i>
>         #Option     "Display"            	# <str>
>         #Option     "PanelWidth"         	# <i>
>         #Option     "PanelHeight"        	# <i>
>         #Option     "ProgramFPRegs"      	# [<bool>]
>         #Option     "UseFBDev"           	# [<bool>]
>         #Option     "VideoKey"           	# <i>
>         #Option     "ShowCache"          	# [<bool>]
> 	Identifier  "Card0"
> 	Driver      "ati"
> 	VendorName  "ATI Technologies Inc"
> 	BoardName   "Rage 128 PF/PRO AGP 4x TMDS"
> 	BusID       "PCI:1:0:0"
> EndSection
>
> Section "Screen"
> 	Identifier "Screen0"
> 	Device     "Card0"
> 	Monitor    "Monitor0"
> 	SubSection "Display"
> 		Depth     1
> 	EndSubSection
> 	SubSection "Display"
> 		Depth     4
> 	EndSubSection
> 	SubSection "Display"
> 		Depth     8
> 	EndSubSection
> 	SubSection "Display"
> 		Depth     15
> 	EndSubSection
> 	SubSection "Display"
> 		Depth     16
> 	EndSubSection
> 	SubSection "Display"
> 		Depth     24
> 		Modes	"1024x768"
> 	EndSubSection
> 	DefaultDepth 24
> EndSection
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %%%%%%%%%%# XFree86 4 configuration created by pyxf86config
>
> Section "ServerLayout"
> 	Identifier     "Default Layout"
> 	Screen      0  "Screen0" 0 0
> 	InputDevice    "Mouse0" "CorePointer"
> 	InputDevice    "Keyboard0" "CoreKeyboard"
> 	InputDevice    "DevInputMice" "AlwaysCore"
> EndSection
>
> Section "Files"
> # RgbPath is 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.
>
> # Multiple FontPath entries are allowed (they are concatenated together)
> # By default, Red Hat 6.0 and later now use a font server independent of
> # the X server to render fonts.
>
> 	RgbPath      "/usr/X11R6/lib/X11/rgb"
> 	FontPath     "unix/:7100"
> EndSection
>
> Section "Module"
> 	Load  "dbe"
> 	Load  "extmod"
> 	Load  "fbdevhw"
> 	Load  "glx"
> 	Load  "record"
> 	Load  "freetype"
> 	Load  "type1"
> EndSection
>
> Section "InputDevice"
> # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
> #	Option	"Xleds"		"1 2 3"
>
> # To disable the XKEYBOARD extension, uncomment XkbDisable.
> #	Option	"XkbDisable"
>
> # To customise the XKB settings to suit your keyboard, modify the
> # lines below (which are the defaults).  For example, for a non-U.S.
> # keyboard, you will probably want to use:
> #	Option	"XkbModel"	"pc102"
> # If you have a US Microsoft Natural keyboard, you can use:
> #	Option	"XkbModel"	"microsoft"
> #
> # Then to change the language, change the Layout setting.
> # For example, a german layout can be obtained with:
> #	Option	"XkbLayout"	"de"
> # or:
> #	Option	"XkbLayout"	"de"
> #	Option	"XkbVariant"	"nodeadkeys"
> #
> # If you'd like to switch the positions of your capslock and
> # control keys, use:
> #	Option	"XkbOptions"	"ctrl:swapcaps"
> # Or if you just want both to be control, use:
> #	Option	"XkbOptions"	"ctrl:nocaps"
> #
> 	Identifier  "Keyboard0"
> 	Driver      "keyboard"
> 	Option	    "XkbRules" "xfree86"
> 	Option	    "XkbModel" "pc105"
> 	Option	    "XkbLayout" "us"
> EndSection
>
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> Section "InputDevice"
> 	Identifier  "Mouse0"
> 	Driver      "mouse"
> 	Option	    "Protocol" "PS/2"
> 	Option	    "Device" "/dev/psaux"
> 	Option	    "ZAxisMapping" "4 5"
> 	Option	    "Emulate3Buttons" "yes"
> EndSection
>
> Section "InputDevice"
> # If the normal CorePointer mouse is not a USB mouse then
> # this input device can be used in AlwaysCore mode to let you
> # also use USB mice at the same time.
> 	Identifier  "DevInputMice"
> 	Driver      "mouse"
> 	Option	    "Protocol" "IMPS/2"
> 	Option	    "Device" "/dev/input/mice"
> 	Option	    "ZAxisMapping" "4 5"
> 	Option	    "Emulate3Buttons" "no"
> EndSection
>
> Section "Monitor"
> 	Identifier   "Monitor0"
> 	VendorName   "Toshiba"
> 	ModelName    "Satellite P25 Display"
> 	HorizSync    29.0 - 55.0
> 	VertRefresh  0.0 - 60.0
> 	Option	    "dpms"
>
> 	ModeLine "1400x900" 77 1400 1408 1416 1424 900 901 902 903
> EndSection
>
> Section "Device"
> 	Identifier  "Videocard0"
> 	Driver      "nvidia"
> 	VendorName  "NVIDIA"
> 	BoardName   "NVIDIA GeForce FX Go5200"
> 	VideoRam    32768
> EndSection
>
> Section "Screen"
> 	Identifier "Screen0"
> 	Device     "Videocard0"
> 	Monitor    "Monitor0"
> 	DefaultDepth     24
> 	SubSection "Display"
> 		Depth     24
> 		Modes    "1400x900"
> 	EndSubSection
> EndSection
>
> Section "DRI"
> 	Group        0
> 	Mode         0666
> EndSection
>
> # laps /etc/X11/XF86Config
> # gets manually copied to ~jhs/public_html/hw/toshiba/s5100-603/XF86Config
> # to rebuild use xf86cfg -textmode, then sellect vesa, then haand tune.
> # Section		"InputDevice"
> #	Identifier	"Mouse0"
> #	Driver   	"mouse"
> #	Option 		"Protocol"	"auto"
> #	Option		"Device"	"/dev/sysmouse"
> # EndSection
>
> Section "ServerLayout"
> 	Identifier     "Layout0"
> 	Screen      0  "Screen0" 0 0
> 	InputDevice    "Keyboard0" "CoreKeyboard"
> 	InputDevice    "Mouse0" "CorePointer"
> 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/75dpi/"
> 	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/"
> EndSection
>
> Section "Module"
>
> 	# Load	"freetype"
> 	# Load	"xtt"
> 	Load  "extmod"
> 	Load  "glx"
> 	Load  "dri"
> 	Load  "dbe"
> 	Load  "record"
> 	Load  "xtrap"
> 	Load  "type1"
> 	Load  "speedo"
> EndSection
>
> Section "InputDevice"
> 	Identifier  "Mouse0"
> 	Driver      "mouse"
> 	Option	    "Protocol" "Auto"
> 	Option	    "Device" "/dev/sysmouse"
>
> # next 2 from gary
> # for the scroll wheel - 4 and 5 are virtual buttons
>      Option "Buttons" "5"
> # button 4 = negative movements, button 5 = positive movements
>      Option "ZAxisMapping" "4 5"
>
> EndSection
>
> Section "InputDevice"
> 	Identifier  "Keyboard0"
> 	Driver      "keyboard"
> 	Option	    "XkbModel" "pc101"
> 	Option	    "XkbLayout" "us"
> EndSection
>
> Section "Monitor"
> 	Identifier   "Monitor0"
> 	VendorName   "Toshiba"
> 	ModelName    "S5100-603"
> 	HorizSync    31.5 - 108.0	# Toshiba User's Manual Chapter E
> 	VertRefresh  50.0 - 100.0	# Just a guess
>         # manual quotes 15"
>         #        x 2.54 = 381 mm
>         #        Assume a 1024:768 ratio
>         #        Use Pythagorus
>         #               diag^2 = 1024^2 + 768^2
>         #               diag^2 = 1024^2 + 768^2
>         #               diag^2 = 1048576 + 589824
>         #               diag^2 = 1638400
>         #               diag = 1280
>         #        Width  = 381 mm x 1024 / 1280 = 304.8
>         #        Height = 381 mm x  768 / 1280 = 228.6
> 	DisplaySize	305 229
>
> EndSection
>
> Section "Device"
>
> 	# VendorName	"nVidia Corporation"	# xf86cfg visualmode
> 	# BoardName	"NV17 [GeForce4 440 Go]"	# xf86cfg visualmode
> 		# xf86cfg -textmode
> 	# xf86cfg -textmode
> 	# BusID    	"PCI:1:0:0"		# xf86cfg visualmode
> 	Identifier  "Card0"
> 	Driver      "nv"
> 	ChipSet     "GeForce4 440 Go"
> 	Card        "nv GeForce4 440 Go"
> EndSection
>
> Section "Screen"
>
> # Toshiba User's Manual Chapter E:
> #	15.0" TFT LCD will do 1024x768, 1400x1050, 1600x1200
> #	extern monitor will do 2048 x 1536 @ 16M colours
> 	# DefaultDepth	16
> 			# xf86cfg -textmode
> 	Identifier "Screen0"
> 	Device     "Card0"
> 	Monitor    "Monitor0"
> 	DefaultDepth     24
> 	SubSection "Display"
> 		Depth     24
> 		Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
> 	EndSubSection
> EndSection
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>

--
Bill Schoolcraft           | Life's journey is not to arrive at the
PO Box 210076              | grave safely in a well preserved body,
San Francisco,CA 94121     | but rather to skid in sideways, totally
http://billschoolcraft.com | spent, yelling "holy shit, what a ride!"



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