cros_typec_get_cable_vdo(9)
cros_typec_get_cable_vdo(9) π
okay so welcome to the Kernel API Manual, bestie β this one is a tiny little helper and honestly it's giving "short and iconic." β¨
π NAME π
cros_typec_get_cable_vdo β get the Cable VDO of the connected cable, periodt π
πΈ SYNOPSIS πΈ
int cros_typec_get_cable_vdo (struct cros_typec_port *port , u16 svid );
π¦ ARGUMENTS π¦
portβ the Type-C port data, like the main character of this whole situation πsvidβ the Standard or Vendor ID to match, no cap π
β¨ DESCRIPTION β¨
so basically: if a match is found, it returns the Cable VDO. if a match is not found, it returns 0. that's the whole story, bestie β short, sweet, and lowkey exactly what you need to know π
π SEE ALSO π
go peek at this kernel file, iykyk:
./drivers/platform/chrome/cros_ec_typec.c
mwah π this cute lil page is from source/version ./drivers/platform/chrome, dated October 2026 β slay, bye bestie π«Άπ
π¦ 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