Received: by 10.223.176.46 with SMTP id f43csp249812wra; Thu, 18 Jan 2018 16:50:49 -0800 (PST) X-Google-Smtp-Source: ACJfBot1zNkkcsGkAz/ERRkCr137xXXyR7lIpCujtJAk6SQCd50VDe7Boa8csFKwQ1Tvx2IUYebh X-Received: by 10.101.65.205 with SMTP id b13mr5219802pgq.280.1516323049752; Thu, 18 Jan 2018 16:50:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516323049; cv=none; d=google.com; s=arc-20160816; b=YSY96fVHyMBv4CBhehqV+Km616J3OKc66TQto02cZwjtGLFfWxdYYt7g97n12RDT3B M4vFd76fy8wE2VTlrYgo+J7TT4okPqOYWl8I+3uk4V8Fdoloq7B+Ds4lxDn1Qv8ng32U nzhxh6cgTP0gak7awp6qBTEQo0Sn/1WjPI1OnpN2SMW9vcS38+GTp1EVDo26kD7PXkhy Vei1Co2z23/b0E6vZSdjJ8O/D9Cv1p2w0S7wRV4JGvnbCYjBzbG0/yhBejFtrd6mTPXZ pM3zHQ+ONhiagyB/GHih65xHzG8GkRtj5Dlp3boSgMmBclHTWlliTFF8OWnm3QnbYiBR 6gug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=qkSBWiBvO7zMBzhf64uRPhmuv762QRH2RwMf6GKyHNo=; b=M0h9PLYoIusrEWBbUFgXmjJ9tV5OUBEcUttNrXMD/T3rMkCt9EdTuCOSwMvwGKY8kv UOQR3RAlMIPjXBRknTNajqSn5j5O5KidFhwUyJifSsTtgrTkPC6G4IqlLQPn4AiZCBUV rdOIdU/DCLl6CqcFDzbHOkUz+WuQeUlyryS7IfDo+WKAJLO1Fg85jgh4wIUTRb/x2SIr 01b+UDu/QisIATAroU6I42C5INbTAgdQXGK7uXUCtc+BMuL41/l6+RxjLn/onBamm8wc tC5SUFi8/+X0LrfqAAUW2SyQqYmk+qSWuQCP9XcLEbJu05HjyTi0w4tqbAr8hR04Lcv7 w1BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mRrArO/K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si2105125pgt.621.2018.01.18.16.50.35; Thu, 18 Jan 2018 16:50:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mRrArO/K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755206AbeASAuF (ORCPT + 99 others); Thu, 18 Jan 2018 19:50:05 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:40475 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754793AbeASAt7 (ORCPT ); Thu, 18 Jan 2018 19:49:59 -0500 Received: by mail-pf0-f194.google.com with SMTP id i66so73876pfd.7; Thu, 18 Jan 2018 16:49:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=qkSBWiBvO7zMBzhf64uRPhmuv762QRH2RwMf6GKyHNo=; b=mRrArO/KaVZ0GlUY4B6sZEGDscwAYBAnKlBKD7tUCuXhI4vmZS/3i4NDmpgWyZ8hgR hWwmrg0OQMFC45UAP5v/9h9Tc41fRAhGWZWOb2EBZ4q8w7p1EXw+eD8KxlXOYOaHCisj Ujgj4+h9aM7lL7v2aS7WY7WLUXT6/n0k9f/zOvI/7Z/XSdeXe4bWbrZoHUTepk/tZG8y W78+r4QnRcXP6LO5bv3c0ojtSU3OvDu1jUzFj+7MK6FIQFRhZmsclP46iN2EkmkygHH8 /pp3w0YtO8ludmyPnRtm6oir5aIb3C/DU7PUyzJBPeJX08bsi15pfc1jWFMxOagkrFHt O6ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qkSBWiBvO7zMBzhf64uRPhmuv762QRH2RwMf6GKyHNo=; b=EC5XDW1EzWOKn/eZwHgc1s7ZlylK5tdPcU8STwrOROX6PI5QLytoSAqhVCgbHaWcXI PZnn6NSZ2oiRb09tk4C4EmqzyDwmbvKGy+ach09kvlXhAtQ8UIWhn7vqZ9zUgy6WonZF tZ9ilF4T1Hq8Cen796u+Nhit6AQT7RV31s8fpwjiQdNuVRG9fMGnOE7oKbNe6UX/Ju9s cNbGLXIXILbw8Zf6HZIk+85ueGSxJbpCA8qEW+HPQHuhjZN7hAXcZI9cDASw1pK1EJpN ZfaIxIgWICzXey1X+j6b6BgimQ7uTWWOdug1lvFuBpzu7jcKwSHWzV6Qi21PaeMkaMbb sbyg== X-Gm-Message-State: AKwxytceRmu2Ac1e8rXLLVq9Y/orv7I+Go4qx0wMgBdq3GiUhppja+8l KbpXaYrEaK1lksI1WL8f60Q= X-Received: by 10.98.9.67 with SMTP id e64mr19095286pfd.230.1516322998516; Thu, 18 Jan 2018 16:49:58 -0800 (PST) Received: from dtor-ws.mtv.corp.google.com ([2620:0:1000:1611:da80:8749:c06f:9515]) by smtp.gmail.com with ESMTPSA id t80sm12540937pgb.88.2018.01.18.16.49.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jan 2018 16:49:58 -0800 (PST) From: Dmitry Torokhov To: Benjamin Tissoires , Lyude Paul , Damjan Georgievski Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Duggan Subject: [PATCH 0/3] RMI4: improve trackpoint detection Date: Thu, 18 Jan 2018 16:49:52 -0800 Message-Id: <20180119004955.247190-1-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, The following patch series is hopefully improves trackpint detection on systems using RMI4 and PS/2 guest modules. The issue was that we were registering port too early, before RMI driver was ready to service interrupts properly, so psmouse would try to get ID from the device and RMI driver would still be initializing other functions and interrupts would still be masked, so GetID would simply time out. Then we may or may not get interrupt from trackpoint and run through the detection again, but probably much later. Please take a look and hpefully give it a try. Damjan, I hope it might fix your issue with trackpoint appearing much much later. Thanks! -- Dmitry