NAME
uchcom – WinChipHead CH9102/CH343/CH341/CH340 USB to serial UART driver
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). 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’
FILES
- /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
SEE ALSO
HISTORY
The uchcom driver appeared in FreeBSD 8.0 from NetBSD 5.0.