1 .\" $NetBSD: bthidev.4,v 1.8 2007/04/21 06:15:22 plunky Exp $
3 .\" Copyright (c) 2006 Itronix Inc.
4 .\" All rights reserved.
6 .\" Written by Iain Hibbert for Itronix Inc.
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. The name of Itronix Inc. may not be used to endorse
17 .\" or promote products derived from this software without specific
18 .\" prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ITRONIX INC. BE LIABLE FOR ANY
24 .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27 .\" ON ANY THEORY OF LIABILITY, WHETHER IN
28 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 .\" POSSIBILITY OF SUCH DAMAGE.
37 .Nd Bluetooth Human Interface Device support
39 .Cd "bthidev* at bthub?"
41 .Cd "btkbd* at bthidev? reportid ?"
42 .Cd "btms* at bthidev? reportid ?"
46 driver handles all Bluetooth Human Interface Devices.
47 Each HID device can have several components, e.g., a keyboard and
49 These components use different report identifiers to
50 distinguish which component data is coming from.
53 driver may have several children attached that handle particular
54 components and dispatches data to them based on the report id.
56 Normally, Bluetooth HIDs will be attached using the
59 The following properties are used by the
61 driver during autoconfiguration:
62 .Bl -tag -width interrupt_psmXX
66 Remote device address.
74 This, if set, will indicate the PSM to use for the Control channel.
76 .Dv L2CAP_PSM_HID_CNTL
79 This, if set, will indicate the PSM to use for the Interrupt channel.
81 .Dv L2CAP_PSM_HID_INTR
84 This required binary blob is the HID descriptor containing information about
85 reports the device will produce, and obtained via SDP.
87 If this boolean value is set, and is true, then the
89 driver will initiate reconnections to the remote device when no
90 connection is present.
92 This optional string represents the link mode of the baseband link, and
102 driver has configured its children, it will initiate a connection
103 to the remote device.
104 If this fails and the reconnect flag is not set, it will then wait for
105 the device to initiate the connection.
115 driver was written by
117 under the sponsorship of Itronix, Inc. and first appeared in