cros_typec_get_cable_vdo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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