|
Author: Benn Bollay
Date: 20-03-00 06:42
Gentlebeings --
For your quick and dirty USB Mouse support, please following these easy steps:
1) Add the appropriate entries to your conf file
device uhci
device ohci
device usb
device ums
2) Add the approparite lines to your rc.conf file
moused_enable="NO"
moused_flags="/dev/ums0"
usbd_enable="YES"
usbd_flags="" (though I like -vv personally, just for the scroll factor)
3) Make sure your usbd.conf has these lines in it:
device "Mouse"
devname "ums[0-9]+"
attach "/usr/sbin/moued -p /dev/${DEVNAME} -l
/var/run/moused.${DEVNAME}.pid"
4) Create the device entry
cd /dev ; ./MAKEDEV ums0 ;
5) Rebuild your kernel and reboot. As always, I would recommend saving /kernel to /kernel.stable before trying out the new kernel. It's a handy thing to have around anyways.
I don't think I forgot anything, but if I did please let me know :)
--Benn
|
|
Reply To This Message
|
|
Author: Benn Bollay
Date: 20-03-00 06:49
Man Pages:
usb(4)
usbd(8)
usbd.conf(5)
usbdevs(8)
ums(4)
Hope this helps someone,
--Benn
P.S.
If you have X11 pointed at sysmouse, then this will work just fine, as well as support plugging/unplugging the mouse at runtime w/o the need of a manual -HUP.
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 20-03-00 11:10
Thanks. I've made this into an article. See <a href="http://www.freebsddiary.org/usb-mouse.html">http://www.freebsddiary.org/usb-mouse.html</a>
cheers.
|
|
Reply To This Message
|
|