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

Emmanuel Mie manumie at yahoo.fr
Thu Mar 15 00:00:23 UTC 2007


Hi

I'm new to this list.
I'm a bit stuck with Xorg configuration. I've been trying to figure it out 
on my own, and a mod from BSDForums.org told me to post here. I've had the 
i810 driver running almost smoothly with the i945GM video chip, but the 
synaptics module won't find his device...

Here's my config :
Dell Inspiron 640m
Proc Intel Core2Duo T5500
MB Intel i945GM + ICH7-M
Video i945GM

# uname -a
FreeBSD 6.2-RELEASE #0: Tue Mar 13 15:24:47 CET 2007              root@ 
:/usr/obj/usr/src/sys/GENERIC   i386

I got the iso from FreeBSD, burned them and started installing on Monday.

After sysinstall and reboot, I get a console login prompt. I log in 
politely, and I want to start X !! I had installed X and KDE with 
sysinstall.
I'm not used to FreeBSD, I used to work with Mandrake 10 so I probably have 
misconceptions about the logic of the FreeBSD system. I read carefully the 
Handbook, and I followed the instructions.
I generated a Xorg.conf.new which I tested with Xorg -config
After a few unsuccessful tries, I got a conf file working, i.e. it launched 
the server and gave me the graphic screen.

Here is the file :
******************
Section "ServerFlags"
    Option       "AllowMouseOpenFail" "1"
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"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option	    "Protocol" "auto"
    Option	    "Device" "/dev/sysmouse"
    Option	    "ZAxisMapping" "4 5 6 7"
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"
    HorizSync   31.5-90
    VertRefresh 60
    Gamma       0.90 0.90 0.90
EndSection

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

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

Section "DRI"
    Mode 0666
EndSection
******************

I only get a few warnings and errors :

# 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 31.5-90kHz not within DDC hsync 
ranges.
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(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)

# 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)

# The end of /var/log/Xorg.0.log
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
(WW) I810(0): Successfully set original devices
(WW) I810(0): Setting the original video mode instead of restoring
 the saved state
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(II) I810(0): BIOS call 0x5f05 not supported, setting refresh with VBE 3 
method.
(WW) I810(0): Successfully set original devices (2)
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 
1; fixing.

I think this problem (i810 driver / AGPGART / i945GM video chip) has already 
been reported, it works anyway, and it can be avoided by switching to "vesa" 
driver.
But the VBIOS checksum seems to be an issue, but as long as it works, I 
don't care.

My problem is with the next step, that is configuring the touchpad...
I installed the synaptics module using the Ports and made a few changes to 
my Xorg.conf :
- I deleted the mouse InputDevice section and replaced it by a synaptics 
InputDevice section as follows :
Section "InputDevice"
    Identifier  "synaptics"
    Driver      "synaptics"
    Option      "CorePointer"
    Option      "SendCoreEvents" "true"
    Option      "Device" "/dev/psaux"
    Option      "Protocol" "auto-dev"
    Option      "HorizScrollDelta" "0"
    Option      "SHMConfig" "0"
EndSection

I added
Load "synaptics"
to the Module section and changed the ServerLayout consequently

I run Xorg -config and the server can't start.

Here's the log :

# 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 31.5-90kHz not within DDC hsync 
ranges.
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(WW) No core pointer registered
(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)

# 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)
(EE) synaptics Found no Synaptics, found Mouse model 0 instead
(EE) synaptics no synaptics touchpad detected and no repeater device
(EE) synaptics Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "synaptics"

# The end of /var/log/Xorg.0.log
No core pointer

Fatal server error:
failed to initialize core devices


 I read that the synaptics driver's inability to detect the device could be 
related to the evdev module - but, if I get it right, evdev belongs to Linux 
and doesn't fit into FreeBSD... Is there anything in FreeBSD that could 
replace it ?

What can I do ?

Sorry for the long and probably "newbie-like" message, and thanks in advance 
for your help.

Regards,
Emmanuel Mie 



More information about the freebsd-mobile mailing list