uart_dtr_rts(9)
π uart_dtr_rts β like, the whole page β¨
okay so bestie, welcome to the uart_dtr_rts(9) page from the Kernel API Manual β yes that's the manual name, no I will not be normal about it. this is a lil port helper and it's honestly doing the most important little job, so let's get into it π«Ά
πΈ NAME πΈ
uart_dtr_rts β the port helper that sets uart signals. that's it, that's the whole vibe. it flips DTR and RTS for you and it does it flawlessly π
β SYNOPSIS β
void uart_dtr_rts (struct tty_port *tport , bool active );
literally just one function, two arguments, zero drama. iconic behavior honestly π
π¦ ARGUMENTS π¦
tportβ the tty port that's getting updated. this is your main character, the thing you're poking at β¨activeβ set this to turn on DTR/RTS. so it's your on/off switch. setting it = signals ON, and you can lowkey guess what not setting it does π
π DESCRIPTION π
so here's the tea: this gets called by the tty port helpers when the modem signals need adjusting during an open, a close, and a hangup. that's the three moments. that's the entire job description. it's giving "small but crucial role in the ecosystem" and we stan π
no cap, it's a helper's helper β it doesn't go out and do stuff on its own, it gets summoned when the modem signals need a lil adjustment mid open, close or hangup. periodt π
π₯ SEE ALSO π₯
- the kernel file
./drivers/mmc/core/sdio_uart.c sdio_uart_activate(9)sdio_uart_shutdown(9)sdio_uart_install(9)sdio_uart_cleanup(9)
go read them, iykyk π
reminder bestie: everything above is exactly the facts from the page, i just put some sparkle on it. the function signature, the args, the three moments (open, close, hangup), the see-also list β all of it, untouched π§
and that's a wrap! this adorable lil page lives at ./drivers/mmc/core and it's dated October 2026 β yes, the future, she's ahead of her time πβ¨ bye bestie, slay your kernel work ππ·
π¦ 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