android_kernel_asus_sm8350/drivers/input/keyboard
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
..
adc-keys.c
adp5520-keys.c
adp5588-keys.c
adp5589-keys.c
amikbd.c
applespi_trace.h
applespi.c Input: applespi - don't wait for responses to commands indefinitely. 2021-03-17 17:03:44 +01:00
applespi.h
atakbd.c
atkbd.c Input: atkbd - use ab83 as id when skipping the getid command 2024-01-25 14:34:29 -08:00
bcm-keypad.c
cap11xx.c
clps711x-keypad.c
cros_ec_keyb.c
davinci_keyscan.c
dlink-dir685-touchkeys.c
ep93xx_keypad.c
goldfish_events.c
gpio_keys_polled.c
gpio_keys.c
hil_kbd.c Input: hil_kbd - fix error return code in hil_dev_connect() 2021-07-14 16:53:40 +02:00
hilkbd.c
hpps2atkbd.h
imx_keypad.c
ipaq-micro-keys.c Input: ipaq-micro-keys - add error handling for devm_kmemdup 2024-01-08 11:29:46 +01:00
jornada680_kbd.c
jornada720_kbd.c
Kconfig m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning 2021-07-14 16:53:22 +02:00
lkkbd.c
lm8323.c
lm8333.c
locomokbd.c
lpc32xx-keys.c
Makefile
maple_keyb.c
matrix_keypad.c
max7359_keypad.c
mcs_touchkey.c
mpr121_touchkey.c
mtk-pmic-keys.c
newtonkbd.c
nomadik-ske-keypad.c
nspire-keypad.c Input: nspire-keypad - enable interrupts only when opened 2021-04-21 12:56:13 +02:00
omap4-keypad.c
omap-keypad.c treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD() 2023-04-20 12:07:32 +02:00
opencores-kbd.c
pmic8xxx-keypad.c
pxa27x_keypad.c
pxa930_rotary.c
qt1050.c
qt1070.c
qt2160.c
samsung-keypad.c
sh_keysc.c
snvs_pwrkey.c Input: snvs_pwrkey - add clk handling 2021-10-27 09:54:29 +02:00
spear-keyboard.c
st-keyscan.c
stmpe-keypad.c
stowaway.c
sun4i-lradc-keys.c
sunkbd.c
tc3589x-keypad.c
tca6416-keypad.c
tca8418_keypad.c
tegra-kbc.c
tm2-touchkey.c
twl4030_keypad.c
xtkbd.c