From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 19 12:28:42 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4E3F8AC0 for ; Thu, 19 Jun 2014 12:28:42 +0000 (UTC) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 09C6B2A34 for ; Thu, 19 Jun 2014 12:28:41 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id j7so1903165qaq.10 for ; Thu, 19 Jun 2014 05:28:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=voPzV+L3X21cTRHZ9AHGCILgqIOHSz3sFk1iEVW05Ag=; b=bVoeOnMsSKgZXI/PTSqzP/MUvRLxhTAI9p/5LJg/rpz3y5u96fnRem8jtEvjfwCid1 W0jxHYZvxdV3QnEonwrTrvegSpsXsdryT/jiSH6VA4L05jMNQHTsjL6cYob8+kGsgHZ9 bfZhLUVZXghtZzU2AGoctNcxg0Uj2o/wqvXXP5wQ7WzqUD51LgSpS9wNjZtJGKaDwch1 8Sl4bqMwT9wBpgpQ3FIN9vX6DdNW0B3oypHVMrfd7Sr0Gixi9ZQoyn3Jw9MqPJyaf7td AjdzpeT8ETcPXnMFYA8R5oD/RioydouH1S1FMxkXf+Au/1CIvL+4j1hst4m6SltC5/mJ YtXQ== MIME-Version: 1.0 X-Received: by 10.140.32.116 with SMTP id g107mr6105023qgg.30.1403180920884; Thu, 19 Jun 2014 05:28:40 -0700 (PDT) Received: by 10.96.12.166 with HTTP; Thu, 19 Jun 2014 05:28:40 -0700 (PDT) In-Reply-To: <53A23DAF.7030201@yahoo.com> References: <539DA73B.7050709@metricspace.net> <1402931204.35984.YahooMailNeo@web140703.mail.bf1.yahoo.com> <58DCAA2E-44DA-48F3-87B3-366301F55138@metricspace.net> <53A02532.60201@metricspace.net> <53A03BAF.3020807@yahoo.com> <53A080D3.2000207@yahoo.com> <53A23DAF.7030201@yahoo.com> Date: Thu, 19 Jun 2014 14:28:40 +0200 Message-ID: Subject: Re: [Patch] psm(4) ClickPad detection (was Re: Lenovo W540 so far) From: Ivan Rokotov To: Anthony Jenkins Content-Type: text/plain; charset=UTF-8 Cc: Eric McCorkle , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2014 12:28:42 -0000 Well, with patched synaptics driver + patched kernel = no touchpad at all, no keyboard (Ctrl+Alt+F1 worked). With patched synaptics + unpatched kernel = everything works as earlier. (Bluetooth mouse works all time time.) I post the relevant part of the logs + my xorg.conf, just for the case. # cat dmesg.today | grep psm0 psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Synaptics Touchpad, device ID 0 # grep '\(keyboard\|kbd\)' Xorg.0.log [ 32.694] (II) LoadModule: "kbd" [ 32.695] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so [ 32.695] (II) Module kbd: vendor="X.Org Foundation" # cat messages | grep atkbd Jun 19 14:00:47 thorium kernel: atkbdc0: port 0x60,0x64 irq 1 on acpi0 Jun 19 14:00:47 thorium kernel: atkbd0: irq 1 on atkbdc0 Jun 19 14:00:47 thorium kernel: kbd0 at atkbd0 Jun 19 14:00:47 thorium kernel: atkbd0: [GIANT-LOCKED] Jun 19 14:00:47 thorium kernel: psm0: irq 12 on atkbdc0 # cat /etc/X11/xorg.conf | grep -v '^[[:space:]]*#' | sed 's/#.*$//' Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Touchpad0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "DontZap" "off" Option "AutoAddDevices" "off" Option "AllowEmptyInput" "off" Option "AIGLX" "true" EndSection Section "Server Flags" Option "IgnoreABI" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/Droid/" FontPath "/usr/local/lib/X11/fonts/LinLibertineG/" FontPath "/usr/local/lib/X11/fonts/Liberation/" FontPath "/usr/local/lib/X11/fonts/GentiumBasic/" EndSection Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "record" Load "glx" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "InputDevice" Identifier "Touchpad0" Driver "synaptics" Option "SHMConfig" "On" Option "Protocol" "psm" Option "Device" "/dev/psm0" Option "SendCoreEvents" "true" Option "ClickPad" "1" Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0" Option "TapButton1" "1" Option "TapButton2" "3" Option "TapButton3" "2" Option "ClickFinger1" "1" Option "ClickFinger2" "3" Option "ClickFinger3" "2" Option "VertTwoFingerScroll" "1" Option "HorizTwoFingerScroll" "1" Option "VertScrollDelta" "-50" Option "HorizScrollDelta" "-60" Option "EmulateMidButtonTime" "0" Option "EdgeMotionMinSpeed" "30" Option "EdgeMotionMaxZ" "60" Option "FingerLow" "29" Option "FingerHigh" "38" Option "MaxTapTime" "250" Option "MaxTapMove" "100" Option "MaxDoubleTapTime" "100" Option "ClickTime" "100" Option "SingleTapTimeout" "200" Option "MaxSpeed" "1.8" Option "HorizHysteresis" "32" Option "VertHysteresis" "32" Option "AccelFactor" "0.04" Option "LockedDrags" "1" Option "LockedDragTimeout" "200" Option "PalmDetect" "1" Option "PalmMinWidth" "10" Option "PalmMinZ" "130" Option "CoastingSpeed" "0.3" Option "VertEdgeScroll" "on" Option "HorizEdgeScroll" "on" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" Option "DMPS" EndSection Section "Device" Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "3rd Gen Core processor Graphics Controller" BusID "PCI:0:2:0" EndSection Section "Screen" Option "AddARGBGLXVisuals" "True" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" EndSection