usb_phy_roo...y_disconnect(9)
π usb_phy_roo...y_disconnect(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β yes the title is literally cut off at usb_phy_roo...y_disconnect(9) and no we're not fixing it, that's just how it's printed, iykyk π
πΈ NAME πΈ
usb_phy_roothub_notify_disconnect β the disconnect notification girlie π« she's here to tell you a port peaced out.
π¦ SYNOPSIS π¦
int usb_phy_roothub_notify_disconnect (struct usb_phy_roothub
*phy_roothub , int port );
like, she takes two things and gives you back an int, periodt π
π ARGUMENTS π
phy_roothubβ the phy of roothub, bestie. only relevant if the host is using a generic phy, so keep that vibe check in mind π«Άportβ the port index for the disconnect. literally just which port said bye π
β DESCRIPTION β
so here's the tea: if the phy needs to get connection status, the callback can be used. that's it, that's the whole bit, no cap π₯
π RETURN π
0 if successful β slay π β and a negative error code otherwise π (yes, negative, we don't do positive errors here)
π SEE ALSO π
- Kernel file
./drivers/usb/core/phy.c usb_phy_roothub_alloc_usb3_phy(9)usb_phy_roothub_notify_connect(9)β the connect counterpart, her sister fr fr π«Ά
ngl, if you're poking at generic phy connection status from a roothub, this is your girl. go read the kernel file if you want the deep lore πβ¨
and that's a wrap, bestie π§π this icon dropped from ./drivers/usb/core back in October 2026 β go off, kernel girlies π
π¦ 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