Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp823970rwe; Thu, 1 Sep 2022 08:09:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Qjjt+6zCNIA02TrDb5YXCHeTbxZ0PXYBHZ10MZacao6nWcTq5rGU0e4KmoqLcnScDBKeA X-Received: by 2002:a17:90b:1b48:b0:1f4:f4e5:c189 with SMTP id nv8-20020a17090b1b4800b001f4f4e5c189mr8754803pjb.226.1662044956834; Thu, 01 Sep 2022 08:09:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662044956; cv=none; d=google.com; s=arc-20160816; b=vKYQGCGcwdOvO1l3kcvdLcUIncqtjEdnErqle1PDcrBJ4b1NHvOLdmDmypFKzbin64 rKuvqsKwbHtY+M4Fp8sozFFf3akGxs5PdPsccLDipdNwAWMsJ1YGO3ZyKg7PN0voqDMN yOe7Fc/Y+dCWuAdNKGw3uBWNZlI5z2EYDrICbhWOaNMdnD+r+WY2wZ0k7Np3H438bOt/ aFKwzWsjnqVJJZYzfDYD8DcC9a0cfl/pYD1/4gDZkkwqvurny76Bnk9SRFaanh4tMHEu 627OeWFK7GVmLL19c1m4c1tzfaMPVY5XZd1wXDDEGypobrwQmbrDTOOZcShAKSyNl6kR nPjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=5poaUCXaJbI2zmBn4LFN02z8P6dE9ZahVD/y5bAwx+s=; b=Tx7rq77YX0CK+BzHGNEVWfZZNgXpDhnOqPAckTopHNWLLgMtAcBj451wGHN47yYD53 xekNyO8tImhGGvU2CREjlNdqeTCyd5dYbS1WIt/dJeCJ8Iuyqz3igA6LLanLOS2k3P+U cTKTHyyNB18wiZCmK40U7PVmn/KaLJY9scqkoj3XSVVLNbR9cmgGYxrU2pqeUw73gyh5 OQ3kvE25ZWfkQ1MrNXMQPzRFqg8y1OdIP0MUzhDj8j6e5gRCeX7WmxuHPPHt3wty1hQr W80wlBGQZrGEA9rAiSJXnXHZny51sAtClEAZofKvVJg+sIXKYSidJ4pztcMonFJoZ9sc aiSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Eg4CpL7C; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p1-20020a170902e74100b00172d8fc3abasi9778845plf.58.2022.09.01.08.08.58; Thu, 01 Sep 2022 08:09:16 -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=@redhat.com header.s=mimecast20190719 header.b=Eg4CpL7C; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233873AbiIAOzM (ORCPT + 99 others); Thu, 1 Sep 2022 10:55:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233652AbiIAOzK (ORCPT ); Thu, 1 Sep 2022 10:55:10 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BBA61AD89 for ; Thu, 1 Sep 2022 07:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662044108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5poaUCXaJbI2zmBn4LFN02z8P6dE9ZahVD/y5bAwx+s=; b=Eg4CpL7CCh1UvVS0lHqaEokqApdJxskJQHF/+HuM0EEHFeXpeNXsSmqU3dKtIb8hg5QED8 l03/CXTJ2q3pTN+amlLaq+PBDIcnZZwv6RPimCLqMUHQ4BESKuA//pfaxTNtCEpE/45D3l GrH/rEQ4jobelGi4a9jCMnF/DDi6SJk= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-534-cs4Tr77INDKW4D2R6qKkGw-1; Thu, 01 Sep 2022 10:55:07 -0400 X-MC-Unique: cs4Tr77INDKW4D2R6qKkGw-1 Received: by mail-ed1-f72.google.com with SMTP id dz16-20020a0564021d5000b004489f04cc2cso7195971edb.10 for ; Thu, 01 Sep 2022 07:55:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=5poaUCXaJbI2zmBn4LFN02z8P6dE9ZahVD/y5bAwx+s=; b=RriAykkzfLcbQeuKmeHrS2yEbWQnro/o/C+z85kcpugAgRnpng0ri/LaocsQjRzDXt Jx2xIDRGQCX71w6aaysziDBIdliTGCCUY/iS+He/Bf8UDGGTbbH3YkAPLUGsXhSDA2mw SmyZiW959k1axUhZuDiAeTdNgrz8KBCmK75RgsBe5CFtIoxdD8GYd3vC/B8+5WHP1Yzf pHbNDo1Ts/KFwY/r0iENsfgN0Gf0k6mmMPtlZvX1uCVH6iB1JcU908cDec1i9YMC/u9X 9tKXWBFueDhjb7N2bt44TTLS28bcw2cvNQNCyV2gN31Wr/J4EAjj2Z9WBlzt3K4GYvXn 46fw== X-Gm-Message-State: ACgBeo1ZbbNSHd9Bl5FSiADKox9ahbSNVyRfDUIVf7g8rvF83Nn0BZ3H UIxh+lYyu+UZuh4R84Efo2AAnD39QVcdRE0/RgRUU5XHP9bDWDa8s/ngD2EvNohnq0YK+BhZPky 3n04ApTF8UBIk3H+sVJujDMGN X-Received: by 2002:a17:907:b15:b0:741:8ae4:f79d with SMTP id h21-20020a1709070b1500b007418ae4f79dmr14003339ejl.247.1662044106434; Thu, 01 Sep 2022 07:55:06 -0700 (PDT) X-Received: by 2002:a17:907:b15:b0:741:8ae4:f79d with SMTP id h21-20020a1709070b1500b007418ae4f79dmr14003324ejl.247.1662044106160; Thu, 01 Sep 2022 07:55:06 -0700 (PDT) Received: from ?IPV6:2001:1c00:c1e:bf00:d69d:5353:dba5:ee81? (2001-1c00-0c1e-bf00-d69d-5353-dba5-ee81.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:d69d:5353:dba5:ee81]) by smtp.gmail.com with ESMTPSA id 1-20020a170906210100b0073d61238ae1sm8535366ejt.83.2022.09.01.07.55.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 07:55:05 -0700 (PDT) Message-ID: <7abac73e-d7e2-f457-7a72-9fecb532ddd5@redhat.com> Date: Thu, 1 Sep 2022 16:55:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH] platform/x86: dell-wmi: Add WMI event 0x0012 0x0003 to the list Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Matthew Garrett , Mark Gross Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220827133040.15932-1-pali@kernel.org> From: Hans de Goede In-Reply-To: <20220827133040.15932-1-pali@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hi, On 8/27/22 15:30, Pali Rohár wrote: > 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 Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > --- > 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 } }, >