serial_port_shutdown(9)
π
serial_port_shutdown(9) β Kernel API Manual β¨
π NAME π
serial_port_shutdown β shut down hardware
β¨ SYNOPSIS β¨
void serial_port_shutdown (struct tty_port *tport );
π«Ά ARGUMENTS π«Ά
tportβ the tty port to shut down, bestie. Thatβs the one getting the shutdown treatment π
πΈ DESCRIPTION πΈ
Okay so serial_port_shutdown shuts down a USB serial port β main character energy, honestly. Itβs serialized against activate by the tport mutex, and itβs kept to matching open/close pairs of calls by the tty-port initialized flag.
π«Ά Vibe check: not called if tty is console. Periodt. That detail is literally in the rules, so donβt skip it, iykyk.
π SEE ALSO π
- Kernel file
./drivers/usb/serial/usb-serial.c serial_install(9)serial_cleanup(9)__usb_serial_register_drivers(9)usb_serial_deregister_drivers(9)
And thatβs the whole page, bestie π«Ά this oneβs source/version is ./drivers/usb/serial, dated October 2026, and itβs all about serial_port_shutdown(9) πβ¨
π¦ 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