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