From owner-freebsd-mobile@freebsd.org Mon Jul 4 09:18:41 2016 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 68815B909CC for ; Mon, 4 Jul 2016 09:18:41 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F89C2136 for ; Mon, 4 Jul 2016 09:18:40 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.15.238.3] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1bK01T-0002lR-N0; Mon, 04 Jul 2016 11:18:36 +0200 Received: from localhost.my.domain (c720-r292778-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id u649IYIe004191 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 4 Jul 2016 11:18:34 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u649IXeU004190; Mon, 4 Jul 2016 11:18:33 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 4 Jul 2016 11:18:33 +0200 From: Matthias Apitz To: Vladimir Kondratyev Cc: freebsd-mobile@freebsd.org Subject: Re: psm(4) support for Elantech touchpads Message-ID: <20160704091833.GA4073@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Vladimir Kondratyev , freebsd-mobile@freebsd.org References: <20160703185028.GA2151@c720-r292778-amd64> <6d9d3a0a34a740e76c644f4154c02576@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT r292778 (amd64) User-Agent: Mutt/1.5.24 (2015-08-30) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.15.238.3 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2016 09:18:41 -0000 El día Monday, July 04, 2016 a las 11:55:08AM +0300, Vladimir Kondratyev escribió: > After some investigations its turned out that some modern ElanTPs use > I2C interface not PS/2 > so they can not be handled with my patch. Its necessary to port new > driver from Linux > https://lwn.net/Articles/496137/ or from OpenBSD where it has name > imt(4) Thanks for your hint. I have to admit, that the idea it is an 'elan' touchpad is at the moment only a guess. As I said, the Acer C720 was at Acer.com for repair an issue with the touchpad and they changed the keyboard and touchpad (this is an visible fact). ChromeOS was working with it but the call in our FreeBSD src/sys/dev/cyapa/cyapa.c: ... static int cyapa_probe(device_t dev) { struct cyapa_cap cap; int addr; int error; addr = smbus_get_addr(dev); /* * 0x67 - cypress trackpad on the acer c720 * (other devices might use other ids). */ device_printf(dev, "cyapa_probe(): addr %02x\n", addr); if (addr != 0x67) return (ENXIO); ... now returns 0x15 and not 0x67, and so the cyapa.ko does not attach anymore not even when I change the test to 0x15, which leaded to the guess of Elan TP. I will try to make some NetBSD or OpenBSD USB boot key to first verify what we do have here as hardware. Or any other idea to figure out, what Acer now installed? Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 "Wer übersieht, dass wir uns den anderen weggenommen haben und sie uns wiederhaben wollen, kann von den Kämpfen der letzten Tage keinen verstehen. Und kann natürlich auch keinen dieser Kämpfe bestehen." Hermann Kant in jW 1.10.1989