UMOSCOM(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ’… UMOSCOM(4) β€” like, the MOSCHIP USB serial thing, bestie ✨

okay so real quick, this is a page from the Kernel Interfaces Manual, section 4, and it's all about umoscom πŸ¦‹ β€” the driver that gives you USB support for serial adapters based on chips made by MOSCHIP. yes, MOSCHIP. that's the whole vibe. let's get into it πŸ’–


🌸 NAME 🌸

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


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's the deal: you can bake this driver straight into the kernel, or you can be cute and load it as a module at boot. either way, slay πŸ’…

To compile this driver into the kernel, place the following lines in your kernel configuration file:

device usb
device ucom
device umoscom

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

umoscom_load="YES"

✨ DESCRIPTION ✨

The umoscom driver provides support for various serial adapters based on chips from MOSCHIP. no cap, that's literally its job πŸ”₯

The device is accessed through the ucom(4) driver, which makes it behave like a tty(4). so it's giving tty energy, because it is a tty. iconic πŸ‘‘


🧚 FILES 🧚

These are the device nodes you'll see, bestie β€” memorise them iykyk πŸ’€

  • /dev/ttyU* β€” for callin ports
  • /dev/ttyU*.init
  • /dev/ttyU*.lock β€” corresponding callin initial-state and lock-state devices
  • /dev/cuaU* β€” for callout ports
  • /dev/cuaU*.init
  • /dev/cuaU*.lock β€” corresponding callout initial-state and lock-state devices
pssst: ttyU* = callin, cuaU* = callout. don't mix 'em up, king πŸ‘‘ the .init and .lock ones are the initial-state and lock-state buddies that go with each πŸ’œ

🌈 SEE ALSO 🌈

go read these next, fr fr 🫢


πŸ¦‹ HISTORY πŸ¦‹

The umoscom driver appeared in OpenBSD and was ported to FreeBSD. glow-up of the century, honestly 🌸⭐


and that's the whole page, bestie πŸŽ€ this beauty comes from Debian, dated April 26, 2017 β€” mwah, hope you had fun, drink some water πŸ’–βœ¨

πŸ“¦ where this page comes from