UMCS(4)

πŸ“¦
version 15.1 Β· 3 versions
, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

Okay so bestie, meet umcs(4) πŸ’– β€” USB support for serial adapters based on the MCS7820 and MCS7840 chips. That’s the name, that’s the vibe, and honestly this driver has main character energy. No cap. ✨

✨ SYNOPSIS ✨

Wanna compile this driver into the kernel? Slay β€” drop these lines into your kernel configuration file:

device usb
device ucom
device umcs

Or, to load the driver as a module at boot time, put this line in loader.conf(5):

umcs_load="YES"

🌸 DESCRIPTION 🌸

The umcs driver provides support for various multiport serial adapters based on the MosCom MCS7820 and MCS7840 chips. They are 2- or 4-port adapters with full-featured 16550-compatible UARTs and very flexible baud generators. Also, these chips support RS422/RS485 and IrDA operations. Highkey iconic. πŸ”₯

You access the device through the ucom(4) driver, and that’s what makes it behave like a tty(4). Different ports on the device are presented as sub-units, like /dev/ttyU0.1 and /dev/ttyU0.2. It’s giving β€œone USB situation, multiple little tty besties,” and I’m obsessed. πŸ’…

πŸ”₯ HARDWARE πŸ”₯

Vibe check: the umcs driver was tested on these adapters, fr fr:

  • ST Lab U-360 two-port serial USB adapter
  • ST Lab U-400 four-port serial USB adapter

πŸŽ€ FILES πŸŽ€

Callin side, coming in hot:

  • /dev/ttyU*.* β€” for callin ports
  • /dev/ttyU*.*.init
  • /dev/ttyU*.*.lock β€” corresponding callin initial-state and lock-state devices

Callout side, same energy, iykyk:

  • /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, bestie:

🌈 HISTORY 🌈

The umcs driver appeared in ports since December of 2010. That’s the lore, periodt. 🫢

πŸ‘‘ AUTHORS πŸ‘‘

The umcs driver was written by Lev Serebryakov <lev@FreeBSD.org>. Give them their flowers. πŸ’

πŸ’€ BUGS πŸ’€

Real talk, ngl: this driver doesn't support access to any fine tunes of chip, like RS522/RS485 mode, non-standard baudrates, etc. 😭

Cute little sign-off: this page is from Debian, dated April 26, 2017, and filed under UMCS(4). πŸ’–πŸ«Ά

πŸ“¦ where this page comes from