Whitespace fixes from last commit.

This commit is contained in:
Michael Lucas 2005-05-11 20:58:57 +00:00
parent 78d64df6c7
commit 0cb3649466
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=24525

View file

@ -2553,29 +2553,31 @@ disk wd2 at wdc1 drive 1 # change from wd3 to wd2</programlisting
only, it will be only, it will be
<devicename>/dev/ukbd0</devicename>.</para> <devicename>/dev/ukbd0</devicename>.</para>
<para>If you want to use the USB keyboard in the console, you <para>If you want to use the USB keyboard in the console,
have to explicitly tell the console driver to use the existing you have to explicitly tell the console driver to use the
USB keyboard. This can be done by running the following existing USB keyboard. This can be done by running the
command as a part of system initialization.</para> following command as a part of system
initialization.</para>
<screen>&prompt.root; <userinput>kbdcontrol -k /dev/kbd1 &lt; /dev/ttyv0 &gt; /dev/null</userinput></screen> <screen>&prompt.root; <userinput>kbdcontrol -k /dev/kbd1 &lt; /dev/ttyv0 &gt; /dev/null</userinput></screen>
<para>Note that if the USB keyboard is the only keyboard, it is <para>Note that if the USB keyboard is the only keyboard, it
accessed as <devicename>/dev/kbd0</devicename>, thus, the command is accessed as <devicename>/dev/kbd0</devicename>, thus,
should look like:</para> the command should look like:</para>
<screen>&prompt.root; <userinput>kbdcontrol -k /dev/kbd0 &lt; /dev/ttyv0 &gt; /dev/null</userinput></screen> <screen>&prompt.root; <userinput>kbdcontrol -k /dev/kbd0 &lt; /dev/ttyv0 &gt; /dev/null</userinput></screen>
<para><filename>/etc/rc.i386</filename> is a good place to add the <para><filename>/etc/rc.i386</filename> is a good place to
above command.</para> add the above command.</para>
<para>Once this is done, the USB keyboard should work in the X <para>Once this is done, the USB keyboard should work in the
environment as well without any special settings.</para> X environment as well without any special settings.</para>
<para>Hot-plugging and unplugging of the USB keyboard may not <para>Hot-plugging and unplugging of the USB keyboard may
work quite right yet. We recommend connecting the keyboard not work quite right yet. We recommend connecting the
before starting the system and leaving it connected until the keyboard before starting the system and leaving it
system is shutdown to avoid troubles.</para> connected until the system is shutdown to avoid
troubles.</para>
<para>See the &man.ukbd.4; manual page for more information.</para> <para>See the &man.ukbd.4; manual page for more information.</para>
</answer> </answer>
@ -2583,7 +2585,8 @@ disk wd2 at wdc1 drive 1 # change from wd3 to wd2</programlisting
<qandaentry> <qandaentry>
<question id="busmouse"> <question id="busmouse">
<para>I have an unusual bus mouse. How do I set it up?</para> <para>I have an unusual bus mouse. How do I set it
up?</para>
</question> </question>
<answer> <answer>
@ -2597,9 +2600,10 @@ disk wd2 at wdc1 drive 1 # change from wd3 to wd2</programlisting
<programlisting>device mse0 at isa? port 0x23c irq5</programlisting> <programlisting>device mse0 at isa? port 0x23c irq5</programlisting>
<para>Bus mice usually come with dedicated interface cards. <para>Bus mice usually come with dedicated interface cards.
These cards may allow you to set the port address and the IRQ These cards may allow you to set the port address and the
number other than shown above. Refer to the manual of your IRQ number other than shown above. Refer to the manual of
mouse and the &man.mse.4; manual page for more information.</para> your mouse and the &man.mse.4; manual page for more
information.</para>
</answer> </answer>
</qandaentry> </qandaentry>
@ -2612,11 +2616,11 @@ disk wd2 at wdc1 drive 1 # change from wd3 to wd2</programlisting
<answer> <answer>
<para>The PS/2 mouse is supported out-of-the-box. The <para>The PS/2 mouse is supported out-of-the-box. The
necessary device driver, <devicename>psm</devicename>, is necessary device driver, <devicename>psm</devicename>, is
included in the GENERIC kernel.</para> included in the kernel.</para>
<para>If your custom kernel does not have this, add the <para>If your custom kernel does not have this, add the
following line to your kernel configuration following line to your kernel configuration and compile a
and compile a new kernel.</para> new kernel.</para>
<programlisting>device psm0 at atkbdc? irq 12</programlisting> <programlisting>device psm0 at atkbdc? irq 12</programlisting>