Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1358044ybm; Wed, 22 May 2019 23:03:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7mZ2eCHeO0seRWovYMi+sny3qA2p9nmo3sk2tef+F2j6sBrwct1j1UDugu9GEN0i+vD6H X-Received: by 2002:a17:902:d896:: with SMTP id b22mr82821193plz.40.1558591418060; Wed, 22 May 2019 23:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558591418; cv=none; d=google.com; s=arc-20160816; b=m3w0GX3dEN3c6yyHBkWTZKLIcM1m5bQejjBpaTP84ny44tediYvzFrt/4rRP8W/6su qb5RGf4AJPiHp/ZaRpZ8aVAN0CLqS/AbrJMrnf/+VlO52/+elRWSMw+Sz0bi9aAT4D4q xOm0kn+gdAMyv4el6eZ6TAS37jL3GnlOKKEvMwLykm0LUYNv237jgTctCCarYnd5P8u9 Z4ukM0eIVu1KhbWpPi7uqV3X4jz5brT6QtAR5ZfuHwrQiteMe/pCbadyspjkRQq+2v2t Svid6hvw6Prn/6AegyEbMogoh68Rv6lORe+IogH0eMVmVzZyvh3Syba9woK+xBMpSHj3 UjWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=LcsOEVamQy2pc64GAfEQRhVRNjB43ljzJOtJYgn4nCA=; b=zKqbPNE0kjAfq2Ur//9n43kwdpw8CFiaxte28ZooSUONZOPQ2s86fEkhb4vV7DHYiU hWLQHgESSbM1uabfKYmJICi1nFoU536JFN/Nl+13QvFZQQKXPVR9jlWvIiw+R1n0YjP7 bs5xXOqq/cj4DvFLBOEM2u8ntd+00f6foLXYcasZ+Clv7HyV2qrNEuX6LrzsnO0BzuIe GOEATM0NeYOM5dgzOp0SatdJxurFJjV45SWo7Obc/P3w7iPJZf7nfRyvcYq9jWYd9/L0 4ls0AWWLwpZMnO/sh84OwxAGSelq16kAKWwtCwhrreBrioc+2unw9epWcIb1Tl0oayFh JPBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@who-t.net header.s=fm3 header.b=aEXqDhR0; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=hhDRWbwm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 90si28206777plb.86.2019.05.22.23.03.19; Wed, 22 May 2019 23:03:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@who-t.net header.s=fm3 header.b=aEXqDhR0; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=hhDRWbwm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726905AbfEWGCE (ORCPT + 99 others); Thu, 23 May 2019 02:02:04 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:45513 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726081AbfEWGCE (ORCPT ); Thu, 23 May 2019 02:02:04 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E02732839F; Thu, 23 May 2019 02:02:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 23 May 2019 02:02:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=who-t.net; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm3; bh=L csOEVamQy2pc64GAfEQRhVRNjB43ljzJOtJYgn4nCA=; b=aEXqDhR0dur6J6hfj bXOS73z54KRCysXrk6vlu04AEFk6xFyOdQU78ZFZ4Xx/uSlWEAvrg/RWQR8smbj4 UymlqRv8mrJ49PjFZxQ95NctR8JlUCSOXy3Z5BmtSnSzH8ExRVCAGlLNwnHxeFkg E4AqLJw4dXSBbYU+7NincZ0ME2XQhMs7ZuHC53TVUooboQJlM1MR5fp7G8OZl3FS VdrB0OexJinEdZzDaOfCi+l9Yj9jH20tenCP1421lCOHDkdKA4vfn2OiF4mcgP6C JpTqeJawNNc2/X07CShqxSAJbyPdXYdIzrmUE+XA2eWnm3O7JCtihfckHAYs91te qvUyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=LcsOEVamQy2pc64GAfEQRhVRNjB43ljzJOtJYgn4n CA=; b=hhDRWbwmltxkSqEcdU6S7Ogwr9Zx4r40+97zVAJzDtc/63aEFAb+xrPtN 40P3U9gFxEGb9bzMUN3ys9yxUSMK7V/3IMCl0CR/PqbI5IZSwsqPUTAYXW1XJA3I b+SPy/4V8Np4cc95Se7/0k21HepYQMZL++n3jCydfgwPhTuLD0kBmNSrx5DLGYyq vLiYpsXZlLeHhYgSLJEGHve5DMp90SVR4w2yQ3k15i+iszBDxM5/rXFWaKDoRND8 Bc8XhfYYoySHWQD/Pmml9W5Ux5KXa4JCzr9B0Z8HxFPE1cjdMX7ma8W+Iu3B90WP mLl6l/xmb/H1MbghkLIcd6jX6w2mQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddruddufedguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggugfgjfgesthekredttderudenucfhrhhomheprfgv thgvrhcujfhuthhtvghrvghruceophgvthgvrhdrhhhuthhtvghrvghrseifhhhoqdhtrd hnvghtqeenucffohhmrghinhepfhhrvggvuggvshhkthhophdrohhrghenucfkphepuddu jedrvddtrdeiledrudegvdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrhh huthhtvghrvghrseifhhhoqdhtrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from jelly (117-20-69-142.751445.bne.nbn.aussiebb.net [117.20.69.142]) by mail.messagingengine.com (Postfix) with ESMTPA id D02DD380085; Thu, 23 May 2019 02:01:58 -0400 (EDT) Date: Thu, 23 May 2019 16:01:54 +1000 From: Peter Hutterer To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Xiaoxiao Liu , dmitry.torokhov@gmail.com, Hui Wang , XiaoXiao Liu , "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Xiaojian Cao , "zhangfp1@lenovo.com" Subject: Re: =?utf-8?B?562U5aSNOiDnrZTlpI06IOetlA==?= =?utf-8?B?5aSNOiBbUEFUQ0hdIGlucHV0?= =?utf-8?Q?=3A?= alps-fix the issue the special alps trackpoint do not work. Message-ID: <20190523060154.GA10526@jelly> References: <20190520110149.27107-1-sliuuxiaonxiao@gmail.com> <345b62e1-407e-7a03-9b03-486bbf5a0a8e@canonical.com> <20190521094622.syeub6tcqhbyc7sg@pali> <20190522063546.kb74mxeprkauicul@pali> <20190522074030.64sy7xt3wnomtxjb@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190522074030.64sy7xt3wnomtxjb@pali> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 22, 2019 at 09:40:30AM +0200, Pali Roh?r wrote: > On Wednesday 22 May 2019 07:30:43 Xiaoxiao Liu wrote: > > Hi Pali, > > > > Ok, and cannot you set ALPS_DUALPOINT flag based on that > > alps_check_is_trackpoint() result and then update > > alps_process_packet_ss4_v3() code to supports also > > V8 trackpoint packets? > > --> Yes, we can do like so, when we use the v8 method to process the trackpoint , the mouse speed is not ideal. > > Then we choose the standard mouse driver. > > Mouse speed is something which is configurable. Have you configured it > somehow? Also there is libinput project should handle these settings > more properly. > > Adding Peter Hutterer, maintainer of libinput to loop. I think he could > help with this problem. libinput has a quirk for a magic multiplier on trackpoints. it was the only solution I found that came close to "working" given that every device seems to provide some other random magic data. Doc for it is here: https://wayland.freedesktop.org/libinput/doc/latest/trackpoint-configuration.html There are also different speeds depending on which xorg driver you'd use (or libinput/Wayland), so a "mouse speed is not ideal" is almost a guarantee, given a large enough variety of setups :) That's why we have the speed toggle, but I'm happy to hear any suggestions on how to make the trackpoint more useful (in libinput anyway). > I do not think it is a good idea to force back to generic PS/2 mouse > driver for touchpads and trackpoints. Native drivers for touchpads and > trackpoints supports multitouch, absolute reporting and lot of other > things... Also calculation of mouse speed from absolute positions on > touchpads can be more easily fixed as from emulated relative movements. Yeah, agree. Using PS/2 mouse drivers means you lose *all* the extra features touchpads have like palm detection, tapping, scrolling, gestures, etc. Cheers, Peter > > Dmitry, what is your opinion about this problem? What should psmouse.ko > do in this situation? Disallow usage of absolute mode and force bare > PS/2 relative mode?