linux/drivers
Mikhail Khvainitski 2814646f76 HID: lenovo: Add middleclick_workaround sysfs knob for cptkbd
Previous attempt to autodetect well-behaving patched firmware
introduced in commit 46a0a2c96f ("HID: lenovo: Detect quirk-free fw
on cptkbd and stop applying workaround") has shown that there are
false-positives on original firmware (on both 1st gen and 2nd gen
keyboards) which causes the middle button click workaround to be
mistakenly disabled.

This commit adds explicit parameter to sysfs to control this
workaround.

Fixes: 46a0a2c96f ("HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround")
Fixes: 43527a0094 ("HID: lenovo: Restrict detection of patched firmware only to USB cptkbd")
Signed-off-by: Mikhail Khvainitski <me@khvoinitsky.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
2024-01-23 11:55:04 +01:00
..
accel drm-next for 6.8: 2024-01-12 11:32:19 -08:00
accessibility
acpi libnvdimm updates for v6.8 2024-01-12 14:00:18 -08:00
amba
android Many singleton patches against the MM code. The patch series which 2024-01-09 11:18:47 -08:00
ata ata changes for 6.8-rc1 2024-01-11 13:49:00 -08:00
atm net: fill in MODULE_DESCRIPTION()s for ATM 2024-01-05 08:04:23 -08:00
auxdisplay drm-next for 6.8: 2024-01-12 11:32:19 -08:00
base media updates for v6.8-rc1 2024-01-12 14:29:48 -08:00
bcma
block for-6.8/io_uring-2024-01-08 2024-01-11 14:19:23 -08:00
bluetooth Bluetooth: Add device 13d3:3572 IMC Networks Bluetooth Radio 2023-12-22 13:00:11 -05:00
bus SoC: driver updates for 6.8 2024-01-11 11:31:46 -08:00
cache
cdrom
cdx
char drm-next for 6.8: 2024-01-12 11:32:19 -08:00
clk Only a couple new SoCs have support added this time, primarily for Qualcomm 2024-01-12 13:42:35 -08:00
clocksource
comedi
connector Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-01-04 18:06:46 -08:00
counter
cpufreq Power management updates for 6.8-rc1 2024-01-09 16:32:11 -08:00
cpuidle cpuidle: haltpoll: Do not enable interrupts when entering idle 2023-12-29 18:08:18 +01:00
crypto This update includes the following changes: 2024-01-10 12:23:43 -08:00
cxl
dax New code for 6.8: 2024-01-10 08:45:22 -08:00
dca
devfreq PM / devfreq: Synchronize devfreq_monitor_[start/stop] 2023-12-19 07:58:27 +09:00
dio
dma This update includes the following changes: 2024-01-10 12:23:43 -08:00
dma-buf
dpll dpll: expose fractional frequency offset value to user 2024-01-05 07:58:19 -08:00
edac - Convert the hw error storm handling into a finer-grained, per-bank 2024-01-08 16:03:00 -08:00
eisa
extcon
firewire firewire: core: fill model field in modalias of unit device for legacy layout of configuration ROM 2024-01-10 18:37:13 +09:00
firmware fbdev fixes and cleanups for 6.8-rc1: 2024-01-12 14:38:08 -08:00
fpga
fsi
gnss
gpio gpiolib: replace the GPIO device mutex with a read-write semaphore 2024-01-04 10:29:16 +01:00
gpu fbdev fixes and cleanups for 6.8-rc1: 2024-01-12 14:38:08 -08:00
greybus
hid HID: lenovo: Add middleclick_workaround sysfs knob for cptkbd 2024-01-23 11:55:04 +01:00
hsi
hte
hv
hwmon hwmon: (gigabyte_waterforce) Mark status report as received under a spinlock 2024-01-08 07:27:27 -08:00
hwspinlock
hwtracing
i2c i2c: core: Fix atomic xfer check for non-preempt config 2024-01-06 14:10:10 +01:00
i3c
idle Power management updates for 6.8-rc1 2024-01-09 16:32:11 -08:00
iio Revert "iio: hid-sensor-als: Add light color temperature support" 2023-12-19 08:08:20 +01:00
infiniband RDMA v6.8 merge window 2024-01-12 13:52:21 -08:00
input media updates for v6.8-rc1 2024-01-12 14:29:48 -08:00
interconnect
iommu Many singleton patches against the MM code. The patch series which 2024-01-09 11:18:47 -08:00
ipack
irqchip header cleanups for 6.8 2024-01-10 16:43:55 -08:00
isdn
leds
macintosh
mailbox
mcb
md for-6.8/block-2024-01-08 2024-01-11 13:58:04 -08:00
media media updates for v6.8-rc1 2024-01-12 14:29:48 -08:00
memory memory: ti-emif-pm: Convert to platform remove callback returning void 2023-12-19 09:05:19 +01:00
memstick
message
mfd spi: Updates for v6.8 2024-01-09 15:02:12 -08:00
misc hardening updates for v6.8-rc1 2024-01-10 11:03:52 -08:00
mmc MMC core: 2024-01-12 13:57:33 -08:00
most
mtd for-6.8/block-2024-01-08 2024-01-11 13:58:04 -08:00
mux
net RDMA v6.8 merge window 2024-01-12 13:52:21 -08:00
nfc
ntb
nubus nubus: Make nubus_bus_type static and constant 2024-01-03 13:33:59 +01:00
nvdimm libnvdimm updates for v6.8 2024-01-12 14:00:18 -08:00
nvme for-6.8/io_uring-2024-01-08 2024-01-11 14:19:23 -08:00
nvmem
of
opp OPP: Rename 'rate_clk_single' 2024-01-05 15:55:41 +05:30
parisc
parport
pci Networking changes for 6.8. 2024-01-11 10:07:29 -08:00
pcmcia
peci
perf ACPI updates for 6.8-rc1 2024-01-09 16:12:44 -08:00
phy drm-next for 6.8: 2024-01-12 11:32:19 -08:00
pinctrl gpio updates for v6.8 2024-01-12 13:35:31 -08:00
platform hid-for-linus-2024010801 2024-01-12 14:45:13 -08:00
pmdomain Core: 2024-01-12 13:54:25 -08:00
pnp Another moderately busy cycle for documentation, including: 2024-01-11 19:46:52 -08:00
power
powercap
pps
ps3
ptp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-01-04 18:06:46 -08:00
pwm
rapidio rapidio/tsi721: fix kernel-doc warnings 2023-12-20 15:02:57 -08:00
ras
regulator regulator: event: Ensure atomicity for sequence number 2024-01-04 20:02:06 +00:00
remoteproc
reset SoC: driver updates for 6.8 2024-01-11 11:31:46 -08:00
rpmsg
rtc
s390 SCSI misc on 20240110 2024-01-11 14:24:32 -08:00
sbus
scsi SCSI misc on 20240110 2024-01-11 14:24:32 -08:00
sh
siox
slimbus
soc drm-next for 6.8: 2024-01-12 11:32:19 -08:00
soundwire sound updates for 6.8-rc1 2024-01-12 11:55:28 -08:00
spi spi: Updates for v6.8 2024-01-09 15:02:12 -08:00
spmi
ssb
staging media updates for v6.8-rc1 2024-01-12 14:29:48 -08:00
target SCSI misc on 20240110 2024-01-11 14:24:32 -08:00
tc
tee Another moderately busy cycle for documentation, including: 2024-01-11 19:46:52 -08:00
thermal Thermal control updates for 6.8-rc1 2024-01-09 16:20:17 -08:00
thunderbolt
tty SoC: driver updates for 6.8 2024-01-11 11:31:46 -08:00
ufs SCSI misc on 20240110 2024-01-11 14:24:32 -08:00
uio
usb drm-next for 6.8: 2024-01-12 11:32:19 -08:00
vdpa vfs-6.8.misc 2024-01-08 10:26:08 -08:00
vfio vfs-6.8.misc 2024-01-08 10:26:08 -08:00
vhost Networking changes for 6.8. 2024-01-11 10:07:29 -08:00
video fbdev fixes and cleanups for 6.8-rc1: 2024-01-12 14:38:08 -08:00
virt - Convert the sev-guest plaform ->remove callback to return void 2024-01-08 15:42:52 -08:00
virtio Many singleton patches against the MM code. The patch series which 2024-01-09 11:18:47 -08:00
w1
watchdog linux-watchdog 6.8-rc1 tag 2024-01-12 13:32:30 -08:00
xen vfs-6.8.misc 2024-01-08 10:26:08 -08:00
zorro
Kconfig
Makefile fbdev/intelfb: Remove driver 2024-01-12 12:38:37 +01:00