xref: /dragonfly/share/man/man4/umass.4 (revision 36a3d1d6)
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.\"	$DragonFly: src/share/man/man4/umass.4,v 1.4 2008/01/28 14:57:52 matthias Exp $
33.\"
34.Dd May 3, 1999
35.Dt UMASS 4
36.Os
37.Sh NAME
38.Nm umass
39.Nd USB Mass Storage Devices driver
40.Sh SYNOPSIS
41.Cd "device umass"
42.Sh DESCRIPTION
43The
44.Nm
45driver provides support for Mass Storage devices that attach to the USB
46port.
47Supported are
48.Pp
49.Bl -bullet -compact
50.It
51Iomega USB Zip 100 drive
52.It
53Iomega USB Zip 250 drive
54.It
55Microtech International, Inc. USB-SCSI-HD 50 USB to SCSI cable.
56.It
57Panasonic ("Matshita FDD CF-VFDU03")
58.It
59Trek Thumbdrive 8MB
60.It
61VAIO floppy drive (includes Y-E Data Flashbuster-U)
62.El
63.Pp
64The driver also supports some USB adapters for removable media.
65Among the supported models are:
66.Pp
67.Bl -bullet -compact
68.It
69SanDisk SDDR-31 (Compact Flash)
70.It
71SanDisk SDDR-75 (only Compact Flash port works)
72.It
73Sitecom CN-300 MultiFlash (MMC/SD, SmartMedia, CF, MemoryStick)
74.El
75.Pp
76.Nm usb
77and one of
78.Nm uhci
79or
80.Nm ohci
81must be configured in the kernel as well.
82Last but not least, support for
83SCSI drives,
84.Nm da
85.Sh EXAMPLES
86.Dl device umass
87.Dl device scbus
88.Dl device da
89.Dl device pass
90.Pp
91Add the
92.Nm
93driver to the kernel.
94.Pp
95.Dl camcontrol rescan 0
96.Pp
97Rescan a Zip drive that was added after boot.
98The command above
99assumes that the Zip drive is the first SCSI bus in the system.
100.Pp
101.Dl camcontrol rescan 0:0:0
102.Dl camcontrol rescan 0:0:1
103.Dl camcontrol rescan 0:0:2
104.Dl camcontrol rescan 0:0:3
105.Pp
106Rescan all slots on a multi-slot flash reader, where the slots map to separate
107LUNs on a single SCSI ID.  Typically only the first slot will be enabled at
108boot time.  Again, this assumes that the flash reader is the first SCSI bus in
109the system.
110.Pp
111.Dl disklabel -w -r da0s0 zip100
112.Dl newfs da0s0c
113.Dl mount -t ufs /dev/da0s0c /mnt
114.Pp
115Write a disklabel to the Zip drive (see
116.Nm vpo
117for the
118.Nm disktab
119entry), creates the filesystem and mounts the new filesystem on /mnt.
120.Pp
121.Dl newfs_msdos /dev/da0
122.Pp
123Create a new FAT type filesystem.
124.Sh SEE ALSO
125.Xr ohci 4 ,
126.Xr uhci 4 ,
127.Xr usb 4 ,
128.Xr vpo 4 ,
129.Xr disktab 5 ,
130.Xr camcontrol 8 ,
131.Xr disklabel 8
132.\".Sh HISTORY
133.Sh AUTHORS
134.An -nosplit
135The
136.Nm
137driver was written by
138.An MAEKAWA Masahide Aq bishop@rr.iij4u.or.jp
139and
140.An Nick Hibma Aq n_hibma@FreeBSD.org .
141.Pp
142This manual page was written by
143.An Nick Hibma Aq n_hibma@FreeBSD.org .
144