mux_get_mctrl(9)
π mux_get_mctrl β Kernel API Manual, bestie edition π
Ok so real talk, this is mux_get_mctrl(9) from the Kernel API Manual, and it's lowkey one of the easiest pages you'll ever read. Let's get into it β¨
πΈ NAME πΈ
mux_get_mctrl β returns the current state of modem control inputs. That's it. That's the whole job. Iconic, honestly π«Ά
β¨ SYNOPSIS β¨
unsigned int mux_get_mctrl (struct uart_port *port );
π¦ ARGUMENTS π¦
portβ ptr to theuart_port. Just a pointer to youruart_port, bestie, no cap π
π DESCRIPTION π
So here's the tea β β the Serial MUX does not support CTS, DCD or DSR. Like, at all. Not a vibe it does.
Which means those lines are treated as permanently active. Always on. Forever. Main character energy that never turns off πβ¨
π SEE ALSO π
Kernel file ./drivers/tty/serial/mux.c, plus the whole friend group:
get_mux_port_count(9)mux_tx_empty(9)mux_set_mctrl(9)mux_stop_tx(9)mux_start_tx(9)mux_stop_rx(9)mux_break_ctl(9)mux_write(9)mux_read(9)mux_startup(9)mux_shutdown(9)mux_set_termios(9)mux_type(9)mux_release_port(9)mux_request_port(9)mux_config_port(9)mux_verify_port(9)mux_poll(9)mux_probe(9)mux_init(9)mux_exit(9)
Go read all of them, iykyk π they're all sitting in ./drivers/tty/serial together like one big happy family π
That's the whole page, bestie, you ate that π
β¨ Sourced from ./drivers/tty/serial, dated October 2026 β love that for us ππ¦ mwah, go read a real man page now π
π¦ 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