1.\" Copyright (c) 1999 2.\" Nick Hibma <n_hibma@FreeBSD.org>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 3. Neither the name of the author nor the names of any co-contributors 13.\" may be used to endorse or promote products derived from this software 14.\" without specific prior written permission. 15.\" 16.\" THIS SOFTWARE IS PROVIDED BY NICK HIBMA AND CONTRIBUTORS ``AS IS'' AND 17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19.\" ARE DISCLAIMED. IN NO EVENT SHALL NICK HIBMA OR THE VOICES IN HIS HEAD 20.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 26.\" THE POSSIBILITY OF SUCH DAMAGE. 27.\" 28.\" $FreeBSD$ 29.\" 30.Dd May 3, 1999 31.Dt UMASS 4 32.Os 33.Sh NAME 34.Nm umass 35.Nd USB Mass Storage Devices driver 36.Sh SYNOPSIS 37.Cd "device umass" 38.Sh DESCRIPTION 39The 40.Nm 41driver provides support for Mass Storage devices that attach to the USB 42port. 43Supported are 44.Pp 45.Bl -item -compact 46.It 47Iomega USB Zip 100 drive 48.It 49Iomega USB Zip 250 drive 50.It 51Microtech International, Inc. USB-SCSI-HD 50 USB to SCSI cable. 52.It 53Panasonic ("Matshita FDD CF-VFDU03") 54.It 55Trek Thumbdrive 8MB 56.It 57VAIO floppy drive (includes Y-E Data Flashbuster-U) 58.El 59.Pp 60The driver also supports some USB adapters for removable media. 61Among the supported models are: 62.Pp 63.Bl -item -compact 64.It 65SanDisk SDDR-31 (Compact Flash) 66.It 67SanDisk SDDR-75 (only Compact Flash port works) 68.It 69Sitecom CN-300 MultiFlash (MMC/SD, SmartMedia, CF, MemoryStick) 70.El 71.Pp 72Among the supported digital cameras are: 73.Pp 74.Bl -item -compact 75.It 76Asahi Optical (PENTAX) Optio 230 & 330 77.El 78.Pp 79.Nm usb 80and one of 81.Nm uhci 82or 83.Nm ohci 84must be configured in the kernel as well. 85Last but not least, support for 86SCSI drives, 87.Nm da 88.Sh EXAMPLES 89.Bd -literal -offset indent 90device umass 91device scbus 92device da 93device pass 94.Ed 95.Pp 96Add the 97.Nm 98driver to the kernel. 99.Pp 100.Dl "camcontrol rescan 0" 101.Pp 102Rescan a Zip drive that was added after boot. 103The command above 104assumes that the Zip drive is on the first SCSI bus in the system. 105.Bd -literal -offset indent 106camcontrol rescan 0:0:0 107camcontrol rescan 0:0:1 108camcontrol rescan 0:0:2 109camcontrol rescan 0:0:3 110.Ed 111.Pp 112Rescan all slots on a multi-slot flash reader, where the slots map to separate 113LUNs on a single SCSI ID. 114Typically only the first slot will be enabled at boot time. 115Again, this assumes that the flash reader is the first SCSI bus in the system. 116.Bd -literal -offset indent 117disklabel -w -r da0 zip100 118newfs da0c 119mount -t ufs /dev/da0c /mnt 120.Ed 121.Pp 122Write a disklabel to the Zip drive (see 123.Nm vpo 124for the 125.Nm disktab 126entry), creates the file system and mounts the new file system on /mnt. 127.Pp 128.Dl "newfs_msdos /dev/da0" 129.Pp 130Create a new FAT type file system. 131.Sh SEE ALSO 132.Xr ohci 4 , 133.Xr uhci 4 , 134.Xr usb 4 , 135.Xr vpo 4 , 136.Xr disktab 5 , 137.Xr camcontrol 8 , 138.Xr disklabel 8 139.\".Sh HISTORY 140.Sh AUTHORS 141.An -nosplit 142The 143.Nm 144driver was written by 145.An MAEKAWA Masahide Aq bishop@rr.iij4u.or.jp 146and 147.An Nick Hibma Aq n_hibma@FreeBSD.org . 148.Pp 149This manual page was written by 150.An Nick Hibma Aq n_hibma@FreeBSD.org . 151