ENUM SSAM_CONTROLLER_STATE(9)
β¨ enum ssam_controller_state(9) β¨
okay so bestie, welcome to the Kernel API Manual page for enum ssam_controller_state β yes it's a 9, yes it's kernel-internal, and yes we're gonna read it together π
π NAME π
enum ssam_controller_state β the state values for &struct ssam_controller, aka the little mood ring that tells you what your Surface controller is going through π¦
πΈ SYNOPSIS πΈ
enum ssam_controller_state {
SSAM_CONTROLLER_UNINITIALIZED ,
SSAM_CONTROLLER_INITIALIZED ,
SSAM_CONTROLLER_STARTED ,
SSAM_CONTROLLER_STOPPED ,
SSAM_CONTROLLER_SUSPENDED
};
that's the whole enum, and it ate, no cap π₯ five states, that's it, that's the roster π
π Constants π
okay so every single one of these is a possible vibe, let's go state by state:
SSAM_CONTROLLER_UNINITIALIZEDβ the controller hasn't been initialized yet, or it's already been deinitialized. so basically: not awake, or back to sleep. it's giving "no thoughts, head empty" πSSAM_CONTROLLER_INITIALIZEDβ the controller is initialized, but it hasn't been started yet. like it's dressed and ready but still sitting on the bed, lowkey π«ΆSSAM_CONTROLLER_STARTEDβ it's been started and is ready to use. main character energy, fully online, slay βSSAM_CONTROLLER_STOPPEDβ the controller has been stopped. periodt, it's done for now πSSAM_CONTROLLER_SUSPENDEDβ the controller has been suspended. nap era, do not disturb π
π¦ SEE ALSO π¦
the whole friend group, go say hi π:
- the kernel file
./drivers/platform/surface/aggregator/controller.h struct ssh_seq_counter(9)struct ssh_rqid_counter(9)struct ssam_nf_head(9)struct ssam_nf(9)struct ssam_event_item(9)struct ssam_event_queue(9)struct ssam_event_target(9)struct ssam_cplt(9)struct ssam_controller_caps(9)struct ssam_controller(9)ssam_controller_receive_buf(9)ssam_controller_write_wakeup(9)
okay that's the page, bestie π and for the cute little sign-off: this one came from the source ./drivers/platform/surface/agg... and it's dated October 2026, so yeah, straight from the future, iconic π§ππ
π¦ 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