From owner-freebsd-current@FreeBSD.ORG Thu Apr 9 07:02:32 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3827F22 for ; Thu, 9 Apr 2015 07:02:32 +0000 (UTC) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 53D3FD6 for ; Thu, 9 Apr 2015 07:02:32 +0000 (UTC) Received: by wgbdm7 with SMTP id dm7so110387324wgb.1 for ; Thu, 09 Apr 2015 00:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=r3oU8soT7CnnjSdQOP4O0Yni128cGj0DluZ6GOm3VA8=; b=BwuWVkb00r8rwLtYy1imvFIKm0/dukQUbwzefAujQiv0dOifBXHvmSPeKGv0XCpjil pJQ8PC6mL+8PeQRclMjhe5w9dOF6NW1+BNVbScmARF8VhG4fE5QAJZ2YxoX9nB+c0g2q e4keKiEsr59N+kMoNtN64E+DqhJTa+lZX96slzEtvPOv6WzoCr1a/YJFG6bXfASkI03m g3SI6awx7Zg8pGDOt7XZpdQLN+8TMc7Pnkp7s19IOkPHEXbbpTqoSeuhk6iugvRBwNId 5cFsQWHg8A7wmHeEyyKZnkiINjfVlJ9mqji6WNRswgsJLFg9Z72XfQaZjMsE7JHEc/pY N5PA== X-Received: by 10.180.74.102 with SMTP id s6mr3386188wiv.37.1428562950670; Thu, 09 Apr 2015 00:02:30 -0700 (PDT) Received: from laptop.minsk.domain (minsk.nivalnetwork.com. [86.57.144.74]) by mx.google.com with ESMTPSA id fa8sm18782753wib.14.2015.04.09.00.02.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2015 00:02:29 -0700 (PDT) Date: Thu, 9 Apr 2015 10:00:40 +0300 From: "Sergey V. Dyatko" To: Rui Paulo Subject: Re: Call For Testers: Synaptics touchpads Message-ID: <20150409100040.22093546@laptop.minsk.domain> In-Reply-To: <3270374.XyG30qCihb@akita> References: <1849381.HnoQVUIgNM@akita> <20150409091052.63d44c77@laptop.minsk.domain> <3270374.XyG30qCihb@akita> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2015 07:02:33 -0000 On Wed, 08 Apr 2015 23:27:28 -0700 Rui Paulo wrote: > On Thursday 09 April 2015 09:10:52 Sergey V. Dyatko wrote: > > On Wed, 08 Apr 2015 00:19:45 -0700 > > > > Rui Paulo wrote: > > > Hi, > > > > > > The attached patch adds support for newer touchpad features and implements > > > two finger scrolling. This is such a common feature these days that I > > > think we should enable it by default and disable edge scrolling. I've > > > implemented some detection code to keep edge scrolling enabled when the > > > touchpad has a dedicated area for scrolling. > > > > > > Please test it and report back your experience. To enable synaptics > > > support, you need: > > > > > > hw.psm.synaptics_support=1 > > > > > > in loader.conf. > > > > > > Thanks, > > > > Patch applied successfully (head, r280980). > > > > with and without hw.psm.synaptics_support=1 I have > > > > [tiger@laptop]:~>synclient > > Couldn't find synaptics properties. No synaptics driver loaded? > > This isn't the xorg driver, so you can't use it. > > > > > and mouse cursor moved soooo slooowly, > > Is this a new problem with this patch? You can adjust the speed in xorg. > > > without hw.psm.synaptics_support it > > moved faster, vertical scrolling doesn't work in both cases > > Ok, I just wanted to make sure there are no regressions. I don't have your > model, so it's hard to help you. > Now I revert patch, results: booting w/o hw.psm.synaptics_support=1 * vscroll doesn't work * buttons works fine * mouse cursor moved slow (~ like without synaptics_support + your patch) booting with synaptics_support enabled: * vscroll works fine * buttons doesn't work * mouse cursor moved ok (fast) * synclient works fine two figers too, after `synclient VertTwoFingerScroll=1` So, it general, there is no large regression if I can adjust the speed in xorg (now?). Just in case, I have following on xorg.conf: Section "InputDevice" Identifier "Mouse0" Driver "synaptics" Option "Protocol" "psm" Option "Device" "/dev/psm0" # Option "SHMConfig" "on" Option "LBCornerButton" "1" Option "RBCornerButton" "2" Option "MinSpeed" "7" Option "MaxSpeed" "9" Option "AccelFactor" "0.0015" Option "ZAxisMapping" "4 5 6 7" EndSection I would be grateful if you (or somebody else) told me how I can fix vscroll with your patch Thanks! -- wbr, tiger