Do not mark Bluetooth HID device as "potential keyboard" if its descriptor
has items with CONSUMER page. For now only check for items with KEYBOARD page.
This should prevent bthidd(8) from allocating vkbd(4) keyboard for Microsoft
Bluetooth Explorer mouse.
Approved by: re (bmah)
Install vkbd(4) header into dev/vkbd.
Update bthidd(8) code and hook it up to the build. bthidd(8) now was integrated
with vkbd(4) and supports multiple keyboards via vkbd(4)/kbdmux(4).
The code was tested with Apple Bluetooth keyboard and SE k700i cell phone
(remote control feature).
Add bthidd(8) rc(8) script.
Approved by: re (kensmith)
- Document the new Read_Node_List command, autodetection of HCI nodes and
that the '-n' parameter is now optional
- Grammar fixes
Approved by: emax (mentor)
- Add HCI node autodetection. As a consequence of this, make the '-n'
parameter optional.
- Add Read_Node_List command which prints a list of available HCI nodes,
their Netgraph IDs and connected hooks
Revisions:
hccontrol.h rev. 1.6
hccontrol.c rev. 1.4 + 1.5
node.c rev. 1.4
Approved by: emax (mentor)
Teach bthidd(8) to reload its config when SIGHUP is received.
Properly convert L2CAP PSM values in sockaddr_l2cap to LE16 byte order.
Properly map mouse buttons.
Fix typo.
PR: bin/94577
Submitted by: Iain Hibbert, Krzysztof Jedruczyk
- Use official version strings for LMP and HCI version reporting and add
version strings up to Bluetooth 2.0
- Update manufacturer list
Revisions:
hccontrol.h rev. 1.5
info.c rev. 1.4
link_control.c rev. 1.10
util.c rev. 1.6
Approved by: re (scottl), emax
register, remove or change services in the local database. For now only
accept the request if the peer has effective user ID the same as 'root'
user ID.
connections to Bluetooth HID device. As soon as Bluetooth HID device
is powered off (or goes out of RF range) the stack will terminate both
connections. File descriptors for both connections will become active
on next select(2) call. Because bthidd(8) processes file descriptors
in order, it will detect descriptor for one of the closed connections
first and kill the session. However, there is still a second (active)
descriptor that used to point to the same session. bthidd(8) used to
assert() if it cant find session by file descriptor, which was wrong.
While I'm here fix a couple of typos in parser.y
Reported by: Eric Anderson anderson AT centtech DOT com
MFC after: 3 days
That should fix the problem with invalid PSM returned from bthidcontrol.
Pointy hat goes to me.
PR: misc/76107
Submitted by: Hiroyuki Aizu < aizu at navi dot org >
MFC after: 1 day
instead of BD_ADDRs
- Convert BD_ADDRs in l2ping(8) output into the human readable names via
bt_gethostbyaddr(3)
- Introduce and document '-n' - numberic output option
Suggested by: Anil Madhavapeddy <anil at recoil dot org>
disappearing from the tree. We already were splitting the baby (using
the symbol for the vendor BROADCOM, but not for the device). Use
#defines for both.
Note: bthidd(8) is still not complete. Need to commit kernel
support (a-la Linux /dev/input) to feed HID events into kernel.
Also need to write bthidd(8) and bthidd.conf(5) man pages.