Skip to content

platform/surface: aggregator_tabletsw: Add support for book mode

Maximilian Luz lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform/surface: aggregator_tabletsw: Add support for book mode in KIP subsystemdrivers/platform/surface/surface_aggregator_tabletsw.c+5 -00 replies
2/2platform/surface: aggregator_tabletsw: Add support for book mode in POS subsystemdrivers/platform/surface/surface_aggregator_tabletsw.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] platform/surface: aggregator_tabletsw: Add support for book mode

Surface devices with a type-cover have an additional "book" mode. This mode is activated when the device is oriented in portrait mode and the type-cover is in an open position (including completely folded back; unlike in landscape orientation there are no special modes for any of the intermediate positions).

Currently, this mode is unsupported by the tablet switch driver, leading to an error message (see individual commits for the exact messages). Since the keyboard and touchpad input gets deactivated in this mode, map it to tablet-mode.

I've split this change into two patches, one for each of the subsystems (KIP and POS). This a) allows proper attribution via the "Fixes" tag and
b) with that should allow them to be backported fairly easily.

Maximilian Luz (2):
platform/surface: aggregator_tabletsw: Add support for book mode in
KIP subsystem
platform/surface: aggregator_tabletsw: Add support for book mode in
POS subsystem

 drivers/platform/surface/surface_aggregator_tabletsw.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
Signature · 1 line
2.40.1