Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/btattach Add -t, -F, -P.



details:   https://anonhg.NetBSD.org/src/rev/9bcd686fd7e3
branches:  trunk
changeset: 752867:9bcd686fd7e3
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Mon Mar 08 18:35:51 2010 +0000

description:
Add -t, -F, -P.

diffstat:

 usr.sbin/btattach/btattach.8 |  21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diffs (65 lines):

diff -r c7e451e2b164 -r 9bcd686fd7e3 usr.sbin/btattach/btattach.8
--- a/usr.sbin/btattach/btattach.8      Mon Mar 08 17:59:52 2010 +0000
+++ b/usr.sbin/btattach/btattach.8      Mon Mar 08 18:35:51 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index