xref: /freebsd/share/man/man4/sbp.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
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.\"
32*814b16baSGlen Barber.Dd February 8, 2012
333c60ba66SKatsushi Kobayashi.Dt SBP 4
343c60ba66SKatsushi Kobayashi.Os
353c60ba66SKatsushi Kobayashi.Sh NAME
363c60ba66SKatsushi Kobayashi.Nm sbp
373c60ba66SKatsushi Kobayashi.Nd Serial Bus Protocol 2 (SBP-2) Mass Storage Devices driver
383c60ba66SKatsushi Kobayashi.Sh SYNOPSIS
39f5bff460SHidetoshi Shimokawa.Cd "kldload firewire"
40f5bff460SHidetoshi Shimokawa.Cd "kldload cam"
41f5bff460SHidetoshi Shimokawa.Cd "kldload sbp"
42f5bff460SHidetoshi Shimokawa.Pp
43f5bff460SHidetoshi Shimokawaor
44f5bff460SHidetoshi Shimokawa.Pp
453c60ba66SKatsushi Kobayashi.Cd "device sbp"
46febe9e5dSHidetoshi Shimokawa.Cd "device firewire"
47febe9e5dSHidetoshi Shimokawa.Cd "device scbus"
48febe9e5dSHidetoshi Shimokawa.Cd "device da"
49febe9e5dSHidetoshi Shimokawa.Cd "device cd"
50febe9e5dSHidetoshi Shimokawa.Cd "device pass"
513c60ba66SKatsushi Kobayashi.Sh DESCRIPTION
523c60ba66SKatsushi KobayashiThe
533c60ba66SKatsushi Kobayashi.Nm
54dc17e7c1SHidetoshi Shimokawadriver provides support for SBP-2 devices that attach to the FireWire
55febe9e5dSHidetoshi Shimokawa(IEEE 1394) port.
5659940bacSChristian BruefferIt should work with SBP-2 devices which the CAM layer supports, for example,
5759940bacSChristian BruefferHDDs, CDROM drives and DVD drives.
583c60ba66SKatsushi Kobayashi.Pp
59ace5be68SRuslan ErmilovSome users familiar with
60057d2882SHidetoshi Shimokawa.Xr umass 4
61ace5be68SRuslan Ermilovmight wonder why the device is not detached at the CAM layer when the device
62ace5be68SRuslan Ermilovis unplugged.
63ace5be68SRuslan ErmilovIt is detached only if the device has not been plugged again
64ace5be68SRuslan Ermilovduring several bus resets.
65ace5be68SRuslan ErmilovThis is for preventing to detach an active file system
6659940bacSChristian Brueffereven when the device cannot be probed correctly for some reason after a bus reset
67057d2882SHidetoshi Shimokawaor when the device is temporary disconnected because the user changes the bus
68ace5be68SRuslan Ermilovtopology.
69ace5be68SRuslan ErmilovIf you want to force to detach the device, run
70ace5be68SRuslan Ermilov.Dq Nm fwcontrol Fl r
718fce93d0SHidetoshi Shimokawaseveral times or set hw.firewire.hold_count=0 by
72*814b16baSGlen Barber.Xr sysctl 8 .
73fc9dcee6SHidetoshi Shimokawa.Pp
74bf7f20c2SRuslan ErmilovSome (broken) HDDs do not work well with tagged queuing.
75bf7f20c2SRuslan ErmilovIf you have problems with such drives, try
76fc9dcee6SHidetoshi Shimokawa.Dq Nm camcontrol [device id] tags -N 1
77fc9dcee6SHidetoshi Shimokawato disable tagged queuing.
78febe9e5dSHidetoshi Shimokawa.Sh SEE ALSO
79dc17e7c1SHidetoshi Shimokawa.Xr cam 4 ,
80febe9e5dSHidetoshi Shimokawa.Xr firewire 4 ,
81ace5be68SRuslan Ermilov.Xr camcontrol 8 ,
8283fa407cSHidetoshi Shimokawa.Xr fwcontrol 8 ,
83f5bff460SHidetoshi Shimokawa.Xr kldload 8 ,
8483fa407cSHidetoshi Shimokawa.Xr sysctl 8
853c60ba66SKatsushi Kobayashi.Sh AUTHORS
863c60ba66SKatsushi Kobayashi.An -nosplit
873c60ba66SKatsushi KobayashiThe
883c60ba66SKatsushi Kobayashi.Nm
893c60ba66SKatsushi Kobayashidriver was written by
903c60ba66SKatsushi Kobayashi.An Katsushi Kobayashi
913c60ba66SKatsushi Kobayashiand
923c60ba66SKatsushi Kobayashi.An Hidetoshi Shimokawa .
933c60ba66SKatsushi Kobayashi.Pp
943c60ba66SKatsushi KobayashiThis manual page was written by
953c60ba66SKatsushi Kobayashi.An Katsushi Kobayashi .
96