typec_get_ca...svdm_version(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 typec_get_ca...svdm_version(9) β€” Kernel API Manual 🌈

okay bestie, you found the Kernel API Manual page for typec_get_ca...svdm_version(9). It’s lowkey niche, highkey useful, and it’s all about the cable’s negotiated SVDM Version. Let’s get into it, no cap. πŸ’–

✨ NAME ✨

typec_get_cable_svdm_version β€” Get cable negotiated SVDM Version

🌸 SYNOPSIS 🌸

int typec_get_cable_svdm_version (struct typec_port *port );

πŸŽ€ ARGUMENTS πŸŽ€

  • port β€” USB Type-C Port.

πŸ’… DESCRIPTION πŸ’…

Bestie, this one gets the negotiated SVDM Version for the cable. The Version is set to the port default value based on the PD Revision during cable registration β€” yes, during cable registration β€” and it gets updated after a successful Discover Identity if the negotiated value is less than the default. That’s the whole flow, periodt. ✨

Returns usb_pd_svdm_ver if the cable has been registered; otherwise you get -ENODEV. That’s the return vibe. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/usb/typec/class.c β€” and honestly the whole USB Type-C friend group is linked here. Every single one, bestie:

mwah πŸ’‹ β€” this one is from ./drivers/usb/typec, October 2026. Stay slay, bestie. πŸŽ€

πŸ“¦ where this page comes from