logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ums — USB mouse driver

Authors

       The ums driver was written by Lennart Augustsson <augustss@cs.chalmers.se> for NetBSD and was adopted for
       FreeBSD by MAEKAWA Masahide <bishop@rr.iij4u.or.jp>.

       This  manual  page  was  written  by  Nick  Hibma  <n_hibma@FreeBSD.org>  with input from Kazutaka YOKOTA
       <yokota@zodiac.mech.utsunomiya-u.ac.jp>.

Debian                                           April 24, 2018                                           UMS(4)

Description

       The ums 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.

Examples

       Use the first USB mouse on the system as your console mouse:

             moused-p/dev/ums0-tauto

       To be able to use the USB mouse under X, change the "Pointer" section in xorg.conf to the following:

             Device/dev/ums0ProtocolAuto

       If you want to be able to use the mouse in both virtual consoles as well as in X change it to:

             Device/dev/sysmouseProtocolAuto

Files

/dev/ums0  blocking device node

Name

       ums — USB mouse driver

See Also

ohci(4), sysmouse(4), uhci(4), usb(4), xorg.conf(5) (ports/x11/xorg), moused(8)

Synopsis

       To compile this driver into the kernel, place the following lines in your kernel configuration file:

             deviceumsdeviceuhcideviceohcideviceusb

       Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

             ums_load="YES"

Sysctl Variables

       The following variables are available as both sysctl(8) variables and loader(8) tunables:

       hw.usb.ums.debug
               Debug output level, where 0 is debugging  disabled  and  larger  values  increase  debug  message
               verbosity.  Default is 0.

See Also