From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93F0DC4361A for ; Fri, 4 Dec 2020 13:06:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 54CA320702 for ; Fri, 4 Dec 2020 13:06:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725920AbgLDNGT (ORCPT ); Fri, 4 Dec 2020 08:06:19 -0500 Received: from mail.cock.li ([37.120.193.124]:39062 "EHLO mail.cock.li" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726024AbgLDNGT (ORCPT ); Fri, 4 Dec 2020 08:06:19 -0500 Subject: Re: HP Zbook studio G5 Brightness and mic mute keys give same scancode DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cock.li; s=mail; t=1607087109; bh=tMnYTcL6Kdc8hgTT3N5ZWjdpoMEXFfS+eX8+Tc6aeWQ=; h=Subject:To:References:From:Date:In-Reply-To:From; b=UvY2e3cMvf8MTV4FuUF/A/HLFUWIsjGAQgyHWw2KLZ9tsLMBxfvP/dfXinuK3HLko JfhZ6qKjdSN1zNkg7Sojk7VGctjh8+XRlX3i6GXZnBcOudD44rJtZ90klojub8xRIE Le1FwcgjVBEp4egrxk7WhixIg/kDmx/PI6uB5ImDwfqxw0Sdy5D+C1P0YpXXxndieB 56mygp/4/PzfmJjEJB0XId5LhwV6zLXynkEFb8yB8fE/rpAhNcqFmxYsR2fdMk4bw6 TJtvJU+XshEmUveJmeBpamdAlruGNDA7FNTDFG0oKYr8d155yRmSAwxZiicSh+eT/L ghRdtMRuFT24w== To: Platform Driver References: <97c507c1-21a9-2b77-5d07-09cfcd93ca39@redhat.com> <1dbe090f-03c4-f003-6c38-c139c38313e2@cock.li> <52f754d9-f4c4-9a5b-82b4-6d6878a94eec@redhat.com> From: TheStroyer Message-ID: <0270fc83-7142-917b-f4bb-0ee214de9dcd@cock.li> Date: Fri, 4 Dec 2020 14:05:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: <52f754d9-f4c4-9a5b-82b4-6d6878a94eec@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org Hi, Somewhere between 28-11-2020 and today my brightness hotkeys are broken again. They act as mic mute key again. I don't know if this is caused by the system upgrade or something else. I have used windows for the first time in a while, so that may have sneakily upgraded something. I have tried downgrading the packages linux, linux-headers, linux-firmware, systemd and systemd-libs (form Arch Linux) to some older version. I also tried updating the bios from the bios screen and updating the firmware from windows device manager. This all didn't change anything. So we're back where we started I guess. Best regards, Friso On 24/11/2020 12:14, Hans de Goede wrote: > Hi, > > On 11/12/20 7:25 PM, Friso Smit wrote: >> Hi, >> >> I'm not sure if you have read the previous mails in this thread, but the >> problem is solved, at least for me, with a bios update. > At that is good to know. > >> I don't know how >> it works exactly, but all keys produce different scan codes now. Are there >> still some models where this is a problem? > Yes this is till a problem on at least the hp-pavilion-cx-0598na, see > the mail thread starting here: > > https://lore.kernel.org/platform-driver-x86/CAGTBY+sgwYrDPtQgJV=TcXJ73n8TGf9Nw=arCfWMUrVFzAsEVQ@mail.gmail.com/ > > I've just asked the reported of that problem to check if there is a BIOS > update for his system. > > Regards, > > Hans > > > > >> On 11/9/20 2:44 PM, Hans de Goede wrote: >>> Hi, >>> >>> On 11/5/20 5:47 PM, Andy Shevchenko wrote: >>>> +Cc: subsystem maintainers >>>> >>>> On Sun, May 17, 2020 at 2:24 PM wrote: >>>>> Hi, >>>>> On my HP Zbook studio G5 a few keys on my keyboard give the same >>>>> scancodes. Most notably, the brightness and mute function keys all give >>>>> the scan code sequence 0xe0 0x20 0xe0 0xa0 as reported by showkey >>>>> --scancodes. It only produces a scancode when pressed, not when >>>>> released. I found another very similar issue in this mailing list found >>>>> in https://www.spinics.net/lists/platform-driver-x86/msg16791.html. The >>>>> issue in that mail was solved by a bios update. I'm running the latest >>>>> bios, but I still have the issue. >>>>> I tried the kernels: Manjaro 5.7rc4-1, Manjaro 5.6.11-1 and Manjaro >>>>> 5.4.39-1 >>>>> I also tried a few other distributions, but they all have the same >>>>> issue. >>>>> I'm happy to provide more information about this issue if needed. >>> So this already came in another thread for another HP laptop model, >>> this seems to be a common issue on some (newer?) HP laptop models. >>> >>> It seems that we need to make some special WMI calls for this, either >>> to figure out which key is actually pressed when receiving the >>> PS/2 scancode which is shared between multiple keys. Or to get the >>> device to send different scancodes. >>> >>> This will require someone with some knowledge of ACPI/WMI as well >>> as of writing kernel code to get physical access to an affected HP >>> laptop to figure out what is going on and write some code to deal with >>> this special setup. >>> >>> Regards, >>> >>> Hans >>>