Synaptics issue on Dell Inspiron 640m and FreeBSD 6-2-RELEASE - SOLVED

Emmanuel Mie emmanuel.mie at club-internet.fr
Sat Mar 24 11:05:43 UTC 2007


I finally got it working despite a few EE and WW left - nothing bad

Here's my final xorg.conf

Section "ServerFlags"
	Option       "AllowMouseOpenFail" "true"
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/TTF/"
	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  "extmod"
	Load  "i2c"
	Load  "bitmap"
	Load  "ddc"
	Load  "vbe"
	Load  "dri"
	Load  "glx"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "keyboard"
	Driver      "kbd"
	Option      "XkbRules"   "xorg"
	Option      "XkbModel"   "pc105"
	Option      "XkbLayout"  "fr"
EndSection

Section "InputDevice"
	Identifier  "synaptics"
	Driver      "synaptics"
	Option      "CorePointer"
	Option      "SendCoreEvents" "true"
	Option      "Device" "/dev/psm0"
	Option      "Protocol" "psm"
	Option      "HorizScrollDelta" "0"
	Option      "SHMConfig" "off"
EndSection

Section "Device"
	Identifier  "i945"
	Driver      "i810"
	VendorName  "Intel Corporation"
	BoardName   "Mobile Integrated Graphics Controller"
	Option      "NoAccel" "False"
	Option      "DRI" "True"
	Option      "XVideo" "True"
	Option      "XAANoOffScreenPixmaps" "True"
	BusID       "PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier  "lcd"
	Option      "DPMS" "True"
EndSection

Section "Screen"
	Identifier  "screen"
	Device      "i945"
	Monitor     "lcd"
	SubSection "Display"
		Modes        "1440x900" "1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier    "layout"
	Screen        "screen"        0 0
	InputDevice   "keyboard"      "CoreKeyboard"
	InputDevice   "synaptics"     "CorePointer"
	Option        "SingleCard"    "True"
	Option        "OffTime"       "5"
EndSection

Section "DRI"
	Mode 0666
EndSection


# cat var/log/Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): /dev/agpgart is either not available, or no memory is available
(WW) I810(0): config file hsync range 51.4286-56.8421kHz not within DDC hsync ranges.
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(WW) fcntl(8, O_ASYNC): Inappropriate ioctl for device
(WW) I810(0): Successfully set original devices
(WW) I810(0): Setting the original video mode instead of restoring
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(WW) I810(0): Successfully set original devices (2)

The one left error is not a problem. I take this from what I've read and since I get the graphic screen, it's fine with me.

# cat var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)


Now, here's how I got it to work...

Here's the trick for the video : the Video BIOS and the i810 driver don't agree on which video modes are available. So I used 915resolution to redirect video modes.

# 915resolution -l displays the modes found in the video BIOS

I picked among those (feeling lucky kind of pick ;-) and wrote a tiny script :

# cat enable915.sh
915resolution 50 1440 900 24
915resolution 52 1024 768 24
915resolution 54 1440 900 16

This I should put in a boot file but I don't know which. Any idea welcome...

I commented out the DefaultDepth option in the Screen section and defined only one Display subsection with the 2 resolutions I want enabled.

# Xorg -config Xorg.conf.test

All right : I get the graphic screen, and the touchpad is enabled, I can move the crosshair... Cool

On leaving (Ctrl Alt BkSp) I get a few more warnings.

Synaptics works. It actually hooks to /dev/psm0 - in Xorg.0.log :

Synaptics DeviceInit called
SynapticsCtrl called.
Synaptics DeviceOn called
        :
Synaptics DeviceOff called

I am now going to actually "startX" - at last !

Hope this can help others !


More information about the freebsd-mobile mailing list