ENUM SDTX_DEVICE_MODE(9)
π 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, thedGPUare 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms