UMCS(4)
π UMCS π β like, the manual page, bestie
okay so this is UMCS(4), from the Kernel Interfaces Manual section of the FreeBSD man pages, and it's literally all about USB serial adapter support. buckle up π
β¨ NAME β¨
umcs β USB support for serial adapters based on the MCS7820 and MCS7840 chips π¦
πΈ SYNOPSIS πΈ
so, you wanna bake this driver into the kernel? not me writing fanfic, this is real. drop these lines into your kernel configuration file:
device usb
device ucom
device umcs
orrr, if you'd rather load it as a module at boot time (iconic, low-effort, we love her π
), put this line in loader.conf(5):
umcs_load="YES"
π DESCRIPTION π
the umcs driver gives you support for all kinds of multiport serial adapters built on the MosCom MCS7820 and MCS7840 chips. these are 2- or 4-port adapters, and they come with full-featured 16550-compatible UARTs plus very flexible baud generators. and the way that these chips also support RS422/RS485 and IrDA operations?? obsessed. π
you reach the device through the ucom(4) driver, which makes it behave like a tty(4). periodt.
different ports on the device show up as sub-units, like /dev/ttyU0.1 and /dev/ttyU0.2. yes bestie, the little dot is doing the heavy lifting β¨
π₯ HARDWARE π₯
the umcs driver was tested on these adapters, so this is the verified squad:
- ST Lab U-360 two-port serial USB adapter
- ST Lab U-400 four-port serial USB adapter
π FILES π
here's the whole roster of device nodes, no gatekeeping:
/dev/ttyU*.*β for callin ports/dev/ttyU*.*.init/dev/ttyU*.*.lockβ corresponding callin initial-state and lock-state devices
and then the callout side:
/dev/cuaU*.*β for callout ports/dev/cuaU*.*.init/dev/cuaU*.*.lockβ corresponding callout initial-state and lock-state devices
π SEE ALSO π
go read these too, iykyk:
π HISTORY π
the umcs driver appeared in ports since December of 2010. a legend from day one, fr fr. β
π«Ά AUTHORS π«Ά
the umcs driver was written by Lev Serebryakov <lev@FreeBSD.org>. thank you king π
π BUGS π
okay so here's the tea, and it's giving mildly tragic: this driver doesn't support access to any fine tunes of the chip, like RS522/RS485 mode, non-standard baudrates, etc. π not a vibe, but that's the reality β plan accordingly.
and that's the whole page, bestie!! this one came from the Debian build of the manual, dated April 26, 2017, filed under UMCS(4). go forth and serial-port responsibly π
π¦β¨
π¦ 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) 2010 Lev Serebryakov <lev@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms