freebsd-skq/usr.sbin/bluetooth
Vladimir Kondratyev 44af5666d9 bthidd(8): Add evdev protocol support for bluetooth keyboards and mouses
User-visible changes:

"-u" is added to to list of command line options supported by bthidd.
Use it to enable evdev support. uinput and evdev modules should be
kld-loaded or compiled into the kernel in that case.

bthidd_evdev_support rc.conf variable is added to control enabling of
evdev support in bthidd startup script. Possible values are: "YES", "NO",
"AUTO"(default). Setting bthidd_evdev_support to "AUTO" inserts "-u" option
if kernel is compiled with EVDEV_SUPPORT option enabled.

Support for consumer HID usage page keyboard events is implemented. Most of
them are available only through evdev protocol.

kern.evdev.rcpt_mask sysctl is checked, so "sysctl kern.evdev.rcpt_mask=12"
should be executed if EVDEV_SUPPORT is compiled into kernel.

It is recommended to regenerate bthidd.conf entries with bthidcontrol(8)
"Query" command to set user-friendly names of bluetooth devices.

Reviewed by:	emax, gonzo, wblock (docs), bcr (docs, early version)
Differential Revision:	https://reviews.freebsd.org/D13456
2018-04-30 12:16:54 +00:00
..
ath3kfw DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
bcmfw various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
bt3cfw various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
bthidcontrol bthidd(8): Add internal support for user-friendly name of remote devices. 2018-04-30 10:49:29 +00:00
bthidd bthidd(8): Add evdev protocol support for bluetooth keyboards and mouses 2018-04-30 12:16:54 +00:00
btpand various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
hccontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
hcsecd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
hcseriald various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
l2control various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
l2ping various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
rfcomm_pppd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
sdpcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
sdpd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile ath3kfw, bcmfw, bthidcontrol, bthidd all require usb(4); build them 2015-04-27 06:34:51 +00:00
Makefile.inc usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00