Skip to contentSkip to conversation

Brightness hotkeys on HP laptop

DISCUSSION Andy Shevchenko 2 participants 2 messages Nov 5, 2020 – Nov 9, 2020 1 message not in the archive x86 platform drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

+Cc: subsystem maintainers

Quoted 27 lines · Gmail

Hi, I am using a HP Pavillion 15-cx0598na.

I am having trouble getting my brightness keys to be registered. It should also be noted that my wireless toggle key does not work either - I assume that is a seperate issue as it is handled by a different module.

Nothing is detected through acpi_listen, xev or showkey. However, in the journal I get this error (same when pressing both keys):

```
Apr 26 15:50:05 archlinux-laptop kernel: atkbd serio0: Unknown key
pressed (translated set 2, code 0xab on isa0060/serio0).
Apr 26 15:50:05 archlinux-laptop kernel: atkbd serio0: Use 'setkeycodes
e02b <keycode>' to make it known.
```

Here is a link to acpidump: https://termbin.com/2l2x

I have already tried to contact the author of hp_wmi (the module for handling some hotkeys) but he could not solve the issue so suggested contacting this email.

Yours Sincerely,
Rhys Perry

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw

Hi,

Quoted 24 lines · Andy Shevchenko

+Cc: subsystem maintainers

Quoted 21 lines · Gmail

Hi, I am using a HP Pavillion 15-cx0598na.

I am having trouble getting my brightness keys to be registered. It should also be noted that my wireless toggle key does not work either - I assume that is a seperate issue as it is handled by a different module.

Nothing is detected through acpi_listen, xev or showkey. However, in the journal I get this error (same when pressing both keys):

```
Apr 26 15:50:05 archlinux-laptop kernel: atkbd serio0: Unknown key
pressed (translated set 2, code 0xab on isa0060/serio0).
Apr 26 15:50:05 archlinux-laptop kernel: atkbd serio0: Use 'setkeycodes
e02b <keycode>' to make it known.
```

Here is a link to acpidump: https://termbin.com/2l2x

I have already tried to contact the author of hp_wmi (the module for handling some hotkeys) but he could not solve the issue so suggested contacting this email.

So for the archives, this has already been discussed in another thread.

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