blob: 4b8ff78288b1fd333adc980c51cd1ba925a5c6ea (
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
100
|
<table class="head">
<tr>
<td class="head-ltitle">ATKBDC(4)</td>
<td class="head-vol">Device Drivers Manual</td>
<td class="head-rtitle">ATKBDC(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">atkbdc</code> — <span class="Nd">the AT
keyboard controller interface</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">options KBD_RESETDELAY=N</code>
<br/>
<code class="Cd">options KBD_MAXWAIT=N</code>
<br/>
<code class="Cd">options KBD_DELAY1=N</code>
<br/>
<code class="Cd">options KBD_DELAY2=N</code>
<br/>
<code class="Cd">options KBDIO_DEBUG=N</code>
<br/>
<code class="Cd">device atkbdc</code></p>
<p class="Pp">In <span class="Pa">/boot/device.hints</span>:
<br/>
<code class="Cd">hint.atkbdc.0.at="isa"</code>
<br/>
<code class="Cd">hint.atkbdc.0.port="0x060"</code></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The keyboard controller <code class="Nm">atkbdc</code> provides
I/O services for the AT keyboard and PS/2 mouse style pointing devices. This
controller is required for the keyboard driver <code class="Nm">atkbd</code>
and the PS/2 pointing device driver <code class="Nm">psm</code>.</p>
<p class="Pp">There can be only one <code class="Nm">atkbdc</code> device
configured in the system.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="DRIVER_CONFIGURATION"><a class="permalink" href="#DRIVER_CONFIGURATION">DRIVER
CONFIGURATION</a></h1>
<section class="Ss">
<h2 class="Ss" id="Kernel_Configuration_Options"><a class="permalink" href="#Kernel_Configuration_Options">Kernel
Configuration Options</a></h2>
<p class="Pp">The following kernel configuration options can be used to control
the <code class="Nm">atkbdc</code> driver. They may be set in the kernel
configuration file (see <a class="Xr">config(8)</a>).</p>
<dl class="Bl-tag">
<dt id="KBD_RESETDELAY=X"><a class="permalink" href="#KBD_RESETDELAY=X"><i class="Em">KBD_RESETDELAY=X</i></a>,
<a class="permalink" href="#KBD_MAXWAIT=Y"><i class="Em" id="KBD_MAXWAIT=Y">KBD_MAXWAIT=Y</i></a></dt>
<dd>The keyboard driver <code class="Nm">atkbd</code> and the pointing device
driver <code class="Nm">psm</code> may ask the
<code class="Nm">atkbdc</code> driver to reset these devices during the
boot process. It sometimes takes a long time before these devices respond
to the reset command. These options control how long the
<code class="Nm">atkbdc</code> driver should wait before eventually giving
up -- the driver will wait <var class="Fa">X</var> *
<var class="Fa">Y</var> msecs at most. If the drivers seem unable to
detect devices, you may want to increase these values. The default values
are 200 msec for <var class="Fa">X</var> and 5 for
<var class="Fa">Y</var>.</dd>
<dt id="KBD_DELAY1=X,"><a class="permalink" href="#KBD_DELAY1=X,"><i class="Em">KBD_DELAY1=X,
KBD_DELAY2=Y</i></a></dt>
<dd>DELAY1 sets the initial key repeat delay to <var class="Fa">X</var>. The
default value is 500ms. DELAY2 sets the key repeat delay to
<var class="Fa">Y</var>. The default value is 100ms.</dd>
<dt id="KBDIO_DEBUG=N"><a class="permalink" href="#KBDIO_DEBUG=N"><i class="Em">KBDIO_DEBUG=N</i></a></dt>
<dd>Sets the debug level to <var class="Fa">N</var>. The default value is
zero, which suppresses all debugging output.</dd>
</dl>
</section>
</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">atkbd(4)</a>, <a class="Xr">psm(4)</a>,
<a class="Xr">config(8)</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">atkbdc</code> driver first appeared in
<span class="Ux">FreeBSD 3.1</span>. It is based on the kbdio module in
<span class="Ux">FreeBSD 2.2</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">The kbdio module, the <code class="Nm">atkbdc</code> driver and
this manual page were written by <span class="An">Kazutaka Yokota</span>
<<a class="Mt" href="mailto:yokota@FreeBSD.org">yokota@FreeBSD.org</a>>.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">February 26, 2023</td>
<td class="foot-os">FreeBSD 15.0</td>
</tr>
</table>
|