From owner-freebsd-mobile@freebsd.org Tue Jul 5 18:45:50 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 E6F30B20639; Tue, 5 Jul 2016 18:45:50 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7AA47162C; Tue, 5 Jul 2016 18:45:50 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id c82so30639942wme.3; Tue, 05 Jul 2016 11:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=87qhApyo6H6uxjqpO03wMBAjCX3M5uU3RwTgebhkiMg=; b=ObMctbU/qrYJi6X3YN+5KDppCJlz1MpoXBDyMDRLV+xp0mENn+V/dusAthjqZoc4dG yWH9AbCP05hb6BVI7G86Q+3cy1iLKlsBV273u3xKscIILd9upZWKLem7E/ZVPksxvYJl FsMQA78fO0JGfUv5JVMiD3BXlRoauW153lGxtEwh1htUVAt3sFrN4lGKPdqlERuN3d9+ YNxAYUT7UiXNS9p8nhgq+bpcTHgOdkxXLV9GuMStxGm6iuposeKmqPm/vTyf0gzbadR7 3Ga1MTgq3PgBzrOAY0Ecu6oUpnmDx/vE8HIPxg3olvfbg7N4j0HOxPQCugxfUIRUXv6v T3Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=87qhApyo6H6uxjqpO03wMBAjCX3M5uU3RwTgebhkiMg=; b=YEusryuHoDqZP/z3KaORF5TVEwSIccVr0BqlhoMEILJQutGqR5mW9LSxOEDhCr4Xu8 FkCA0P+mkwk4A5cGm+8sjDkmT0ru8Xd5uBKsGpbH494TFsauyI18jozHh5YRNC7LsNWi E0LutJXVMtSziMV9wtD2d99zeKwNsWoqnIrUVJxcYj2oVFD8LCUKh1B/T7B/Fk+CNxgo wCa0lZNTOzDn7SfHsXQfuWsPCPcgGtAP4ax/JWhCelzB5vs+dFo8cWlVN7D7ta1rBL0N ywYvSLQEHJjP17RFP1hWrQBLfBEFC6hI7vphw8ZxmF7UVvTUz2jJm4YYVnu7578082iD 0T+w== X-Gm-Message-State: ALyK8tIW08PlD6kXp2KAPglrNCdBWLjESwZesR61alRvX5Cek8SDf+MZ8NV00r6WEoTxTA== X-Received: by 10.194.31.137 with SMTP id a9mr19628216wji.113.1467744348192; Tue, 05 Jul 2016 11:45:48 -0700 (PDT) Received: from localhost ([37.153.108.22]) by smtp.gmail.com with ESMTPSA id qg5sm5249023wjc.13.2016.07.05.11.45.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jul 2016 11:45:46 -0700 (PDT) From: Malcolm Matalka To: Vladimir Kondratyev Cc: Matthias Apitz , freebsd-mobile@freebsd.org, owner-freebsd-mobile@freebsd.org Subject: Re: psm(4) support for Elantech touchpads References: <20160703185028.GA2151@c720-r292778-amd64> <6d9d3a0a34a740e76c644f4154c02576@localhost> Date: Tue, 05 Jul 2016 18:45:46 +0000 In-Reply-To: (Vladimir Kondratyev's message of "Mon, 04 Jul 2016 11:55:08 +0300") Message-ID: <864m83zzxh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: Tue, 05 Jul 2016 18:45:51 -0000 Vladimir Kondratyev writes: > On 2016-07-04 00:15, Vladimir Kondratyev wrote: >> On 2016-07-03 21:50, Matthias Apitz wrote: >>> Hello Vladimir, >>> >>> 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 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 your >>> posting from September 2015. I have applied the patch to r292778 but the >>> code is not walked through because it says on verbose boot: >>> >>> atkbd0: [GIANT-LOCKED] >>> random: harvesting attach, 8 bytes (4 bits) from atkbd0 >>> psm0: unable to allocate IRQ >>> >>> Any ideas about this? Thanks in advance >>> >>> matthias >> >> Hi, Matthias >> >> I`m afraid that device resource management is not what I`m familiar 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 >> >> WBR, Vladimir Kondratyev >> > > 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 drive= r from Linux > https://lwn.net/Articles/496137/ or from OpenBSD where it has name > imt(4) I'd like to try to port this driver over to FreeBSD, does anyone have any suggestions of something to read or willing to help mentor me in that? I know nothing about doing this but would really like to get my Trackpad working! > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"