Received: by 10.223.185.116 with SMTP id b49csp2326257wrg; Thu, 22 Feb 2018 11:52:28 -0800 (PST) X-Google-Smtp-Source: AH8x226ZjhJvNojA7QbdrYXeloBCk5c15DwlJIquDL8wPb2rwfgUxMQ3HUDldoXGbFBrHONPk2Pe X-Received: by 2002:a17:902:8c91:: with SMTP id t17-v6mr7666129plo.233.1519329148059; Thu, 22 Feb 2018 11:52:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519329148; cv=none; d=google.com; s=arc-20160816; b=N3Gw/Q7zBsGJs9cS0INW/IZaCNJWzowVi5ohMMT3u7HCRxy9+9iXu4NX7oQiU5J2JB 0alXTuEo1Y5s6fA82ANEJUozNJZEftyNPf+g7jCmF9lj0Fogxj4gwvDitDTqET6wBHjG HXnW9cEP9AbPEVxUwH+t94uMoLxOAut0seag602JyN5GhaV3VNPj30MXN+/kFH/3+pDS leZ6OMXNx+q14PUYjV4zQ/yeXr3iSnpFu6r3n5aPnbEYJOuq3K+8vdjv2xWIOVv61dBJ LyZyUkZEdBpe7S9DA3ukuvNNJY+KldoQXWUj4Vhzyy6rrsGSiIm7jo888SbKf71kDdHe K+BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=QtRXTp23ncl96aw8iQEzmyBYw4G95RI4AKNdZgCyCjw=; b=UxNtWWv/iopBBDFkrJ39grZ1kZ7XwHQG0P6Bg34q14flLZpROsWpFtxfc2VOSJBOBh RC107w0qnH0sTHNLTS4G73X2ZYuEijhDneykhA07/rybMfd6atPUnrIcdVPbGmf17zkr +wDS0fs1fQbXSIi5a9XK1eyDha4PBNnJSxy9wlAzGZqCgA7JV6Vv0xdftZG1a1WfLob9 gRVESHaXP0JhQp0Gzr5hr/1F7b/C8wersJi13r+EfqaydcMuFlkjHMiqZwzdh0LW65oo t6mldS+niVdreIO8Z1LHbkYfUIUOKK++7bMqGDcOt+0P+Yp15XTo12Ym12HtTai3xG34 rxwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=BZi3N4fC; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x1si519549pfk.3.2018.02.22.11.52.13; Thu, 22 Feb 2018 11:52:28 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=BZi3N4fC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751402AbeBVTuK (ORCPT + 99 others); Thu, 22 Feb 2018 14:50:10 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:35742 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750967AbeBVTuJ (ORCPT ); Thu, 22 Feb 2018 14:50:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QtRXTp23ncl96aw8iQEzmyBYw4G95RI4AKNdZgCyCjw=; b=BZi3N4fCcU3Gso1Q6CS35YPUN UqOk6m98gTJPClf5eDOAI6xKPJr97NuHJwlL62dopU6IzQeOgaGZ6IgaNQCxQamxOCLz3W7WGBW5a Qor5ZEnd3lqXXb8r1+yTar3IlnXRtoNy+41Vo0Bu64QJvRIVHDlyA/ihS/RjdK+R4IoK2iPfSATLc UuHug39zZXA0V7ED8WXhQXcyl+ZyjP7PleYvPSZywNtc0oXFjaxmR9CBIDae3ZP5kuOxxstr2vvA3 Yx61KWh+gSsWinUinEWqfR8JoMT6VDHsnlD3m5KD6xO+W1EZcthwhBBmcfcdFptF5uTiGT79HG6lT Ti1OjTN2Q==; Received: from dvhart by bombadil.infradead.org with local (Exim 4.89 #1 (Red Hat Linux)) id 1eowsX-0003YT-HE; Thu, 22 Feb 2018 19:50:05 +0000 Date: Thu, 22 Feb 2018 11:50:00 -0800 From: Darren Hart To: Mario.Limonciello@dell.com Cc: jeremy@jcline.org, notmart@gmail.com, pali.rohar@gmail.com, andriy.shevchenko@linux.intel.com, mjg59@srcf.ucam.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Regression: Dell XPS 13 9360 keyboard no longer works Message-ID: <20180222195000.GE19843@fury> References: <1628582.nV6hDClBbL@phobos> <01000161bdd7f206-c8d87cce-1b8c-4888-8d6a-5247198b3ead-000000@email.amazonses.com> <01000161be3d1072-1c155203-359c-4566-9af6-2ebc33ad43ee-000000@email.amazonses.com> <01000161be4dbc6d-571d7479-35a2-4c6d-b3e0-f2405fc2064a-000000@email.amazonses.com> <722a48c6c0354609bf34f86c4269aef9@ausx13mpc120.AMER.DELL.COM> <01000161be64cac2-b17509ef-f7e5-4134-9188-941d7f5ac687-000000@email.amazonses.com> <88473a72368b43bdacebca279092ab0f@ausx13mpc120.AMER.DELL.COM> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <88473a72368b43bdacebca279092ab0f@ausx13mpc120.AMER.DELL.COM> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 22, 2018 at 05:05:39PM +0000, Mario.Limonciello@dell.com wrote: ... > OK thanks for confirming. Here's what I've concluded: > > * So looking through the ACPI tables on the 9360 it initializes that status > (slate vs laptop mode) bit to "slate" mode. The 9360 isn't a 2-in1- so that > seems wrong to me, but that's what it does. > It only gets updated based on dock status. > > The 9365 (which is a 2 in 1) however seems to initialize the status properly. > > So that's an impasse of what to do. > It's not clear to me what is really happening: > a) We're missing something else in this driver (eg something else that > indicates whether to trust VGBS output) > > b) Mis-interpreting the results from it (we shouldn't report the switch for > tablet mode based on what we do) > > c) 9360 has a BIOS bug (seems unlikely since Windows doesn't freak out and > show virtual keyboard at wrong time) > > I'm leaning on it's probably . > We should check for tablet mode should only be run if chassis type > matches 2-in-1 (chassis type 0x1F). This sounds like a good approach to me. > I believe that should fix the problem on the 9360, let it continue to work on > the 9365 (and other 2-in-1's). > > Can you guys please test this? If that works I'll split up the routine and submit > it. Queueing this up as well. -- Darren Hart VMware Open Source Technology Center