From owner-freebsd-mobile@freebsd.org Sun Oct 2 10:04:19 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 3648BAD95BD for ; Sun, 2 Oct 2016 10:04:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 0D14626D for ; Sun, 2 Oct 2016 10:04:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u92A4Em8058662 for ; Sun, 2 Oct 2016 10:04:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mobile@FreeBSD.org Subject: [Bug 205690] [psm] [patch]: Add support for Elantech trackpads Date: Sun, 02 Oct 2016 10:04:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jakob@alvermark.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gonzo@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 10:04:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205690 --- Comment #77 from Jakob Alvermark --- (In reply to Vladimir Kondratyev from comment #76) > Could you try attached patch - extbuttons.diff? I made extended buttons > support codepath like pre-r306355. Yes, this restores the previous behavior, i.e. the buttons work again. One other thing I would like to change though, setting hw.psm.synaptics.touchpad_off=3D1 disables the touchpad/clickpad as expecte= d, but it also turns on the buttons. This was also the case pre-r306355. I almost exclusively use the trackpoint, so I would like to be able to turn= the touchpad off, but keep the buttons working. > > Even the keyboard starts acting funny, and eventually the trackpoint/to= uchpad stops functioning altogether, with the following messages: > > psmintr: out of sync (0000 !=3D 0080) 845 cmds since last error. > > psmintr: discard a byte (1) > > psmintr: b4 80 00 00 c0 00 > > psmintr: 00 84 18 00 c4 fe > > psmintr: out of sync (0000 !=3D 0080) 0 cmds since last error. > > psmintr: reset the mouse. >=20 > That is bad. You are really lost sync here - received packet is shifted b= y 1 > byte. I cant help you in that case and have no clues. My code works after > 6-bytes has been assembled in one packet. Did it happen before r306355? Never had this problem before. I have been using this hardware for months, tracking HEAD. It seems to work now, with the patch applied and no debug on. I'll keep running it with this patch and see what happens. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-mobile@freebsd.org Sun Oct 2 12:29:38 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 02935AD916D for ; Sun, 2 Oct 2016 12:29:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 E62468F1 for ; Sun, 2 Oct 2016 12:29:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u92CTaVR050446 for ; Sun, 2 Oct 2016 12:29:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mobile@FreeBSD.org Subject: [Bug 205690] [psm] [patch]: Add support for Elantech trackpads Date: Sun, 02 Oct 2016 12:29:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: wulf@cicgroup.ru X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gonzo@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 12:29:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205690 --- Comment #78 from Vladimir Kondratyev --- (In reply to Jakob Alvermark from comment #77) > Yes, this restores the previous behavior, i.e. the buttons work again. That is nice! > One other thing I would like to change though, setting > hw.psm.synaptics.touchpad_off=3D1 disables the touchpad/clickpad > as expected, but it also turns on the buttons. > This was also the case pre-r306355. > I almost exclusively use the trackpoint, so I would like to be > able to turn the touchpad off, but keep the buttons working. Try following hack: # sysctl hw.psm.synaptics.min_pressure=3D255 > Never had this problem before. I have been using this hardware for months, > tracking HEAD. It seems to work now, with the patch applied and no debug = on. > I'll keep running it with this patch and see what happens. psm driver reinitializes touchpad within few seconds if sync loss has been detected. So it is possible that you just did not notice this. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-mobile@freebsd.org Sun Oct 2 13:14: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 8495DAD9F4D for ; Sun, 2 Oct 2016 13:14:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 73DCEEE0 for ; Sun, 2 Oct 2016 13:14:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u92DEecP076235 for ; Sun, 2 Oct 2016 13:14:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mobile@FreeBSD.org Subject: [Bug 205690] [psm] [patch]: Add support for Elantech trackpads Date: Sun, 02 Oct 2016 13:14:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jakob@alvermark.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gonzo@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 13:14:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205690 --- Comment #79 from Jakob Alvermark --- (In reply to Vladimir Kondratyev from comment #78) > (In reply to Jakob Alvermark from comment #77) >=20 > > Yes, this restores the previous behavior, i.e. the buttons work again. >=20 > That is nice! Could we get this committed? It would be a POLA violation for ThinkPad user= s if we don't. > > One other thing I would like to change though, setting > > hw.psm.synaptics.touchpad_off=3D1 disables the touchpad/clickpad > > as expected, but it also turns on the buttons. > > This was also the case pre-r306355. > > I almost exclusively use the trackpoint, so I would like to be > > able to turn the touchpad off, but keep the buttons working. >=20 > Try following hack: > # sysctl hw.psm.synaptics.min_pressure=3D255 That actually does what I want, thanks for the hint! > > Never had this problem before. I have been using this hardware for mont= hs, > > tracking HEAD. It seems to work now, with the patch applied and no debu= g on. > > I'll keep running it with this patch and see what happens. >=20 > psm driver reinitializes touchpad within few seconds if sync loss has been > detected. So it is possible that you just did not notice this. I am quite sure I would have noticed if the mouse pointer would stop moving until I rebooted the machine. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-mobile@freebsd.org Sun Oct 2 16:49: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 2BA0AAF0E69 for ; Sun, 2 Oct 2016 16:49:12 +0000 (UTC) (envelope-from uswall.well@aol.com) Received: from oms-a013e.mx.aol.com (oms-a013e.mx.aol.com [204.29.186.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 00A13956 for ; Sun, 2 Oct 2016 16:49:11 +0000 (UTC) (envelope-from uswall.well@aol.com) Received: from omr-m012e.mx.aol.com (omr-m012.mx.aol.com [10.74.126.130]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by oms-a013e.mx.aol.com (AOL Outbound OMS Interface) with ESMTPS id 6F18A38000A3 for ; Sun, 2 Oct 2016 12:48:02 -0400 (EDT) Received: from mtaout-mcd01.mx.aol.com (mtaout-mcd01.mx.aol.com [172.26.223.205]) by omr-m012e.mx.aol.com (Outbound Mail Relay) with ESMTP id 5F5EF38000AA for ; Sun, 2 Oct 2016 12:48:02 -0400 (EDT) Received: from ST-PC (120.ip-192-99-213.net [192.99.213.120]) by mtaout-mcd01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPA id 7F2EE3800008D for ; Sun, 2 Oct 2016 12:47:59 -0400 (EDT) From: "DR. USMAN BELLO" Subject: Re: YOUR SWIFT CREDIT CARD PAYMENT To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Reply-To: drusmanbello2cc9@yahoo.es Date: Sun, 2 Oct 2016 09:48:00 -0700 Message-ID: <58321083657818@Smtp.aol.com> x-aol-global-disposition: S X-SPAM-FLAG: YES DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1475426882; bh=OwYq7Fxg6PPYACBNw9XPykUI8K5Fwpx0HPgz0gmif8Q=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=SyA5Wg0RmP7H5l6pP/4d8hWq+iDfn73qbIcz0ND4nXRlZ7R2CLIbe0HdC26Nf90iB KztCfXcZvVZ/4ioxrMh5r3ROKhdIzuJnoQ9wnZ3UHM30zt7x79T8uoa2UQ/EPBQqqf pXFs6LaoPxLICrEJFutbLLXuo53lJkJEUVCYUfLE= X-AOL-REROUTE: YES x-aol-sid: 3039ac1adfcd57f13a3f5b54 X-AOL-IP: 192.99.213.120 Content-Type: text/plain ; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 16:49:12 -0000 ATTN: you are legally contacted regarding the release of your long awaited f= und of $10million. After a detailed review of your file,i wish to info= rm you that your Swift Credit Card payment is being processed and will= be released to you as soon as you respond to this office.Please re-co= nfirm to us the following, Your Name, Your Address, Phone, Your Age, Regards Dr. Usman Bello From owner-freebsd-mobile@freebsd.org Mon Oct 3 11:07:01 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 39BFAAF3B3A; Mon, 3 Oct 2016 11:07:01 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 4C74211E; Mon, 3 Oct 2016 11:06:56 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA27859; Mon, 03 Oct 2016 14:06:48 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1br156-0005bg-PR; Mon, 03 Oct 2016 14:06:48 +0300 To: FreeBSD Current , freebsd-mobile@FreeBSD.org From: Andriy Gapon Subject: [request for testing] isl, cyapa on chromebooks Message-ID: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> Date: Mon, 3 Oct 2016 14:05:52 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 11:07:01 -0000 If you have a Chromebook where you are currently able to use isl and cyapa drivers, could you please test the following code change? https://people.freebsd.org/~avg/ig4-i2c.diff The change moves the drivers from the SMBus to the I2C bus and as such some configuration changes are required. Namely, you will now need iicbus driver either in the kernel configuration or as a module. For now the smbus driver is also required. You also need to add some entries to /boot/device.hints: hint.isl.0.at="iicbus0" hint.isl.0.addr=0x88 hint.isl.1.at="iicbus1" hint.isl.1.addr=0x88 hint.cyapa.0.at="iicbus0" hint.cyapa.0.addr=0xce hint.cyapa.1.at="iicbus1" hint.cyapa.1.addr=0xce The hints are required because auto-probing (either via the bus enumeration or self-identification) is disabled for now for safety reason. Also, as I understand, the Intel chipset used in the supported Chromebooks provides to i2c buses (possibly in addition in an smbus) and I am not sure on which of the i2c buses the devices reside. The changes are build tested only, because I do not have access to the hardware. So, kernel panics, etc are not unexpected. Please let me know if drivers attach at all and if there are any issues with them. A verbose dmesg would be of great help. That could be obtained by booting in a verbose mode if the drivers are auto-loaded or by setting debug.bootverbose=1 before loading the drivers if that's done manually. Please also note that ig4 driver is changed, so it too has to be rebuilt if you are going to build individual modules rather than do a kernel + modules build. I will appreciate your testing and feedback. Thank you! -- Andriy Gapon From owner-freebsd-mobile@freebsd.org Mon Oct 3 16:14: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 2F811AF473D for ; Mon, 3 Oct 2016 16:14:42 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 8703CA88 for ; Mon, 3 Oct 2016 16:14:40 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: (qmail 36129 invoked by uid 89); 3 Oct 2016 16:07:52 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@185.17.205.219) by mail.grem.de with ESMTPA; 3 Oct 2016 16:07:52 -0000 Date: Mon, 3 Oct 2016 18:07:50 +0200 From: Michael Gmelin To: Andriy Gapon Cc: FreeBSD Current , freebsd-mobile@FreeBSD.org Subject: Re: [request for testing] isl, cyapa on chromebooks Message-ID: <20161003180750.744dae0a@bsd64.grem.de> In-Reply-To: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 16:14:42 -0000 On Mon, 3 Oct 2016 14:05:52 +0300 Andriy Gapon wrote: > If you have a Chromebook where you are currently able to use isl and > cyapa drivers, could you please test the following code change? > https://people.freebsd.org/~avg/ig4-i2c.diff > > The change moves the drivers from the SMBus to the I2C bus and as > such some configuration changes are required. > Namely, you will now need iicbus driver either in the kernel > configuration or as a module. For now the smbus driver is also > required. You also need to add some entries to /boot/device.hints: > hint.isl.0.at="iicbus0" > hint.isl.0.addr=0x88 > hint.isl.1.at="iicbus1" > hint.isl.1.addr=0x88 > hint.cyapa.0.at="iicbus0" > hint.cyapa.0.addr=0xce > hint.cyapa.1.at="iicbus1" > hint.cyapa.1.addr=0xce > > The hints are required because auto-probing (either via the bus > enumeration or self-identification) is disabled for now for safety > reason. Also, as I understand, the Intel chipset used in the > supported Chromebooks provides to i2c buses (possibly in addition in > an smbus) and I am not sure on which of the i2c buses the devices > reside. > > The changes are build tested only, because I do not have access to > the hardware. So, kernel panics, etc are not unexpected. > > Please let me know if drivers attach at all and if there are any > issues with them. A verbose dmesg would be of great help. That could > be obtained by booting in a verbose mode if the drivers are > auto-loaded or by setting debug.bootverbose=1 before loading the > drivers if that's done manually. > > Please also note that ig4 driver is changed, so it too has to be > rebuilt if you are going to build individual modules rather than do a > kernel + modules build. > > I will appreciate your testing and feedback. > Thank you! Thanks for working on this. I have currently access to two c720 Chromebooks, one with a cyapa touchpad, the other with a (yet) unsupported replacement I'm planning to work on. I upgraded the latter the r306641, applied your patches (cleanly) and ran "make kernel" (GENERIC kernel), added the entries to device.hints and rebooted. Unfortunately ig4 won't load: # kldload ig4 link_elf_obj: symbol iicbus_transfer_desc undefined linker_load_file: Unsupported file type I also noticed that isl cannot be built from the module source directory: # cd /usr/src/sys/modules/i2c/isl # make ... /usr/src/sys/sys/vnode.h:571:10: fatal error: 'vnode_if.h' file not found #include "vnode_if.h" ^ 1 error generated *** Error code 1 This can be easily fixed by removing "#include " from isl.c (line 56). Best, Michael -- Michael Gmelin From owner-freebsd-mobile@freebsd.org Mon Oct 3 16:41:58 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 4A14EAF4D82; Mon, 3 Oct 2016 16:41:58 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0591FD31; Mon, 3 Oct 2016 16:41:56 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA28488; Mon, 03 Oct 2016 19:41:54 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1br6JO-0005te-DS; Mon, 03 Oct 2016 19:41:54 +0300 Subject: Re: [request for testing] isl, cyapa on chromebooks To: Michael Gmelin References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> Cc: FreeBSD Current , freebsd-mobile@FreeBSD.org From: Andriy Gapon Message-ID: Date: Mon, 3 Oct 2016 19:41:17 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161003180750.744dae0a@bsd64.grem.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 16:41:58 -0000 On 03/10/2016 19:07, Michael Gmelin wrote: > I upgraded the latter the r306641, applied your patches (cleanly) and > ran "make kernel" (GENERIC kernel), added the entries to device.hints > and rebooted. Unfortunately ig4 won't load: > > # kldload ig4 > link_elf_obj: symbol iicbus_transfer_desc undefined > linker_load_file: Unsupported file type Hmm, seems like forgot to declare the iicbus module dependency. Could you please kldload iicbus and see if that helps? Meanwhile I'll add the dependency. > I also noticed that isl cannot be built from the module source > directory: > > # cd /usr/src/sys/modules/i2c/isl > # make > ... > /usr/src/sys/sys/vnode.h:571:10: fatal error: 'vnode_if.h' file not > found > #include "vnode_if.h" > ^ > 1 error generated > *** Error code 1 > > This can be easily fixed by removing "#include " from > isl.c (line 56). Thank you for reporting this! Looks like I overlooked this because I didn't do make clean after removing vnode_if.h from the Makefile. Will fix this too. -- Andriy Gapon From owner-freebsd-mobile@freebsd.org Mon Oct 3 20:32:13 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 7858DAF40A5 for ; Mon, 3 Oct 2016 20:32:13 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id DB26B355 for ; Mon, 3 Oct 2016 20:32:12 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: (qmail 38861 invoked by uid 89); 3 Oct 2016 20:25:30 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@194.97.158.70) by mail.grem.de with ESMTPA; 3 Oct 2016 20:25:30 -0000 Date: Mon, 3 Oct 2016 22:25:28 +0200 From: Michael Gmelin To: Andriy Gapon Cc: FreeBSD Current , freebsd-mobile@FreeBSD.org Subject: Re: [request for testing] isl, cyapa on chromebooks Message-ID: <20161003222528.56d46787@bsd64.grem.de> In-Reply-To: References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 20:32:13 -0000 On Mon, 3 Oct 2016 19:41:17 +0300 Andriy Gapon wrote: > On 03/10/2016 19:07, Michael Gmelin wrote: > > I upgraded the latter the r306641, applied your patches (cleanly) > > and ran "make kernel" (GENERIC kernel), added the entries to > > device.hints and rebooted. Unfortunately ig4 won't load: > > > > # kldload ig4 > > link_elf_obj: symbol iicbus_transfer_desc undefined > > linker_load_file: Unsupported file type > > Hmm, seems like forgot to declare the iicbus module dependency. > Could you please kldload iicbus and see if that helps? > Meanwhile I'll add the dependency. Unfortunately this doesn't help, you should be able to reproduce it yourself without access to the actual hardware though. I worked around this by adding the iicbus dependency to ig4_pci.c (and also to "files"). Now loading ig4 works and both lynx point controllers are detected. Loading isl doesn't create any output and doesn't seem to detect any devices. Also, devinfo shows both controllers (ig4iic0, ig4iic1), but no iicbus devices. # devinfo | grep iic ig4iic0 ig4iic1 -m -- Michael Gmelin From owner-freebsd-mobile@freebsd.org Mon Oct 3 22:05:09 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 D3F91AF353F; Mon, 3 Oct 2016 22:05:09 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C6009853; Mon, 3 Oct 2016 22:05:07 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id BAA29095; Tue, 04 Oct 2016 01:05:06 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1brBMA-0006AI-7u; Tue, 04 Oct 2016 01:05:06 +0300 Subject: Re: [request for testing] isl, cyapa on chromebooks To: Michael Gmelin References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> <20161003222528.56d46787@bsd64.grem.de> Cc: FreeBSD Current , freebsd-mobile@FreeBSD.org From: Andriy Gapon Message-ID: Date: Tue, 4 Oct 2016 01:04:10 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161003222528.56d46787@bsd64.grem.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 22:05:09 -0000 On 03/10/2016 23:25, Michael Gmelin wrote: > On Mon, 3 Oct 2016 19:41:17 +0300 > Andriy Gapon wrote: > >> On 03/10/2016 19:07, Michael Gmelin wrote: >>> I upgraded the latter the r306641, applied your patches (cleanly) >>> and ran "make kernel" (GENERIC kernel), added the entries to >>> device.hints and rebooted. Unfortunately ig4 won't load: >>> >>> # kldload ig4 >>> link_elf_obj: symbol iicbus_transfer_desc undefined >>> linker_load_file: Unsupported file type >> >> Hmm, seems like forgot to declare the iicbus module dependency. >> Could you please kldload iicbus and see if that helps? >> Meanwhile I'll add the dependency. > > Unfortunately this doesn't help, you should be able to reproduce it > yourself without access to the actual hardware though. > > I worked around this by adding the iicbus dependency to ig4_pci.c (and > also to "files"). Okay, this should be in the latest patch anyway. > Now loading ig4 works and both lynx point controllers are detected. > Loading isl doesn't create any output and doesn't seem to detect any > devices. Also, devinfo shows both controllers (ig4iic0, ig4iic1), but > no iicbus devices. > > # devinfo | grep iic > ig4iic0 > ig4iic1 Is there anything interesting from from ig4 in the log / dmesg? Could you please check that your copy of the patch contains this chunk? @@ -549,7 +780,7 @@ ig4iic_attach(ig4iic_softc_t *sc) IG4_CTL_RESTARTEN | IG4_CTL_SPEED_STD); - sc->smb = device_add_child(sc->dev, "smbus", -1); + sc->smb = device_add_child(sc->dev, "iicbus", -1); if (sc->smb == NULL) { device_printf(sc->dev, "smbus driver not found\n"); error = ENXIO; -- Andriy Gapon From owner-freebsd-mobile@freebsd.org Tue Oct 4 09:53:21 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 0D129AF38C2 for ; Tue, 4 Oct 2016 09:53:21 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 676FBA8A for ; Tue, 4 Oct 2016 09:53:19 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: (qmail 47876 invoked by uid 89); 4 Oct 2016 09:46:36 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@195.30.121.97) by mail.grem.de with ESMTPA; 4 Oct 2016 09:46:36 -0000 Date: Tue, 4 Oct 2016 11:46:35 +0200 From: Michael Gmelin To: Andriy Gapon Cc: FreeBSD Current , freebsd-mobile@FreeBSD.org Subject: Re: [request for testing] isl, cyapa on chromebooks Message-ID: <20161004114635.64857a29@bsd64.grem.de> In-Reply-To: References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> <20161003222528.56d46787@bsd64.grem.de> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2016 09:53:21 -0000 On Tue, 4 Oct 2016 01:04:10 +0300 Andriy Gapon wrote: > On 03/10/2016 23:25, Michael Gmelin wrote: > > On Mon, 3 Oct 2016 19:41:17 +0300 > > Andriy Gapon wrote: > > > >> On 03/10/2016 19:07, Michael Gmelin wrote: > >>> I upgraded the latter the r306641, applied your patches (cleanly) > >>> and ran "make kernel" (GENERIC kernel), added the entries to > >>> device.hints and rebooted. Unfortunately ig4 won't load: > >>> > >>> # kldload ig4 > >>> link_elf_obj: symbol iicbus_transfer_desc undefined > >>> linker_load_file: Unsupported file type > >> > >> Hmm, seems like forgot to declare the iicbus module dependency. > >> Could you please kldload iicbus and see if that helps? > >> Meanwhile I'll add the dependency. > > > > Unfortunately this doesn't help, you should be able to reproduce it > > yourself without access to the actual hardware though. > > > > I worked around this by adding the iicbus dependency to ig4_pci.c > > (and also to "files"). > > Okay, this should be in the latest patch anyway. Based on what you wrote, I wasn't aware that there was a new patch. I downloaded the latest version from the same URL as your first one and built a new kernel. > > > Now loading ig4 works and both lynx point controllers are detected. > > Loading isl doesn't create any output and doesn't seem to detect any > > devices. Also, devinfo shows both controllers (ig4iic0, ig4iic1), > > but no iicbus devices. > > > > # devinfo | grep iic > > ig4iic0 > > ig4iic1 > > Is there anything interesting from from ig4 in the log / dmesg? > Could you please check that your copy of the patch contains this > chunk? @@ -549,7 +780,7 @@ ig4iic_attach(ig4iic_softc_t *sc) > IG4_CTL_RESTARTEN | > IG4_CTL_SPEED_STD); > > - sc->smb = device_add_child(sc->dev, "smbus", -1); > + sc->smb = device_add_child(sc->dev, "iicbus", -1); > if (sc->smb == NULL) { > device_printf(sc->dev, "smbus driver not found\n"); > error = ENXIO; > That code was in there, yes. iicbus(0|1) actually show up in devinfo -v, but nothing else works. You can find a log file and various outputs (dmesg, devinfo etc) here: https://people.freebsd.org/~grembo/c720-20161104.log -m -- Michael Gmelin From owner-freebsd-mobile@freebsd.org Tue Oct 4 10:08:32 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 9EBB6AF3E4A; Tue, 4 Oct 2016 10:08:32 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 96A6E684; Tue, 4 Oct 2016 10:08:31 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA00469; Tue, 04 Oct 2016 13:08:29 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1brMeD-0006mB-Fb; Tue, 04 Oct 2016 13:08:29 +0300 Subject: Re: [request for testing] isl, cyapa on chromebooks To: Michael Gmelin References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> <20161003222528.56d46787@bsd64.grem.de> <20161004114635.64857a29@bsd64.grem.de> Cc: FreeBSD Current , freebsd-mobile@FreeBSD.org From: Andriy Gapon Message-ID: Date: Tue, 4 Oct 2016 13:07:28 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161004114635.64857a29@bsd64.grem.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2016 10:08:32 -0000 On 04/10/2016 12:46, Michael Gmelin wrote: > iicbus(0|1) actually show up in devinfo -v, but nothing else works. > > You can find a log file and various outputs (dmesg, devinfo etc) here: > > https://people.freebsd.org/~grembo/c720-20161104.log Thank you. Could you please double-check that device.hints contains the necessary hints? Could you also set debug.bootverbose=1 before kldload ig4 and kldload isl and show me any new log messages that appear after doing kldload? -- Andriy Gapon From owner-freebsd-mobile@freebsd.org Tue Oct 4 22:48: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 83B02AF4933 for ; Tue, 4 Oct 2016 22:48:41 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id E2583859 for ; Tue, 4 Oct 2016 22:48:40 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: (qmail 57695 invoked by uid 89); 4 Oct 2016 22:48:33 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@194.97.158.70) by mail.grem.de with ESMTPA; 4 Oct 2016 22:48:33 -0000 Date: Wed, 5 Oct 2016 00:48:31 +0200 From: Michael Gmelin To: Andriy Gapon Cc: FreeBSD Current , freebsd-mobile@FreeBSD.org Subject: Re: [request for testing] isl, cyapa on chromebooks Message-ID: <20161005004831.2a2fdc4b@bsd64.grem.de> In-Reply-To: References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> <20161003222528.56d46787@bsd64.grem.de> <20161004114635.64857a29@bsd64.grem.de> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2016 22:48:41 -0000 On Tue, 4 Oct 2016 13:07:28 +0300 Andriy Gapon wrote: > On 04/10/2016 12:46, Michael Gmelin wrote: > > iicbus(0|1) actually show up in devinfo -v, but nothing else works. > > > > You can find a log file and various outputs (dmesg, devinfo etc) > > here: > > > > https://people.freebsd.org/~grembo/c720-20161104.log > > Thank you. > Could you please double-check that device.hints contains the > necessary hints? Could you also set debug.bootverbose=1 before > kldload ig4 and kldload isl and show me any new log messages that > appear after doing kldload? > Double-checked the hints, it's all ok. Please find a more verbose log file of loading the kernel modules here: https://people.freebsd.org/~grembo/c720-20161105.log -m -- Michael Gmelin From owner-freebsd-mobile@freebsd.org Wed Oct 5 05:50:30 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 795FFAF6ED6; Wed, 5 Oct 2016 05:50:30 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 63949D20; Wed, 5 Oct 2016 05:50:28 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id IAA02872; Wed, 05 Oct 2016 08:50:21 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1brf5w-0007o6-Uq; Wed, 05 Oct 2016 08:50:20 +0300 Subject: Re: [request for testing] isl, cyapa on chromebooks To: Michael Gmelin References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> <20161003222528.56d46787@bsd64.grem.de> <20161004114635.64857a29@bsd64.grem.de> <20161005004831.2a2fdc4b@bsd64.grem.de> Cc: FreeBSD Current , freebsd-mobile@FreeBSD.org From: Andriy Gapon Message-ID: <1bcfd282-63fd-f8ee-4dad-393b51f14bcd@FreeBSD.org> Date: Wed, 5 Oct 2016 08:48:59 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161005004831.2a2fdc4b@bsd64.grem.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 05:50:30 -0000 On 05/10/2016 01:48, Michael Gmelin wrote: > Double-checked the hints, it's all ok. > > Please find a more verbose log file of loading the kernel modules here: > > https://people.freebsd.org/~grembo/c720-20161105.log Unfortunately this doesn't provide any new insights. Could you please add some printf-s to iicbus_hinted_child() in sys/dev/iicbus/iicbus.c to see whether the isl devices are really added via the hints and what their properties are? Also, some printf-s to isl_probe() to see if it gets called and where it fails. And, just in case, to ig4iic_start() to see if gets called. Thank you! -- Andriy Gapon From owner-freebsd-mobile@freebsd.org Wed Oct 5 11:19:29 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 A8864AF5044 for ; Wed, 5 Oct 2016 11:19:29 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id F24DB35E for ; Wed, 5 Oct 2016 11:19:28 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: (qmail 67067 invoked by uid 89); 5 Oct 2016 11:19:26 -0000 Received: from unknown (HELO ?192.168.250.192?) (mg@grem.de@185.17.205.219) by mail.grem.de with ESMTPA; 5 Oct 2016 11:19:26 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [request for testing] isl, cyapa on chromebooks From: Michael Gmelin X-Mailer: iPhone Mail (13G36) In-Reply-To: <1bcfd282-63fd-f8ee-4dad-393b51f14bcd@FreeBSD.org> Date: Wed, 5 Oct 2016 13:19:25 +0200 Cc: Michael Gmelin , FreeBSD Current , freebsd-mobile@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: <302FDA6E-DEC7-49F0-8F2C-8C26C8A884AF@freebsd.org> References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> <20161003222528.56d46787@bsd64.grem.de> <20161004114635.64857a29@bsd64.grem.de> <20161005004831.2a2fdc4b@bsd64.grem.de> <1bcfd282-63fd-f8ee-4dad-393b51f14bcd@FreeBSD.org> To: Andriy Gapon X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 11:19:29 -0000 > On 05 Oct 2016, at 07:48, Andriy Gapon wrote: >=20 >> On 05/10/2016 01:48, Michael Gmelin wrote: >> Double-checked the hints, it's all ok. >>=20 >> Please find a more verbose log file of loading the kernel modules here: >>=20 >> https://people.freebsd.org/~grembo/c720-20161105.log >=20 > Unfortunately this doesn't provide any new insights. >=20 > Could you please add some printf-s to iicbus_hinted_child() in > sys/dev/iicbus/iicbus.c to see whether the isl devices are really added vi= a the > hints and what their properties are? > Also, some printf-s to isl_probe() to see if it gets called and where it f= ails. > And, just in case, to ig4iic_start() to see if gets called. >=20 ig4iic_start is called, but iicbus_hinted_child, isl_probe, iicbus_probe and= iicbus_attach are not. -m= From owner-freebsd-mobile@freebsd.org Wed Oct 5 11:32:51 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 321C5AF552D; Wed, 5 Oct 2016 11:32:51 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 C7E28C95; Wed, 5 Oct 2016 11:32:50 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id b184so24111324wma.3; Wed, 05 Oct 2016 04:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XZe5UWUJ001VpjKGxkAddX8F1wbLJfqKnQwLnWBvfB0=; b=IRIjmjlUvdcOEIzXWqpfPZUg6EqUJBsWiNn4Z8D3mz3jVYp3Dfm2fPuR/aGwuJFJxM ROBN+2T1PQ/NdRwyAS4lSeQ46P0fOR/HpYXrX4ukPgSe+TTUEpFdkv3iOTJSKPlEXvyp EiYKioLWfuAMUONcSKMgprdlmzaOdythSjyzLkbxqCIdLLHE4fVaDJdnNjfwk6gfkuxc EQI9kjX4VoXB5sDIO3obXgsqMp8nwofqdZag2gfgIIqGLJNP/jLd1iBNOfpLIvcwFXpv k0+P5j92+s/2PvgI0g6rfsDFfSvbPHb0bZAzyM03pSYPxJksl1JLJvI+cmmifbi7z+Tv FgpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XZe5UWUJ001VpjKGxkAddX8F1wbLJfqKnQwLnWBvfB0=; b=bJKE9UzAhwJFIv1qyAWF7uu/K6SAffON4ME9MVe6RVpSVN+/ja5YhaEw+kvRK2RMs5 BtaYzC71Aecq9BId6gb0vifDE5MjA7pfHGdJJCQlDnLk9JeymUquhwVNCxmEf4g55CaK fPJi0R+MY+riy3hMfnLpDxi6p99peEtemX4xLME15+Xi7yiUtdsaQUroNgIYBq0e4jP+ 5e+N+5mRY5v+gAoApatHCDKglgBhEyRYBtUFc1+ySMhPjL1hYnrxr3nMxWbdU1R46Q41 k7Tsmkau0kuxru/J2nbAuD1PO3SIlVHzTx1IiTKj62/43+KWWetp3BsndclnKpwiZdZQ xTBA== X-Gm-Message-State: AA6/9Rmew0jeAwg34J6+qrgcyygVR9hgMaJRga3rIb2PiReg1DUr209C1p/WS0pwpmkEIBsEBel2sBV/ZapHDQ== X-Received: by 10.28.41.6 with SMTP id p6mr19877484wmp.18.1475667168207; Wed, 05 Oct 2016 04:32:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.179.229 with HTTP; Wed, 5 Oct 2016 04:32:47 -0700 (PDT) Received: by 10.194.179.229 with HTTP; Wed, 5 Oct 2016 04:32:47 -0700 (PDT) In-Reply-To: References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> <20161003222528.56d46787@bsd64.grem.de> <20161004114635.64857a29@bsd64.grem.de> <20161005004831.2a2fdc4b@bsd64.grem.de> <1bcfd282-63fd-f8ee-4dad-393b51f14bcd@FreeBSD.org> <302FDA6E-DEC7-49F0-8F2C-8C26C8A884AF@freebsd.org> From: Malcolm Matalka Date: Wed, 5 Oct 2016 13:32:47 +0200 Message-ID: Subject: Re: [request for testing] isl, cyapa on chromebooks To: Michael Gmelin Cc: Andriy Gapon , freebsd-mobile@freebsd.org, FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 11:32:51 -0000 Den 5 okt. 2016 13:19 skrev "Michael Gmelin" : > > > > > On 05 Oct 2016, at 07:48, Andriy Gapon wrote: > > > >> On 05/10/2016 01:48, Michael Gmelin wrote: > >> Double-checked the hints, it's all ok. > >> > >> Please find a more verbose log file of loading the kernel modules here: > >> > >> https://people.freebsd.org/~grembo/c720-20161105.log > > > > Unfortunately this doesn't provide any new insights. > > > > Could you please add some printf-s to iicbus_hinted_child() in > > sys/dev/iicbus/iicbus.c to see whether the isl devices are really added via the > > hints and what their properties are? > > Also, some printf-s to isl_probe() to see if it gets called and where it fails. > > And, just in case, to ig4iic_start() to see if gets called. > > > > ig4iic_start is called, but iicbus_hinted_child, isl_probe, iicbus_probe and iicbus_attach are not. > > -m > _______________________________________________ > 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" I'm running a laptop that uses an Elantech touch pad over i2c. I think I get Elantech is quite close to cyapa, would this patch be a good place to start for trying to get the touchpad to work? There is also an Elantech patch happening for the next release but that is not over i2c. I'm interested in making the change I just have little idea of this layer of the machinery. Thanks, /Malcolm From owner-freebsd-mobile@freebsd.org Wed Oct 5 11:55:39 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 42728AF5C87 for ; Wed, 5 Oct 2016 11:55:39 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 72D297E0 for ; Wed, 5 Oct 2016 11:55:37 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: (qmail 67412 invoked by uid 89); 5 Oct 2016 11:48:55 -0000 Received: from unknown (HELO ?192.168.250.192?) (mg@grem.de@185.17.205.219) by mail.grem.de with ESMTPA; 5 Oct 2016 11:48:55 -0000 Mime-Version: 1.0 (1.0) Subject: Re: [request for testing] isl, cyapa on chromebooks From: Michael Gmelin X-Mailer: iPhone Mail (13G36) In-Reply-To: Date: Wed, 5 Oct 2016 13:48:54 +0200 Cc: Andriy Gapon , freebsd-mobile@freebsd.org, FreeBSD Current Message-Id: References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> <20161003222528.56d46787@bsd64.grem.de> <20161004114635.64857a29@bsd64.grem.de> <20161005004831.2a2fdc4b@bsd64.grem.de> <1bcfd282-63fd-f8ee-4dad-393b51f14bcd@FreeBSD.org> <302FDA6E-DEC7-49F0-8F2C-8C26C8A884AF@freebsd.org> To: Malcolm Matalka Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 11:55:39 -0000 > On 05 Oct 2016, at 13:32, Malcolm Matalka wrote: >=20 > Den 5 okt. 2016 13:19 skrev "Michael Gmelin" : > > > > > > > > > On 05 Oct 2016, at 07:48, Andriy Gapon wrote: > > > > > >> On 05/10/2016 01:48, Michael Gmelin wrote: > > >> Double-checked the hints, it's all ok. > > >> > > >> Please find a more verbose log file of loading the kernel modules her= e: > > >> > > >> https://people.freebsd.org/~grembo/c720-20161105.log > > > > > > Unfortunately this doesn't provide any new insights. > > > > > > Could you please add some printf-s to iicbus_hinted_child() in > > > sys/dev/iicbus/iicbus.c to see whether the isl devices are really adde= d via the > > > hints and what their properties are? > > > Also, some printf-s to isl_probe() to see if it gets called and where i= t fails. > > > And, just in case, to ig4iic_start() to see if gets called. > > > > > > > ig4iic_start is called, but iicbus_hinted_child, isl_probe, iicbus_probe= and iicbus_attach are not. > > > > -m > > _______________________________________________ > > 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= " >=20 > I'm running a laptop that uses an Elantech touch pad over i2c. I think I g= et Elantech is quite close to cyapa, would this patch be a good place to sta= rt for trying to get the touchpad to work? There is also an Elantech patch h= appening for the next release but that is not over i2c. I'm interested in m= aking the change I just have little idea of this layer of the machinery. >=20 I'm having such a machine here myself (one with cyapa, one with elan for tes= ting) and planning to work on it soon (once avg@ is done with this changes).= I also know another user in person waiting for this, so there is definitely= demand and enough hands for testing. -m From owner-freebsd-mobile@freebsd.org Wed Oct 5 12:32: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 ABD0FAF32C0; Wed, 5 Oct 2016 12:32:44 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::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 28F263C8; Wed, 5 Oct 2016 12:32:44 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by mail-lf0-x229.google.com with SMTP id x79so15359266lff.0; Wed, 05 Oct 2016 05:32:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pON/UvhR/c2BqSIPIJZye1Jps80CHpFuX9lDADHz/uc=; b=kZXAF14GHELmirtHSGTW2yTeAavgG2oByzVP5EFnmIimXVEiNNKBcnoQQeu1M+6ape tHJ2LngWmaOHw6wyOv06aLekxeGF199U82dGWu6DfC90Z94Q2z4t2ZXronvdQ2rfnaPg c5mysa8GJSM7HztEjjLTEhS5Av8wbc+SZlFVKJ3EzSdPxX6U1W19vEvKa3ZPkIh+ad+7 sd6YIF3H0iVKDD0A2fHmJDVOgxLgXf+uBug1uE+ehRoBgjsyFhjYAO6TANCAH2GU9Myx sF+roe1o7AcOemg0Dmj5ln9LAjOTKvReVg16avsJcb9MV/Vh+5PyQjKRUlya+5CwTp7t h05A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pON/UvhR/c2BqSIPIJZye1Jps80CHpFuX9lDADHz/uc=; b=ANOWwAlRKVzWPEiqK9Sc3VyXZukkC+yZgZodsiM82CCUIUPug/vn+UdaWcga28TIyo 5zN2PD+o+rJhu8ogB2DmIXYUrW7q80Emaq0rBGGloUs+Q+iY7JJeWDQPVnpS+ru2HjJB p4JEqEWwWCoyAtTgLqSEAmtsLRfO5Xjp/YMuqkzdzYK6xWS5XQtX01Iy9fwYeeFFKa1j Y+Gn8KoaVi9RqO6r/Y9P78ZySgVu5UQ6t04d7kIjX6ZEqOCo8jK2SGsjXo2ZqC2U58v9 GC5UlehUrMEihq8jbbrPdCt3An3BoidaQM5c9bbWajS0CWzeso2K2TMtd3Bhnuj3b9JE 1ttg== X-Gm-Message-State: AA6/9RmHnSbFinCuZdavoKB377h+dWNUohtwslwqCPDAMaFVEzjrPTXxjvfIpZwDwJsUc9JRU/DGBIRIRLkR2w== X-Received: by 10.194.122.137 with SMTP id ls9mr7326432wjb.29.1475670762136; Wed, 05 Oct 2016 05:32:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.179.229 with HTTP; Wed, 5 Oct 2016 05:32:40 -0700 (PDT) Received: by 10.194.179.229 with HTTP; Wed, 5 Oct 2016 05:32:40 -0700 (PDT) In-Reply-To: References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> <20161003222528.56d46787@bsd64.grem.de> <20161004114635.64857a29@bsd64.grem.de> <20161005004831.2a2fdc4b@bsd64.grem.de> <1bcfd282-63fd-f8ee-4dad-393b51f14bcd@FreeBSD.org> <302FDA6E-DEC7-49F0-8F2C-8C26C8A884AF@freebsd.org> From: Malcolm Matalka Date: Wed, 5 Oct 2016 14:32:40 +0200 Message-ID: Subject: Re: [request for testing] isl, cyapa on chromebooks To: Michael Gmelin Cc: Andriy Gapon , freebsd-mobile@freebsd.org, FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 12:32:44 -0000 Nice! I'd love to follow along in development and learn whatever can. I've never worked at device driver level before. Do you have a suggested time I can start harassing you more about testing? Den 5 okt. 2016 13:48 skrev "Michael Gmelin" : > > > On 05 Oct 2016, at 13:32, Malcolm Matalka wrote: > > Den 5 okt. 2016 13:19 skrev "Michael Gmelin" : > > > > > > > > > On 05 Oct 2016, at 07:48, Andriy Gapon > wrote: > > > > > >> On 05/10/2016 01:48, Michael Gmelin wrote: > > >> Double-checked the hints, it's all ok. > > >> > > >> Please find a more verbose log file of loading the kernel modules > here: > > >> > > >> https://people.freebsd.org/~grembo/c720-20161105.log > > > > > > Unfortunately this doesn't provide any new insights. > > > > > > Could you please add some printf-s to iicbus_hinted_child() in > > > sys/dev/iicbus/iicbus.c to see whether the isl devices are really > added via the > > > hints and what their properties are? > > > Also, some printf-s to isl_probe() to see if it gets called and where > it fails. > > > And, just in case, to ig4iic_start() to see if gets called. > > > > > > > ig4iic_start is called, but iicbus_hinted_child, isl_probe, iicbus_probe > and iicbus_attach are not. > > > > -m > > _______________________________________________ > > 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 > " > > I'm running a laptop that uses an Elantech touch pad over i2c. I think I > get Elantech is quite close to cyapa, would this patch be a good place to > start for trying to get the touchpad to work? There is also an Elantech > patch happening for the next release but that is not over i2c. I'm > interested in making the change I just have little idea of this layer of > the machinery. > > I'm having such a machine here myself (one with cyapa, one with elan for > testing) and planning to work on it soon (once avg@ is done with this > changes). I also know another user in person waiting for this, so there is > definitely demand and enough hands for testing. > > -m > > From owner-freebsd-mobile@freebsd.org Wed Oct 5 13:02:24 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 5C762AF3D31; Wed, 5 Oct 2016 13:02:24 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 47B7FBC8; Wed, 5 Oct 2016 13:02:22 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA03968; Wed, 05 Oct 2016 16:02:21 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1brlq1-00089l-3d; Wed, 05 Oct 2016 16:02:21 +0300 Subject: Re: [request for testing] isl, cyapa on chromebooks To: Michael Gmelin References: <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> <20161003222528.56d46787@bsd64.grem.de> <20161004114635.64857a29@bsd64.grem.de> <20161005004831.2a2fdc4b@bsd64.grem.de> <1bcfd282-63fd-f8ee-4dad-393b51f14bcd@FreeBSD.org> <302FDA6E-DEC7-49F0-8F2C-8C26C8A884AF@freebsd.org> Cc: FreeBSD Current , freebsd-mobile@FreeBSD.org From: Andriy Gapon Message-ID: <53bca4d2-975f-f4a0-d12a-5d73fba01a0c@FreeBSD.org> Date: Wed, 5 Oct 2016 16:01:25 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <302FDA6E-DEC7-49F0-8F2C-8C26C8A884AF@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 13:02:24 -0000 On 05/10/2016 14:19, Michael Gmelin wrote: > > ig4iic_start is called, but iicbus_hinted_child, isl_probe, iicbus_probe and > iicbus_attach are not. Thank you! Now I think I see where I made a silly mistake. Please try an updated version of the patch from here https://people.freebsd.org/~avg/ig4-i2c.v3.diff It contains a fix and some cosmetic changes on top of the previous patch. -- Andriy Gapon From owner-freebsd-mobile@freebsd.org Thu Oct 6 01:01:20 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 E1E5DAF6118 for ; Thu, 6 Oct 2016 01:01:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 D14522E9 for ; Thu, 6 Oct 2016 01:01:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9611KZK039282 for ; Thu, 6 Oct 2016 01:01:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mobile@FreeBSD.org Subject: [Bug 205690] [psm] [patch]: Add support for Elantech trackpads Date: Thu, 06 Oct 2016 01:01:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gonzo@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2016 01:01:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205690 --- Comment #80 from commit-hook@freebsd.org --- A commit references this bug: Author: gonzo Date: Thu Oct 6 01:01:00 UTC 2016 New revision: 306746 URL: https://svnweb.freebsd.org/changeset/base/306746 Log: Fix extended buttons support on synaptic clickpad Fix regression introduced by r306355 on synaptic clickpads with extended buttons (buttons stopped working) PR: 205690 Submitted by: Vladimir Kondratyev Changes: head/sys/dev/atkbdc/psm.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-mobile@freebsd.org Thu Oct 6 04:47: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 813DBBD3325; Thu, 6 Oct 2016 04:47:44 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3CC73BAF; Thu, 6 Oct 2016 04:47:43 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.108.172] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1bs0ak-0003FK-Jg; Thu, 06 Oct 2016 06:47:34 +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 u964lXUe002455 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 6 Oct 2016 06:47:33 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u964lWQC002454; Thu, 6 Oct 2016 06:47:32 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 6 Oct 2016 06:47:32 +0200 From: Matthias Apitz To: Andriy Gapon Cc: Michael Gmelin , FreeBSD Current , freebsd-mobile@FreeBSD.org Subject: Re: [request for testing] isl, cyapa on chromebooks Message-ID: <20161006044732.GA2393@c720-r292778-amd64.oa.oclc.org> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Andriy Gapon , Michael Gmelin , FreeBSD Current , freebsd-mobile@FreeBSD.org References: <20161003180750.744dae0a@bsd64.grem.de> <20161003222528.56d46787@bsd64.grem.de> <20161004114635.64857a29@bsd64.grem.de> <20161005004831.2a2fdc4b@bsd64.grem.de> <1bcfd282-63fd-f8ee-4dad-393b51f14bcd@FreeBSD.org> <302FDA6E-DEC7-49F0-8F2C-8C26C8A884AF@freebsd.org> <53bca4d2-975f-f4a0-d12a-5d73fba01a0c@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <53bca4d2-975f-f4a0-d12a-5d73fba01a0c@FreeBSD.org> 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.108.172 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2016 04:47:44 -0000 El día Wednesday, October 05, 2016 a las 04:01:25PM +0300, Andriy Gapon escribió: > On 05/10/2016 14:19, Michael Gmelin wrote: > > > > ig4iic_start is called, but iicbus_hinted_child, isl_probe, iicbus_probe and > > iicbus_attach are not. > > Thank you! > Now I think I see where I made a silly mistake. > Please try an updated version of the patch from here > https://people.freebsd.org/~avg/ig4-i2c.v3.diff > It contains a fix and some cosmetic changes on top of the previous patch. Hi Andriy, I have an Acer C720 too, since around two years and it works fine, thanks to Michael, with the cyapa chip. I have my C720 in daily heavy usage, actually with r292778. Should I apply the above patch or do I need to update before to a more recent CURRENT? I have a second C720 where I could do such test/update more easy, but this is current not in my hands and has, after a repair at Acer, a Elan touch pad. But I could prepare an USB key with 12-CURRENT, just for test. Btw: What is the reason for this change of ig4/i2c/cyapa driver? Last thing: I propose to remove freebsd-mobile@ from the thread. matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045