sysfs-bus-surface_aggregator-tabletsw 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. What: /sys/bus/surface_aggregator/devices/01:0e:01:00:01/state
  2. Date: July 2022
  3. KernelVersion: 5.20
  4. Contact: Maximilian Luz <[email protected]>
  5. Description:
  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:
  9. - "disconnected": The type-cover has been disconnected.
  10. - "closed": The type-cover has been folded closed and lies on
  11. top of the display.
  12. - "laptop": The type-cover is open and in laptop-mode, i.e.,
  13. ready for normal use.
  14. - "folded-canvas": The type-cover has been folded back
  15. part-ways, but does not lie flush with the back side of the
  16. device. In general, this means that the kick-stand is used
  17. and extended atop of the cover.
  18. - "folded-back": The type cover has been fully folded back and
  19. lies flush with the back side of the device.
  20. - "<unknown>": The current state is unknown to the driver, for
  21. example due to newer as-of-yet unsupported hardware.
  22. New states may be introduced with new hardware. Users therefore
  23. must not rely on this list of states being exhaustive and
  24. gracefully handle unknown states.
  25. What: /sys/bus/surface_aggregator/devices/01:26:01:00:01/state
  26. Date: July 2022
  27. KernelVersion: 5.20
  28. Contact: Maximilian Luz <[email protected]>
  29. Description:
  30. This attribute returns a string with the current device posture, as indicated by the embedded controller. Currently
  31. returned posture states are:
  32. - "closed": The lid of the device is closed.
  33. - "laptop": The lid of the device is opened and the device
  34. operates as a normal laptop.
  35. - "slate": The screen covers the keyboard or has been flipped
  36. back and the device operates mainly based on touch input.
  37. - "tablet": The device operates as tablet and exclusively
  38. relies on touch input (or external peripherals).
  39. - "<unknown>": The current state is unknown to the driver, for
  40. example due to newer as-of-yet unsupported hardware.
  41. New states may be introduced with new hardware. Users therefore
  42. must not rely on this list of states being exhaustive and
  43. gracefully handle unknown states.