DragonFly On-Line Manual Pages
UMASS(4) DragonFly Kernel Interfaces Manual UMASS(4)
NAME
umass -- USB Mass Storage Devices driver
SYNOPSIS
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"
DESCRIPTION
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) 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.
HARDWARE
The umass driver supports USB Mass Storage devices, including:
o ADTEC Stick Drive AD-UST32M, 64M, 128M, 256M
o Denno FireWire/USB2 Removable 2.5-inch HDD Case MIFU-25CB20
o FujiFilm Zip USB Drive ZDR100 USB A
o GREEN HOUSE USB Flash Memory "PicoDrive" GH-UFD32M, 64M, 128M
o Huawei Mobile (SD slot)
o IBM 32MB USB Memory Key (P/N 22P5296)
o IBM 256MB USB Drive (MSYSTEM DiskOnKey2)
o IBM ThinkPad USB Portable CD-ROM Drive (P/N 33L5151)
o I-O DATA USB CD/CD-R/CD-RW/DVD-R/DVD-RW/DVD-RAM/DVD-ROM Drive DVR-
iUH2 (CDROM, DVD-RAM only)
o I-O DATA USB x6 CD-RW Drive CDRW-i64/USB (CDROM only)
o I-O DATA USB/IEEE1394 Portable HD Drive HDP-i30P/CI, HDP-i40P/CI
o Iomega USB Zip 100/250 drive
o Iomega Zip750 USB2.0 drive
o Keian USB1.1/2.0 3.5-inch HDD Case KU350A
o Kurouto Shikou USB 2.5-inch HDD Case GAWAP2.5PS-USB2.0
o LaCie P3 HardDrive USB 200GB
o Logitec LDR-H443U2 DVD-RAM/-R/+R/-RW/+RW drive
o Logitec Mobile USB Memory LMC-256UD
o Logitec USB1.1/2.0 HDD Unit SHD-E60U2
o Logitec USB Double-Speed Floppy Drive LFD-31U2
o Logitec USB/IEEE1394 DVD-RAM/R/RW Unit LDR-N21FU2 (CDROM only)
o MELCO USB Flash Disk "ClipDrive", RUF-C32M, -C64M, -C128M, -C256M,
-C512M
o MELCO USB Flash Disk "PetitDrive", RUF-32M, -64M, -128M, -256Mm
o MELCO USB2.0 Flash Disk "PetitDrive2", RUF-256M/U2, -512M/U2
o MELCO USB2.0 MO Drive MO-CH640U2
o Matshita CF-VFDU03 floppy drive
o Merlin SM300 MP3/WMA Player (256Mb)
o Microtech International, Inc. USB-SCSI-HD 50 USB to SCSI cable
o Motorola E398 Mobile Phone (TransFlash memory card)
o NOVAC USB2.0 2.5/3.5-inch HDD Case NV-HD351U
o PNY Attache Flash Drive
o Panasonic ("Matshita FDD CF-VFDU03")
o Panasonic KXL-CB20AN Portable DVD-ROM/CD-R/RW
o Panasonic KXL-CB35AN (DVD-ROM & CD-R/RW)
o Panasonic USB2.0 Portable CD-RW Drive KXL-RW40AN (CDROM only)
o Panasonic floppy drive
o Qware BeatZkey! Pro
o RATOC Systems USB2.0 Removable HDD Case U2-MDK1, U2-MDK1B
o SanDisk SDDR-31 (Compact Flash)
o SanDisk SDDR-75 (only Compact Flash port works)
o Sitecom CN-300 MultiFlash (MMC/SD, SmartMedia, CF, MemoryStick)
o Sony Portable CD-R/RW Drive CRX10U (CDROM only)
o TEAC Portable USB CD-ROM Unit CD-110PU/210PU
o Time DPA20B MP3 Player (1Gb)
o Trek Thumbdrive 8MB
o VAIO floppy drive (includes Y-E Data Flashbuster-U)
o Y-E Data floppy drive (720/1.44/2.88Mb)
Among the supported digital cameras are:
o Asahi Optical (PENTAX) Optio 230 & 330
EXAMPLES
device umass
device scbus
device da
device pass
Add the umass driver to the kernel.
camcontrol rescan 0
Rescan a Zip drive that was added after boot. The command above assumes
that the Zip drive is on the first SCSI bus in the system.
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. Again, this assumes that the flash reader is the
first SCSI bus in the system.
disklabel -w -r da0s0 zip100
newfs da0s0c
mount -t ufs /dev/da0s0c /mnt
Write a disklabel to the Zip drive (see vpo(4) for the disktab(5) entry),
creates the file system and mounts the new file system on /mnt.
newfs_msdos /dev/da0
Create a new FAT type file system. Care should be taken not to run
newfs(8) on devices that already contain data, as this will result in the
information being lost.
Many consumer devices such as digital cameras automatically create MS-DOS
based file systems when storing information such as images and videos.
These file systems can be accessed by specifying the file system type as
msdos when using mount(8).
SEE ALSO
ehci(4), ohci(4), uhci(4), usb(4), vpo(4), disktab(5), camcontrol(8),
disklabel(8)
AUTHORS
The umass driver was written by MAEKAWA Masahide <bishop@rr.iij4u.or.jp>
and Nick Hibma <n_hibma@FreeBSD.org>.
This manual page was written by Nick Hibma <n_hibma@FreeBSD.org>.
DragonFly 3.7 March 11, 2014 DragonFly 3.7