From owner-freebsd-mobile@freebsd.org Mon Jul 4 08:55:33 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 B3B83B90167; Mon, 4 Jul 2016 08:55:33 +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 6EC512A93; Mon, 4 Jul 2016 08:55:32 +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 35E261154B; Mon, 4 Jul 2016 11:55:27 +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 IGCAsCrMVGS5; Mon, 4 Jul 2016 11:55:21 +0300 (MSK) Received: from mail.cicgroup.ru (unknown [195.170.219.74]) by corp.infotel.ru (Postfix) with ESMTP id 52F6811545; Mon, 4 Jul 2016 11:55:21 +0300 (MSK) Received: from mail.cicgroup.ru (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTP id 09B5C35E563; Mon, 4 Jul 2016 11:55:20 +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 uzKlefC0t2wr; Mon, 4 Jul 2016 11:55:08 +0300 (MSK) Received: from 195.170.219.74 (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTPA id 6417435E20D; Mon, 4 Jul 2016 11:55:08 +0300 (MSK) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Mon, 04 Jul 2016 11:55:08 +0300 From: Vladimir Kondratyev To: Matthias Apitz , freebsd-mobile@freebsd.org Cc: owner-freebsd-mobile@freebsd.org Subject: Re: psm(4) support for Elantech touchpads In-Reply-To: <6d9d3a0a34a740e76c644f4154c02576@localhost> References: <20160703185028.GA2151@c720-r292778-amd64> <6d9d3a0a34a740e76c644f4154c02576@localhost> Message-ID: X-Sender: wulf@cicgroup.ru User-Agent: Roundcube Webmail/1.1.2 Content-Transfer-Encoding: quoted-printable 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 08:55:33 -0000 On 2016-07-04 00:15, Vladimir Kondratyev wrote: > On 2016-07-03 21:50, Matthias Apitz wrote: >> Hello Vladimir, >>=20 >> I own an Acer C720 (aka Chromebook) which worked fine concerning the >> touchpad with the cyapa driver in CURRENT. After a repair in Acer.com >> they said that they have had to change the keyboard and the touchpad=20 >> and >> it now does not attach anymore to the cyapa.ko; it seems that it was >> replace by an Elan TP and while googl=C3=B6ing for support I found you= r >> posting from September 2015. I have applied the patch to r292778 but=20 >> the >> code is not walked through because it says on verbose boot: >>=20 >> atkbd0: [GIANT-LOCKED] >> random: harvesting attach, 8 bytes (4 bits) from atkbd0 >> psm0: unable to allocate IRQ >>=20 >> Any ideas about this? Thanks in advance >>=20 >> matthias >=20 > Hi, Matthias >=20 > I`m afraid that device resource management is not what I`m familiar=20 > with. Sorry. > Mouse type detection starts 200 lines below IRQ initialization so this > message should not depend on my patch. > Quick googling shows that this is most probably an ACPI issue but that > all I was able to find >=20 > WBR, Vladimir Kondratyev >=20 After some investigations its turned out that some modern ElanTPs use=20 I2C interface not PS/2 so they can not be handled with my patch. Its necessary to port new=20 driver from Linux https://lwn.net/Articles/496137/ or from OpenBSD where it has name=20 imt(4)