typec_cable_altmode_enter(9)
π
typec_cable_altmode_enter(9) π
okay bestie, welcome to the Kernel API Manual page for typec_cable_altmode_enter(9) β sheβs giving cable-plug alternate-mode realness and weβre gonna read her together, periodt. β¨
π NAME π
typec_cable_altmode_enterβ Enter Mode
πΈ SYNOPSIS πΈ
int typec_cable_altmode_enter (struct typec_altmode *adev , enum
typec_plug_index sop , u32 *vdo );
π¦ ARGUMENTS π¦
adevβ the alternate mode. Thatβs the whole vibe check right there. πsopβ cable plug target for the Enter Mode command. Yes, that Enter Mode command.vdoβ VDO for the Enter Mode command. Itβs typedu32 *in the signature, iykyk.
π DESCRIPTION π
Alternate mode drivers use this function to enter mode on the cable plug. No cap, thatβs the job.
If the alternate mode does not require VDO, must be NULL for vdo. This is not a maybe β itβs a must. π«Ά
lowkey important: the original saysvdomust beNULLwhen the alternate mode doesnβt require VDO. Keep that energy. π
π SEE ALSO π
Kernel file: ./drivers/usb/typec/bus.c
typec_altmode_notify(9)typec_altmode_enter(9)typec_altmode_exit(9)typec_altmode_attention(9)typec_altmode_vdm(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)
cute sign-off bestie: source/version is ./drivers/usb/typec, date is October 2026, and the page is typec_cable_altmode_enter(9) β slay, you made it to the bottom π
π
π¦ 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