aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bluetooth/bthidd
Commit message (Collapse)AuthorAgeFilesLines
* MFC:Maksim Yevmenkin2006-12-011-1/+1
| | | | | | | | | | | | 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) Notes: svn path=/stable/6/; revision=164814
* MFC:Maksim Yevmenkin2006-11-091-3/+3
| | | | | | | | | Properly htole16() PSM in sockaddr_l2cap Approved by: re (bmah) Notes: svn path=/stable/6/; revision=164127
* MFC rev. 1.2:Markus Brueffer2006-10-131-12/+11
| | | | | | | | | | - Grammar and typo fixes - Rewording of some sentences Approved by: re (hrs), emax (mentor) Notes: svn path=/stable/6/; revision=163303
* MFC rev. 1.6:Markus Brueffer2006-10-121-1/+1
| | | | | | | | | Fix a typo introduced in the last commit: WWW Refresh is 0x227, not 0227 Approved by: re (hrs), emax (mentor) Notes: svn path=/stable/6/; revision=163284
* MFC:Maksim Yevmenkin2006-10-0912-461/+513
| | | | | | | | | | | | | | | | | 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) Notes: svn path=/stable/6/; revision=163182
* This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-09-161-0/+128
| | | | Notes: svn path=/stable/6/; revision=162355
* MFC:Maksim Yevmenkin2006-05-154-8/+35
| | | | | | | | | | | | | 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 Notes: svn path=/stable/6/; revision=158602
* MFC: rev 1.2Markus Brueffer2006-02-231-2/+3
| | | | | | | | | Fix scancode translation table Approved by: re (scottl), emax Notes: svn path=/stable/6/; revision=155952
* Fix problem with session termination. bthidd(8) maintains two L2CAPMaksim Yevmenkin2005-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 Notes: svn path=/head/; revision=146357
* Fix typo %d -> %xMaksim Yevmenkin2005-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 Notes: svn path=/head/; revision=140130
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* Check in updated bthidd(8). This is still work in progress.Maksim Yevmenkin2004-11-189-48/+874
| | | | Notes: svn path=/head/; revision=137868
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* - One can use both BD_ADDR or name to specify address of the Bluetooth device.Maksim Yevmenkin2004-08-051-1/+1
| | | | | | | | | | | Update man pages to document this fact. - Update usage messages - Change u_intXXX to uintXXX Notes: svn path=/head/; revision=133178
* Start committing Bluetooth HID (Human Interface Device) support.Maksim Yevmenkin2004-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. Notes: svn path=/head/; revision=128080