When you remove all the stuff on 2.X and 3.X, the mouse section

becomes far more readable.  Cool!
This commit is contained in:
Michael Lucas 2005-05-11 20:54:24 +00:00
parent 34119c9ae2
commit 78d64df6c7
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=24524

View file

@ -2543,7 +2543,7 @@ disk wd2 at wdc1 drive 1 # change from wd3 to wd2</programlisting
<answer> <answer>
<para>FreeBSD 4.X and later supports USB keyboards <para>FreeBSD 4.X and later supports USB keyboards
out-of-the-box. Enable USB support in out-of-the-box. Enable USB support in
<filename>/etc/rc.conf</filename>.</para> <filename>/etc/rc.conf</filename>.</para>
<para>Once you have USB keyboard support enabled on your <para>Once you have USB keyboard support enabled on your
system, the AT keyboard becomes system, the AT keyboard becomes
@ -2587,27 +2587,16 @@ disk wd2 at wdc1 drive 1 # change from wd3 to wd2</programlisting
</question> </question>
<answer> <answer>
<para>FreeBSD supports the bus mouse and the InPort bus mouse <para>FreeBSD supports the bus mouse and the InPort bus
from such manufactures as Microsoft, Logitech and ATI. The bus mouse from such manufacturers as Microsoft, Logitech and
device driver is compiled in the GENERIC kernel by default in ATI. The GENERIC kernel does not include the device
FreeBSD versions 2.X, but not included in version 3.0 or later. driver. To build a custom kernel with the bus mouse
If you are building a custom kernel with the bus mouse driver, driver, add the following line to the kernel config
make sure to add the following line to the kernel config file:</para>
file</para>
<para>In FreeBSD 3.0 or before, add:</para>
<programlisting>device mse0 at isa? port 0x23c tty irq5 vector mseintr</programlisting>
<para>In FreeBSD 3.X, the line should be:</para>
<programlisting>device mse0 at isa? port 0x23c tty irq5</programlisting>
<para>And in FreeBSD 4.X and later, the line should read:</para>
<programlisting>device mse0 at isa? port 0x23c irq5</programlisting> <programlisting>device mse0 at isa? port 0x23c irq5</programlisting>
<para>Bus mice usually comes 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 IRQ
number other than shown above. Refer to the manual of your number other than shown above. Refer to the manual of your
mouse and the &man.mse.4; manual page for more information.</para> mouse and the &man.mse.4; manual page for more information.</para>
@ -2621,31 +2610,20 @@ disk wd2 at wdc1 drive 1 # change from wd3 to wd2</programlisting
</question> </question>
<answer> <answer>
<para>The PS/2 mouse is supported out-of-the-box in all <para>The PS/2 mouse is supported out-of-the-box. The
recent versions of FreeBSD. The necessary device driver, necessary device driver, <devicename>psm</devicename>, is
<devicename>psm</devicename>, is included in the GENERIC included in the GENERIC kernel.</para>
kernel.</para>
<para>If your custom kernel does not have this, add the <para>If your custom kernel does not have this, add the
appropriate following line to your kernel configuration following line to your kernel configuration
file and compile a new kernel.</para> and compile a new kernel.</para>
<para>In FreeBSD 3.0 or earlier, the line should be:</para>
<programlisting>device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr</programlisting>
<para>In FreeBSD 3.1 or later, the line should be:</para>
<programlisting>device psm0 at isa? tty irq 12</programlisting>
<para>In FreeBSD 4.0 or later, the line should be:</para>
<programlisting>device psm0 at atkbdc? irq 12</programlisting> <programlisting>device psm0 at atkbdc? irq 12</programlisting>
<para>Once the kernel detects <devicename>psm0</devicename> <para>Once the kernel detects <devicename>psm0</devicename>
correctly at boot time, make sure that an entry for correctly at boot time, make sure that an entry for
<devicename>psm0</devicename> exists in <devicename>psm0</devicename> exists in
<filename>/dev</filename>. You can do this by <filename>/dev</filename>. You can create this entry by
typing:</para> typing:</para>
<screen>&prompt.root; <userinput>cd /dev; sh MAKEDEV psm0</userinput></screen> <screen>&prompt.root; <userinput>cd /dev; sh MAKEDEV psm0</userinput></screen>