From owner-freebsd-mobile@freebsd.org Fri Sep 11 20:42:25 2015 Return-Path: Delivered-To: freebsd-mobile@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 947BCA01863; Fri, 11 Sep 2015 20:42:25 +0000 (UTC) (envelope-from wulf@cicgroup.ru) Received: from corp.infotel.ru (corp.infotel.ru [195.170.219.3]) by mx1.freebsd.org (Postfix) with ESMTP id 497881DC8; Fri, 11 Sep 2015 20:42:24 +0000 (UTC) (envelope-from wulf@cicgroup.ru) Received: from corp (corp.infotel.ru [195.170.219.3]) by corp.infotel.ru (Postfix) with ESMTP id 867FF1A80E; Fri, 11 Sep 2015 23:42:16 +0300 (MSK) X-Virus-Scanned: amavisd-new at corp.infotel.ru Received: from corp.infotel.ru ([195.170.219.3]) by corp (corp.infotel.ru [195.170.219.3]) (amavisd-new, port 10024) with ESMTP id 0UoSwa2nEOSK; Fri, 11 Sep 2015 23:42:15 +0300 (MSK) Received: from mail.cicgroup.ru (unknown [195.170.219.74]) by corp.infotel.ru (Postfix) with ESMTP id B35AD1A807; Fri, 11 Sep 2015 23:42:15 +0300 (MSK) Received: from mail.cicgroup.ru (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTP id 4079F35E53E; Fri, 11 Sep 2015 23:42:12 +0300 (MSK) X-Virus-Scanned: amavisd-new at cicgroup.ru Received: from mail.cicgroup.ru ([127.0.0.1]) by mail.cicgroup.ru (mail.cicgroup.ru [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 9L3UxBYU3JU6; Fri, 11 Sep 2015 23:41:57 +0300 (MSK) Received: from localhost (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTPA id BF88B35E202; Fri, 11 Sep 2015 23:41:57 +0300 (MSK) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 11 Sep 2015 23:41:57 +0300 From: Vladimir Kondratyev To: Shawn Webb Cc: owner-freebsd-mobile@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Trackpad Support Request: Lenovo Y50-70 In-Reply-To: <10158473.tp1e3QtORU@hbsd-dev-laptop> References: <3411725.xIpgxXMYQX@hbsd-dev-laptop> <10158473.tp1e3QtORU@hbsd-dev-laptop> Message-ID: <4a98b86e7508f20cf4de2fb45e057c3f@localhost> X-Sender: wulf@cicgroup.ru User-Agent: Roundcube Webmail/1.1.2 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2015 20:42:25 -0000 On 2015-09-11 16:37, Shawn Webb wrote: > On Friday, 11 September 2015 11:40:11 AM Vladimir Kondratyev wrote: >> On 2015-09-11 04:40, Shawn Webb wrote: >> > Hey All, >> > >> > I've got a Lenovo Y50-70, the non-touchscreen version. The trackpad is >> > semi- >> > supported: I can move the mouse curser and do single-finger >> > tap-to-click. Two- >> > finger scrolling and two-finger tap for right-click doesn't work. >> >> Hi Shawn >> >> Its possible that Lenovo Y50-70 has unsupported elan touchpad: >> http://marc.info/?l=linux-input&m=141646703528043&w=2 so you can try >> patch from my yesterday mail to freebsd-mobile maillist > > Hey Vladimir, > > Awesome! Thanks for the prompt reply and the patch! You mentioned in > your > email yesterday that PS/2 emulation mode is giving you headaches. > Would it be possible to have the driver act like Synaptics touchpads? > Maybe provide some > sort of driver shim to convert between Synaptics APIs and Elantech > APIs? It should act exactly like synaptics as it shares common gesture processing code with synaptics kernel driver. Differences are initialization and fingers position extraction code (and bugs). But it is true if and only if it is used with moused and sysmouse protocol. x11-drivers/xf86-input-synaptics port definitely should not work as it disables kernel PS/2 protocol processing and use its own routines for decoding touchpad events. > Granted, all of this may be moot and not even possible. I have no clue > how > touchpad drivers work under-the-hoods, so my newbishness is most likely > showing. ;) > > Thanks,