Remove the "Does FreeBSD support any USB mice?" entry, since it
describes a procedure needed only for FreeBSD 3.X. Keeping the entry around has the risk that people do not notice that it's not for recent FreeBSD versions, and they then get in trouble by using this FAQ entry. The FAQ in general still says it supports 3.X, but if anybody really still use 3.X, I seriously doubt it's in an environment where a mouse is required. PR: docs/36154
This commit is contained in:
parent
fe2cbaf6bd
commit
66e55b01b3
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=23917
1 changed files with 0 additions and 95 deletions
|
@ -2774,101 +2774,6 @@ usbd_flags=""</programlisting>
|
|||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
<qandaentry>
|
||||
<question id="usbmouse">
|
||||
<para>Does FreeBSD support any USB mice?</para>
|
||||
</question>
|
||||
|
||||
<answer>
|
||||
|
||||
<para>Preliminary USB device support was added to FreeBSD
|
||||
3.1. It did not always work through early versions of
|
||||
3.X. As of FreeBSD 4.0, USB devices should work out of
|
||||
the box. If you want to experiment with the USB mouse
|
||||
support under FreeBSD 3.X, follow the procedure described
|
||||
below.</para>
|
||||
|
||||
<procedure>
|
||||
<step>
|
||||
<para>Use FreeBSD 3.2 or later.</para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Add the following lines to your kernel configuration
|
||||
file, and rebuild the kernel.</para>
|
||||
|
||||
<programlisting>device uhci
|
||||
device ohci
|
||||
device usb
|
||||
device ums</programlisting>
|
||||
|
||||
<para>In versions of FreeBSD before 4.0, use this
|
||||
instead:</para>
|
||||
|
||||
<programlisting>controller uhci0
|
||||
controller ohci0
|
||||
controller usb0
|
||||
device ums0</programlisting>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Go to the <filename>/dev</filename> directory and
|
||||
create a device node as follows:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
||||
&prompt.root; <userinput>./MAKEDEV ums0</userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>You can omit this step if you are running FreeBSD
|
||||
5.0-RELEASE or newer with &man.devfs.5; enabled,
|
||||
since the proper device nodes will be created automatically
|
||||
under <filename>/dev</filename>.</para>
|
||||
</note>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Edit <filename>/etc/rc.conf</filename> and add the
|
||||
following lines:</para>
|
||||
|
||||
<programlisting>moused_enable="YES"
|
||||
moused_type="auto"
|
||||
moused_port="/dev/ums0"
|
||||
moused_flags=""
|
||||
usbd_enable="YES"
|
||||
usbd_flags=""</programlisting>
|
||||
|
||||
<para>See the <link linkend="moused">previous section</link>
|
||||
for more detailed discussion on moused.</para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>In order to use the USB mouse in the X session, edit
|
||||
<filename>XF86Config</filename>. If you are using &xfree86;
|
||||
3.3.2 or later, be sure to have the following lines in the
|
||||
<emphasis>Pointer</emphasis> section:</para>
|
||||
|
||||
<programlisting>Device "/dev/sysmouse"
|
||||
Protocol "Auto"</programlisting>
|
||||
|
||||
<para>If you are using earlier versions of &xfree86;, be sure to
|
||||
have the following lines in the <emphasis>Pointer</emphasis>
|
||||
section:</para>
|
||||
|
||||
<programlisting>Device "/dev/sysmouse"
|
||||
Protocol "SysMouse"</programlisting>
|
||||
</step>
|
||||
</procedure>
|
||||
|
||||
<para>Refer to <link linkend="x-and-moused">another section</link>
|
||||
on the mouse support in the X environment.</para>
|
||||
|
||||
<para>Hot-plugging and unplugging of the USB mouse may not work
|
||||
quite right yet. It is a good idea connect the mouse before you
|
||||
start the system and leave it connected until the system is
|
||||
shutdown to avoid trouble.</para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
<qandaentry>
|
||||
<question id="mouse-wheel-buttons">
|
||||
<para>My mouse has a fancy wheel and buttons. Can I use them in
|
||||
|
|
Loading…
Reference in a new issue