Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935227AbcJYMbp (ORCPT ); Tue, 25 Oct 2016 08:31:45 -0400 Received: from mout.gmx.net ([212.227.15.15]:56659 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753014AbcJYMbl (ORCPT ); Tue, 25 Oct 2016 08:31:41 -0400 From: Marc Dietrich To: Paul Fertser Cc: devel@driverdev.osuosl.org, Greg Kroah-Hartman , ac100@lists.launchpad.net, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Revert "staging: nvec: ps2: change serio type to passthrough" Date: Tue, 25 Oct 2016 14:24:52 +0200 Message-ID: <18470230.WG6Q7IXVVu@fb07-iapwap2> User-Agent: KMail/5.3.2 (Linux/4.8.3-1-default; KDE/5.26.0; x86_64; ; ) In-Reply-To: <1477397482-31087-1-git-send-email-fercerpav@gmail.com> References: <1477397482-31087-1-git-send-email-fercerpav@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1502648.Ftb5dVdU55"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:sRnohbpkb8KSrPRqfuFFu6C7NBtqAOvGCTAFSwXgwGKWZNNkg0+ vmZcDA2gCpsEidU536bvVOk9vFbIy8mrtBB37YlwTKmoYBZJa/rnuGZKrLmdYqaOjPaA/z3 CP4KkxWuplrE27pdav7uNg3mMZc589cOG3ligfUGhN1QMcEsAVMNS7Xx9c/13e12s7YxIAa BVye53fxdbcdxQ5ggsl5w== X-UI-Out-Filterresults: notjunk:1;V01:K0:ry+0eliJSjU=:hDjQBAlFMwF4Zf/gLelHXi Vi9xRK5EmaX3uQcBjW7eoJrTFz2XRX7kSgY5VPcWaLRJFOhpYbVZPTDf5DlLk8sosq2S1n0g+ 4JYpfqZnFbQC7Rs/zfs1J+zvyExpKPGq9cgyqUdLMdTH4dSvxFKdGqc3NoAT9qNBgchffmabC z0q8O+qQWqB7yGWA7i4i7zJALdnQJFRR3TjTCVqz+8gYQAnUPQzVxbg15Yr5bDiC+SbvA84z9 6qaKXwK7Sj6jPAUB1Ybe86VH/EAftOnRxYsK30t5rJwUTbRblLgYAt6VsOYi7L/wifoJndhgs Wb4cmrq+ZA1E0Vp7PKTx/udPV64a+SYqRgfEv2KuEtVLcJNYv1ECHleHaKIkrVt4k2nF5kaeR xjzY7/wIQsR+XAcRwlioiMhlKtylRj5YWvP+gEKLrB2EUS+hJ0ROp4zPTb4EA7IGLSOeaOLxv eLgTO9m4Jf5dqxB3HiWuNqGPl8nQbSpOrSH2VTZMoaoYFqlnAVacCu4wA+r2cOFcZNMO0/J8S m79NIKXuQCE/1VVmbKMI0aVCm4gPDmSZokL2sT5QJJwuPwCsrKdyKJoN9DdAQWP32KSuMkYZE QVwK88v9h6x/I8RI7onK4wEaZ6cggtox4UFNuWF/0j2Ui2av7PdRLRKW19NUGxbfz1w8XZpLl daZpSvM+fFs6uwiIDRpiIrBSQJ8q/Pud23PX0ipRQ6f5ckXgUUjVEF9YPfoSgaw/lyDy3zV+q n9YiG9xC52OnHkAD2r7PsfIJtBVqx1n0zTW/XqC9cmCvX+ku3R0bZUFT6oc= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2630 Lines: 71 --nextPart1502648.Ftb5dVdU55 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" Hi Paul, Greg, Am Dienstag, 25. Oktober 2016, 15:10:55 CEST schrieb Paul Fertser: > This reverts commit 36b30d6138f4677514aca35ab76c20c1604baaad. > > This is necessary to detect paz00 (ac100) touchpad properly as one > speaking ETPS/2 protocol. Without it X.org's synaptics driver doesn't > work as the touchpad is detected as an ImPS/2 mouse instead. > > Commit ec6184b1c717b8768122e25fe6d312f609cc1bb4 changed the way > auto-detection is performed on ports marked as pass through and made the > issue apparent. > > A pass through port is an additional PS/2 port used to connect a slave > device to a master device that is using PS/2 to communicate with the > host (so slave's PS/2 communication is tunneled over master's PS/2 > link). "Synaptics PS/2 TouchPad Interfacing Guide" describes such a > setup (PS/2 PASS-THROUGH OPTION section). > > Since paz00's embedded controller is not connected to a PS/2 port > itself, the PS/2 interface it exposes is not a pass-through one. > > Acked-by: Marc Dietrich > Signed-off-by: Paul Fertser In fact I was a bit to fast to ack. Turns out I booted the wrong kernel. So please hold off this one, until some issues with this patch are fixed. Marc > --- > drivers/staging/nvec/nvec_ps2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/nvec/nvec_ps2.c > b/drivers/staging/nvec/nvec_ps2.c index a324322..c83eeb4 100644 > --- a/drivers/staging/nvec/nvec_ps2.c > +++ b/drivers/staging/nvec/nvec_ps2.c > @@ -112,7 +112,7 @@ static int nvec_mouse_probe(struct platform_device > *pdev) if (!ser_dev) > return -ENOMEM; > > - ser_dev->id.type = SERIO_PS_PSTHRU; > + ser_dev->id.type = SERIO_8042; > ser_dev->write = ps2_sendcommand; > ser_dev->start = ps2_startstreaming; > ser_dev->stop = ps2_stopstreaming; --nextPart1502648.Ftb5dVdU55 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEcBAABCAAGBQJYD08UAAoJEKyeR39HFBtomGMH/2n01nWIrjmXtdhgfSnHLIZV AUqkZSJpHMvcgdb9emLUvHZ1fLWLJnu9NqIqFGHI74xKf1icdpbLH0LlRJLDhURD LnSL7nlNTdg6jPIJRMfycusKAMPzEy7v4zynS7EZGzwyswYv5P4L1zeu8h4IYpM2 /VWti3kJ9LIk6I3RNsvXTU6uZGMz0iSNrc1PCpxi6IMEnoRisyM/k9BdeQHLKDzT DOuM2N+FvI5Cs3evWDNQXeO+BxGs6urNJgLxn9PdO2joQXG0ShfCSBgyN+dDNaEF CZHWOhdCwQFhUicUN0zPre8jvhD3GgxuSGRa9LwWtlsR7keAsSX/H/HMTM0Ez4U= =fgQd -----END PGP SIGNATURE----- --nextPart1502648.Ftb5dVdU55--