2002-11-20 23:01:59 +00:00
|
|
|
.\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
|
|
|
|
.\" All rights reserved.
|
2003-05-20 21:01:21 +00:00
|
|
|
.\"
|
2002-11-20 23:01:59 +00:00
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
2003-05-20 21:01:21 +00:00
|
|
|
.\"
|
2002-11-20 23:01:59 +00:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
2003-05-20 21:01:21 +00:00
|
|
|
.\"
|
2003-05-10 21:50:37 +00:00
|
|
|
.\" $Id: hcseriald.8,v 1.2 2003/04/27 19:45:33 max Exp $
|
2002-11-20 23:01:59 +00:00
|
|
|
.\" $FreeBSD$
|
2003-05-20 21:01:21 +00:00
|
|
|
.\"
|
2002-11-20 23:01:59 +00:00
|
|
|
.Dd June 14, 2002
|
|
|
|
.Dt HCSERIALD 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm hcseriald
|
|
|
|
.Nd supervise serial Bluetooth devices
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2003-05-20 21:01:21 +00:00
|
|
|
.Op Fl dh
|
|
|
|
.Fl f Ar device
|
|
|
|
.Fl n Ar node_name
|
2002-11-20 23:01:59 +00:00
|
|
|
.Op Fl s Ar speed
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2003-05-20 21:01:21 +00:00
|
|
|
utility handles serial Bluetooth devices.
|
|
|
|
It does one simple thing:
|
|
|
|
it opens the specified serial device, sets the device parameters, and pushes
|
|
|
|
the
|
|
|
|
.Dv H4
|
2002-11-20 23:01:59 +00:00
|
|
|
line discipline.
|
|
|
|
.Pp
|
|
|
|
The options are as follows:
|
|
|
|
.Bl -tag -width indent
|
2003-05-20 21:01:21 +00:00
|
|
|
.It Fl d
|
|
|
|
Do not disassociate from the controlling terminal, i.e., run in foreground.
|
2002-11-20 23:01:59 +00:00
|
|
|
.It Fl f Ar device
|
2003-05-20 21:01:21 +00:00
|
|
|
Callout device name.
|
2002-11-20 23:01:59 +00:00
|
|
|
Example:
|
2003-05-20 21:01:21 +00:00
|
|
|
.Fl f Pa /dev/cuaa0 .
|
2003-05-10 21:50:37 +00:00
|
|
|
.It Fl h
|
|
|
|
Display usage message and exit.
|
2003-05-20 21:01:21 +00:00
|
|
|
.It Fl n Ar node_name
|
|
|
|
Set H4 Netgraph node name.
|
|
|
|
Example:
|
|
|
|
.Fl n Li sio0 .
|
|
|
|
.It Fl s Ar speed
|
|
|
|
Set serial device speed to
|
|
|
|
.Ar speed .
|
|
|
|
Example:
|
|
|
|
.Fl s Li 115200 .
|
2002-11-20 23:01:59 +00:00
|
|
|
.El
|
|
|
|
.Sh FILES
|
2003-05-20 21:01:21 +00:00
|
|
|
.Bl -tag -width ".Pa /var/run/hcserial. Ns Ar * Ns Pa .pid" -compact
|
|
|
|
.It Pa /var/run/hcserial. Ns Ar * Ns Pa .pid
|
|
|
|
Process ID of the currently running
|
2002-11-20 23:01:59 +00:00
|
|
|
.Nm
|
2003-05-20 21:01:21 +00:00
|
|
|
daemon.
|
|
|
|
Where
|
|
|
|
.Ar *
|
|
|
|
is an H4 Netgraph node name.
|
2002-11-20 23:01:59 +00:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr ng_h4 4 ,
|
|
|
|
.Xr ng_hci 4 ,
|
2003-05-20 21:01:21 +00:00
|
|
|
.Xr tty 4 ,
|
2002-11-20 23:01:59 +00:00
|
|
|
.Xr hccontrol 8
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An Maksim Yevmenkin Aq m_evmenkin@yahoo.com
|