From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 15 00:00:23 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 615BC16A402 for ; Thu, 15 Mar 2007 00:00:23 +0000 (UTC) (envelope-from manumie@yahoo.fr) Received: from delay-av.club-internet.fr (delay-av.club-internet.fr [194.158.96.170]) by mx1.freebsd.org (Postfix) with ESMTP id AA08113C45A for ; Thu, 15 Mar 2007 00:00:22 +0000 (UTC) (envelope-from manumie@yahoo.fr) Received: from relay-cv.club-internet.fr (relay-cv.cs.clubint.net [172.16.1.59]) by delay-av.club-internet.fr (Postfix) with ESMTP id 783896A09F0 for ; Thu, 15 Mar 2007 00:39:57 +0100 (CET) Received: from Edmond (i02m-213-44-130-77.d4.club-internet.fr [213.44.130.77]) by relay-cv.club-internet.fr (Postfix) with SMTP id C81442560A for ; Thu, 15 Mar 2007 00:39:55 +0100 (CET) Message-ID: <013a01c76691$6f2cb340$0201a8c0@Edmond> From: "Emmanuel Mie" To: Date: Thu, 15 Mar 2007 00:35:20 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Subject: Synaptics issue on Dell Inspiron 640m and FreeBSD 6-2-RELEASE - Xorg 6.9 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 00:00:23 -0000 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