OrangePi_CM5/drivers/hid
Hans de Goede 348f68ae40 HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTE
[ Upstream commit 617103246cfd19af837e4cb614ba9f877c4f7779 ]

Mapping the mic-mute button to KEY_MICMUTE is technically correct but
KEY_MICMUTE translates to a scancode of 256 (248 + 8) under X,
which does not fit in 8 bits, so it does not work.

Because of this userspace is expecting KEY_F20 instead,
theoretically KEY_MICMUTE should work under Wayland but even
there it does not work, because the desktop-environment is
listening only for KEY_F20 and not for KEY_MICMUTE.

Fixes: bc04b37ea0 ("HID: lenovo: Add ThinkPad 10 Ultrabook Keyboard support")
Reviewed-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:33 +02:00
..
i2c-hid HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15 2021-03-11 14:17:28 +01:00
intel-ish-hid pci-v5.10-changes 2020-10-22 12:41:00 -07:00
usbhid Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid 2020-08-25 11:13:29 -07:00
Kconfig HID: sony: select CONFIG_CRC32 2021-01-27 11:54:57 +01:00
Makefile HID: add vivaldi HID driver 2020-09-30 22:44:26 +02:00
hid-a4tech.c
…
hid-accutouch.c
…
hid-alps.c HID: alps: fix error return code in alps_input_configured() 2021-04-28 13:40:01 +02:00
hid-apple.c HID: apple: Add support for Matias wireless keyboard 2020-08-17 12:17:52 +02:00
hid-appleir.c HID: appleir: Use devm_kzalloc() instead of kzalloc() 2020-03-13 17:33:11 +01:00
hid-asus.c HID: asus: Fix mute and touchpad-toggle keys on Medion Akoya E1239T 2020-05-06 11:40:03 +02:00
hid-aureal.c
…
hid-axff.c HID: Fix assumption that devices have inputs 2019-10-03 15:36:40 -04:00
hid-belkin.c
…
hid-betopff.c
…
hid-bigbenff.c HID: hid-bigbenff: fix race condition for scheduled work during removal 2020-02-18 14:43:51 +01:00
hid-cherry.c
…
hid-chicony.c
…
hid-cmedia.c
…
hid-core.c HID: core: detect and skip invalid inputs to snto32() 2021-03-04 11:37:54 +01:00
hid-corsair.c
…
hid-cougar.c HID: cougar: Constify cougar_id_table 2020-08-17 11:38:49 +02:00
hid-cp2112.c HID cp2112: fix support for multiple gpiochips 2021-04-28 13:40:01 +02:00
hid-creative-sb0540.c
…
hid-cypress.c HID: cypress: Support Varmilo Keyboards' media hotkeys 2020-10-23 13:23:44 +02:00
hid-debug.c HID: hid-debug: fix nonblocking read semantics wrt EIO/ERESTARTSYS 2020-09-09 08:47:38 +02:00
hid-dr.c HID: Fix assumption that devices have inputs 2019-10-03 15:36:40 -04:00
hid-elan.c HID: elan: Fix memleak in elan_input_configured 2020-09-01 09:11:24 +02:00
hid-elecom.c
…
hid-elo.c
…
hid-emsff.c HID: Fix assumption that devices have inputs 2019-10-03 15:36:40 -04:00
hid-ezkey.c
…
hid-gaff.c HID: Fix assumption that devices have inputs 2019-10-03 15:36:40 -04:00
hid-gembird.c
…
hid-generic.c
…
hid-gfrm.c
…
hid-glorious.c HID: Add driver fixing Glorious PC Gaming Race mouse report descriptor 2020-03-18 13:36:21 +01:00
hid-google-hammer.c HID: google: add don USB id 2021-04-28 13:40:01 +02:00
hid-gt683r.c
…
hid-gyration.c
…
hid-holtek-kbd.c
…
hid-holtek-mouse.c
…
hid-holtekff.c HID: Fix assumption that devices have inputs 2019-10-03 15:36:40 -04:00
hid-hyperv.c HID: hyperv: Use VMBUS_RING_SIZE() for ringbuffer sizes 2020-09-28 08:57:28 +00:00
hid-icade.c
…
hid-ids.h HID: plantronics: Workaround for double volume key presses 2021-05-14 09:50:28 +02:00
hid-input.c HID: Ignore battery for Elan touchscreen on ASUS UX550 2021-01-27 11:54:59 +01:00
hid-ite.c HID: ite: Replace ABS_MISC 120/121 events with touchpad on/off keypresses 2020-10-22 13:42:34 +02:00
hid-jabra.c
…
hid-kensington.c
…
hid-keytouch.c
…
hid-kye.c
…
hid-lcpower.c
…
hid-led.c
…
hid-lenovo.c HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTE 2021-05-14 09:50:33 +02:00
hid-lg-g15.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
hid-lg.c
…
hid-lg.h
…
hid-lg2ff.c HID: Fix assumption that devices have inputs 2019-10-03 15:36:40 -04:00
hid-lg3ff.c HID: Fix assumption that devices have inputs 2019-10-03 15:36:40 -04:00
hid-lg4ff.c HID: Fix assumption that devices have inputs 2019-10-03 15:36:40 -04:00
hid-lg4ff.h
…
hid-lgff.c HID: Fix assumption that devices have inputs 2019-10-03 15:36:40 -04:00
hid-logitech-dj.c HID: logitech-dj: add support for the new lightspeed connection iteration 2021-03-17 17:06:24 +01:00
hid-logitech-hidpp.c HID: logitech-hidpp: Add product ID for MX Ergo in Bluetooth mode 2021-01-27 11:55:02 +01:00
hid-macally.c HID: macally: Constify macally_id_table 2020-08-17 11:38:49 +02:00
hid-magicmouse.c HID: magicmouse: do not set up autorepeat 2020-06-16 17:34:14 +02:00
hid-maltron.c
…
hid-mcp2221.c HID: mcp2221: Fix GPIO output handling 2020-11-05 11:16:53 +01:00
hid-mf.c HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter 2021-03-11 14:17:24 +01:00
hid-microsoft.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid 2020-09-02 12:55:46 -07:00
hid-monterey.c
…
hid-multitouch.c HID: multitouch: Apply MT_QUIRK_CONFIDENCE quirk for multi-input devices 2021-01-30 13:55:17 +01:00
hid-nti.c
…
hid-ntrig.c
…
hid-ortek.c
…
hid-penmount.c
…
hid-petalynx.c
…
hid-picolcd.h
…
hid-picolcd_backlight.c
…
hid-picolcd_cir.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
hid-picolcd_core.c
…
hid-picolcd_debugfs.c
…
hid-picolcd_fb.c Merge branch 'for-5.7/appleir' into for-linus 2020-04-01 12:26:12 +02:00
hid-picolcd_lcd.c
…
hid-picolcd_leds.c
…
hid-pl.c
…
hid-plantronics.c HID: plantronics: Workaround for double volume key presses 2021-05-14 09:50:28 +02:00
hid-primax.c
…
hid-prodikeys.c HID: prodikeys: make array keys static const, makes object smaller 2019-10-01 16:21:04 +02:00
hid-quirks.c HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter 2021-03-11 14:17:24 +01:00
hid-redragon.c
…
hid-retrode.c
…
hid-rmi.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2020-10-23 16:16:31 -07:00
hid-roccat-arvo.c
…
hid-roccat-arvo.h
…
hid-roccat-common.c
…
hid-roccat-common.h
…
hid-roccat-isku.c
…
hid-roccat-isku.h
…
hid-roccat-kone.c Merge branch 'for-5.9/upstream-fixes' into for-linus 2020-10-15 20:41:43 +02:00
hid-roccat-kone.h
…
hid-roccat-koneplus.c
…
hid-roccat-koneplus.h
…
hid-roccat-konepure.c
…
hid-roccat-kovaplus.c
…
hid-roccat-kovaplus.h
…
hid-roccat-lua.c
…
hid-roccat-lua.h
…
hid-roccat-pyra.c
…
hid-roccat-pyra.h
…
hid-roccat-ryos.c
…
hid-roccat-savu.c
…
hid-roccat-savu.h
…
hid-roccat.c
…
hid-saitek.c
…
hid-samsung.c
…
hid-sensor-custom.c HID: hid-sensor-custom: Use scnprintf() for avoiding potential buffer overflow 2020-03-11 11:58:58 +01:00
hid-sensor-hub.c HID: hid-sensor-hub: Fix issue with devices with no report ID 2020-11-05 11:09:28 +01:00
hid-sjoy.c
…
hid-sony.c HID: sony: Fix for broken buttons on DS3 USB dongles 2020-05-26 11:00:49 +02:00
hid-speedlink.c
…
hid-steam.c HID: steam: fixes race in handling device list. 2020-06-19 09:21:21 +02:00
hid-steelseries.c
…
hid-sunplus.c
…
hid-tivo.c
…
hid-tmff.c HID: Fix assumption that devices have inputs 2019-10-03 15:36:40 -04:00
hid-topseed.c
…
hid-twinhan.c
…
hid-u2fzero.c
…
hid-uclogic-core.c HID: uclogic: Add ID for Trust Flex Design Tablet 2020-10-22 11:52:02 +02:00
hid-uclogic-params.c HID: uclogic: Add ID for Trust Flex Design Tablet 2020-10-22 11:52:02 +02:00
hid-uclogic-params.h
…
hid-uclogic-rdesc.c
…
hid-uclogic-rdesc.h
…
hid-udraw-ps3.c HID: udraw-ps3: Replace HTTP links with HTTPS ones 2020-07-20 12:24:41 +02:00
hid-viewsonic.c
…
hid-vivaldi.c HID: add vivaldi HID driver 2020-09-30 22:44:26 +02:00
hid-waltop.c
…
hid-wiimote-core.c HID: wiimote: narrow spinlock range in wiimote_hid_event() 2020-09-07 16:03:51 +02:00
hid-wiimote-debug.c
…
hid-wiimote-modules.c HID: Wiimote: Treat the d-pad as an analogue stick 2020-06-19 14:17:22 +02:00
hid-wiimote.h HID: Wiimote: Treat the d-pad as an analogue stick 2020-06-19 14:17:22 +02:00
hid-xinmo.c
…
hid-zpff.c HID: Fix assumption that devices have inputs 2019-10-03 15:36:40 -04:00
hid-zydacron.c
…
hidraw.c Merge branch 'for-5.6/hidraw' into for-linus 2020-01-27 15:49:30 +01:00
uhid.c HID: hidraw, uhid: Always report EPOLLOUT 2020-01-10 15:34:28 +01:00
wacom.h HID: wacom: generic: Treat serial number and related fields as unsigned 2019-11-06 21:37:29 +01:00
wacom_sys.c HID: wacom: Correct NULL dereference on AES pen proximity 2021-01-30 13:55:17 +01:00
wacom_wac.c HID: wacom: Assign boolean values to a bool variable 2021-04-28 13:40:01 +02:00
wacom_wac.h HID: wacom: Correct NULL dereference on AES pen proximity 2021-01-30 13:55:17 +01:00