UBSA(4)

πŸ’– UBSA(4) β€” the USB-glow-up for Belkin serial adapters πŸ’–

Kernel Interfaces Manual Β· the one where your serial adapter finally gets a tty


✨ NAME ✨

ubsa β€” USB support for Belkin serial adapters πŸ¦‹

okay so bestie, this whole page is about ubsa, the driver that makes a whole lil family of Belkin-ish serial adapters just... work. no cap.


🌸 SYNOPSIS 🌸

so to bake this driver into your kernel, you drop these lines into your kernel configuration file:

device usb
device ucom
device ubsa

or, alternatively, if you'd rather load it as a module at boot time, you put this single line in loader.conf(5):

ubsa_load="YES"

pick your fighter πŸ’…


πŸ’« DESCRIPTION πŸ’«

The ubsa driver provides support for the USB-to-RS232 Bridge chip used by a variety of serial adapters from Belkin and other vendors. it's giving "bridge chip, but make it serial" πŸ”₯

You access the device through the ucom(4) driver, which is the icon that makes it behave like a tty(4). so like... it's a tty. it walks like a tty. it talks like a tty. πŸŽ€


πŸ‘‘ HARDWARE πŸ‘‘

bestie, the ubsa driver supports the following adapters, and yes we're listing all of them, no skipping:

  • AnyData ADU-500A EV-DO modem
  • AnyData ADU-E100A (no EV-DO mode support) ⚠️
  • Belkin F5U103
  • Belkin F5U120
  • e-Tek Labs Kwik232
  • GoHubs GoCOM232
  • Peracom single port serial adapter

πŸŽ€ FILES πŸŽ€

here's the file situation, and yes every single one of these matters:

  • /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

like, init and lock states? the attention to detail. obsessed. πŸ’œ


🌈 SEE ALSO 🌈

go read these next, iykyk:


πŸ¦‹ HISTORY πŸ¦‹

The ubsa driver appeared in FreeBSD 5.0. The uplcom(4) manual page was adopted from NetBSD by Tom Rhodes <trhodes@FreeBSD.org> in April 2002, and then modified for the ubsa driver by Alexander Kabaev <kan@FreeBSD.org> in October 2002. glow-up complete, fr fr ✨


πŸ’… AUTHORS πŸ’…

The ubsa driver was written by Alexander Kabaev <kan@FreeBSD.org>. king behavior, honestly. πŸ‘‘


this page came out of the Debian corner of the universe, dated April 26, 2017, and it's the UBSA(4) kernel interfaces page 🫢

k bye, go plug in your serial adapter, she's ready πŸ’–πŸŒΈβœ¨

πŸ“¦ where this page comes from