android_kernel_asus_sm8350/drivers/input
Hans de Goede 01fe1b7bb0 Input: atkbd - use ab83 as id when skipping the getid command
commit 58f65f9db7e0de366a5a115c2e2c0703858bba69 upstream.

Barnabás reported that the change to skip the getid command
when the controller is in translated mode on laptops caused
the Version field of his "AT Translated Set 2 keyboard"
input device to change from ab83 to abba, breaking a custom
hwdb entry for this keyboard.

Use the standard ab83 id for keyboards when getid is skipped
(rather then that getid fails) to avoid reporting a different
Version to userspace then before skipping the getid.

Fixes: 936e4d49ecbc ("Input: atkbd - skip ATKBD_CMD_GETID in translated mode")
Reported-by: Barnabás Pőcze <pobrn@protonmail.com>
Closes: https://lore.kernel.org/linux-input/W1ydwoG2fYv85Z3C3yfDOJcVpilEvGge6UGa9kZh8zI2-qkHXp7WLnl2hSkFz63j-c7WupUWI5TLL6n7Lt8DjRuU-yJBwLYWrreb1hbnd6A=@protonmail.com/
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240116204325.7719-1-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-25 14:34:29 -08:00
..
gameport
joystick Input: xpad - add Razer Wolverine V2 support 2024-01-25 14:34:21 -08:00
keyboard Input: atkbd - use ab83 as id when skipping the getid command 2024-01-25 14:34:29 -08:00
misc Input: powermate - fix use-after-free in powermate_config_complete 2023-10-25 11:53:19 +02:00
mouse Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport 2023-11-08 11:23:40 +01:00
rmi4 Input: synaptics-rmi4 - fix use after free in rmi_unregister_function() 2023-11-20 10:30:15 +01:00
serio Input: i8042 - add nomux quirk for Acer P459-G2-M 2024-01-25 14:34:20 -08:00
tablet Input: aiptek - properly check endpoint type 2022-03-23 09:12:07 +01:00
touchscreen Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe 2023-05-17 11:35:52 +02:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
input-mt.c
input-polldev.c
input-poller.c
input-poller.h
input.c Input: add bounds checking to input_set_capability() 2022-05-25 09:14:32 +02:00
joydev.c Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl 2021-07-14 16:53:02 +02:00
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c