2002-11-20 23:01:59 +00:00
|
|
|
.\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
|
|
|
|
.\" All rights reserved.
|
2002-12-12 13:26:32 +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.
|
2002-12-12 13:26:32 +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.
|
2002-12-12 13:26:32 +00:00
|
|
|
.\"
|
2002-11-20 23:01:59 +00:00
|
|
|
.\" $FreeBSD$
|
2002-12-12 13:26:32 +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
|
|
|
|
.Op Fl f Ar device
|
2002-12-12 13:26:32 +00:00
|
|
|
.Op Fl n Ar node_name
|
2002-11-20 23:01:59 +00:00
|
|
|
.Op Fl s Ar speed
|
2002-12-12 13:26:32 +00:00
|
|
|
.Op Fl d
|
2002-11-20 23:01:59 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2002-12-12 13:26:32 +00:00
|
|
|
utility
|
|
|
|
handles serial Bluetooth devices.
|
|
|
|
It does one simple thing.
|
|
|
|
It opens
|
|
|
|
specified serial device, sets device parameters and pushes
|
|
|
|
.Em H4
|
2002-11-20 23:01:59 +00:00
|
|
|
line discipline.
|
|
|
|
.Pp
|
|
|
|
The options are as follows:
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Fl f Ar device
|
2002-12-12 13:26:32 +00:00
|
|
|
Callout device name.
|
|
|
|
Example:
|
|
|
|
.Fl f Pa /dev/cuaa0 .
|
|
|
|
.It Fl n Ar node_name
|
|
|
|
Set H4 Netgraph node name.
|
|
|
|
Example:
|
|
|
|
.Fl n Li sio0 .
|
2002-11-20 23:01:59 +00:00
|
|
|
.It Fl s Ar speed
|
|
|
|
Set serial device speed to
|
2002-12-12 13:26:32 +00:00
|
|
|
.Ar speed .
|
2002-11-20 23:01:59 +00:00
|
|
|
Example:
|
2002-12-12 13:26:32 +00:00
|
|
|
.Fl s Li 115200 .
|
2002-11-20 23:01:59 +00:00
|
|
|
.It Fl d
|
|
|
|
Do not disassociate from the controlling terminal, i.e. run in foreground.
|
|
|
|
.El
|
|
|
|
.Sh FILES
|
2002-12-12 13:26:32 +00:00
|
|
|
.Bl -tag -width ".Pa /var/run/hcserial.*.pid" -compact
|
2002-11-20 23:01:59 +00:00
|
|
|
.It Pa /var/run/hcserial.*.pid
|
2002-12-12 13:26:32 +00:00
|
|
|
Process ID of the currently running
|
2002-11-20 23:01:59 +00:00
|
|
|
.Nm
|
2002-12-12 13:26:32 +00:00
|
|
|
daemon,
|
|
|
|
where
|
|
|
|
.Ql *
|
2002-11-20 23:01:59 +00:00
|
|
|
is a H4 Netgraph node name.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr ng_h4 4 ,
|
|
|
|
.Xr ng_hci 4 ,
|
2002-12-12 13:26:32 +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
|