Skip to contentSkip to conversation

New: lg_laptop: LG gram 16UD55U - kbd_backlight has no effect, unknown WMI scancodes on Super key

Bug 222275 [email protected] 1 participant 11 messages Nov 16 – Nov 20 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=222275

Bug ID: 222275
Summary: lg_laptop: LG gram 16UD55U - kbd_backlight has no
effect, unknown WMI scancodes on Super key
Product: Drivers
Version: 2.5
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Platform_x86
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Created attachment 311472
--> https://bugzilla.kernel.org/attachment.cgi?id=311472&action=edit
dmesg and acpidump attached

Hardware: LG gram 16UD55U-G.AX85BN (board 16U55U), AMD Ryzen AI 7 445, BIOS GP115
Kernel: 7.3.3-300.fc45 (also tested 7.4.0-rc2)

1) Keyboard backlight
lg_laptop loads and creates /sys/class/leds/kbd_backlight, but writing to brightness has no effect: the value stays at 0 and the keyboard does not light up. Fn+F8 does nothing either.

2) Unknown WMI key events
Each press of the Super key makes the "LG WMI hotkeys" device send KEY_UNKNOWN with scancodes 0x30020000 (press) and 0x30020001 (release). This breaks the GNOME overlay key, because it sees another key between Super press and release. Remapping via hwdb does not work (unknown sparse-keymap entries). Workaround: LIBINPUT_IGNORE_DEVICE=1 on "LG WMI hotkeys". These scancodes should probably be added to the keymap as ignored.

dmesg and acpidump attached. Happy to test patches.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 222275] lg_laptop: LG gram 16UD55U - kbd_backlight has no effect, unknown WMI scancodes on Super key

https://bugzilla.kernel.org/show_bug.cgi?id=222275

Armin Wolf ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Armin Wolf ([email protected]) --- Take a look at
https://lore.kernel.org/platform-driver-x86/[email protected]

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 222275] lg_laptop: LG gram 16UD55U - kbd_backlight has no effect, unknown WMI scancodes on Super key

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=222275

--- Comment #2 from [email protected] ---
I tested the patch "platform/x86: lg-laptop: Fix input of super key" on my LG gram 16UD55U-G.AX85BN (BIOS GP115, kernel 7.3.4-300.fc45). The KEY_UNKNOWN events are gone and the Super key works correctly in GNOME without any workaround.

Regarding the keyboard backlight issue, which is still open, when loading lg_laptop I see:

lg_laptop: product: 16UD55U-G.AX85BN year: 2022
lg_laptop: Cannot get handle

The year detection seems wrong (this is a 2026 model), so the driver may be using old-generation methods, and one ACPI handle is not found. This could explain why kbd_backlight has no effect. acpidump is attached to this bug. Happy to test further patches.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 222275] lg_laptop: LG gram 16UD55U - kbd_backlight has no effect, unknown WMI scancodes on Super key

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=222275

--- Comment #3 from [email protected] ---
In case it helps:

ls /sys/bus/wmi/devices/
023B133E-49D1-4E10-B313-698220140DC2-2 74286D6E-429C-427A-B34B-B5D15D032B05-20 ABBC0F45-8EA1-11D1-00A0-C90629100000-13 05901221-D566-11D1-B2F0-00A0C9062910-17 911BAD44-7DF8-4FBB-9319-BABA1C4B293B-4
ABBC0F46-8EA1-11D1-00A0-C90629100000-14
05901221-D566-11D1-B2F0-00A0C9062910-21 ABBC0F20-8EA1-11D1-00A0-C90629100000-7
ABBC0F47-8EA1-11D1-00A0-C90629100000-15
05901221-D566-11D1-B2F0-00A0C9062910-6 ABBC0F40-8EA1-11D1-00A0-C90629100000-8
ABBC0F48-8EA1-11D1-00A0-C90629100000-16
101F83BB-30B7-DF11-8D81-0800200C9A66-18 ABBC0F41-8EA1-11D1-00A0-C90629100000-9
C3A72B38-D3EF-42D3-8CBB-D5A57049F66D-0
2B4F501A-BD3C-4394-8DCF-00A7D2BC8210-5 ABBC0F42-8EA1-11D1-00A0-C90629100000-10 E4FB94F9-7F2B-4173-AD1A-CD1D95086248-1 37BE1AC0-C3F2-4B1F-BFBE-8FDEAF2814D6-3 ABBC0F43-8EA1-11D1-00A0-C90629100000-11 644C5791-B7B0-4123-A90B-E93876E0DAAD-19 ABBC0F44-8EA1-11D1-00A0-C90629100000-12

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 222275] lg_laptop: LG gram 16UD55U - kbd_backlight has no effect, unknown WMI scancodes on Super key

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=222275

--- Comment #4 from Armin Wolf ([email protected]) ---
The year detection mismatch should be irrelevant for the keyboard backlight. Does the keyboard backlight cycle automatically when you press the associated hotkey?

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 222275] lg_laptop: LG gram 16UD55U - kbd_backlight has no effect, unknown WMI scancodes on Super key

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=222275

--- Comment #5 from [email protected] ---
I checked LG's official spec page for this exact model
(https://www.lg.com/es/portatiles/gram/16ud55u-g-ax85bn/) and there is no mention of a backlit keyboard, and the keyboard has no backlight hotkey. So this model (LG gram Book line) simply doesn't have keyboard backlight. Sorry for the noise, that part of the report can be ignored.

The Super key issue is fixed by the lg-laptop patch, which I tested successfully. Thanks for your help!

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#6 lore raw

[Bug 222275] lg_laptop: LG gram 16UD55U - kbd_backlight has no effect, unknown WMI scancodes on Super key

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=222275

--- Comment #6 from Armin Wolf ([email protected]) ---
Created attachment 311507
--> https://bugzilla.kernel.org/attachment.cgi?id=311507&action=edit
Patched kernel module

I patched the lg-laptop driver to automatically detect if a given device support the keyboard backlight feature. Can you check if the patched module correctly works on your machine and hides the keyboard backlight device?

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#7 lore raw

[Bug 222275] lg_laptop: LG gram 16UD55U - kbd_backlight has no effect, unknown WMI scancodes on Super key

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=222275

--- Comment #7 from [email protected] ---
Tested on LG gram Book 16UD55U-G.AX85BN, kernel 7.3.4-300.fc45.x86_64:

The kbd_backlight LED device is no longer registered (confirmed with ls /sys/class/leds/ — only tpad_led remains). The other hotkeys (volume, brightness, mic mute, fan mode, etc.) still work fine.

Relevant dmesg output:
lg_laptop: product: 16UD55U-G.AX85BN year: 2022
lg_laptop: Cannot get handle
input: LG WMI hotkeys as /devices/platform/LGEX0820:00/input/input54

As confirmed by LG's official spec page for this model, there is no keyboard backlight on the LG gram Book line.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.