umass(4freebsd)

umass4freebsd

Usb mass storage devices driver

Usage

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

device scbus device usb device umass

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

umass_load="YES"

Overview

The umass driver provides support for Mass Storage devices that attach to the USB port.

To use the umass driver, usb(4) and one of uhci(4) or ohci(4) or ehci(4) or xhci(4) must be configured in the kernel. Additionally, since umass uses the SCSI subsystem and sometimes acts as a SCSI device, it requires da(4) and scbus(4) to be included in the kernel.

Examples

device umass
device scbus
device da
device pass

Add the umass driver to the kernel.

camcontrol rescan 0:0:0
camcontrol rescan 0:0:1
camcontrol rescan 0:0:2
camcontrol rescan 0:0:3

Rescan all slots on a multi-slot flash reader, where the slots map to separate LUNs on a single SCSI ID. Typically only the first slot will be enabled at boot time. This assumes that the flash reader is the first SCSI bus in the system and has 4 slots.

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 umass driver was written by MAEKAWA Masahide ⟨[email protected]⟩ and Nick Hibma ⟨[email protected]⟩.

This manual page was written by Nick Hibma ⟨[email protected]⟩.

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