|
Lines 3069-3077
Link Here
|
| 3069 |
</sect2> |
3069 |
</sect2> |
| 3070 |
|
3070 |
|
| 3071 |
<sect2> |
3071 |
<sect2> |
| 3072 |
<title>* Mice</title> |
3072 |
<title>Mice</title> |
| 3073 |
|
3073 |
<para><emphasis>Contributed by Joel Sutton |
| 3074 |
<para></para> |
3074 |
<email>jsutton@bbcon.com.au</email> January 2000</emphasis></para> |
|
|
3075 |
|
| 3076 |
<para>FreeBSD supports a variety of different mice via the PS/2, serial and |
| 3077 |
USB ports. Most users choose to use the mouse daemon to handle their mouse |
| 3078 |
because it allows interaction in both X and on the system console. |
| 3079 |
For more information on the mouse daemon refer to &man.moused.8;. The |
| 3080 |
examples throughout this section assume that the mouse daemon is being used. |
| 3081 |
</para> |
| 3082 |
|
| 3083 |
<note> |
| 3084 |
<para>This section contains the names of specific products that the |
| 3085 |
author has confirmed will work with FreeBSD. Other similar devices not |
| 3086 |
listed may also be supported.</para> |
| 3087 |
</note> |
| 3088 |
|
| 3089 |
<sect3> |
| 3090 |
<title>PS/2</title> |
| 3091 |
<para></para> |
| 3092 |
|
| 3093 |
<sect4> |
| 3094 |
<title>System Configuration</title> |
| 3095 |
<para>To ensure that your PS/2 mouse functions correctly with the mouse daemon |
| 3096 |
you will need to include the following text in |
| 3097 |
<filename>/etc/rc.conf</filename></para> |
| 3098 |
|
| 3099 |
<programlisting>moused_enable="YES" |
| 3100 |
moused_type="ps/2" |
| 3101 |
moused_port="/dev/psm0"</programlisting> |
| 3102 |
|
| 3103 |
</sect4> |
| 3104 |
|
| 3105 |
<sect4> |
| 3106 |
<title>Known Compatible Devices</title> |
| 3107 |
|
| 3108 |
<itemizedlist> |
| 3109 |
<listitem> |
| 3110 |
<para>Logitech First Mouse - Three Button</para> |
| 3111 |
</listitem> |
| 3112 |
<listitem> |
| 3113 |
<para>Microsoft Serial - PS/2 Compatible Mouse</para> |
| 3114 |
</listitem> |
| 3115 |
</itemizedlist> |
| 3116 |
</sect4> |
| 3117 |
|
| 3118 |
</sect3> |
| 3119 |
|
| 3120 |
<sect3> |
| 3121 |
<title>Serial</title> |
| 3122 |
<para></para> |
| 3123 |
|
| 3124 |
<sect4> |
| 3125 |
<title>System Configuration</title> |
| 3126 |
<para>To ensure that your serial mouse functions correctly with the mouse daemon |
| 3127 |
you will need to include the following text in <filename>/etc/rc.conf</filename>. |
| 3128 |
This example assumes that the mouse is connected to COM1: and can be |
| 3129 |
automatically recognised by the mouse daemon.</para> |
| 3130 |
|
| 3131 |
<programlisting>moused_enable="YES" |
| 3132 |
moused_type="auto" |
| 3133 |
moused_port="/dev/cuaa0"</programlisting> |
| 3134 |
|
| 3135 |
<para>See the &man.moused.8; manual page for a detailed description |
| 3136 |
of how to configure the mouse daemon to work with specific types |
| 3137 |
of serial mice.</para> |
| 3138 |
|
| 3139 |
</sect4> |
| 3140 |
|
| 3141 |
<sect4> |
| 3142 |
<title>Known Compatible Devices</title> |
| 3143 |
|
| 3144 |
<itemizedlist> |
| 3145 |
<listitem> |
| 3146 |
<para>Generic Microsoft Compatible Mice</para> |
| 3147 |
</listitem> |
| 3148 |
<listitem> |
| 3149 |
<para>Logitech First Mouse - Three Button</para> |
| 3150 |
</listitem> |
| 3151 |
<listitem> |
| 3152 |
<para>Microsoft Serial - PS/2 Compatible Mouse</para> |
| 3153 |
</listitem> |
| 3154 |
</itemizedlist> |
| 3155 |
</sect4> |
| 3156 |
|
| 3157 |
</sect3> |
| 3158 |
|
| 3159 |
<sect3> |
| 3160 |
<title>USB</title> |
| 3161 |
<para></para> |
| 3162 |
|
| 3163 |
<sect4> |
| 3164 |
<title>System Configuration</title> |
| 3165 |
|
| 3166 |
<para>The USB device drivers are a relatively new addition to FreeBSD |
| 3167 |
and have not yet been included in the GENERIC kernel. The following |
| 3168 |
prodecure is an example of how to setup the relevant drivers on a |
| 3169 |
typical system.</para> |
| 3170 |
|
| 3171 |
<procedure> |
| 3172 |
<step> |
| 3173 |
<para>Add the <devicename>ums</devicename> device to the usb |
| 3174 |
section of your <link linkend="kernelconfig-config">kernel |
| 3175 |
configuration</link>. For example: |
| 3176 |
</para> |
| 3177 |
|
| 3178 |
<programlisting>controller usb0 |
| 3179 |
controller uhci0 |
| 3180 |
device ums0</programlisting> |
| 3181 |
</step> |
| 3182 |
|
| 3183 |
<step> |
| 3184 |
<para><link linkend="kernelconfig-building">Rebuild and |
| 3185 |
install</link> the new kernel.</para> |
| 3186 |
</step> |
| 3187 |
|
| 3188 |
<step> |
| 3189 |
<para>Make the <link linkend="kernelconfig-nodes">device node</link> by |
| 3190 |
typing:</para> |
| 3191 |
<screen>&prompt.root; <userinput>cd /dev</userinput> |
| 3192 |
&prompt.root; <userinput>sh MAKEDEV ums0</userinput></screen> |
| 3193 |
</step> |
| 3194 |
|
| 3195 |
<step> |
| 3196 |
<para>Include the following text in <filename>/etc/rc.conf</filename> |
| 3197 |
to ensure correct operation of the mouse daemon:</para> |
| 3198 |
|
| 3199 |
<programlisting>moused_enable="YES" |
| 3200 |
moused_type="auto" |
| 3201 |
moused_port="/dev/ums0"</programlisting> |
| 3202 |
</step> |
| 3203 |
|
| 3204 |
<step> |
| 3205 |
<para>Reboot the system.</para> |
| 3206 |
<screen>&prompt.root; <userinput>shutdown -r now</userinput></screen> |
| 3207 |
</step> |
| 3208 |
|
| 3209 |
</procedure> |
| 3210 |
|
| 3211 |
</sect4> |
| 3212 |
|
| 3213 |
<sect4> |
| 3214 |
<title>Known Compatible Devices</title> |
| 3215 |
|
| 3216 |
<itemizedlist> |
| 3217 |
<listitem> |
| 3218 |
<para>Logitech TrackMan - Marble Wheel</para> |
| 3219 |
</listitem> |
| 3220 |
</itemizedlist> |
| 3221 |
</sect4> |
| 3222 |
|
| 3223 |
</sect3> |
| 3224 |
|
| 3075 |
</sect2> |
3225 |
</sect2> |
| 3076 |
|
3226 |
|
| 3077 |
<sect2> |
3227 |
<sect2> |