]> git.baikalelectronics.ru Git - kernel.git/commit
HID: lenovo: Fix spurious F23 key press report during resume from suspend
authorHans de Goede <hdegoede@redhat.com>
Sat, 4 Jul 2020 20:10:59 +0000 (22:10 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 7 Jul 2020 10:42:27 +0000 (12:42 +0200)
commit4e6b20b97ab8dcac97a61bcf51ccc0ad6686bdfd
tree7423481a70f7fa8448bd7d73c067661f6868a7aa
parent1b3b866b1f4d9ea67389f0dfddf4003cd7e6055a
HID: lenovo: Fix spurious F23 key press report during resume from suspend

The Ultrabook Keyboard sends a spurious F23 key-press when resuming
from suspend. GNOME uses F23 to toggle the touchpad on/off so this causes
the OSD graphics for the touchpad toggle to show on resume.

The keyboard does not actually have a F23 key, se we can simple fix it
by marking the 0x00070072 HID usage, which normally is F23, to be ignored.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lenovo.c