gserial_disconnect(9)
π gserial_disconnect(9) π
okay so bestie, this is the Kernel API Manual page for gserial_disconnect β literally the βweβre so done hereβ signal for a USB link, iykyk β¨
πΈ NAME πΈ
gserial_disconnectβ notify the TTY I/O glue that the USB link is inactive π«Ά
β¨ SYNOPSIS β¨
void gserial_disconnect (struct gserial *gser );
π ARGUMENTS π
gserβ the function, on whichgserial_connectwas called π
π¦ CONTEXT π¦
any (usually from irq) β no cap, it can show up in irq land π
π₯ DESCRIPTION π₯
This is called to deactivate endpoints and let the TTY layer know that the connection went inactive ... not unlike "hangup". π
On return, the state is as if gserial_connect had never been called; there is no active USB I/O on these endpoints. periodt π
π SEE ALSO π
Kernel file ./drivers/usb/gadget/function/u_serial.c β plus gs_start_io(9) and gserial_connect(9). go read those too, bestie π
π gserial_disconnect(9) Β· source/version: ./drivers/usb/gadget/function Β· date: October 2026 β byeee, go touch grass or whatever π±π
π¦ 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