Re: [RFC] Input: atkbd: HP Pavilion Gaming keyboard backlight key reports unknown scancode

Dmitry Torokhov <[email protected]> Wed, 5 Aug 2026 23:16:08 -0700
Newsgroups org.kernel.vger.linux-input
Message-ID <[email protected]>
Hi Dinesh,

On Thu, Jul 30, 2026 at 05:29:50PM +0530, [email protected] wrote:
> Before preparing a patch, I'd like to ask about the preferred upstream approach.
> 
> Would maintainers prefer:
> 
> 1. Adding a generic atkbd Set 2 keymap entry mapping translated scancode 0xab to KEY_KBDILLUMTOGGLE,
> 
> or
> 
> 2. Implementing this as HP-specific handling (for example via a DMI-based quirk)?
> 
> I'd appreciate guidance on which direction would be preferred.

You should submit a patch to systemd adding an entry for your key to
hwdb.d/60-keyboard.hwdb based on DMI data for your device.

Thanks.

-- 
Dmitry