Skip to content

iio: accel: kxcjk1013: Fix kbd/touchpad not working on some 2-in-1s

Hans de Goede linux-iio 1 version Applied

Status from this message: Applied to the fixes-togreg branch of iio.git and marked for stable.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2iio: accel: kxcjk1013: Replace is_smo8500_device with an acpi_type enumdrivers/iio/accel/kxcjk-1013.c+10 -50 replies
2/2iio: accel: kxcjk1013: Add support for KIOX010A ACPI DSM for setting tablet-modedrivers/iio/accel/kxcjk-1013.c+36 -03 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

Patchrussianneuromancer
1/2
2/2Reported-and-tested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH bugfix for 5.10 0/2] iio: accel: kxcjk1013: Fix kbd/touchpad not working on some 2-in-1s

Hi All,

This series fixes a somewhat special bug where sometimes the kbd/touchpad do not work on certain 2-in-1s with 360 degree (yoga) hinges, which use 2 accelerometers to allow figuring out the angle between the display and the base.

The display accelerometer ACPI device / fwnode has a special ACPI method which allows suppressing kbd + touchpads events when folded into tablet-mode and sometimes the event suppression gets enabled by default, this series calls the ACPI method at probe time to disable the suppression, fixing the kbd/touchpad not working.

A web-search shows various reports about this issue in forums and such, so it would be good if we can get these 2 patches added to a 5.10-rc# as a bugfix, as I indicated in the Subject prefix.

Regards,

Hans