summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth/bthidd
Commit message (Collapse)AuthorAgeFilesLines
* Fix problem with session termination. bthidd(8) maintains two L2CAPemax2005-05-182-3/+4
| | | | | | | | | | | | | | | | 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
* Fix typo %d -> %xemax2005-01-121-1/+1
| | | | | | | | | 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
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* Check in updated bthidd(8). This is still work in progress.emax2004-11-189-48/+874
|
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* - One can use both BD_ADDR or name to specify address of the Bluetooth device.emax2004-08-051-1/+1
| | | | | | | | Update man pages to document this fact. - Update usage messages - Change u_intXXX to uintXXX
* Start committing Bluetooth HID (Human Interface Device) support.emax2004-04-1011-0/+2002
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.
OpenPOWER on IntegriCloud