162306a36Sopenharmony_ciWhat: /sys/bus/surface_aggregator/devices/01:0e:01:00:01/state 262306a36Sopenharmony_ciDate: July 2022 362306a36Sopenharmony_ciKernelVersion: 5.20 462306a36Sopenharmony_ciContact: Maximilian Luz <luzmaximilian@gmail.com> 562306a36Sopenharmony_ciDescription: 662306a36Sopenharmony_ci This attribute returns a string with the current type-cover 762306a36Sopenharmony_ci or device posture, as indicated by the embedded controller. 862306a36Sopenharmony_ci Currently returned posture states are: 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci - "disconnected": The type-cover has been disconnected. 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci - "closed": The type-cover has been folded closed and lies on 1362306a36Sopenharmony_ci top of the display. 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci - "laptop": The type-cover is open and in laptop-mode, i.e., 1662306a36Sopenharmony_ci ready for normal use. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci - "folded-canvas": The type-cover has been folded back 1962306a36Sopenharmony_ci part-ways, but does not lie flush with the back side of the 2062306a36Sopenharmony_ci device. In general, this means that the kick-stand is used 2162306a36Sopenharmony_ci and extended atop of the cover. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci - "folded-back": The type cover has been fully folded back and 2462306a36Sopenharmony_ci lies flush with the back side of the device. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci - "<unknown>": The current state is unknown to the driver, for 2762306a36Sopenharmony_ci example due to newer as-of-yet unsupported hardware. 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci New states may be introduced with new hardware. Users therefore 3062306a36Sopenharmony_ci must not rely on this list of states being exhaustive and 3162306a36Sopenharmony_ci gracefully handle unknown states. 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciWhat: /sys/bus/surface_aggregator/devices/01:26:01:00:01/state 3462306a36Sopenharmony_ciDate: July 2022 3562306a36Sopenharmony_ciKernelVersion: 5.20 3662306a36Sopenharmony_ciContact: Maximilian Luz <luzmaximilian@gmail.com> 3762306a36Sopenharmony_ciDescription: 3862306a36Sopenharmony_ci This attribute returns a string with the current device posture, as indicated by the embedded controller. Currently 3962306a36Sopenharmony_ci returned posture states are: 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci - "closed": The lid of the device is closed. 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci - "laptop": The lid of the device is opened and the device 4462306a36Sopenharmony_ci operates as a normal laptop. 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ci - "slate": The screen covers the keyboard or has been flipped 4762306a36Sopenharmony_ci back and the device operates mainly based on touch input. 4862306a36Sopenharmony_ci 4962306a36Sopenharmony_ci - "tablet": The device operates as tablet and exclusively 5062306a36Sopenharmony_ci relies on touch input (or external peripherals). 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ci - "<unknown>": The current state is unknown to the driver, for 5362306a36Sopenharmony_ci example due to newer as-of-yet unsupported hardware. 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ci New states may be introduced with new hardware. Users therefore 5662306a36Sopenharmony_ci must not rely on this list of states being exhaustive and 5762306a36Sopenharmony_ci gracefully handle unknown states. 58