---
name: "ums"
section: "4"
platform: "linux"
package: "freebsd-manpages"
version: "6.0-5"
release: "Debian 4.0 (Etch)"
platforms: ["linux", "freebsd", "openbsd"]
url: "https://new.carta.tech/ums"
---

# ums(4)

USB mouse driver

## NAME

**ums** – USB mouse driver

## SYNOPSIS

**device ums**

## 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. **usb** and one of **uhci** or **ohci** must be configured in the kernel as well.

The /dev/ums device presents the mouse as a *sysmouse* or *mousesystems* type device. See **moused** for an explanation of these mouse types.

## FILES

- */dev/ums0*

  blocking device node

## EXAMPLES

```
device ums
```

Add the **ums** driver to the kernel.

```
moused -p /dev/ums0 -t auto
```

Use the first **USB** mouse on the system as your console mouse.

Change the "Pointer" section in **xorg.conf** to the following

```
Device /dev/ums0
```

```
Protocol Auto
```

to be able to use the USB mouse under X. When using the XiG accelerated X server, change the mouse device to /dev/ums0 and the mouse type to "MouseSystems".

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)](/ohci/4.md), [sysmouse(4)](/sysmouse/4.md), [uhci(4)](/uhci/4.md), [usb(4)](/usb/4.md), [xorg.conf(5)](/xorg.conf/5.md), [moused(8)](/moused/8.md)

## 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⟩.
