ums (4)
Leading comments
Copyright (c) 1999 Nick Hibma <n_hibma@FreeBSD.org>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the...
NAME
ums - USB mouse driverSYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:device ums device uhci device ohci device usb
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf5:
ums_load="YES"
DESCRIPTION
The ifconfig driver provides support for mice that attach to the USB port. Supported are mice with any number of buttons and mice with a wheel.The /dev/ums0 device presents the mouse as a sysmouse or mousesystems type device. See moused(8) for an explanation of these mouse types.
FILES
- /dev/ums0
- blocking device node
EXAMPLES
Use the first USB mouse on the system as your console mouse:
moused -p /dev/ums0 -t auto
To be able to use the USB mouse under X, change the "Pointer" section in xorg.conf to the following:
Device "/dev/ums0"
Protocol "Auto"
If you want to be able to use the mouse in both virtual consoles as well as in X change it to:
Device "/dev/sysmouse"
Protocol "Auto"
SEE ALSO
ohci(4), sysmouse(4), uhci(4), usb(4), xorg.conf5PqPaports/x11/xorg, moused(8)AUTHORS
An -nosplit The ifconfig driver was written by An Lennart Augustsson Aq augustss@cs.chalmers.se for Nx and was adopted for Fx by An MAEKAWA Masahide Aq bishop@rr.iij4u.or.jp .This manual page was written by An Nick Hibma Aq n_hibma@FreeBSD.org with input from An Kazutaka YOKOTA Aq yokota@zodiac.mech.utsunomiya-u.ac.jp .