diff options
Diffstat (limited to 'static/freebsd/man4/uchcom.4 4.html')
| -rw-r--r-- | static/freebsd/man4/uchcom.4 4.html | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/static/freebsd/man4/uchcom.4 4.html b/static/freebsd/man4/uchcom.4 4.html new file mode 100644 index 00000000..e335630d --- /dev/null +++ b/static/freebsd/man4/uchcom.4 4.html @@ -0,0 +1,104 @@ +<table class="head"> + <tr> + <td class="head-ltitle">UCHCOM(4)</td> + <td class="head-vol">Device Drivers Manual</td> + <td class="head-rtitle">UCHCOM(4)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">uchcom</code> — + <span class="Nd">WinChipHead CH9102/CH343/CH341/CH340 USB to serial UART + driver</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> +<p class="Pp"><code class="Cd">device usb</code> + <br/> + <code class="Cd">device ucom</code> + <br/> + <code class="Cd">device uchcom</code></p> +<p class="Pp">In <a class="Xr">rc.conf(5)</a>: + <br/> + <code class="Cd">kld_list="uchcom"</code></p> +<p class="Pp">In <a class="Xr">sysctl.conf(5)</a>: + <br/> + <code class="Cd">hw.usb.uchcom.debug=1</code></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The <code class="Nm">uchcom</code> driver provides support for the + WinChipHead USB to serial UART adapters. If the appropriate hardware is + detected, the driver will be loaded automatically by + <a class="Xr">devmatch(8)</a>. To load the driver manually, add it to the + <code class="Ic">kld_list</code> in <a class="Xr">rc.conf(5)</a>, or use + <a class="Xr">kldload(8)</a> at runtime. The device is accessed through the + <a class="Xr">ucom(4)</a> driver, which makes it behave like a + <a class="Xr">tty(4)</a>.</p> +<p class="Pp">Call out through this interface with applications like + <a class="Xr">cu(1)</a> or <a class="Xr">tip(1)</a>.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="HARDWARE"><a class="permalink" href="#HARDWARE">HARDWARE</a></h1> +<p class="Pp">The <code class="Nm">uchcom</code> driver supports the following + USB to serial UART controllers:</p> +<p class="Pp"></p> +<ul class="Bl-bullet Bl-compact"> + <li>WinChipHead CH9102 (max 6Mbps)</li> + <li>WinChipHead CH343 (max 6Mbps)</li> + <li>WinChipHead CH341 (max 2Mbps)</li> + <li>WinChipHead CH340 (max 2Mbps)</li> +</ul> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYSCTL_VARIABLES"><a class="permalink" href="#SYSCTL_VARIABLES">SYSCTL + VARIABLES</a></h1> +<p class="Pp">These settings can be entered in the <a class="Xr">loader(8)</a> + prompt, set in <a class="Xr">loader.conf(5)</a>, + <a class="Xr">sysctl.conf(5)</a>, or changed at runtime with + <a class="Xr">sysctl(8)</a>:</p> +<dl class="Bl-tag"> + <dt id="hw.usb.uchcom.debug"><var class="Va">hw.usb.uchcom.debug</var></dt> + <dd>Enable debugging messages, default + ‘<code class="Li">0</code>’</dd> +</dl> +</section> +<section class="Sh"> +<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1> +<dl class="Bl-tag Bl-compact"> + <dt><span class="Pa">/dev/ttyU*</span></dt> + <dd>for callin ports</dd> + <dt><span class="Pa">/dev/ttyU*.init</span></dt> + <dd style="width: auto;"> </dd> + <dt><span class="Pa">/dev/ttyU*.lock</span></dt> + <dd>corresponding callin initial-state and lock-state devices + <p class="Pp"></p> + </dd> + <dt><span class="Pa">/dev/cuaU*</span></dt> + <dd>for callout ports</dd> + <dt><span class="Pa">/dev/cuaU*.init</span></dt> + <dd style="width: auto;"> </dd> + <dt><span class="Pa">/dev/cuaU*.lock</span></dt> + <dd>corresponding callout initial-state and lock-state devices</dd> +</dl> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">cu(1)</a>, <a class="Xr">tty(4)</a>, + <a class="Xr">ucom(4)</a>, <a class="Xr">usb(4)</a></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> +<p class="Pp">The <code class="Nm">uchcom</code> driver appeared in + <span class="Ux">FreeBSD 8.0</span> from <span class="Ux">NetBSD + 5.0</span>.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">June 25, 2025</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
