Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1369505rwe; Sat, 27 Aug 2022 06:44:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR7jusTM02kJd9phc06+CByJ6CsyPOwaV441P7VTHkNM3lpe5nLv0G/6N7HYNZCKcZJ3hTG2 X-Received: by 2002:a17:90b:1d91:b0:1fb:4f7f:852e with SMTP id pf17-20020a17090b1d9100b001fb4f7f852emr9342075pjb.126.1661607847932; Sat, 27 Aug 2022 06:44:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661607847; cv=none; d=google.com; s=arc-20160816; b=B6nxKJbpcH3G078bjTMuVSuKNUq2+prxD/Znopc4Ak2VFx7Vv1XDOTJ8+LWC5y/0ya Px1y278WuGtNnvyPmwKmzt3BSpwTKpd5N7m28U5l/LXRWEki9LJ2ytdoaZFIKpjaZ/53 Rd+ROO2Z+siP4nalsCdBf7ap0tMPycfdnvbvZ33+L4pBKLvjRe70iYieGuMa/VzKuHk/ YN6DB9SgXwfMuJVRxrlDs+vlRRPCBLxlGqmO8qO0om5WNgi7io6o38qYEyIWX7llxhWe gmsM9Pwm3v+Leo2sv2wcdeg+xjOs8/QG7r+GJ4ZwTlRW4T9GrJnRdChixBwUsu+tiVOJ b3CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=h1Y2ZKyE5aCw5VkectvsEBA8SUhmJTe0+8ZLvtD5sRw=; b=QNgW3FQ3wV2Gpf+fdgXWscIdOctyoCFzmd80gliE5QN7tQI2HWfXHIbFo3Yfno7F0Y /QWVk1ua2Cx1cQF4nq3HjoLwiQK8cXXFAVomynO2YUYD0KLeWcYtH9w1pW5D/sgl4LUt FH1KApnsQzhs7Yx+OihGeoGHZgV5b1tdR2j/gjzRkrfKPSmNSoOcmaCrkFmKD6I6PSNK 53hSKQzwDkfASOMsm4w6Fz32wUveCqiXsTZq9Vv1pUoxkxkbTrQAXnxqBpwfbnGeq1Qk fnqK99Uq0lBmyi67f95KRPZD0Y/wqEYWwpyzO44v/0+APDcmq1PuayaHa2pT7nkuumr0 li7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aUmwBrPc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d15-20020a170902b70f00b00172962a64a3si3998799pls.132.2022.08.27.06.43.29; Sat, 27 Aug 2022 06:44:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aUmwBrPc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232627AbiH0Na4 (ORCPT + 99 others); Sat, 27 Aug 2022 09:30:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231961AbiH0Naz (ORCPT ); Sat, 27 Aug 2022 09:30:55 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D934521E2E; Sat, 27 Aug 2022 06:30:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 74B3FB8013C; Sat, 27 Aug 2022 13:30:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0384EC433D6; Sat, 27 Aug 2022 13:30:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661607050; bh=NMxqpqaBLhAnK0P2jMNxG42gIO1zGsISRaqGFoRIfV0=; h=From:To:Cc:Subject:Date:From; b=aUmwBrPcCYxYZJqxv/+Bc3XGD3iJ24M63V3UQ06pqJ3u8BHN+rT8jheh+8Jl9sTwF pqOY9ZMwPKdKahy7abjK5oC35rgVwESoqhto3TZdrbSjvgfC6cZTL5D2VY5TDMdFdK 8YYVAmN7ZvxOAUDinn1Hba0i5x7Eg9CTWaE1QWaL6nItbS9gasitu/CHqmyPMl6Rpy n/5rcXA6lvO8O55+yJ8ZFqkZ3ITIBeoyvt/M2VHZmwXc8IL+sdFaPTUaPDmGs3EjQa zn05bc9pJsQQfFMUY1e2D8MEUXc1tpODofiOirCgGu+Vr/hGenfEplsv7jvsLBCwhh ltpkzVkrt3KRA== Received: by pali.im (Postfix) id F2586C7A; Sat, 27 Aug 2022 15:30:46 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Matthew Garrett , Hans de Goede , Mark Gross Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] platform/x86: dell-wmi: Add WMI event 0x0012 0x0003 to the list Date: Sat, 27 Aug 2022 15:30:40 +0200 Message-Id: <20220827133040.15932-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It looks like that on Dell Latitude E6440 is WMI event 0x0012 0x0003 sent when display changes brightness. When it happens kernel prints "dell_wmi: Unknown WMI event type 0x12" message into dmesg. So ignore it for now to not spam dmesg. Signed-off-by: Pali Rohár --- drivers/platform/x86/dell/dell-wmi-base.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/platform/x86/dell/dell-wmi-base.c b/drivers/platform/x86/dell/dell-wmi-base.c index e07d3ba85a3f..0a259a27459f 100644 --- a/drivers/platform/x86/dell/dell-wmi-base.c +++ b/drivers/platform/x86/dell/dell-wmi-base.c @@ -344,6 +344,9 @@ static const struct key_entry dell_wmi_keymap_type_0011[] = { * They are events with extended data */ static const struct key_entry dell_wmi_keymap_type_0012[] = { + /* Backlight brightness change event */ + { KE_IGNORE, 0x0003, { KEY_RESERVED } }, + /* Ultra-performance mode switch request */ { KE_IGNORE, 0x000d, { KEY_RESERVED } }, -- 2.20.1