blob: 625676b1817847e4528321ffcd683428ef5221b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
<table class="head">
<tr>
<td class="head-ltitle">UMCS(4)</td>
<td class="head-vol">Device Drivers Manual</td>
<td class="head-rtitle">UMCS(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">umcs</code> — <span class="Nd">USB support
for serial adapters based on the MCS7820 and MCS7840 chips</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp">To compile this driver into the kernel, place the following lines
in your kernel configuration file:</p>
<div class="Bd Pp Bd-indent"><code class="Cd">device usb</code>
<br/>
<code class="Cd">device ucom</code>
<br/>
<code class="Cd">device umcs</code></div>
<p class="Pp">Alternatively, to load the driver as a module at boot time, place
the following line in <a class="Xr">loader.conf(5)</a>:</p>
<div class="Bd Pp Bd-indent Li">
<pre>umcs_load="YES"</pre>
</div>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">umcs</code> 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.</p>
<p class="Pp">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">Different ports on device are presented as sub-units, like
<span class="Pa">/dev/ttyU0.1</span> and
<span class="Pa">/dev/ttyU0.2</span>.</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">umcs</code> driver was tested on the
following adapters:</p>
<p class="Pp"></p>
<ul class="Bl-bullet Bl-compact">
<li>ST Lab U-360 two-port serial USB adapter</li>
<li>ST Lab U-400 four-port serial USB adapter</li>
</ul>
</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">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">umcs</code> driver appeared in ports since
December of 2010.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">The <code class="Nm">umcs</code> driver was written by
<span class="An">Lev Serebryakov</span>
<<a class="Mt" href="mailto:lev@FreeBSD.org">lev@FreeBSD.org</a>>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
<p class="Pp">This driver doesn't support access to any fine tunes of chip, like
RS522/RS485 mode, non-standard baudrates, etc.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">April 26, 2017</td>
<td class="foot-os">FreeBSD 15.0</td>
</tr>
</table>
|