From owner-freebsd-mobile@freebsd.org Sun Jul 3 04:25:15 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 CF93CB8F289 for ; Sun, 3 Jul 2016 04:25:15 +0000 (UTC) (envelope-from afrishvi@lungprotectors.aserv.co.za) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B6D1D2265 for ; Sun, 3 Jul 2016 04:25:15 +0000 (UTC) (envelope-from afrishvi@lungprotectors.aserv.co.za) Received: by mailman.ysv.freebsd.org (Postfix) id B294DB8F288; Sun, 3 Jul 2016 04:25:15 +0000 (UTC) Delivered-To: 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 AFCAEB8F287 for ; Sun, 3 Jul 2016 04:25:15 +0000 (UTC) (envelope-from afrishvi@lungprotectors.aserv.co.za) Received: from lungprotectors.aserv.co.za (lungprotectors.aserv.co.za [154.0.171.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F38C2264 for ; Sun, 3 Jul 2016 04:25:14 +0000 (UTC) (envelope-from afrishvi@lungprotectors.aserv.co.za) Received: from afrishvi by lungprotectors.aserv.co.za with local (Exim 4.87) (envelope-from ) id 1bJYiw-00087c-R9 for mobile@freebsd.org; Sun, 03 Jul 2016 06:09:38 +0200 To: mobile@freebsd.org Subject: Problem with parcel shipping, ID:00481119 X-PHP-Script: www.afrisperm.com/post.php for 189.203.102.121 Date: Sun, 3 Jul 2016 04:09:38 +0000 From: "FedEx Standard Overnight" Reply-To: "FedEx Standard Overnight" Message-ID: <33acd95bd283f4b1460de4089f91cf32@afrisperm.com> X-Priority: 3 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - lungprotectors.aserv.co.za X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [1071 501] / [0 0] X-AntiAbuse: Sender Address Domain - lungprotectors.aserv.co.za X-Get-Message-Sender-Via: lungprotectors.aserv.co.za: authenticated_id: afrishvi/from_h X-Authenticated-Sender: lungprotectors.aserv.co.za: tyrone.ewing@afrisperm.com X-Source: /bin/bash X-Source-Args: /bin/bash /usr/local/afribin/sendspam -l -c 20 -q X-Source-Dir: /root Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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: Sun, 03 Jul 2016 04:25:15 -0000 Dear Customer, This is to confirm that one or more of your parcels has been shipped. Please, open email attachment to print shipment label. Sincerely, Tyrone Ewing, FedEx Delivery Agent. From owner-freebsd-mobile@freebsd.org Sun Jul 3 19:42:44 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 2E3C1B90EF6 for ; Sun, 3 Jul 2016 19:42:44 +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 EC0AC276F for ; Sun, 3 Jul 2016 19:42:43 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.155.117] (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 1bJmTQ-00057Z-6H; Sun, 03 Jul 2016 20:50:37 +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 u63IoTrI002229 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 3 Jul 2016 20:50:29 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u63IoSbM002228; Sun, 3 Jul 2016 20:50:28 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 3 Jul 2016 20:50:28 +0200 From: Matthias Apitz To: Vladimir Kondratyev Cc: freebsd-mobile@freebsd.org Subject: Re: psm(4) support for Elantech touchpads Message-ID: <20160703185028.GA2151@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Vladimir Kondratyev , freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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.204.155.117 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: Sun, 03 Jul 2016 19:42:44 -0000 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öing 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 -- 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 From owner-freebsd-mobile@freebsd.org Sun Jul 3 21:16:12 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 5DD96B90685; Sun, 3 Jul 2016 21:16:12 +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 18C202D0A; Sun, 3 Jul 2016 21:16:11 +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 6185911014; Mon, 4 Jul 2016 00:16:00 +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 i3fIGib5WXjH; Mon, 4 Jul 2016 00:15:56 +0300 (MSK) Received: from mail.cicgroup.ru (unknown [195.170.219.74]) by corp.infotel.ru (Postfix) with ESMTP id E996A1100F; Mon, 4 Jul 2016 00:15:55 +0300 (MSK) Received: from mail.cicgroup.ru (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTP id AD98835E563; Mon, 4 Jul 2016 00:15:50 +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 S656yOuKAQ7X; Mon, 4 Jul 2016 00:15:44 +0300 (MSK) Received: from localhost (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTPA id 1E09235E54E; Mon, 4 Jul 2016 00:15:44 +0300 (MSK) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Mon, 04 Jul 2016 00:15:43 +0300 From: Vladimir Kondratyev To: Matthias Apitz , Vladimir Kondratyev , freebsd-mobile@freebsd.org Cc: owner-freebsd-mobile@freebsd.org Subject: Re: psm(4) support for Elantech touchpads In-Reply-To: <20160703185028.GA2151@c720-r292778-amd64> References: <20160703185028.GA2151@c720-r292778-amd64> Message-ID: <6d9d3a0a34a740e76c644f4154c02576@localhost> 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: Sun, 03 Jul 2016 21:16:12 -0000 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 your > 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 Hi, Matthias 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=20 message should not depend on my patch. Quick googling shows that this is most probably an ACPI issue but that=20 all I was able to find WBR, Vladimir Kondratyev 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) 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 From owner-freebsd-mobile@freebsd.org Mon Jul 4 19:26:08 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 DD5C6B91A9D for ; Mon, 4 Jul 2016 19:26:08 +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 710B22697 for ; Mon, 4 Jul 2016 19:26:08 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id r201so23702895wme.0 for ; Mon, 04 Jul 2016 12:26:08 -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=7vb842cUPSp6eiF0/ayKdOoAB2RsrYAgoAW/D9f4up4=; b=YBfB78Kwj7QMhNb5IefsT0v0SzHtNmXR600V/c7xVkm4pASxpxeJwkgyrte2DFYL7Z 4CFfcKOiaHjh1DkDUtnr1AdW8GCtaf8Vbs9tvMpeRMHnG1dvlvOgC/CX2Ne+2WK7polm jbFrK0VR0ki+dyq3S1Z8XNikgMAbCN4uWIVtvgeJVH8or1Ftx7FG5Ozt+gjIY5sQYVLG lvTtRY7hL5WlNz/AOb82Fsy0zvKXONhkQkNiSJNjLu2Nh63obGVRD9s+GQtutfRCwwT1 EBM13PGfbAwkUbTSBxn1a7CLrqT+P9DVj781SDKbi9gJFSSx6Q3X956ngTdSNhYugUgl dbKg== 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=7vb842cUPSp6eiF0/ayKdOoAB2RsrYAgoAW/D9f4up4=; b=OpWzFFaM4BNSwNSy0wAbJKvprUckF2Y8470JL4lVr0Je5JQ1fZHReGFqpm3xoEZRHG W0qqi66CWvqPzKVQmmMabH+QbDJKMyeo6Uqu/FJhqXg7/OMTm/tgDQf0lT9GoXBH4LZS W+2tYQO+E6pr9qqRRPHCAvyTGFC8RcmyDOh/0qQsPKQ7he8XUeKMRkr8YCzRvlP4w8WC P6yMtaukSS/tgQIZG+6SzI2JgvoNgLMJ9eK1JFX2ANb1+d5GhZ8DmKMlJawhJ7xuQZ2O FYuO94fwwJ5fwsRwTAYcHx2gL9b65ajuUzbkLcJGH2zA6NvS8ZptMsXuhechlsCb77iA JP3g== X-Gm-Message-State: ALyK8tJgl7kgx+0O6TPUW4Vk2Bt2kHL5a8RXQr13rmyPRwV6mFjYoWl5ihwbym0azgQDpQ== X-Received: by 10.194.5.166 with SMTP id t6mr11903064wjt.58.1467660366789; Mon, 04 Jul 2016 12:26:06 -0700 (PDT) Received: from localhost ([37.153.108.22]) by smtp.gmail.com with ESMTPSA id t3sm3118993wmf.6.2016.07.04.12.26.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jul 2016 12:26:05 -0700 (PDT) From: Malcolm Matalka To: Matthias Apitz Cc: Vladimir Kondratyev , freebsd-mobile@freebsd.org Subject: Re: psm(4) support for Elantech touchpads References: <20160703185028.GA2151@c720-r292778-amd64> <6d9d3a0a34a740e76c644f4154c02576@localhost> <20160704091833.GA4073@c720-r292778-amd64> Date: Mon, 04 Jul 2016 19:26:04 +0000 In-Reply-To: <20160704091833.GA4073@c720-r292778-amd64> (Matthias Apitz's message of "Mon, 4 Jul 2016 11:18:33 +0200") Message-ID: <868txhyzlf.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: Mon, 04 Jul 2016 19:26:09 -0000 Matthias Apitz writes: > > El d=C3=ADa Monday, July 04, 2016 a las 11:55:08AM +0300, Vladimir Kondra= tyev escribi=C3=B3: > >> 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) > > 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 keybo= ard > 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 =3D 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 !=3D 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 Ela= n 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? I'm on an ASUS ZenBook UX305CA and have the same problem with the trackpad. I'm pretty sure it's an ElanTech as well, however the IRQ cannot be allocated. I'd like to help out but I have no idea how anything outside userspace works. Any suggestions for how to help? I'm so ignorant I'm not even sure how to go about porting something from another OS over. /Malcolm 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" From owner-freebsd-mobile@freebsd.org Tue Jul 5 19:49:56 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 1FECEB21D0C for ; Tue, 5 Jul 2016 19:49:56 +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 DBFE91998 for ; Tue, 5 Jul 2016 19:49:55 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.138.112] (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 1bKWLq-0001CQ-9C; Tue, 05 Jul 2016 21:49:46 +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 u65JngIi002884 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 5 Jul 2016 21:49:42 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u65JngRt002883; Tue, 5 Jul 2016 21:49:42 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 5 Jul 2016 21:49:42 +0200 From: Matthias Apitz To: Malcolm Matalka Cc: freebsd-mobile@freebsd.org Subject: Re: ASUS ZenBook UX305CA Trackpad: psm0: unable to allocate IRQ Message-ID: <20160705194942.GA2798@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Malcolm Matalka , freebsd-mobile@freebsd.org References: <861t3k2a90.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <861t3k2a90.fsf@gmail.com> 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.204.138.112 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 19:49:56 -0000 El día Saturday, June 25, 2016 a las 10:07:23PM +0000, Malcolm Matalka escribió: > Hello, > > I have recently purchased the above mentioned laptop (and it's great) > and would like to help make it well supported in FreeBSD. The first > thing I'd like to help get working is the trackpad since that is the > most limiting pain point. > > The current problem with the trackpad is the psm0 device does not show > up at all. When booting in verbose mode I see: > > "psm0: unable to allocate IRQ" > > ... The above message only means that the psm.c driver does not know how to deal with this device. I have two netbooks Acer C720, both have on verbose boot the same message as shown above. On the C720 I'm typing right now the TP is supported by the cyapa.ko driver, on the other which was for repair at Acer, it was working too, but now not anymore. For me, I have first to figure out with booting some Linux (Knoppix, Debian,...) what is exactly installed now in the repaired C720. Then I could think about how this hardware could work with FreeBSD; in your case, have your tried to kldload the cyapa.ko and does this give a device /dev/cyapa0 ? If it does, it will work with moused or X11 via HAL. If not, try to figure out first what is installed in your laptop. 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 From owner-freebsd-mobile@freebsd.org Wed Jul 6 05:47:42 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 99F03B74E48 for ; Wed, 6 Jul 2016 05:47:42 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 26E301A77 for ; Wed, 6 Jul 2016 05:47:42 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id a66so178080487wme.0 for ; Tue, 05 Jul 2016 22:47:42 -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=KZoMKXTjF8/m+tJumCyNcEGyzjy08ZH+/FPOWJKayJQ=; b=ApIBULFbxVfG+xyjoVM+7VSbeGyX3hvbaWRbmbP6LwKjr3qXfaEv78n7z5aKeZLmAA MmQ9+grNXshQ9jx2w/DqmjP7CRJH2qyNKVS/6KEkeVXJ0ynV2q48ZSFZsSJHvJCXy1WP jF4e1rVzpCogz0QSLeo1bQipzwmXSwRBAjvJjcS5Wvw8fxLcO4gOki4GmS9x4SBrU7DZ wxGPOf1E/hJMGdCk2Cs6JA8aUtWZ7zJBo1fnNb0o22d7Gk/341/A4z/pINMjP1XRilBP SfMzeVe2/eZalF/SFt30HobWgtWyEl/NFclp6IZelqn+r0Yc1dllF4KOUW72NEy3J+vR q/WA== 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=KZoMKXTjF8/m+tJumCyNcEGyzjy08ZH+/FPOWJKayJQ=; b=bLlSaiTdJgaYCX1XoCYe8ddovzLa5B4CzPJY79ioNjkBjebbVIqYUPVDbD5JCZW8Ms dPiZTtzR5xslWMiMcr2+s5j8NWip+uMTLoDEB5eQVxuhdroZTUP9wvCO0ayPFFtBpVBx oxHfMzSQb/OmdiD+L9ryd5ji7lx19jUHIkvALhKSpoOSDkniyHbUQmiTikUQ1T6JxHzX d7NFJ2TjRsouw+HHUDvQD74CX1+MJB+hvjNelWl3eLB5Ls3k7sURye7h/6aFcZIY6EtV bMmvCxhL1cVL6Dh4q3qaRLGXMMWzFrDU00Ff0qX4+7GJhTTj12AtTl/AUIKeKkN+MDBu DUWQ== X-Gm-Message-State: ALyK8tIP5cBrI35SQty0tRxxYifC7jvdDhCCg6se+Iz6Jn9QK9Fgficr4C6odA1i5IP06Q== X-Received: by 10.28.138.85 with SMTP id m82mr20223286wmd.88.1467784059979; Tue, 05 Jul 2016 22:47:39 -0700 (PDT) Received: from localhost ([37.153.108.22]) by smtp.gmail.com with ESMTPSA id p10sm1732839wjx.0.2016.07.05.22.47.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jul 2016 22:47:38 -0700 (PDT) From: Malcolm Matalka To: Matthias Apitz Cc: freebsd-mobile@freebsd.org Subject: Re: ASUS ZenBook UX305CA Trackpad: psm0: unable to allocate IRQ References: <861t3k2a90.fsf@gmail.com> <20160705194942.GA2798@c720-r292778-amd64> Date: Wed, 06 Jul 2016 05:47:38 +0000 In-Reply-To: <20160705194942.GA2798@c720-r292778-amd64> (Matthias Apitz's message of "Tue, 5 Jul 2016 21:49:42 +0200") Message-ID: <86zipvxqpx.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: Wed, 06 Jul 2016 05:47:42 -0000 Matthias Apitz writes: > El d=C3=ADa Saturday, June 25, 2016 a las 10:07:23PM +0000, Malcolm Matal= ka escribi=C3=B3: > >> Hello, >>=20 >> I have recently purchased the above mentioned laptop (and it's great) >> and would like to help make it well supported in FreeBSD. The first >> thing I'd like to help get working is the trackpad since that is the >> most limiting pain point. >>=20 >> The current problem with the trackpad is the psm0 device does not show >> up at all. When booting in verbose mode I see: >>=20 >> "psm0: unable to allocate IRQ" >>=20 >> ... > > The above message only means that the psm.c driver does not know how to > deal with this device. I have two netbooks Acer C720, both have on > verbose boot the same message as shown above. On the C720 I'm typing > right now the TP is supported by the cyapa.ko driver, on the other which > was for repair at Acer, it was working too, but now not anymore. For me, > I have first to figure out with booting some Linux (Knoppix, Debian,...) > what is exactly installed now in the repaired C720. Then I could think > about how this hardware could work with FreeBSD; > > in your case, have your tried to kldload the cyapa.ko and does this give > a device /dev/cyapa0 ? If it does, it will work with moused or X11 > via HAL. If not, try to figure out first what is installed in your > laptop. > > matthias Does that driver come with 10.3? I cannot seem to load it and I don't see it a tall and a I don't see a pkg search hit. Do I have to compile it manually? >From what I've been able to find on the internet, though, the trackapd for this laptop is an ElanTech on i2c (I have only a vague idea what that means). I guess I should probably try to run OpenBSD on this somehow to see what hardware it detects it as, though? From owner-freebsd-mobile@freebsd.org Wed Jul 6 06:33:36 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 B281CB71FA3 for ; Wed, 6 Jul 2016 06:33:36 +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 79A011ED9 for ; Wed, 6 Jul 2016 06:33:36 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.139.56] (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 1bKgOp-0002fK-Q5; Wed, 06 Jul 2016 08:33:32 +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 u666XUC8002114 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 6 Jul 2016 08:33:30 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u666XUsK002113; Wed, 6 Jul 2016 08:33:30 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 6 Jul 2016 08:33:30 +0200 From: Matthias Apitz To: Malcolm Matalka Cc: freebsd-mobile@freebsd.org Subject: Re: ASUS ZenBook UX305CA Trackpad: psm0: unable to allocate IRQ Message-ID: <20160706063330.GA2052@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Malcolm Matalka , freebsd-mobile@freebsd.org References: <861t3k2a90.fsf@gmail.com> <20160705194942.GA2798@c720-r292778-amd64> <86zipvxqpx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86zipvxqpx.fsf@gmail.com> 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.204.139.56 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: Wed, 06 Jul 2016 06:33:36 -0000 El día Wednesday, July 06, 2016 a las 05:47:38AM +0000, Malcolm Matalka escribió: > > in your case, have your tried to kldload the cyapa.ko and does this give > > a device /dev/cyapa0 ? If it does, it will work with moused or X11 > > via HAL. If not, try to figure out first what is installed in your > > laptop. > > > > matthias > > Does that driver come with 10.3? I cannot seem to load it and I don't > see it a tall and a I don't see a pkg search hit. Do I have to compile > it manually? The cyapa.ko driver should be in /boot/kernel/cyapa.ko , at least it is there in CURRENT; dont know if it was backported to 10.3; I prepared a KNOPPIX 7.6.1 USB boot key (KNOPPIX is Debian based) and can now see what Linux thinks/sees of the hardware. On my C720 where the cyapa driver works fine it says in dmesg: ... [ 18.015735] __add_probed_i2c_device failed to register device 2-4a [ 18.016316] __add_probed_i2c_device failed to register device 2-44 [ 18.234966] input: Cypress APA Trackpad (cyapa) as /devices/pci0000:00/0000:00:15.1/i2c-1/1-0067/input/input13 [ 18.238541] __add_probed_i2c_device failed to register device 2-4a [ 18.239115] __add_probed_i2c_device failed to register device 2-44 [ 18.324795] usb 1-4: new full-speed USB device number 5 using xhci_hcd [ 18.500151] usb 1-4: string descriptor 0 read error: -22 [ 18.500160] usb 1-4: New USB device found, idVendor=0489, idProduct=e056 [ 18.500164] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 18.502328] __add_probed_i2c_device failed to register device 2-4a [ 18.502332] chromeos_laptop_probe: Ran out of tries for device. [ 18.502900] __add_probed_i2c_device failed to register device 2-44 [ 18.502902] chromeos_laptop_probe: Ran out of tries for device. ... I will do the same in the evening with the C720 which was changed/repaired by Acer... You should do something like this too, or with OpenBSD. 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 From owner-freebsd-mobile@freebsd.org Sat Jul 9 14:40:18 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 AEF76B83A7F for ; Sat, 9 Jul 2016 14:40:18 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (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 4263D1D18 for ; Sat, 9 Jul 2016 14:40:18 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by mail-wm0-x243.google.com with SMTP id k123so11303339wme.2 for ; Sat, 09 Jul 2016 07:40:18 -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=aVOYL04nGRlMxtJWn/Rto6sql+PXU0KFW99ym00JgoU=; b=eABBHAI9ND7euwfVLbayY/2MDn2U7KbZkps2jEg9YBsCEPqHlNlQegiHfzsCpkIO6r 6lJ6yVAq3DSG0xpima67FG8CdY4cPDZCuKGSd2W2Yg4PYdgjmg2vUcKXLJEpj2pGlp6j 9SgGOemYNTMaYrzOlZQwlX+PfECNoHf1yRYLtL+STZ0aq1QWyg52Rv2hEgFZM2rZICZg H52UuTeQYqv9ktYGSDw6wLNAt5uhpEtYV+T/yoy9puKGxY/WfUFZsILr1sSInrROKV3v Ah7hNabCU4W2RZ2VvRGq99YJ69UeYXGLUo8cJ9m697jKhpQBXTKZc4w7mEDv1kpigQop 6vyA== 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=aVOYL04nGRlMxtJWn/Rto6sql+PXU0KFW99ym00JgoU=; b=ZRx/qMOqcDILwrIFa9MPCwFZ/86z7CuUbD/Z0J6OYUN1/rxn1a2wx3/Npn2HcSc/2c JMfkuJblpkJReVb0bqfzyLeGs4A6UIKK9Sj6ls+figrt73MunxXUYFwBFAOmrcJLcjHx 4TrdxPe58JKlqL8TDdOr28hSDTsBFUT6+1qkCGj5bHkZ+mBhKPGQmkrsV5dYzEFR4Ubv wz5oaSv1eepqb0uHH8MQPGQr0g/1PgNH/tMixbVHNrGcxu29dy30cpe9lKnWwqY/X74c Ukk9XTdMzXdOOjkaz8QAGVsayhLm8dLuPY9Pi/HnqqEV2zeraQjxhZDCNDYZL9aCNAxY LBpQ== X-Gm-Message-State: ALyK8tIXntQ9RfwUWXyvrLmZrwDUdQYGKMd4CyR4aRfetiXZ4JQ8DOlpFBOjZ4VrZgHg5Q== X-Received: by 10.194.191.195 with SMTP id ha3mr9901444wjc.74.1468075216299; Sat, 09 Jul 2016 07:40:16 -0700 (PDT) Received: from localhost ([37.153.108.22]) by smtp.gmail.com with ESMTPSA id x83sm8208087wmx.9.2016.07.09.07.40.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Jul 2016 07:40:15 -0700 (PDT) From: Malcolm Matalka To: Matthias Apitz Cc: freebsd-mobile@freebsd.org Subject: Re: ASUS ZenBook UX305CA Trackpad: psm0: unable to allocate IRQ References: <861t3k2a90.fsf@gmail.com> <20160705194942.GA2798@c720-r292778-amd64> <86zipvxqpx.fsf@gmail.com> <20160706063330.GA2052@c720-r292778-amd64> Date: Sat, 09 Jul 2016 14:40:15 +0000 In-Reply-To: <20160706063330.GA2052@c720-r292778-amd64> (Matthias Apitz's message of "Wed, 6 Jul 2016 08:33:30 +0200") Message-ID: <86k2guyiwg.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: Sat, 09 Jul 2016 14:40:18 -0000 Matthias Apitz writes: > El d=C3=ADa Wednesday, July 06, 2016 a las 05:47:38AM +0000, Malcolm Mata= lka escribi=C3=B3: > >> > in your case, have your tried to kldload the cyapa.ko and does this gi= ve >> > a device /dev/cyapa0 ? If it does, it will work with moused or X11 >> > via HAL. If not, try to figure out first what is installed in your >> > laptop. >> > >> > matthias >>=20 >> Does that driver come with 10.3? I cannot seem to load it and I don't >> see it a tall and a I don't see a pkg search hit. Do I have to compile >> it manually? > > The cyapa.ko driver should be in /boot/kernel/cyapa.ko , at least it is > there in CURRENT; dont know if it was backported to 10.3; > > I prepared a KNOPPIX 7.6.1 USB boot key (KNOPPIX is Debian based) and > can now see what Linux thinks/sees of the hardware. On my C720 where the > cyapa driver works fine it says in dmesg: > > > ... > [ 18.015735] __add_probed_i2c_device failed to register device 2-4a > [ 18.016316] __add_probed_i2c_device failed to register device 2-44 > [ 18.234966] input: Cypress APA Trackpad (cyapa) as /devices/pci0000:00= /0000:00:15.1/i2c-1/1-0067/input/input13 > [ 18.238541] __add_probed_i2c_device failed to register device 2-4a > [ 18.239115] __add_probed_i2c_device failed to register device 2-44 > [ 18.324795] usb 1-4: new full-speed USB device number 5 using xhci_hcd > [ 18.500151] usb 1-4: string descriptor 0 read error: -22 > [ 18.500160] usb 1-4: New USB device found, idVendor=3D0489, idProduct= =3De056 > [ 18.500164] usb 1-4: New USB device strings: Mfr=3D1, Product=3D2, Ser= ialNumber=3D3 > [ 18.502328] __add_probed_i2c_device failed to register device 2-4a > [ 18.502332] chromeos_laptop_probe: Ran out of tries for device. > [ 18.502900] __add_probed_i2c_device failed to register device 2-44 > [ 18.502902] chromeos_laptop_probe: Ran out of tries for device. > ... > > I will do the same in the evening with the C720 which was > changed/repaired by Acer... You should do something like this too, or > with OpenBSD. > > matthias I finally got a chance to spin up an Ubuntu instance on this laptop. The touchpad worked great, the output from dmesg is that it's an i2c Elantech Touchpad. I guess I have to figure out what driver to port from Linux to get into FreeBSD? Any tips? Thanks, /Malcolm From owner-freebsd-mobile@freebsd.org Sat Jul 9 14:47:45 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 B22ABB83CCB for ; Sat, 9 Jul 2016 14:47:45 +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 763B3119D for ; Sat, 9 Jul 2016 14:47:45 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.124.63] (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 1bLtXc-000505-3j; Sat, 09 Jul 2016 16:47: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 u69ElZtO005038 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 9 Jul 2016 16:47:35 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u69ElZ0j005037; Sat, 9 Jul 2016 16:47:35 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 9 Jul 2016 16:47:34 +0200 From: Matthias Apitz To: Malcolm Matalka Cc: freebsd-mobile@freebsd.org Subject: Re: ASUS ZenBook UX305CA Trackpad: psm0: unable to allocate IRQ Message-ID: <20160709144734.GA5013@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Malcolm Matalka , freebsd-mobile@freebsd.org References: <861t3k2a90.fsf@gmail.com> <20160705194942.GA2798@c720-r292778-amd64> <86zipvxqpx.fsf@gmail.com> <20160706063330.GA2052@c720-r292778-amd64> <86k2guyiwg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86k2guyiwg.fsf@gmail.com> 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: 88.217.124.63 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: Sat, 09 Jul 2016 14:47:45 -0000 El día Saturday, July 09, 2016 a las 02:40:15PM +0000, Malcolm Matalka escribió: > I finally got a chance to spin up an Ubuntu instance on this laptop. > The touchpad worked great, the output from dmesg is that it's an i2c > Elantech Touchpad. Can you please share the part of the boot messages about the TP? How do you got Ubuntu booting on it and which version? 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 From owner-freebsd-mobile@freebsd.org Sat Jul 9 14:54:22 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 420ABB83E8D for ; Sat, 9 Jul 2016 14:54:22 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 C8D5114EF for ; Sat, 9 Jul 2016 14:54:21 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id f126so44428897wma.1 for ; Sat, 09 Jul 2016 07:54:21 -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=1u7F/ieg5uu2CZ9pZnXY7isRoPHA9fiQNpUWSbtYq4E=; b=GqRTW4h4RD1eDZAL4Z0x6EOZxdqLsBmjh+WvRJnFo1uBr4R2Nlr6x9Z+EIoGYoi2Vn ZfWNp3/yQtm8l/8r7+hqs7pH9mfDkBgNV6OvCm6O1I/8CncJJGOA3DbxHbp/RTEowJ6T j4ilApW8k9nZTePpt2KotLr/J89ZEJM5cB09rYltVfBFvbyo/izi48C71mrW7yPcDdEC OuZIeftnR9qeEjafwZfak14pIvuVurTfjRJjKDMegby4cIWGnKbxpp4aMW+9GCis2OtY GZYcoElRjxwzeS+jNbmfZYsbQkqoaa7qdJ/mk414NYwWUWxl7Lteh4FhpDxDAV/KlxFv Nw+Q== 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=1u7F/ieg5uu2CZ9pZnXY7isRoPHA9fiQNpUWSbtYq4E=; b=RtbxMdNH48VmiZET8y3KGtNhBwEmxwFi6Cn4kZ/3blYDoPGpf7jggBpcRo/qBpTQWs byWXGujMCq565zTXWG63RfG6p+4nnY9uxCBAuJovPXwTQ2fLASbk+9p4FaSp0oXb/x3L KLAAPx44tzsTOLdzwd/HNn6ZKD6POrj3MqtHA84i//CS+5r+RBriUuesgag2X/WSkBzm YsRzXuaEKJQU5yssD+RG/j6Vu836M0AWXbFECroPOsa7qPXD1pq7YkhllIcX9bpIEyy0 W6/v1+cMYSNZg1s7ghsyGN/+/b7afcANoXFPpCK8YR3naPrp6hOKVdQdWdELqJdunAb8 RJ2g== X-Gm-Message-State: ALyK8tIwE7Czn4XceTcuf+4bOVK3tjzk/acwvwlTOEdL4oig+f48phD9482oXccLSmElEw== X-Received: by 10.28.94.135 with SMTP id s129mr8524078wmb.36.1468076060445; Sat, 09 Jul 2016 07:54:20 -0700 (PDT) Received: from localhost ([37.153.108.22]) by smtp.gmail.com with ESMTPSA id ej9sm1765531wjd.7.2016.07.09.07.54.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Jul 2016 07:54:18 -0700 (PDT) From: Malcolm Matalka To: Matthias Apitz Cc: freebsd-mobile@freebsd.org Subject: Re: ASUS ZenBook UX305CA Trackpad: psm0: unable to allocate IRQ References: <861t3k2a90.fsf@gmail.com> <20160705194942.GA2798@c720-r292778-amd64> <86zipvxqpx.fsf@gmail.com> <20160706063330.GA2052@c720-r292778-amd64> <86k2guyiwg.fsf@gmail.com> <20160709144734.GA5013@c720-r292778-amd64> Date: Sat, 09 Jul 2016 14:54:18 +0000 In-Reply-To: <20160709144734.GA5013@c720-r292778-amd64> (Matthias Apitz's message of "Sat, 9 Jul 2016 16:47:34 +0200") Message-ID: <86furiyi91.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: Sat, 09 Jul 2016 14:54:22 -0000 Matthias Apitz writes: > El d=C3=ADa Saturday, July 09, 2016 a las 02:40:15PM +0000, Malcolm Matal= ka escribi=C3=B3: > >> I finally got a chance to spin up an Ubuntu instance on this laptop. >> The touchpad worked great, the output from dmesg is that it's an i2c >> Elantech Touchpad. > > Can you please share the part of the boot messages about the TP? How do > you got Ubuntu booting on it and which version? Thanks > > matthias Unfortunately I couldn't copy and paste it anywhere without setting up the Ubuntu a bunch more, but I wrote down the relevant portions (I think): "Elan Touchpad ... pci0000:00/0000:00:15.0/i2c_designware.0/i2c-4/....." I am booting the latest version of Ubuntu on a USB flash and I chose the "Try Ubuntu without Installing" boot option.