mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] platform/surface: aggregator_tabletsw: Add support for book mode
@ 2023-05-25 21:32 Maximilian Luz
  2023-05-25 21:32 ` [PATCH 1/2] platform/surface: aggregator_tabletsw: Add support for book mode in KIP subsystem Maximilian Luz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maximilian Luz @ 2023-05-25 21:32 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Mark Gross, platform-driver-x86, linux-kernel, Maximilian Luz

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(+)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-30  9:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25 21:32 [PATCH 0/2] platform/surface: aggregator_tabletsw: Add support for book mode Maximilian Luz
2023-05-25 21:32 ` [PATCH 1/2] platform/surface: aggregator_tabletsw: Add support for book mode in KIP subsystem Maximilian Luz
2023-05-25 21:32 ` [PATCH 2/2] platform/surface: aggregator_tabletsw: Add support for book mode in POS subsystem Maximilian Luz
2023-05-30  9:25 ` [PATCH 0/2] platform/surface: aggregator_tabletsw: Add support for book mode Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®