typec_altmode_vdm(9)
π NAME π
okay so bestie, this is typec_altmode_vdm(9) from the Kernel API Manual β the page for the function that sends Vendor Defined Messages (VDM) to the partner π«Ά
typec_altmode_vdm β Send Vendor Defined Messages (VDM) to the partner π
β¨ SYNOPSIS β¨
hereβs the signature, no cap, copy it exactly:
int typec_altmode_vdm (struct typec_altmode *adev , const u32 header ,
const u32 *vdo , int count );
π ARGUMENTS π
adevβ Alternate mode handle. your main character pointer β¨headerβ VDM Header. the header bestie πvdoβ Array of Vendor Defined Data Objects. yes, an array, not a single object πcountβ Number of Data Objects. how many Data Objects are in the array π’
πΈ DESCRIPTION πΈ
The alternate mode drivers use this function for SVID specific communication with the partner. π¬ The port drivers use it to deliver the Structured VDMs received from the partners to the alternate mode drivers. πβ¨
thatβs the whole vibe: alt-mode drivers talk SVID-specific stuff to the partner, and port drivers pass those Structured VDMs along to the alternate mode drivers. no extra lore, just facts π
π¦ SEE ALSO π¦
Kernel file ./drivers/usb/typec/bus.c is part of this little friend group too:
typec_altmode_notify(9)typec_altmode_enter(9)typec_altmode_exit(9)typec_altmode_attention(9)typec_cable_altmode_enter(9)typec_cable_altmode_exit(9)typec_cable_altmode_vdm(9)typec_altmode_get_plug(9)typec_altmode_put_plug(9)typec_match_altmode(9)
source/version line: ./drivers/usb/typec Β· date: October 2026 Β· page: typec_altmode_vdm(9) β thatβs the footer, bestie, mwah! ππ«Ά
π¦ 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