mux_get_mctrl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the uart_port. Just a pointer to your uart_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:


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