Received: by 10.223.185.116 with SMTP id b49csp1965640wrg; Thu, 22 Feb 2018 06:09:44 -0800 (PST) X-Google-Smtp-Source: AH8x225Dg44ydnuIZQiz3nDIm9YyO0qsmChdSPANzHHuMrqYdbOYuqVKhKvNh1xrCJ1fRKemlB8a X-Received: by 10.99.52.203 with SMTP id b194mr5957621pga.349.1519308584516; Thu, 22 Feb 2018 06:09:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519308584; cv=none; d=google.com; s=arc-20160816; b=btVGvimYI2XIo3oYWd1jpFbEWT4JXTOiX1KHmF+CAzA+qo6hG9nvK7dWAlOiCTSRYR uB3ORMTFA2N1Y4wb5ITYcBMA7DGVAyx1/EyB+MPg/PV34u7YYmpwjEgGS5OosCowDE/8 2JReB5yfX1/BqnnPzxBlqWP1bdV1tUfR5pJTHumdoDbWNw3U00ejgF/MY41fkVi7pRBs uPCqryWgxDnA+Dck94acx8M2E4UkZTtxmnULiXKFLbYssjEQsqx4anUbIWwJ1b5PLLbE 7p9MQq0IzMC4B+W6fKSQfVkAG0nHX+Tu0Jy8MfF5TNCTszepJ1ixQ5wz290+xke4jLaN 2Fpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :dkim-signature:arc-authentication-results; bh=fTvLa63QWI1pg3zgBPtqwqWm2MV28aV6pdC2O5+lMz0=; b=je3D/1BQp2fCnMrlI6Tl/9WVu+AAk/BDGJ5o0NjnNLkMKXCP7a0Mz9CSDtv0ge/tT/ NLpXqCm4HQ6o2etwS2alD4CL5RZyHngkSc3SlZ0F25lGqblXZ6hbl+eoratd42I6hdAa TnZkSoN7yEz2pvLC89hRUTbMC7H5Frgw3q1tc90pCzDeRGP0MX5bXDUFJHrOAsO9qzCo Uqz8nKhgnZJDWlGAH7tWjf9PcG2MaEoD8B0uYpT0HhhhSDLrkNGwc59cd14QyDrUW8QB eNU+HMy4Y4faFZgjz6WeOoVp88uAfuLwatti0CzBao7/TNA28YNGzouxRgqp/325Kr/c VQJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jcline.org header.s=rdybrs3533vx7mghocfwl3vdwgpl2v5u header.b=DIlashdn; dkim=pass header.i=@amazonses.com header.s=224i4yxa5dv7c2xz3womw6peuasteono header.b=LndxkuDX; 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 n34-v6si99716pld.233.2018.02.22.06.09.29; Thu, 22 Feb 2018 06:09:44 -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=@jcline.org header.s=rdybrs3533vx7mghocfwl3vdwgpl2v5u header.b=DIlashdn; dkim=pass header.i=@amazonses.com header.s=224i4yxa5dv7c2xz3womw6peuasteono header.b=LndxkuDX; 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 S932648AbeBVOIY (ORCPT + 99 others); Thu, 22 Feb 2018 09:08:24 -0500 Received: from a8-57.smtp-out.amazonses.com ([54.240.8.57]:48376 "EHLO a8-57.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932564AbeBVOIX (ORCPT ); Thu, 22 Feb 2018 09:08:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=rdybrs3533vx7mghocfwl3vdwgpl2v5u; d=jcline.org; t=1519308502; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=yEQq5QhSS2O7KuwLm3kIPYNMZMakSW/axWE3++Hct/I=; b=DIlashdnpLdiBYWdVIanJyylxvi3w1fluU1sM7T4srREdJ59TAuOu0/D9qtHY//2 1yxfJ/VCCGowi/NXXTbKGkjS/hn1ZyUv4oujgdwvttbFolzWusVkKtTPUDjbLVI8Dyu 19/a7gDufAf+MbLej4ix8BA3S/8DfudJHYbqfVhA= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1519308501; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=yEQq5QhSS2O7KuwLm3kIPYNMZMakSW/axWE3++Hct/I=; b=LndxkuDXpTERpKgBXm33F+fMlBVB8Su1S9NA5Vb3lq9wFm4D9VC45wPtz0cS3QK7 /aX05oP9GTBp8CUs5qM/GBGjkBqhqQVrFS5FaO7IDvepS0XfzhzEGt8NwG/lumAzyC2 NgCJS2NmmlyNkpeMU7idKe9ItCQxjl83zgIXZynI= X-Virus-Scanned: amavisd-new at jcline.org Subject: Re: Regression: Dell XPS 13 9360 keyboard no longer works To: Marco Martin Cc: Mario Limonciello , =?UTF-8?Q?Pali_Roh=c3=a1r?= , Andy Shevchenko , Matthew Garrett , Darren Hart , platform-driver-x86@vger.kernel.org, Linux Kernel Mailing List References: <01000161bbeed4e3-8160ffbc-0998-453d-9afd-14b7dd80dd53-000000@email.amazonses.com> <1628582.nV6hDClBbL@phobos> From: Jeremy Cline Message-ID: <01000161bdd7f206-c8d87cce-1b8c-4888-8d6a-5247198b3ead-000000@email.amazonses.com> Date: Thu, 22 Feb 2018 14:08:21 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1628582.nV6hDClBbL@phobos> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-SES-Outgoing: 2018.02.22-54.240.8.57 Feedback-ID: 1.us-east-1.z18Isoc/FaoPOvCyJyi1mnTt8STwoRuibXVNoUcvG6g=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/22/2018 05:21 AM, Marco Martin wrote: > On giovedì 22 febbraio 2018 06:14:07 CET Jeremy Cline wrote: >> Hey folks, >> >> Commit 30323fb6d552c41997baca5292bf7001366cab57 (Support tablet mode >> switch) causes the keyboard on my XPS 13 to stop working. This >> particular model has a touch screen (which I've disabled in the BIOS), >> but isn't a 2-in-1 with a tablet mode. My guess is it's being put in >> tablet mode and that's disabling the keyboard? In any case, I'm happy >> to test fixes and provide any necessary information. > > 30323fb6d552c41997baca5292bf7001366cab57 initializes the switch to the correct > state, in theory, it seems VGBS() is returning the wrong thing? could it > report it has the switch and in a closed state even if it doesn't have it? > also seems device specific, on my inspiron6352 if i go in teblet mode the > keyboard keeps working until i fold it completely (which i don't know/don't > think is something detectable at all from the software side) > > can you test with the command evtest (if an external keyboard works, or via > ssh)?, then looking at the state of the intel virtual button driver it should > show you the current state of the switch > Hi, Here's the evtest output for the virtual button driver: Input driver version is 1.0.1 Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0 Input device name: "Intel Virtual Button driver" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 114 (KEY_VOLUMEDOWN) Event code 115 (KEY_VOLUMEUP) Event code 116 (KEY_POWER) Event code 125 (KEY_LEFTMETA) Event code 240 (KEY_UNKNOWN) Event code 561 (?) Event type 4 (EV_MSC) Event code 4 (MSC_SCAN) Event type 5 (EV_SW) Event code 1 (SW_TABLET_MODE) state 1 Properties: Testing ... (interrupt to exit) Regards, Jeremy