typec_unregister_cable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… typec_unregister_cable β€” bestie's guide to yeeting a USB Type-C Cable

okay so this is a page from the Kernel API Manual, and it's literally the entire manual for typec_unregister_cable(9). short page, iconic energy, let's go πŸŽ€


✨ NAME ✨

typec_unregister_cable β€” Unregister a USB Type-C Cable

like, you registered it, now you're unregistering it. character development πŸ’–


🌸 SYNOPSIS 🌸

void typec_unregister_cable (struct typec_cable *cable );

no return value, no drama, just vibes and a pointer πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • cable β€” the cable to be unregistered. yes bestie, that cable. the one you're sending off. πŸ‘‹

πŸ’œ DESCRIPTION πŸ’œ

Unregister device created with typec_register_cable.

that's it. that's the whole description. it's giving "short and sweet, periodt" ✨ honestly the cleanest undo button in the whole Type-C saga β€” you made the device with typec_register_cable, so you take it back out with this one. big "no take-backs? actually yes take-backs" energy πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./drivers/usb/typec/class.c and here is the whole group chat of related functions, all present and accounted for, no cap:


ngl this one is short but it's a whole mood: register it, unregister it, move on. slay 🫢

source: ./drivers/usb/typec Β· version dated October 2026 β€” mwah, that's the whole page bestie, see u in the next manpage πŸ’‹πŸŒˆβ­

πŸ“¦ where this page comes from