https://bugs.kde.org/show_bug.cgi?id=519755
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |CONFIRMED CC| |[email protected] Ever confirmed|0 |1 --- Comment #3 from [email protected] --- I can confirm that this bug occurs on my system as well (ASUS TUF Gaming A15 FA507RM_FA577RM). Following is the evtest output from the `AT Translated Set 2 keyboard` device when the physical Fn+F10 (Touchpad Toggle on my System) key is pressed. Notice the firmware injecting the Left Ctrl, Left Meta, and F24 keys: ''' Event: time 1774161717.361808, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1d Event: time 1774161717.361808, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1 Event: time 1774161717.361808, -------------- SYN_REPORT ------------ Event: time 1774161717.366608, type 4 (EV_MSC), code 4 (MSC_SCAN), value db Event: time 1774161717.366608, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 1 Event: time 1774161717.366608, -------------- SYN_REPORT ------------ Event: time 1774161717.369991, type 4 (EV_MSC), code 4 (MSC_SCAN), value 76 Event: time 1774161717.369991, type 1 (EV_KEY), code 194 (KEY_F24), value 1 Event: time 1774161717.369991, -------------- SYN_REPORT ------------ Event: time 1774161717.376892, type 4 (EV_MSC), code 4 (MSC_SCAN), value 76 Event: time 1774161717.376892, type 1 (EV_KEY), code 194 (KEY_F24), value 0 Event: time 1774161717.376892, -------------- SYN_REPORT ------------ Event: time 1774161717.384434, type 4 (EV_MSC), code 4 (MSC_SCAN), value db Event: time 1774161717.384434, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 0 Event: time 1774161717.384434, -------------- SYN_REPORT ------------ Event: time 1774161717.389917, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1d Event: time 1774161717.389917, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 0 ''' Alongside the valid KEY_TOUCHPAD_TOGGLE ACPI event, the firmware simultaneously fires a hardcoded legacy Windows macro consisting of KEY_LEFTCTRL + KEY_LEFTMETA + KEY_F24 over the standard AT Translated Set 2 keyboard bus. Because Wayland compositors (like KWin) strictly capture complex modifier macros, the compositor intercepts the Ctrl+Meta+F24 sequence and ignores the simultaneous KEY_TOUCHPAD_TOGGLE event, leaving the touchpad state unchanged. Applying a custom hwdb rule to map the F24 scancode (76) to reserved successfully breaks the phantom macro and restores normal touchpad toggle functionality under Wayland. I implemented the following local override which fixed the bug immediately: ''' /etc/udev/hwdb.d/90-asus-touchpad-quirk.hwdb evdev:atkbd:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:* KEYBOARD_KEY_76=reserved ''' -- You are receiving this mail because: You are watching all bug changes.
