From owner-freebsd-current@FreeBSD.ORG Thu Apr 9 07:21:19 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1DC861E for ; Thu, 9 Apr 2015 07:21:19 +0000 (UTC) Received: from st11p00mm-asmtp002.mac.com (st11p00mm-asmtpout002.mac.com [17.172.81.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85044269 for ; Thu, 9 Apr 2015 07:21:18 +0000 (UTC) Received: from akita.localnet (c-73-162-13-215.hsd1.ca.comcast.net [73.162.13.215]) by st11p00mm-asmtp002.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NMJ00K2Q33AF930@st11p00mm-asmtp002.mac.com> for freebsd-current@freebsd.org; Thu, 09 Apr 2015 07:21:12 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-04-09_01:2015-04-08,2015-04-09,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1504090066 From: Rui Paulo To: "Sergey V. Dyatko" Subject: Re: Call For Testers: Synaptics touchpads Date: Thu, 09 Apr 2015 00:21:10 -0700 Message-id: <2247526.haXVf2lAZ1@akita> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) In-reply-to: <20150409100040.22093546@laptop.minsk.domain> References: <1849381.HnoQVUIgNM@akita> <3270374.XyG30qCihb@akita> <20150409100040.22093546@laptop.minsk.domain> MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii X-Mailman-Approved-At: Thu, 09 Apr 2015 11:31:31 +0000 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:21:19 -0000 On Thursday 09 April 2015 10:00:40 Sergey V. Dyatko wrote: > 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 Wait a second. You're mixing sysmouse synaptics support with the xorg driver? That will probably not work very well. My patch should be tested without the synaptics xorg driver. Try this: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection -- Rui Paulo