STRUCT SSAM_CDEV_EVENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay bestie, gather round: struct ssam_cdev_event is the SSAM event sent by the EC. That's the whole name vibe. This lil page is from the struct ssam_cdev_event(9) entry in the Kernel API Manual, and we're about to get into every field like it's a group-chat screenshot. πŸ’…

✨ SYNOPSIS ✨

Here's the struct in all its glory β€” exact tokens, no cap:

struct ssam_cdev_event {
    __u8 target_category;
    __u8 target_id;
    __u8 command_id;
    __u8 instance_id;
    __u16 length;
    __u8 data[];
};

πŸŽ€ Members πŸŽ€

These are the members, and yes, we're listing every single one. Obsessed with the consistency. 🫢

  • target_category β€” target category of the event source. For the full lore, see enum ssam_ssh_tc. iykyk.
  • target_id β€” target ID of the event source. Slay, identifier.
  • command_id β€” command ID of the event. The command in question has a whole ID, periodt.
  • instance_id β€” instance ID of the event source. Another ID, another icon.
  • length β€” length of the event payload in bytes. Count the bytes, bestie.
  • data β€” event payload data. The actual payload goodies live here. πŸ“

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./include/uapi/linux/surface_aggregator/cdev.h enum ssam_cdev_request_flags(9), struct ssam_cdev_request(9), struct ssam_cdev_notifier_desc(9), struct ssam_cdev_event_desc(9).

And that's the tea πŸ«–: source/version is ./include/uapi/linux/surface_a..., dated October 2026, and the page is struct ssam_cdev_event(9). Byeee, go read the kernel docs bestie πŸ’–βœ¨

πŸ“¦ where this page comes from