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
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2014 Hans Petter Selasky
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms