ENUM SDTX_DEVICE_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum sdtx_device_mode(9) β€” like, the whole Kernel API Manual vibe ✨

okay bestie, so this page is your little guide to enum sdtx_device_mode β€” the enum that says how (and if) the clipboard is attached to the base of the device. yes, the actual clipboard. no cap. πŸŽ€


🌸 NAME

enum sdtx_device_mode β€” the mode that describes how (and if) the clipboard is attached to the base of the device. literally that's it, that's the whole job. 🫢


✨ SYNOPSIS

enum sdtx_device_mode {
    SDTX_DEVICE_MODE_TABLET ,
    SDTX_DEVICE_MODE_LAPTOP ,
    SDTX_DEVICE_MODE_STUDIO

};

πŸ’– Constants

  • SDTX_DEVICE_MODE_TABLET β€” the clipboard is detached from the base, and the device operates as a tablet. vibe check: tablet mode, clipboard free, main character energy. πŸ’…
  • SDTX_DEVICE_MODE_LAPTOP β€” the clipboard is attached normally to the base, and the device operates as laptop. the classic. the iconic. the default-era slay. ✨
  • SDTX_DEVICE_MODE_STUDIO β€” the clipboard is attached to the base in reverse. 😭 the device operates as tablet with the keyboard and touchpad deactivated, HOWEVER β€” and this is the good part β€” the base battery and, if present in the specific device model, the dGPU are available to the system. so you lose the keys but keep the power πŸ”₯ lowkey the best trade.
not me needing to say it plainly: in SDTX_DEVICE_MODE_STUDIO the keyboard and touchpad are deactivated. that's not a glitch, that's the spec. 🫢

πŸ¦‹ SEE ALSO

  • Kernel file ./include/uapi/linux/surface_aggregator/dtx.h
  • struct sdtx_event(9)
  • enum sdtx_event_code(9)
  • struct sdtx_base_info(9)

go read those too, bestie, iykyk πŸ’œ


kay that's the page!! 🌈 this was assembled from ./include/uapi/linux/surface_a... (that's the source, mwah πŸ’‹) and the date on it is October 2026 β€” and yes the footer also says enum sdtx_device_mode(9) because the manpage is obsessed with itself, and honestly? valid. periodt. πŸ‘‘

πŸ“¦ where this page comes from