Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1651759

[PATCH] platform/x86: dell-wmi: Add a better description for "stealth mode"

Path csiph.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Darren Hart <dvhart@infradead.org>
Newsgroups linux.kernel
Subject [PATCH] platform/x86: dell-wmi: Add a better description for "stealth mode"
Date Sat, 27 May 2017 07:20:01 +0200
Message-ID <tLCiR-7pp-7@gated-at.bofh.it> (permalink)
X-Original-To platform-driver-x86@vger.kernel.org
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==;
X-Mailer git-send-email 2.9.4
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 34
Organization linux.* mail to news gateway
X-Original-Cc LKML <linux-kernel@vger.kernel.org>, Andy Lutomirski <luto@kernel.org>, Mario Limonciello <mario_limonciello@dell.com>, Matthew Garrett <mjg59@srcf.ucam.org>, Andy Shevchenko <andy@infradead.org>, Darren Hart <dvhart@infradead.org>
X-Original-Date Fri, 26 May 2017 22:16:12 -0700
X-Original-Message-ID <a959f34a4a8586b9fd71550cf2920371daefacf0.1495862172.git.dvhart@infradead.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1651759

Show key headers only | View raw


From: Andy Lutomirski <luto@kernel.org>

This is based on Mario's explanation and observation of my laptop.

Suggested-by: "Pali Rohár" <pali.rohar@gmail.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Mario Limonciello <mario_limonciello@dell.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Andy Shevchenko <andy@infradead.org>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
---
 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 */
-- 
2.9.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] platform/x86: dell-wmi: Add a better description for "stealth mode" Darren Hart <dvhart@infradead.org> - 2017-05-27 07:20 +0200
  Re: [PATCH] platform/x86: dell-wmi: Add a better description for  "stealth mode" Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-27 12:50 +0200

csiph-web