xref: /freebsd/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.8 (revision 6fd05b64b5b65dd4ba9b86482a0634a5f0b96c29)
1.\" Copyright (c) 2004 Maksim Yevmenkin <m_evmenkin@yahoo.com>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $Id: bthidcontrol.8,v 1.1 2004/02/13 21:44:41 max Exp $
26.\" $FreeBSD$
27.\"
28.Dd February 13, 2004
29.Dt BTHIDCONTROL 8
30.Os
31.Sh NAME
32.Nm bthidcontrol
33.Nd Bluetooth HID control utility
34.Sh SYNOPSIS
35.Nm
36.Fl h
37.Nm
38.Op Fl a Ar BD_ADDR
39.Op Fl c Ar file
40.Op Fl H Ar file
41.Ar command
42.Sh DESCRIPTION
43The
44.Nm
45utility can be used to query remote Bluetooth HID devices, dump HID descriptors
46in human readable form and perform simple manipulations on the Bluetooth HID
47daemon configuration files.
48.Pp
49The
50.Nm
51utility will print results to the standard output and error messages to the
52standard error.
53.Pp
54The options are as follows:
55.Bl -tag -width indent
56.It Fl a Ar BD_ADDR
57Specify BD_ADDR for the HID device.
58Example:
59.Fl a Li 00:01:02:03:04:05 .
60.It Fl c Ar file
61Specify path to the Bluetooth HID daemon configuration file.
62The default path is
63.Pa /etc/bluetooth/bthidd.conf .
64.It Fl H Ar file
65Specify path to the Bluetooth HID daemon known HIDs file.
66The default path is
67.Pa /var/db/bthidd.hids .
68.It Fl h
69Display usage message and exit.
70.It Ar command
71One of the supported commands (see below).
72Special command
73.Cm help
74can be used to obtain the list of all supported commands.
75To get more information about specific command use
76.Cm help Ar command .
77.El
78.Sh COMMANDS
79The currently supported node commands in
80.Nm
81are:
82.Pp
83.Bl -tag -offset indent -compact
84.It Cm Query
85.It Cm Dump
86.It Cm Known
87.It Cm Forget
88.El
89.Sh DIAGNOSTICS
90.Ex -std
91.Sh FILES
92.Bl -tag -width ".Pa /etc/bluetooth/bthidd.conf" -compact
93.It Pa /etc/bluetooth/bthidd.conf
94.It Pa /var/db/bthidd.hids
95.El
96.Sh SEE ALSO
97.Xr bthidd 8
98.Sh AUTHORS
99.An Maksim Yevmenkin Aq m_evmenkin@yahoo.com
100