Setting Up USB Mice
Created: 06/13/2005
General Information
Assuming you have a supported usb interface, being uhci, ehci, or ohci, and a usb hid mouse with or without a scroll wheel, this guide may or may not help you.Configuration
Although most people report that their USB devices, including HID mice work out of the box on 5.x, I still recommend that you recompile your kernel to make sure everything works properly.|
# # # |
cd /usr/src/sys/i386/conf cp GENERIC HOSTNAME nano -w HOSTNAME |
|
/usr/src/sys/i386/conf/HOSTNAME # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ums # Mouse |
|
# # # # # # |
/usr/sbin/config HOSTNAME cd ../compile/HOSTNAME make depend make make install reboot |
/etc/rc.conf and add the following lines to the bottom:|
moused_enable="NO" |
/etc/X11/xorg.conf or /etc/X11/XF86Config file, under the InputDevice section, the following should be used if you have a usb mouse with a wheel.|
Identifier "Mouse1" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/ums0" Option "ZAxisMapping" "4 5" |
Author: James Cornell
unixpenguin2004 at earthlink dot net