xref: /freebsd/share/man/man4/umass.4 (revision 77b7cdf1999ee965ad494fddd184b18f532ac91a)
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
72.Nm usb
73and one of
74.Nm uhci
75or
76.Nm ohci
77must be configured in the kernel as well.
78Last but not least, support for
79SCSI drives,
80.Nm da
81.Sh EXAMPLES
82.Dl device umass
83.Dl device scbus
84.Dl device da
85.Dl device pass
86.Pp
87Add the
88.Nm
89driver to the kernel.
90.Pp
91.Dl camcontrol rescan 0
92.Pp
93Rescan a Zip drive that was added after boot.
94The command above
95assumes that the Zip drive is the first SCSI bus in the system.
96.Pp
97.Dl camcontrol rescan 0:0:0
98.Dl camcontrol rescan 0:0:1
99.Dl camcontrol rescan 0:0:2
100.Dl camcontrol rescan 0:0:3
101.Pp
102Rescan all slots on a multi-slot flash reader, where the slots map to separate
103LUNs on a single SCSI ID.  Typically only the first slot will be enabled at
104boot time.  Again, this assumes that the flash reader is the first SCSI bus in
105the system.
106.Pp
107.Dl disklabel -w -r da0 zip100
108.Dl newfs da0c
109.Dl mount -t ufs /dev/da0c /mnt
110.Pp
111Write a disklabel to the Zip drive (see
112.Nm vpo
113for the
114.Nm disktab
115entry), creates the file system and mounts the new file system on /mnt.
116.Pp
117.Dl newfs_msdos /dev/da0
118.Pp
119Create a new FAT type file system.
120.Sh SEE ALSO
121.Xr ohci 4 ,
122.Xr uhci 4 ,
123.Xr usb 4 ,
124.Xr vpo 4 ,
125.Xr disktab 5 ,
126.Xr camcontrol 8 ,
127.Xr disklabel 8
128.\".Sh HISTORY
129.Sh AUTHORS
130.An -nosplit
131The
132.Nm
133driver was written by
134.An MAEKAWA Masahide Aq bishop@rr.iij4u.or.jp
135and
136.An Nick Hibma Aq n_hibma@FreeBSD.org .
137.Pp
138This manual page was written by
139.An Nick Hibma Aq n_hibma@FreeBSD.org .
140