1 What: /sys/bus/surface_aggregator/devices/01:0e:01:00:01/state
4 Contact: Maximilian Luz <luzmaximilian@gmail.com>
6 This attribute returns a string with the current type-cover
7 or device posture, as indicated by the embedded controller.
8 Currently returned posture states are:
10 - "disconnected": The type-cover has been disconnected.
12 - "closed": The type-cover has been folded closed and lies on
15 - "laptop": The type-cover is open and in laptop-mode, i.e.,
18 - "folded-canvas": The type-cover has been folded back
19 part-ways, but does not lie flush with the back side of the
20 device. In general, this means that the kick-stand is used
21 and extended atop of the cover.
23 - "folded-back": The type cover has been fully folded back and
24 lies flush with the back side of the device.
26 - "<unknown>": The current state is unknown to the driver, for
27 example due to newer as-of-yet unsupported hardware.
29 New states may be introduced with new hardware. Users therefore
30 must not rely on this list of states being exhaustive and
31 gracefully handle unknown states.
33 What: /sys/bus/surface_aggregator/devices/01:26:01:00:01/state
36 Contact: Maximilian Luz <luzmaximilian@gmail.com>
38 This attribute returns a string with the current device posture, as indicated by the embedded controller. Currently
39 returned posture states are:
41 - "closed": The lid of the device is closed.
43 - "laptop": The lid of the device is opened and the device
44 operates as a normal laptop.
46 - "slate": The screen covers the keyboard or has been flipped
47 back and the device operates mainly based on touch input.
49 - "tablet": The device operates as tablet and exclusively
50 relies on touch input (or external peripherals).
52 - "<unknown>": The current state is unknown to the driver, for
53 example due to newer as-of-yet unsupported hardware.
55 New states may be introduced with new hardware. Users therefore
56 must not rely on this list of states being exhaustive and
57 gracefully handle unknown states.