Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp4026150rdg; Wed, 18 Oct 2023 12:37:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtLKRGu99HojLQ35FPuTDacy2ABZGmf1REef3PBxNqPKgrmcOhsa0iDLkN78QFLPYa1Vjl X-Received: by 2002:a05:6870:10d8:b0:1ea:2e2c:e9e7 with SMTP id 24-20020a05687010d800b001ea2e2ce9e7mr300349oar.59.1697657838436; Wed, 18 Oct 2023 12:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697657838; cv=none; d=google.com; s=arc-20160816; b=mxR1V16vkK69hCwxGrPtLwGFAXd0nMOUGWwQzloX1ByRKvtM7g9kvj0tS64nNbSUPZ LnAjLkbFQd5ok33sKGK8c/OU5ZqiLEGEsRqvRCApKr8snJv8N7iEgfqo+O2ZamfSlAUM Q1jHC/7IHtrl6xkyf2j3wfyCxh5XXzVLz7hafnK/rzlidEqEXZfyBXJCJ6u1w4YQo81T qSp1YvVNTaToyjvulAdVcqBB0PHRepoeh7wzpEQeTXPK1WKHPRgL5VHY9ULjygK95mS3 8hLbkIbeNT+nxjTm6yzixY2oPEvVPRmaC5Ecuy2IZ/EhkVedkFkqEpt6FZANCR23EJdH IEIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:content-language:references:cc :to:subject:user-agent:mime-version:date:message-id:dkim-signature; bh=p74xZf+yvMFgKaF5SGRiPer5Qi122Y2wywp4B5ZGZis=; fh=Cg70YupF0Yyxn/EJQJBNDSivoiFaLz6xqVhOgOC+F3w=; b=wCKpNjM3m59GQPQcsx6R9XsxnqnR6rYkX9Bt41IpqhxrIEpaCpqCzkhooxDAWCPRcK ev8gdaNdG7thUll9PBJdyPMWzZ7NLm2IFgOcg5oUquAPR0wd3QfiT5y3NvjuvmXP8Olp Aw4rc9JmY8hRBJ4LuJ8mkFww8phn2GK0J6opDeZTg4cJfBSAi2OUiPxkFwy1tb0zN9c/ 3vIdEQwWd5KIjT6aOfACLlcOZjPq3Cc8Klg+pLgtCmqGF61LWrubheAr46KuHU4wP7A7 IPbeOvTf++wPxLrldx4HoUGP//los+ZGAxbc+F97/Dq1N8gVj2NI/jm67qWGhtaT15Rz HHsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IvLrv6TX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id q21-20020a656255000000b005b717539930si2676550pgv.749.2023.10.18.12.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 12:37:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IvLrv6TX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id BFD0D801B4B3; Wed, 18 Oct 2023 12:37:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229487AbjJRTgx (ORCPT + 99 others); Wed, 18 Oct 2023 15:36:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229757AbjJRTgw (ORCPT ); Wed, 18 Oct 2023 15:36:52 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACD6995 for ; Wed, 18 Oct 2023 12:36:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697657762; 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: in-reply-to:in-reply-to:references:references; bh=p74xZf+yvMFgKaF5SGRiPer5Qi122Y2wywp4B5ZGZis=; b=IvLrv6TXQojZYRLQHi/7kFZoewKjkfTn6DTJ3Bsa3mqLemU7bAK7bbh4gu1rmkAuM5clva ZNundZ/a3UpRwjossljQo/s2Ay8MpfkrWKFXb1HAsH1r3Uv2X3JsUUzY2rodkmKBoMan0d BSCe+PN20hQni1/kFR8Rb4jYCfAUBR8= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-653-skjDXkUQMOmfJXR0nRgAkA-1; Wed, 18 Oct 2023 15:35:50 -0400 X-MC-Unique: skjDXkUQMOmfJXR0nRgAkA-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-9c749c28651so81434166b.0 for ; Wed, 18 Oct 2023 12:35:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697657749; x=1698262549; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=p74xZf+yvMFgKaF5SGRiPer5Qi122Y2wywp4B5ZGZis=; b=MQ/6ZHHC5j7uzuSMcbnuFIYzixx9/LysKPSmazSqIPiRFnjKzgJmGp1brGfnhGUrC2 gL6QUQXuYIyQJgLw2s+sTBINNu1Y/uX6WCq+Z7lwGht4WjBvlG+LqVXAKyzQSWopmeOx wa6I7xylPqa8EHBGQ9TmDOhm2GNNx5/l+gQ25vNOp7rJZScO8QoLFUKlmPIPaxZwL9nr rMaBNqEn+ULd7U1td8Kkb7a1+vJsnWNbohkQFGuXzARuuytSRLNNjgowx2BNeslLnTIw iubGqtmcoxzVujDRDYyYozwZjqgtKqSnlGyEqRIABKZHab1O2rd8AdylYlc1R3fctRqj HRXQ== X-Gm-Message-State: AOJu0YwXq/fM4IoLGHF4y8Y/QsrhxLLy+cBCQ3yiz5cCyymnpAg/IqcO 53qpf9qOqr1uV53tkSA8aAzKOLBnH8ZAq8xz12o0/dX4S0jZsSwNzFwnM3mCU4Bf/Yn2LmXgfom JhcsTPhVspWFM69KeXOdCJSao X-Received: by 2002:a17:907:a089:b0:9ad:e4e1:1476 with SMTP id hu9-20020a170907a08900b009ade4e11476mr157988ejc.77.1697657749463; Wed, 18 Oct 2023 12:35:49 -0700 (PDT) X-Received: by 2002:a17:907:a089:b0:9ad:e4e1:1476 with SMTP id hu9-20020a170907a08900b009ade4e11476mr157970ejc.77.1697657749094; Wed, 18 Oct 2023 12:35:49 -0700 (PDT) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id le3-20020a170907170300b009c70b392051sm2214715ejc.100.2023.10.18.12.35.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Oct 2023 12:35:48 -0700 (PDT) Content-Type: multipart/mixed; boundary="------------QZBWEzaD2g02goSPTYlOO0mq" Message-ID: Date: Wed, 18 Oct 2023 21:35:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: PROBLEM: asus_nb_wmi sends KEY_BRIGHTNESSDOWN on pressing CAPS Lock and PrntScrn on Zenbook S 13 UX5304VA To: me@donjajo.com Cc: Corentin Chary , =?UTF-8?Q?Ilpo_J=c3=a4rvinen?= , Mark Gross , platform-driver-x86@vger.kernel.org, acpi4asus-user@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <132feb67-c147-7ee6-b337-385e11786ec6@redhat.com> <146cb960-406b-4456-94ce-ad6ed3f330ad@donjajo.com> <90a7309e-4a76-4dff-8259-9975dd3ed8b1@donjajo.com> <938c83c4-973d-ac23-bfb6-53c63c153d81@redhat.com> <6c97dc9e9cfea6e18c59d717e5973255@donjajo.com> Content-Language: en-US, nl From: Hans de Goede In-Reply-To: <6c97dc9e9cfea6e18c59d717e5973255@donjajo.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 18 Oct 2023 12:37:10 -0700 (PDT) This is a multi-part message in MIME format. --------------QZBWEzaD2g02goSPTYlOO0mq Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi James, On 10/18/23 02:17, me@donjajo.com wrote: > Hi Hans, > > I hope you are feeling better now. > Thank you so much for your support in resolving this. > >> I assume that the first "BACKLIGHT BUTTON" is the backlight DOWN button ? > Yes. Correct. > > >> 2. Can you please run: >> >> sudo evtest and then select the "ACPI video bus" (or something >> similar) device and see if that reports brightness up/down >> keypresses?  And then do the same thing for the >> "Asus WMI hotkeys" device ? I expect the Asus WMI hotkeys >> device to only report brightness up keypresses (after my >> hwdb "fix") while I expect brightness-up events to get >> reported twice, by both the "ACPI video bus" device and >> the "Asus WMI hotkeys" device. > Done and attached. > >> Can you confirm this? This also means that brightness >> up will take bigger steps (2 steps per keypress) then >> brightness down, right ? > I am not sure I understand what you mean here. But I have attached the output here The 2 evtest logs show that each brightness up/down keypress gets reported twice, once by the "ACPI video bus" device and once bythe "Asus WMI hotkeys" device. This means that in e.g. GNOME the brightness will move up / down by 2 steps for each step, reducing the amount of steps from 20 to 10, or iow making each step twice as big. Especially at the low end of the brightness scale this may be an issue since steeping by 5% there can already make a big difference and this double key press reporting now changes this into stepping by 10% at a time. > After applying your patch, it seems to have fixed the issue! Thank you for all the testing and other then the double keypress issue + the unknown code messages everything now looks good! I have applied 2 more patches the first one fixes the unknown code messages and adds a mapping for the "Screen Capture" hotkey. The second test filters out the duplicate (duplicate with the "ACPI video bus") brightness up/down events. It would be great if you can add these on top of the previous 2 patches and then run one last test for me: Run evtest on the "Asus WMI hotkeys" device this should now: 1. Show no output for capslock / printscreen 2. Show KEY_SELECTIVE_SCREENSHOT events for the "Screen Capture" hotkey. 3. Show no output for brightness up/down, yet brightness up/down should still work since these are also reported by the "ACPI video bus" It would be great if you can confirm for each of these that this behaves as expected with the 2 extra patches applied on top of the previous patches. Regards, Hans --------------QZBWEzaD2g02goSPTYlOO0mq Content-Type: text/x-patch; charset=UTF-8; name="0001-platform-x86-asus-wmi-Map-0x2a-code-Ignore-0x2b-and-.patch" Content-Disposition: attachment; filename*0="0001-platform-x86-asus-wmi-Map-0x2a-code-Ignore-0x2b-and-.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSBhMjUzM2JkNTczZWI3YTc2MjMwNmU4M2Q5OWY2MjRjYmFiYWQ3ZDE5IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBIYW5z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LCAw eDMwLCB7IEtFWV9WT0xVTUVVUCB9IH0sCiAJeyBLRV9LRVksIDB4MzEsIHsgS0VZX1ZPTFVN RURPV04gfSB9LAogCXsgS0VfS0VZLCAweDMyLCB7IEtFWV9NVVRFIH0gfSwKLS0gCjIuNDEu MAoK --------------QZBWEzaD2g02goSPTYlOO0mq Content-Type: text/x-patch; charset=UTF-8; name="0002-platform-x86-asus-wmi-Do-not-report-brightness-up-do.patch" Content-Disposition: attachment; filename*0="0002-platform-x86-asus-wmi-Do-not-report-brightness-up-do.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSBlYzAxY2FjYWY2OGZjMDBjMWQ1ZmZmZDJjZThlMGJkMDNkMjc1M2JkIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBIYW5zIGRlIEdvZWRlIDxoZGVnb2VkZUByZWRoYXQu Y29tPgpEYXRlOiBXZWQsIDE4IE9jdCAyMDIzIDExOjQ3OjI4ICswMjAwClN1YmplY3Q6IFtQ QVRDSCAyLzJdIHBsYXRmb3JtL3g4NjogYXN1cy13bWk6IERvIG5vdCByZXBvcnQgYnJpZ2h0 bmVzcyB1cC9kb3duCiBrZXlzIHdoZW4gYWxzbyByZXBvcnRlZCBieSBhY3BpX3ZpZGVvCgpG b3IgYSBsb25nIHRpbWUgbm93IHRoZSBhY3BpX3ZpZGVvIGRyaXZlciByZXBvcnRzIGV2ZGV2 IGJyaWdodG5lc3MgdXAvZG93bgprZXkgZXZlbnRzIGZvciB0aGUgYnJpZ2h0bmVzcyBob3Rr ZXlzIG9uIG1vc3QgKG5vbiBhbmNpZW50KSBsYXB0b3BzLgoKYXN1cy13bWkgYWxzbyByZXBv cnRzIGV2ZGV2IGJyaWdodG5lc3MgdXAvZG93biBrZXkgZXZlbnRzIGZvciB0aGVzZQprZXlz IGxlYWRpbmcgdG8gZWFjaCBwcmVzcyBiZWluZyByZXBvcnRlZCB0d2ljZSBhbmQgZS5nLiBH Tk9NRSBpbmNyZ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