UMOSCOM(4)

πŸ’– UMOSCOM(4) β€” the Kernel Interfaces Manual glow-up πŸ’–

okay bestie, sit DOWN, because today we're talking about umoscom(4), the lil driver that gives you USB support for serial adapters based on chips made by MOSCHIP. yes. those chips. the MOSCHIP ones. we love her, we respect her, we're gonna learn her ✨


🌸 NAME 🌸

umoscom β€” USB support for serial adapters based on chips made by MOSCHIP

no cap, that's literally it. short, sweet, iconic πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

so you wanna compile this driver into the kernel? periodt, here's what you put in your kernel configuration file:

device usb
device ucom
device umoscom

all three, bestie. don't skip the usb and ucom ones, they're the supporting cast and the show does NOT go on without them πŸ’…

orrr, if you'd rather load the driver as a module at boot time (lowkey easier, highkey valid), you drop this single line into loader.conf(5):

umoscom_load="YES"

one line. that's it. slay 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

the umoscom driver provides support for various serial adapters based on chips from MOSCHIP. that's the whole vibe. it's giving "I connect your serial stuff and I do it well" 🌈

and here's the cute part: you never talk to it directly, bestie. the device is accessed through the ucom(4) driver, which makes it behave like a tty(4). so it's like... it shows up wearing a tty costume and everyone treats it like one. main character energy honestly πŸ‘‘


πŸ’œ FILES πŸ’œ

here's where your ports live, keep these close:

  • /dev/ttyU* β€” for callin ports
  • /dev/ttyU*.init β€” corresponding callin initial-state device
  • /dev/ttyU*.lock β€” corresponding callin lock-state device
  • /dev/cuaU* β€” for callout ports
  • /dev/cuaU*.init β€” corresponding callout initial-state device
  • /dev/cuaU*.lock β€” corresponding callout lock-state device

the .init and .lock ones are the little sidekicks that carry the initial-state and lock-state for their matching port. iykyk πŸ’«


⭐ SEE ALSO ⭐

go read these next, bestie, they're the whole friend group:


🌈 HISTORY 🌈

the umoscom driver appeared in OpenBSD and was ported to FreeBSD. so she's a transplant and she THRIVED, we stan a glow-up 🧚


and that's the tea, bestie πŸ“ this little page came to you from the Debian crew, dated April 26, 2017 β€” and it's UMOSCOM(4), the Kernel Interfaces Manual, forever and always πŸ’–πŸ’…βœ¨

πŸ“¦ where this page comes from