From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 24 11:05:43 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 92D2616A402 for ; Sat, 24 Mar 2007 11:05:43 +0000 (UTC) (envelope-from emmanuel.mie@club-internet.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 41B5F13C455 for ; Sat, 24 Mar 2007 11:05:43 +0000 (UTC) (envelope-from emmanuel.mie@club-internet.fr) Received: from relay-dv.club-internet.fr (relay-dv.cs.clubint.net [172.16.0.178]) by delay-av.club-internet.fr (Postfix) with ESMTP id C98BD222B17 for ; Sat, 24 Mar 2007 11:44:34 +0100 (CET) Received: from Edmond (i02m-213-44-130-77.d4.club-internet.fr [213.44.130.77]) by relay-dv.club-internet.fr (Postfix) with SMTP id EF85025609 for ; Sat, 24 Mar 2007 11:44:32 +0100 (CET) Message-ID: <001001c76e00$c1629ff0$0201a8c0@Edmond> From: "Emmanuel Mie" To: Date: Sat, 24 Mar 2007 11:39:51 +0100 MIME-Version: 1.0 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Synaptics issue on Dell Inspiron 640m and FreeBSD 6-2-RELEASE - SOLVED 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: Sat, 24 Mar 2007 11:05:43 -0000 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 !