STRUCT SINK_CAPS_EXT_MSG(9)
π struct sink_caps_ext_msg(9) β the kernel API manual, bestie edition β¨
okay so this is a page from the Kernel API Manual, section 9, and it's all about one very specific little struct π
πΈ NAME πΈ
struct sink_caps_ext_msg β the Sink extended capability PD message. That's it, that's the whole vibe. It's the struct that carries a sink's extended capability info as a Power Delivery message π
β¨ SYNOPSIS β¨
struct sink_caps_ext_msg {
__le16 vid;
__le16 pid;
__le32 xid;
u8 fw;
u8 hw;
u8 skedb_ver;
u8 load_step;
__le16 load_char;
u8 compliance;
u8 touch_temp;
u8 batt_info;
u8 modes;
u8 spr_min_pdp;
u8 spr_op_pdp;
u8 spr_max_pdp;
u8 epr_min_pdp;
u8 epr_op_pdp;
u8 epr_max_pdp;
};
like, that's the whole layout right there, no cap π
π«Ά Members π«Ά
Bestie. Buckle in. We're going field by field and I'm gonna be so normal about it π
vidβ Vendor ID. who made it, basically πpidβ Product ID. which one of their things it is πxidβ the value assigned by USB-IF for the product π¦fwβ Firmware version β¨hwβ Hardware version πskedb_verβ Sink Caps Extended Data Block (SKEDB) Version. yes it's an acronym inside an acronym, we love that for us πload_stepβ indicates the load step slew rate π₯load_charβ Sink overload characteristics βcomplianceβ the types of sources the sink has been tested & certified on π§touch_tempβ indicates the IEC standard to which the touch temperature conforms to (if applicable). note the if applicable β it's not always a thing πbatt_infoβ indicates number batteries and hot swappable ports πmodesβ Charging caps & power sources supported πspr_min_pdpβ Sink Minimum PDP for SPR mode πΈspr_op_pdpβ Sink Operational PDP for SPR mode πspr_max_pdpβ Sink Maximum PDP for SPR mode πΊepr_min_pdpβ Sink Minimum PDP for EPR mode πepr_op_pdpβ Sink Operational PDP for EPR mode πepr_max_pdpβ Sink Maximum PDP for EPR mode β
not me listing all eighteen fields and enjoying it π every single one is here, iykyk
π₯ SEE ALSO π₯
- Kernel file
./include/linux/usb/pd.hstruct pd_chunked_ext_message_data(9)struct pd_message(9)BSDO(9)
the whole pd.h friend group honestly π«Ά
and that's the page, bestie β courtesy of ./include/linux/usb, dated October 2026, filed under struct sink_caps_ext_msg(9). slay π
β¨π
π¦ 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