linux-stable/drivers/input/keyboard
Hans de Goede 58f65f9db7 Input: atkbd - use ab83 as id when skipping the getid command
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: 936e4d49ec ("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>
2024-01-16 13:16:10 -08:00
..
adc-keys.c Input: adc-keys - drop bogus __refdata annotation 2021-09-03 23:49:58 -07:00
adp5520-keys.c Input: adp5520-keys - convert to platform remove callback returning void 2023-09-23 19:16:40 -07:00
adp5588-keys.c Input: adp5588-keys - use devm_regulator_get_enable() 2023-07-07 17:03:34 -07:00
adp5589-keys.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
amikbd.c Input: amikbd - convert to use devm_* api 2023-07-20 16:52:48 -07:00
applespi.c Input: applespi - use pm_sleep_ptr() and SYSTEM_SLEEP_PM_OPS() 2023-01-27 14:49:53 -08:00
applespi.h
applespi_trace.h
atakbd.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
atkbd.c Input: atkbd - use ab83 as id when skipping the getid command 2024-01-16 13:16:10 -08:00
bcm-keypad.c Input: bcm-keypad - correct dev_err_probe() error 2023-07-12 11:54:19 -07:00
cap11xx.c Input: cap11xx - convert to use maple tree register cache 2023-12-12 21:39:09 -08:00
clps711x-keypad.c Input: clps711x-keypad - get rid of OF_GPIO dependency 2022-08-30 14:20:00 -07:00
cros_ec_keyb.c Input: cros_ec_keyb - convert to platform remove callback returning void 2023-09-23 19:16:40 -07:00
cypress-sf.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
dlink-dir685-touchkeys.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
ep93xx_keypad.c Input: ep93xx_keypad - convert to platform remove callback returning void 2023-09-23 19:16:40 -07:00
goldfish_events.c
gpio_keys.c Input: gpio-keys - filter gpio_keys -EPROBE_DEFER error messages 2023-12-28 23:44:55 -08:00
gpio_keys_polled.c Input: gpio_keys_polled - simplify with dev_err_probe() 2023-07-07 16:54:26 -07:00
hil_kbd.c Input: hil_kbd - fix error return code in hil_dev_connect() 2021-05-24 20:57:04 -07:00
hilkbd.c parisc: Make struct parisc_driver::remove() return void 2021-08-30 10:18:25 +02:00
hpps2atkbd.h
imx_keypad.c Input: imx_keypad - add missing linux/input.h include 2022-09-26 08:15:10 -07:00
imx_sc_key.c
ipaq-micro-keys.c Input: ipaq-micro-keys - add error handling for devm_kmemdup 2023-12-03 19:04:34 +00:00
iqs62x-keys.c Input: iqs62x-keys - convert to platform remove callback returning void 2023-09-23 19:16:40 -07:00
jornada680_kbd.c
jornada720_kbd.c
Kconfig Input updates for 6.3 merge window: 2023-02-25 15:01:32 -08:00
lkkbd.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
lm8323.c Input: lm8323 - convert to use devm_* api 2023-07-28 18:04:00 -07:00
lm8333.c Input: lm8333 - convert to use devm_* api 2023-07-20 16:52:47 -07:00
locomokbd.c treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
lpc32xx-keys.c Input: lpc32xx-keys - convert to devm_platform_ioremap_resource() 2023-07-10 17:44:25 -07:00
Makefile input: remove pxa930_rotary keyboard driver 2023-02-01 17:23:38 +01:00
maple_keyb.c
matrix_keypad.c Input: matrix_keypad - convert to platform remove callback returning void 2023-09-23 19:16:41 -07:00
max7359_keypad.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mcs_touchkey.c Input: mcs-touchkey - fix uninitialized use of error in mcs_touchkey_probe() 2023-07-25 09:51:13 -07:00
mpr121_touchkey.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mt6779-keypad.c Input: mt6779-keypad - add missing linux/input.h include 2022-09-26 08:15:03 -07:00
mtk-pmic-keys.c Input: mtk-pmic-keys: add MT6357 support 2023-01-19 18:25:44 +01:00
newtonkbd.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
nomadik-ske-keypad.c Input: nomadik-ske-keypad - convert to use devm_* api 2023-07-10 17:44:29 -07:00
nspire-keypad.c Input: nspire-keypad - use devm_platform_get_and_ioremap_resource() 2023-07-10 17:44:26 -07:00
omap-keypad.c Input: omap-keypad - drop optional GPIO support 2023-12-13 21:26:13 -08:00
omap4-keypad.c Input: omap4-keypad - react on keypresses if device is runtime-suspended 2023-12-11 18:47:17 -08:00
opencores-kbd.c Input: opencores-kbd - convert to devm_platform_ioremap_resource() 2023-07-10 17:44:27 -07:00
pinephone-keyboard.c Input: pinephone-keyboard - use devm_regulator_get_enable() 2023-07-07 17:03:26 -07:00
pmic8xxx-keypad.c Input: pmic8xxx-keypad - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-12-07 13:27:55 -08:00
pxa27x_keypad.c Input: pxa27x_keypad - convert to devm_platform_ioremap_resource() 2023-07-10 17:44:28 -07:00
qt1050.c Input: qt1050 - convert to use maple tree register cache 2023-12-12 21:39:09 -08:00
qt1070.c Input: qt1070 - convert to use devm_* api 2023-07-20 16:52:49 -07:00
qt2160.c Input: qt2160 - convert to use devm_* api 2023-07-28 18:03:11 -07:00
samsung-keypad.c Input: samsung-keypad - convert to platform remove callback returning void 2023-09-23 19:16:41 -07:00
sh_keysc.c Input: sh_keysc - convert to platform remove callback returning void 2023-09-23 19:16:41 -07:00
snvs_pwrkey.c Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address 2022-09-27 07:18:30 -07:00
spear-keyboard.c Input: spear-keyboard - convert to platform remove callback returning void 2023-09-23 19:16:42 -07:00
st-keyscan.c Input: st-keyscan - drop of_match_ptr for ID table 2023-03-17 04:17:32 -07:00
stmpe-keypad.c Input: stmpe-keypad - convert to platform remove callback returning void 2023-09-23 19:16:42 -07:00
stowaway.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
sun4i-lradc-keys.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
sunkbd.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
tc3589x-keypad.c Input: tc3589x - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-12-07 13:28:10 -08:00
tca6416-keypad.c Input: tca6416-keypad - drop unused include 2023-12-13 21:26:13 -08:00
tca8418_keypad.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
tegra-kbc.c Input: tegra-kbc - use device_get_match_data() 2023-10-13 20:18:43 -07:00
tm2-touchkey.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
twl4030_keypad.c
xtkbd.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00