UCHCOM(4)

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

UCHCOM(4) β€” Kernel Interfaces Manual πŸ¦‹πŸ’…

okay bestie, this is the manual page for uchcom, and it's giving USB-to-serial main character energy. ✨

πŸŽ€ NAME πŸŽ€

uchcom β€” WinChipHead CH9102/CH343/CH341/CH340 USB to serial UART driver. periodt πŸ’–

🌸 SYNOPSIS 🌸

device usb
device ucom
device uchcom

In rc.conf(5):

kld_list="uchcom"

In sysctl.conf(5):

hw.usb.uchcom.debug=1

πŸ¦‹ DESCRIPTION πŸ¦‹

The uchcom driver provides support for the WinChipHead USB to serial UART adapters. If the appropriate hardware is detected, the driver will be loaded automatically by devmatch(8) β€” auto-load slay. To load the driver manually, add it to the kld_list in rc.conf(5), or use kldload(8) at runtime. The device is accessed through the ucom(4) driver, which makes it behave like a tty(4).

Call out through this interface with applications like cu(1) or tip(1). 🫢

πŸ”₯ HARDWARE πŸ”₯

The uchcom driver supports the following USB to serial UART controllers:

  • WinChipHead CH9102 (max 6Mbps)
  • WinChipHead CH343 (max 6Mbps)
  • WinChipHead CH341 (max 2Mbps)
  • WinChipHead CH340 (max 2Mbps)

⭐ SYSCTL VARIABLES ⭐

These settings can be entered in the loader(8) prompt, set in loader.conf(5), sysctl.conf(5), or changed at runtime with sysctl(8):

  • hw.usb.uchcom.debug β€” enable debugging messages, default 0. iykyk πŸ›

πŸŽ€ FILES πŸŽ€

Callin ports:

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

Callout ports:

  • /dev/cuaU* β€” for callout ports
  • /dev/cuaU*.init β€” corresponding callout initial-state device
  • /dev/cuaU*.lock β€” corresponding callout lock-state device

🌈 SEE ALSO 🌈

go read the friends, bestie πŸ“š

πŸ‘‘ HISTORY πŸ‘‘

The uchcom driver appeared in FreeBSD 8.0 from NetBSD 5.0. iconic crossover event 🌈


source/version: Debian Β· date: June 25, 2025 β€” mwah bestie, go forth and serial πŸ’–βœ¨

πŸ“¦ where this page comes from