aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bluetooth
Commit message (Collapse)AuthorAgeFilesLines
...
* bluetooth: minor spelling fixes.Pedro F. Giffuni2016-05-012-2/+2
| | | | | | | | | User-visible strings. MFC after: 2 weeks Notes: svn path=/head/; revision=298883
* fix incorrect usage of hid_set_data() which causes crashMaksim Yevmenkin2016-03-231-17/+13
| | | | | | | | | | | | in bthidd(8) on amd64 WITH_SSP builds Submitted by: rakuco Reviewed by: rakuco Tested by: rakuco MFC after: 1 week Notes: svn path=/head/; revision=297217
* DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-243-18/+0
| | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* Fix scancodes for Kana and Eisu keys.Hans Petter Selasky2015-11-211-2/+2
| | | | | | | | | PR: 204709 Submitted by: naito.yuichiro@gmail.com MFC after: 3 days Notes: svn path=/head/; revision=291145
* check boundaries while parsing SDP responsesMaksim Yevmenkin2015-10-201-9/+43
| | | | | | | | | Reported by: hps Reviewed by: hps MFC after: 1 week Notes: svn path=/head/; revision=289637
* fix compare argument for address type.Takanori Watanabe2015-09-091-1/+1
| | | | | | | Submitted by: issei10193 (via Twitter) Notes: svn path=/head/; revision=287597
* Add META_MODE support.Simon J. Gerraty2015-06-1314-0/+298
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-0814-28/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-2779-54/+575
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge head from 7/28Simon J. Gerraty2014-08-1914-14/+14
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | Updated dependenciesSimon J. Gerraty2014-05-1614-14/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-1014-0/+28
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Merge headSimon J. Gerraty2014-04-282-2/+1
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * | | Updated dependenciesSimon J. Gerraty2013-10-131-0/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256419
| * | | Merge from headSimon J. Gerraty2013-09-053-1/+5
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * \ \ \ sync from headSimon J. Gerraty2013-04-122-5/+15
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=249429
| * | | | | Updated dependenciesSimon J. Gerraty2013-03-1114-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | | Updated dependenciesSimon J. Gerraty2013-02-1614-28/+0
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | | Sync with HEAD.David E. O'Brien2013-02-082-2/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * \ \ \ \ \ Sync from headSimon J. Gerraty2012-11-047-9/+53
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-2214-0/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | | | Remove stray DEBUG_FLAGS=-g that snuck in with r137868Warner Losh2015-05-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=283246
* | | | | | | | ath3kfw, bcmfw, bthidcontrol, bthidd all require usb(4); build themEnji Cooper2015-04-271-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conditionally if MK_USB != no MFC after: 1 week Notes: svn path=/head/; revision=282054
* | | | | | | | To ensure j formatting string valid, cast uint64_t values to uintmax_t.Takanori Watanabe2015-04-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=281697
* | | | | | | | Change printf formatting to unbroke i386 arch.Takanori Watanabe2015-04-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by:david@catwhisker.org Notes: svn path=/head/; revision=281690
* | | | | | | | Fix Typo.Takanori Watanabe2015-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=281688
* | | | | | | | Fix misspelling.Marcelo Araujo2015-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=281685
* | | | | | | | Improve code style(9), no functional changes.Marcelo Araujo2015-04-182-92/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: D2320 Reviewed by: takawata Notes: svn path=/head/; revision=281684
* | | | | | | | Add LE related HCI control command to hccontrol(1).Takanori Watanabe2015-04-185-1/+443
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=281680
* | | | | | | | Accept LE event on hccontrol socket.Takanori Watanabe2015-04-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=281468
* | | | | | | | Add HCI/LMP revision information.Takanori Watanabe2015-04-121-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=281467
* | | | | | | | Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKEDTakanori Watanabe2015-04-0758-7/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will fix build. Notes: svn path=/head/; revision=281210
* | | | | | | | bthidd: Remove unused macros from hid.c.Raphael Kubo da Costa2015-04-061-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ASIZE() was never used, and min() stopped being used in r207812. Differential Revision: https://reviews.freebsd.org/D2230 Reviewed by: emax Approved by: emax MFC after: 1 week Notes: svn path=/head/; revision=281146
* | | | | | | | bthidd: Consider usage ranges when dealing with array inputs.Raphael Kubo da Costa2015-04-051-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far, we were always using HID_USAGE() to determine the Usage ID of a certain HID report input item. This does not work as intended if a field is an array and the allowed usages are specified with a usage range, as HID_USAGE() will return 0. We need to use the field value as an index in the usage range list in this case instead. This makes the volume keys in a Microsoft Bluetooth Mobile Keyboard 5000 be properly recognized. The relevant part of the HID report looks like this: 0xA1, 0x01, // Collection (Application) 0x85, 0x07, // Report ID (7) 0x05, 0x0C, // Usage Page (Consumer) 0x19, 0x00, // Usage Minimum (Unassigned) 0x2A, 0xFF, 0x03, // Usage Maximum (0x03FF) 0x95, 0x01, // Report Count (1) 0x75, 0x10, // Report Size (16) 0x15, 0x00, // Logical Minimum (0) 0x27, 0xFF, 0x03, 0x00, 0x00, // Logical Maximum (1023) 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred // State,No Null Position) When a key such as "volume down" is pressed, the following data is transferred through Interrupt In: 0x07 0xEA 0x00 Differential Revision: https://reviews.freebsd.org/D2229 Reviewed by: emax Approved by: emax MFC after: 1 week Notes: svn path=/head/; revision=281116
* | | | | | | | Make hccontrol(8) and sdpcontrol(8) appear in "man -k bluetooth" output.Edward Tomasz Napierala2015-02-072-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=278360
* | | | | | | | mdoc: sort SEE ALSO.Joel Dahl2014-12-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=276258
* | | | | | | | handle "Kana" and "Eisu" keys on Apple Wireless Keyboard (JIS)Maksim Yevmenkin2014-12-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 187470 Submitted by: naito.yuichiro MFC after: 1 week Notes: svn path=/head/; revision=275709
* | | | | | | | Convert usr.sbin to LIBADDBaptiste Daroussin2014-11-2512-24/+12
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275054
* | | | | | | use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-2014-14/+14
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
* | | | | | mdoc: minor paragraph fixes.Joel Dahl2014-02-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=261634
* | | | | | Fix undefined behavior: (1 << 31) is not defined as 1 is an int and thisEitan Adler2013-11-301-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva Notes: svn path=/head/; revision=258780
* | | | | Work around build breakages with GCC 4.2.Jung-uk Kim2013-05-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: tinderbox Notes: svn path=/head/; revision=250926
* | | | | Fxi a bunch of typos.Eitan Adler2013-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: misc/174625 Submitted by: Jeremy Chadwick <jdc@koitsu.org> Notes: svn path=/head/; revision=250460
* | | | | Add the Clang specific -Wmissing-variable-declarations to WARNS=6.Ed Schouten2013-04-191-0/+2
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@ Notes: svn path=/head/; revision=249657
* | | | Remove contractions.Joel Dahl2013-04-111-1/+1
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=249373
* | | | Extend ath3kfw to include overridable device / vendor IDs.Adrian Chadd2013-04-051-4/+14
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | This is required for ar3k series bluetooth devices who need firmware but have a different vendor ID than normal. Reviewed by: maksim Notes: svn path=/head/; revision=249179
* | | A number of places in the source tree still reference cuad.* afterEitan Adler2012-12-082-2/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | sio(4) was deprecated by uart(4). s/cuad/cuau/g/ PR: docs/171533 Reviewed by: imp Approved by: cperciva (implicit) MFC after: 3 weeks Notes: svn path=/head/; revision=244040
* | make sure that socket's send and receive buffers are properly sizedMaksim Yevmenkin2012-10-182-1/+45
| | | | | | | | | | | | | | | | Submitted by: Iain Hibbert plunky at rya-online dot net MFC after: 3 weeks Notes: svn path=/head/; revision=241699
* | mdoc: add missing width argument to Bl -tag.Joel Dahl2012-06-035-8/+8
|/ | | | Notes: svn path=/head/; revision=236500
* Fix world after byacc import:Baptiste Daroussin2012-05-222-1/+2
| | | | | | | | | | | - old yacc(1) use to magicially append stdlib.h, while new one don't - new yacc(1) do declare yyparse by itself, fix redundant declaration of 'yyparse' Approved by: des (mentor) Notes: svn path=/head/; revision=235789