X configuration for laptop

Kirill Bezzubets kirill at solaris.ru
Wed May 19 23:48:38 PDT 2004


On Wed, May 19, 2004 at 07:05:08PM -0400, Shaun T. Erickson wrote:
> I am trying to install FreeBSD 5.2.1 on a laptop, for the first time. 
> The OS install went fine. But I don't know what to do to configure X.
> 
> It's an almost 4 year old "Dell Lattitude CPx J750GT". The video 
> controller is an "ATI M1", with 8 MB of memory. Looking up my spcific 
> system on the Dell support site, it's display is described as an "Liquid 
> Crystal Display, TFT, 14.1, CRNA, Samsung", Dell part# 4564E.

AFAIK, for some reason you should build custom kernel
without SMP support to run XFree at CPx J.

Here's my XF86Config from Dell Latitude CPx H:

---cut here---

Section "ServerLayout"
	Identifier     "X-Normal"
	Screen      0  "X-Screen" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Implicit Core Keyboard" "CoreKeyboard"
	Option	    "MouseKeys" "on"
EndSection

Section "ServerLayout"
	Identifier     "X-Video"
	Screen      0  "VideoOut" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Implicit Core Keyboard" "CoreKeyboard"
	Option	    "MouseKeys" "on"
EndSection


Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/TrueType/"
	FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
	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/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/vga/"
#	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
#	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
EndSection

Section "Module"
	Load  "extmod"
	Load  "glx"
	Load  "dri"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "speedo"
	Load  "type1"
#	Load  "freetype"
	Load  "xtt"
EndSection

Section "InputDevice"
	Identifier  "Implicit Core Keyboard"
	Driver      "keyboard"
	Option	    "Protocol" "Standard"
	Option	    "AutoRepeat" "500 30"
	Option	    "XkbKeycodes" "xfree86"
	Option "XkbTypes"    "complete"
    	Option "XkbCompat"   "complete+leds"
    	Option "XkbSymbols"  "us(pc102)+ru+group(caps_toggle)"
	Option	    "XkbGeometry" "pc"
	Option	    "XkbRules" "xfree86"
	Option	    "MouseKeys" "on"
	Option	    "CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
#	Option	    "MouseKeys" "on"
	Option	    "Buttons" "5"
	Option      "ZAxisMapping" "4 5"
#	Option	    "Emulate3Buttons"
EndSection

Section "InputDevice"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option	    "Protocol" "intellimouse"
	Option	    "Device" "/dev/cuaa0"
#	Option	    "MouseKeys" "on"
	Option	    "Buttons" "5"
	Option      "ZAxisMapping" "4 5"
#	Option	    "Emulate3Buttons"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	HorizSync    31.5 - 67.0
	VertRefresh  50.0 - 90.0
#	Modeline     "1024x768" 85.52 1024 1056 1376 1408 768 782 792 807 -hsync -vsync	ModeLine     "1024x768" 65.0 1024 1032 1176 1344 768 771 777 806 -hsync -vsync
#	ModeLIne     "800x600"      49.50    800  816  896 1056    600  601  604  625 +hsync +vsync
#	ModeLine     "640x480"      36.00    640  720  776  832    480  481  484  509 -hsync -vsync
#	ModeLine     "1024x768" 65.0 1024 1032 1176 1344 768 771 777 806 -hsync -vsync
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     "accel" "True"              	# [<bool>]
        Option     "tv_out" "True"              	# [<bool>]
        Option     "tv_standart" "PAL"              	# [<bool>]
        Option     "crt_display" "True"       	# [<bool>]
        Option     "composite_sync" "True"    	# [<bool>]
        Option     "hw_cursor" "True"          	# [<bool>]
        #Option     "linear"             	# [<bool>]
        #Option     "mmio_cache"         	# [<bool>]
        Option     "panel_display" "True"     	# [<bool>]
        #Option     "probe_clocks"       	# [<bool>]
        #Option     "reference_clock"    	# <freq>
        #Option     "shadow_fb"          	# [<bool>]
        #Option     "sw_cursor"          	# [<bool>]
	Identifier  "Card0"
	Driver      "ati"
	VendorName  "ATI"
	BoardName   "Rage Mobility P/M AGP 2x"
	ChipSet     "ati"
	ChipId      0x4c4d
	ChipRev     0x64
	BusID       "PCI:1:0:0"

EndSection

Section "Screen"
	Identifier "X-Screen"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     16
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
      	#	Modes        "1024x768"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1024x768"
#		Modes  	"800x600" 
#		Modes	"640x480"
	EndSubSection
	SubSection "Display"
#		Modes	"800x600"		
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "VideoOut"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     16
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
      	#	Modes        "1024x768"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
#		Modes    "1024x768"
		Modes  	"800x600" 
#		Modes	"640x480"
	EndSubSection
	SubSection "Display"
#		Modes	"800x600"		
		Depth     24
	EndSubSection
EndSection


Section "DRI"
	Group        0
EndSection


---cut here---

-- 
BR,
Kirill Bezzubets                                CASE-RIPE CASE-RIPN
CTO / Head Of N.O.C.                            mailto:kirill at solaris.ru
Solaris ISP & Telecommunications Co. Ltd        http://www.solaris.ru


More information about the freebsd-mobile mailing list