Module Name: src
Committed By: kiyohara
Date: Mon Mar 8 18:35:51 UTC 2010
Modified Files:
src/usr.sbin/btattach: btattach.8
Log Message:
Add -t, -F, -P.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/btattach/btattach.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/btattach/btattach.8
diff -u src/usr.sbin/btattach/btattach.8:1.3 src/usr.sbin/btattach/btattach.8:1.4
--- src/usr.sbin/btattach/btattach.8:1.3 Sun Dec 6 13:21:37 2009
+++ src/usr.sbin/btattach/btattach.8 Mon Mar 8 18:35:51 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: btattach.8,v 1.3 2009/12/06 13:21:37 kiyohara Exp $
+.\" $NetBSD: btattach.8,v 1.4 2010/03/08 18:35:51 kiyohara Exp $
.\"
.\" Copyright (c) 2007 KIYOHARA Takashi
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 6, 2009
+.Dd March 9, 2010
.Dt BTATTACH 8
.Os
.Sh NAME
@@ -32,11 +32,15 @@
.Nd attach serial lines as Bluetooth HCI interfaces
.Sh SYNOPSIS
.Nm
-.Op Fl dfop
+.Op Fl dFfoPp
.Op Fl i Ar speed
.Op Ar type
.Ar tty
.Ar speed
+.Nm
+.Fl t
+.Op Fl dFfoPp
+.Ar tty
.Sh DESCRIPTION
.Nm
is used to assign a
@@ -89,6 +93,8 @@
.It Fl d
debug mode.
print initialization IO and do not detach.
+.It Fl F
+Disable flow control.
.It Fl f
Enable flow control.
.It Fl i Ar speed
@@ -97,11 +103,20 @@
for the Bluetooth module to use during the initialization phase.
.It Fl o
Enable odd parity.
+.It Fl P
+Disable parity.
.It Fl p
Enable parity (even parity).
+.It Fl t
+Test mode.
.El
.Pp
Only the super-user may attach a Bluetooth HCI interface.
+.Pp
+Test mode guess speed by received link-establish packet from HCI.
+Or
+.Xr btuart 4
+, if not respond.
.Sh FILES
.Bl -tag -compact
.It Pa /var/run/btattach- Ns Bro tty Brc Ns .pid