ums(4freebsd)

ums4freebsd

Usb mouse driver

Usage

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.conf(5):

ums_load="YES"

Overview

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.

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.

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

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

Authors

The ums driver was written by Lennart Augustsson ⟨[email protected]⟩ for NetBSD and was adopted for FreeBSD by MAEKAWA Masahide ⟨[email protected]⟩.

This manual page was written by Nick Hibma ⟨[email protected]⟩ with input from Kazutaka YOKOTA ⟨[email protected]⟩.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.