From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?utf-8?B?Um9ow6Fy?= 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. Date: Wed, 22 May 2019 09:40:30 +0200 Message-ID: <20190522074030.64sy7xt3wnomtxjb@pali> References: <20190520110149.27107-1-sliuuxiaonxiao@gmail.com> <345b62e1-407e-7a03-9b03-486bbf5a0a8e@canonical.com> <20190521094622.syeub6tcqhbyc7sg@pali> <20190522063546.kb74mxeprkauicul@pali> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Xiaoxiao Liu , Peter Hutterer , dmitry.torokhov@gmail.com Cc: Hui Wang , XiaoXiao Liu , "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Xiaojian Cao , "zhangfp1@lenovo.com" List-Id: linux-input@vger.kernel.org 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. 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. 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? -- Pali Rohár pali.rohar@gmail.com