xref: /freebsd/share/man/man4/sbp.4 (revision 8fce93d0cac0b13d4aa4b0dbdeb4f16998d8be19)
13c60ba66SKatsushi Kobayashi.\" Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
23c60ba66SKatsushi Kobayashi.\" All rights reserved.
33c60ba66SKatsushi Kobayashi.\"
43c60ba66SKatsushi Kobayashi.\" Redistribution and use in source and binary forms, with or without
53c60ba66SKatsushi Kobayashi.\" modification, are permitted provided that the following conditions
63c60ba66SKatsushi Kobayashi.\" are met:
73c60ba66SKatsushi Kobayashi.\" 1. Redistributions of source code must retain the above copyright
83c60ba66SKatsushi Kobayashi.\"    notice, this list of conditions and the following disclaimer.
93c60ba66SKatsushi Kobayashi.\" 2. Redistributions in binary form must reproduce the above copyright
103c60ba66SKatsushi Kobayashi.\"    notice, this list of conditions and the following disclaimer in the
113c60ba66SKatsushi Kobayashi.\"    documentation and/or other materials provided with the distribution.
123c60ba66SKatsushi Kobayashi.\" 3. All advertising materials mentioning features or use of this software
133c60ba66SKatsushi Kobayashi.\"    must display the acknowledgement as bellow:
143c60ba66SKatsushi Kobayashi.\"
153c60ba66SKatsushi Kobayashi.\"      This product includes software developed by K. Kobayashi
163c60ba66SKatsushi Kobayashi.\"
173c60ba66SKatsushi Kobayashi.\" 4. The name of the author may not be used to endorse or promote products
183c60ba66SKatsushi Kobayashi.\"    derived from this software without specific prior written permission.
193c60ba66SKatsushi Kobayashi.\"
203c60ba66SKatsushi Kobayashi.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
213c60ba66SKatsushi Kobayashi.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
223c60ba66SKatsushi Kobayashi.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
233c60ba66SKatsushi Kobayashi.\" DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
243c60ba66SKatsushi Kobayashi.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
253c60ba66SKatsushi Kobayashi.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
263c60ba66SKatsushi Kobayashi.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
273c60ba66SKatsushi Kobayashi.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
283c60ba66SKatsushi Kobayashi.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
293c60ba66SKatsushi Kobayashi.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
303c60ba66SKatsushi Kobayashi.\" POSSIBILITY OF SUCH DAMAGE.
313c60ba66SKatsushi Kobayashi.\"
323c60ba66SKatsushi Kobayashi.\" $FreeBSD$
333c60ba66SKatsushi Kobayashi.\"
343c60ba66SKatsushi Kobayashi.Dd May 20, 2002
353c60ba66SKatsushi Kobayashi.Dt SBP 4
363c60ba66SKatsushi Kobayashi.Os
373c60ba66SKatsushi Kobayashi.Sh NAME
383c60ba66SKatsushi Kobayashi.Nm sbp
393c60ba66SKatsushi Kobayashi.Nd Serial Bus Protocol 2 (SBP-2) Mass Storage Devices driver
403c60ba66SKatsushi Kobayashi.Sh SYNOPSIS
41f5bff460SHidetoshi Shimokawa.Cd "kldload firewire"
42f5bff460SHidetoshi Shimokawa.Cd "kldload cam"
43f5bff460SHidetoshi Shimokawa.Cd "kldload sbp"
44f5bff460SHidetoshi Shimokawa.Pp
45f5bff460SHidetoshi Shimokawaor
46f5bff460SHidetoshi Shimokawa.Pp
473c60ba66SKatsushi Kobayashi.Cd "device sbp"
48febe9e5dSHidetoshi Shimokawa.Cd "device firewire"
49febe9e5dSHidetoshi Shimokawa.Cd "device scbus"
50febe9e5dSHidetoshi Shimokawa.Cd "device da"
51febe9e5dSHidetoshi Shimokawa.Cd "device cd"
52febe9e5dSHidetoshi Shimokawa.Cd "device pass"
533c60ba66SKatsushi Kobayashi.Sh DESCRIPTION
543c60ba66SKatsushi KobayashiThe
553c60ba66SKatsushi Kobayashi.Nm
56dc17e7c1SHidetoshi Shimokawadriver provides support for SBP-2 devices that attach to the FireWire
57febe9e5dSHidetoshi Shimokawa(IEEE 1394) port.
5859940bacSChristian BruefferIt should work with SBP-2 devices which the CAM layer supports, for example,
5959940bacSChristian BruefferHDDs, CDROM drives and DVD drives.
603c60ba66SKatsushi Kobayashi.Pp
61ace5be68SRuslan ErmilovSome users familiar with
62057d2882SHidetoshi Shimokawa.Xr umass 4
63ace5be68SRuslan Ermilovmight wonder why the device is not detached at the CAM layer when the device
64ace5be68SRuslan Ermilovis unplugged.
65ace5be68SRuslan ErmilovIt is detached only if the device has not been plugged again
66ace5be68SRuslan Ermilovduring several bus resets.
67ace5be68SRuslan ErmilovThis is for preventing to detach an active file system
6859940bacSChristian Brueffereven when the device cannot be probed correctly for some reason after a bus reset
69057d2882SHidetoshi Shimokawaor when the device is temporary disconnected because the user changes the bus
70ace5be68SRuslan Ermilovtopology.
71ace5be68SRuslan ErmilovIf you want to force to detach the device, run
72ace5be68SRuslan Ermilov.Dq Nm fwcontrol Fl r
738fce93d0SHidetoshi Shimokawaseveral times or set hw.firewire.hold_count=0 by
748fce93d0SHidetoshi Shimokawa.Xr sysctl 1 .
75fc9dcee6SHidetoshi Shimokawa.Pp
76bf7f20c2SRuslan ErmilovSome (broken) HDDs do not work well with tagged queuing.
77bf7f20c2SRuslan ErmilovIf you have problems with such drives, try
78fc9dcee6SHidetoshi Shimokawa.Dq Nm camcontrol [device id] tags -N 1
79fc9dcee6SHidetoshi Shimokawato disable tagged queuing.
80febe9e5dSHidetoshi Shimokawa.Sh SEE ALSO
81dc17e7c1SHidetoshi Shimokawa.Xr cam 4 ,
82febe9e5dSHidetoshi Shimokawa.Xr firewire 4 ,
83ace5be68SRuslan Ermilov.Xr camcontrol 8 ,
8483fa407cSHidetoshi Shimokawa.Xr fwcontrol 8 ,
85f5bff460SHidetoshi Shimokawa.Xr kldload 8 ,
8683fa407cSHidetoshi Shimokawa.Xr sysctl 8
873c60ba66SKatsushi Kobayashi.Sh AUTHORS
883c60ba66SKatsushi Kobayashi.An -nosplit
893c60ba66SKatsushi KobayashiThe
903c60ba66SKatsushi Kobayashi.Nm
913c60ba66SKatsushi Kobayashidriver was written by
923c60ba66SKatsushi Kobayashi.An Katsushi Kobayashi
933c60ba66SKatsushi Kobayashiand
943c60ba66SKatsushi Kobayashi.An Hidetoshi Shimokawa .
953c60ba66SKatsushi Kobayashi.Pp
963c60ba66SKatsushi KobayashiThis manual page was written by
973c60ba66SKatsushi Kobayashi.An Katsushi Kobayashi .
98