From patchwork Sat May 27 05:16:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Darren Hart X-Patchwork-Id: 9751495 X-Patchwork-Delegate: dvhart@infradead.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3FF896037E for ; Sat, 27 May 2017 05:16:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3401F28448 for ; Sat, 27 May 2017 05:16:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 28FCB2846A; Sat, 27 May 2017 05:16:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE37628448 for ; Sat, 27 May 2017 05:16:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751615AbdE0FQT (ORCPT ); Sat, 27 May 2017 01:16:19 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:42441 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751107AbdE0FQR (ORCPT ); Sat, 27 May 2017 01:16:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5u7feWn8Oel7iIK24x7RN/mNxEB3+REXVhrP2ko2Ytg=; b=C95RTXTfdfvzRShRcj0oR7SlM nTPLQ/WrJd4kCTqDRAgffj91GypfAhH4KS4xXc5P1o87NrOnPNjIUxIryveFUiBl/gFfgpq86GWIc sni9DymhNuUPZoR3ks3Yi00keGI71c7JarGkAsysGNjLIfluxAWjIrpdO3uvBpMZ2ebvh+Me2+jj0 jnJbjTWY+JAm3r7cIFEc569Z+IAwkRJnOvq3+GltnH8ZjTEiMgDLoHbXnqN4mJHaciyFGQkWwU+VX SEod0K7TJl1ryMULS2og12YOFcVfvBSCxAgzyKr9KIiCC3RWpWv/4FRGEAizrDiXIz+P1IH1IEP7P O8kMmQHhg==; Received: from dvhart by bombadil.infradead.org with local (Exim 4.87 #1 (Red Hat Linux)) id 1dEU5I-0003yQ-0X; Sat, 27 May 2017 05:16:16 +0000 From: Darren Hart To: platform-driver-x86@vger.kernel.org Cc: LKML , Andy Lutomirski , Mario Limonciello , Matthew Garrett , Andy Shevchenko , Darren Hart Subject: [PATCH] platform/x86: dell-wmi: Add a better description for "stealth mode" Date: Fri, 26 May 2017 22:16:12 -0700 Message-Id: X-Mailer: git-send-email 2.9.4 MIME-Version: 1.0 Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Andy Lutomirski This is based on Mario's explanation and observation of my laptop. Suggested-by: "Pali Rohár" Signed-off-by: Andy Lutomirski Cc: Mario Limonciello Cc: Matthew Garrett Cc: Andy Shevchenko Signed-off-by: Darren Hart (VMware) Reviewed-by: Andy Shevchenko --- drivers/platform/x86/dell-wmi.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index 24467b1..73aee0d 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b/drivers/platform/x86/dell-wmi.c @@ -272,7 +272,12 @@ static const struct key_entry dell_wmi_keymap_type_0010[] __initconst = { /* RGB keyboard backlight control */ { KE_IGNORE, 0x154, { KEY_RESERVED } }, - /* Stealth mode toggle */ + /* + * Stealth mode toggle. This will "disable all lights and sounds". + * The action is performed by the BIOS and EC; the WMI event is just + * a notification. On the XPS 13 9350, this is Fn+F7, and there's + * a BIOS setting to enable and disable the hotkey. + */ { KE_IGNORE, 0x155, { KEY_RESERVED } }, /* Rugged magnetic dock attach/detach events */