RE: input/i8042: Malfunctioning brightness keys on HP Elite Dragonfly G2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alex,

I confirmed brightness up/down and mute are AT translated set of keys and not handled by HP-WMI driver.
BIOS should be sending an 0x4 event which keycode 224 (brightness up), 225 (brightness down), and 190 (microphone).
Instead, BIOS is sending keycode 190 for all three keys.

I will search for an Elite Dragonfly G2 unit and try to duplicate the problem.  Please send the BIOS version your system is running on.
This problem could have been reported and fixed in the latest BIOS version.

Look forward to hearing back from you.


Regards,

Jorge Lopez
Hewlett-Packard 

“Once you stop learning, you start dying”
Albert Einstein

-----Original Message-----
From: Lopez, Jorge A (Security) 
Sent: Monday, July 11, 2022 8:10 AM
To: 'Hans de Goede' <hdegoede@xxxxxxxxxx>; Alex Dewar <alex.dewar@xxxxxxxxx>; dmitry.torokhov@xxxxxxxxx; tiwai@xxxxxxx; markgross@xxxxxxxxxx
Cc: linux-input@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; platform-driver-x86@xxxxxxxxxxxxxxx
Subject: RE: input/i8042: Malfunctioning brightness keys on HP Elite Dragonfly G2

Hi Alex,

Let me investigate this issue.  The driver maps some keys, so it is possible the list is incomplete.  
It is expected hp_wmi driver to be loaded, Correct?
Can you provide the BIOS version current in your system?


Regards,

Jorge Lopez
Hewlett-Packard 

“Once you stop learning, you start dying”
Albert Einstein

-----Original Message-----
From: Hans de Goede <hdegoede@xxxxxxxxxx>
Sent: Monday, July 11, 2022 7:10 AM
To: Alex Dewar <alex.dewar@xxxxxxxxx>; dmitry.torokhov@xxxxxxxxx; tiwai@xxxxxxx; markgross@xxxxxxxxxx; Lopez, Jorge A (Security) <jorge.lopez2@xxxxxx>
Cc: linux-input@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; platform-driver-x86@xxxxxxxxxxxxxxx
Subject: Re: input/i8042: Malfunctioning brightness keys on HP Elite Dragonfly G2

Hi Alex,

On 7/11/22 09:49, Alex Dewar wrote:
> Hi Hans,
> 
> On Sat, 2022-07-09 at 16:56 +0200, Hans de Goede wrote:
>> Hi,
>>
>> On 7/5/22 19:25, Alex Dewar wrote:
>>> Friendly ping? 🙂
>>>
>>> I'm also CC'ing the x86 platform people into this, as I'm not sure 
>>> whether this problem is something more within their remit.
>>
>> Please test the atbkd device with "sudo evemu-record" or "sudo 
>> evtest"
>> and if the brightness keys generate events there, write down the raw 
>> event codes (MSC events).
> 
> I tried this but unfortunately this doesn't seem to be the whole story.
> If I press "decrease brightness" I get:
> Event: time 1657525393.922727, -------------- SYN_REPORT ------------
> Event: time 1657525397.043348, type 4 (EV_MSC), code 4 (MSC_SCAN), 
> value 81
> Event: time 1657525397.043348, type 1 (EV_KEY), code 190 (KEY_F20), 
> value 1
> Event: time 1657525397.043348, -------------- SYN_REPORT ------------
> Event: time 1657525397.050384, type 4 (EV_MSC), code 4 (MSC_SCAN), 
> value 81
> Event: time 1657525397.050384, type 1 (EV_KEY), code 190 (KEY_F20), 
> value 0
> 
> And if I press "increase brightness" I get:
> Event: time 1657525397.050384, -------------- SYN_REPORT ------------
> Event: time 1657525398.607184, type 4 (EV_MSC), code 4 (MSC_SCAN), 
> value 81
> Event: time 1657525398.607184, type 1 (EV_KEY), code 190 (KEY_F20), 
> value 1
> Event: time 1657525398.607184, -------------- SYN_REPORT ------------
> Event: time 1657525398.614190, type 4 (EV_MSC), code 4 (MSC_SCAN), 
> value 81
> Event: time 1657525398.614190, type 1 (EV_KEY), code 190 (KEY_F20), 
> value 0
> 
> There's no difference! And I also get the same thing if I press the
> *actual* mute mic button 😞.
> 
> Any ideas?

>From this it looks like we need to use some other interface to get these events (+ ignore the above events).

Do you have a "HP WMI hotkeys" device in your list of input devices?  And are you getting any events on that ?

Likewise do you have a "Video Bus" device and any events on that ?

I've also added Jorge from HP to the Cc. Jorge, can you help with this ?

Regards,

Hans





[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux