aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/libusb.3
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* libusb(3): Implement libusb_init_context() and the needed structures and ↵Hans Petter Selasky2023-03-301-6/+21
| | | | | | | | definitions. Differential Revision: https://reviews.freebsd.org/D38212 MFC after: 1 week Sponsored by: NVIDIA Networking
* libusb(3): Implement libusb_interrupt_event_handler() by exposing existing ↵Hans Petter Selasky2022-10-021-3/+10
| | | | | | | function. MFC after: 1 week Sponsored by: NVIDIA Networking
* libusb: improve compatibilityKyle Evans2020-06-091-1/+28
| | | | | | | | | | | | | | | | | | | Specifically, add LIBUSB_CLASS_PHYSICAL and the libusb_has_capability API. Descriptions and functionality for these derived from the documentation at [0]. The current set of capabilities are all supported by libusb. These were detected as missing after updating net/freerdp to 2.1.1, which attempted to use both. [0] http://libusb.sourceforge.net/api-1.0/group__libusb__misc.html Reviewed by: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25194 Notes: svn path=/head/; revision=361977
* libusb(3): Update the link to the libusb homepage.Mateusz Piotrowski2018-10-111-7/+11
| | | | | | | | | | | While here, pet mandoc & igor. Reviewed by: bcr, hselasky Approved by: re (kib), krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D17516 Notes: svn path=/head/; revision=339305
* Add support for USB streams to the LibUSB v1.0 API and update theHans Petter Selasky2016-06-231-1/+24
| | | | | | | | | | | libusb(3) manual page. Approved by: re (gjb) Requested by: swills MFC after: 1 week Notes: svn path=/head/; revision=302125
* Implement libusb_hotplug_register_callback() andHans Petter Selasky2016-06-221-1/+42
| | | | | | | | | | | | libusb_hotplug_deregister_callback() for the LibUSB v1.0 API and update the libusb(3) manual page. Approved by: re (kib) Requested by: swills MFC after: 1 week Notes: svn path=/head/; revision=302080
* Add multiple missing descriptor parsing functions to the LibUSB v1.0 API.Hans Petter Selasky2016-06-161-2/+72
| | | | | | | | | Approved by: re (kib) Requested by: swills MFC after: 1 week Notes: svn path=/head/; revision=301968
* Add support for libusb_set_auto_detach_kernel_driver() to the LibUSB v1.0 API.Hans Petter Selasky2016-06-161-0/+12
| | | | | | | | | Approved by: re (kostikbel) Requested by: swills MFC after: 1 week Notes: svn path=/head/; revision=301966
* Add support for libusb_get_port_number() to the LibUSB v1.0 API.Hans Petter Selasky2016-06-161-1/+7
| | | | | | | | | Approved by: re (kostikbel) Requested by: swills MFC after: 1 week Notes: svn path=/head/; revision=301964
* Implement libusb_get_version() and update libusb manual page.Hans Petter Selasky2016-06-161-1/+5
| | | | | | | | | Approved by: re (glebius) Requested by: swills MFC after: 1 week Notes: svn path=/head/; revision=301956
* Fix spelling.Hans Petter Selasky2015-01-141-2/+2
| | | | Notes: svn path=/head/; revision=277165
* Implement two new libusb API functions.Hans Petter Selasky2014-01-051-3/+32
| | | | | | | | PR: usb/185454 MFC after: 2 weeks Notes: svn path=/head/; revision=260315
* Add libusb_get_port_numbersEd Maste2013-06-071-2/+6
| | | | | | | | | libusbx deprecated libusb_get_port_path and replaced it with libusb_get_port_numbers. The latter omits an extra parameter which was unused in the FreeBSD implementation anyway. Notes: svn path=/head/; revision=251495
* Add libusb_get_port_path wrapperEd Maste2013-05-081-1/+10
| | | | | | | | | | This follows the libusbx API reference at http://libusbx.sourceforge.net/api-1.0/group__dev.html Reviewed by: hselasky@ Notes: svn path=/head/; revision=250342
* General mdoc(7) and typo fixes.Glen Barber2012-05-111-13/+13
| | | | | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days Notes: svn path=/head/; revision=235286
* Add missing LibUSB 1.0 API function: libusb_get_string_descriptor().Hans Petter Selasky2012-05-071-1/+7
| | | | | | | Reported by: Xiaofan Chen Notes: svn path=/head/; revision=235128
* Fix typo.Hans Petter Selasky2012-04-251-1/+1
| | | | Notes: svn path=/head/; revision=234687
* Add missing LibUSB 1.0 API function.Hans Petter Selasky2012-04-121-1/+7
| | | | | | | | Reported by: lme @ MFC after: 1 week Notes: svn path=/head/; revision=234193
* Minor mdoc fixes.Joel Dahl2012-03-241-11/+1
| | | | Notes: svn path=/head/; revision=233424
* Fix various typos in manual pages.Glen Barber2012-02-251-2/+2
| | | | | | | | | Submitted by: amdmi3 PR: 165431 MFC after: 1 week Notes: svn path=/head/; revision=232157
* Add definition of some USB 3.0 descriptors to libusb 1.0 and libusb 2.0.Hans Petter Selasky2011-11-091-1/+35
| | | | | | | | | | Some header file parts of this patch were taken from a patch submitted by Maya Erez <merez@codeaurora.org> to the LibUSB developers list. MFC after: 1 week Notes: svn path=/head/; revision=227404
* Fix how libusb20_dev_kernel_driver_active() andHans Petter Selasky2011-10-101-2/+2
| | | | | | | | | | | | libusb_dev_kernel_driver_active() works. In case of libusb20 the manpage was wrong and in case of libusb10 the implementation was wrong. Submitted by: Kai Wang MFC after: 3 days Notes: svn path=/head/; revision=226220
* Implement missing USB debug information functions.Hans Petter Selasky2011-09-191-1/+10
| | | | | | | | Approved by: re (kib) MFC after: 1 week Notes: svn path=/head/; revision=225659
* Spelling corrections for LibUSB manual page (2/2).Hans Petter Selasky2011-08-221-64/+70
| | | | | | | | | MFC after: 1 week Approved by: re (kib) PR: docs/159898 Notes: svn path=/head/; revision=225091
* Whitespace corrections for LibUSB manual page (1/2).Hans Petter Selasky2011-08-221-183/+118
| | | | | | | | | MFC after: 1 week Approved by: re (kib) PR: docs/159898 Notes: svn path=/head/; revision=225090
* Update LibUSB v1.0 manual page:Hans Petter Selasky2011-08-161-22/+33
| | | | | | | | | | | | - fix some minor spelling - fix some style - add description of new function MFC after: 1 week Approved by: re (kib) Notes: svn path=/head/; revision=224917
* - Add two missing functions to the LibUSB v0.1 API.Hans Petter Selasky2011-07-161-0/+2
| | | | | | | | | | | | - Clamp the string length to 255 bytes when getting the interface description. - Clamp data request length to 65535 bytes when doing control requests. MFC after: 3 days Notes: svn path=/head/; revision=224085
* - Add missing MLINKS for libusb and some manpage fixes.Hans Petter Selasky2011-02-281-3/+9
| | | | | | | | MFC after: 14 days Approved by: thompsa (mentor) Notes: svn path=/head/; revision=219101
* Correct description of the return values ofHans Petter Selasky2010-11-181-5/+10
| | | | | | | | | | | the LibUSB v1.0 libusb_control_transfer() function. PR: usb/151851 Submitted by: HIROSHI OOTA Approved by: thompsa (mentor) Notes: svn path=/head/; revision=215450
* - Add missing LibUSB API functions:Hans Petter Selasky2010-10-141-8/+42
| | | | | | | | | | | | | | | | * libusb_strerror() * libusb_get_driver[_np]() * libusb_detach_kernel_driver[_np]() - Factor out setting of non-blocking flag inside libusb. - Add missing NULL check after libusb_get_device() call. - Correct some wrong error codes due to copy and paste error. PR: usb/150546 Submitted by: Robert Jenssen, Alexander Leidinger Approved by: thompsa (mentor) Notes: svn path=/head/; revision=213853
* LibUSB (new API):Hans Petter Selasky2010-10-141-0/+9
| | | | | | | | | | | - Add a new API function to check the connected status of the USB handle in the LibUSB v1.0 and LibUSB v0.1 interfaces. Approved by: thompsa (mentor) Notes: svn path=/head/; revision=213848
* Fix typos and spelling mistakes.Joel Dahl2010-08-061-1/+1
| | | | Notes: svn path=/head/; revision=210933
* Spelling fixes.Joel Dahl2010-08-031-1/+1
| | | | Notes: svn path=/head/; revision=210823
* LibUSB v1.0:Alfred Perlstein2009-07-301-1/+1
| | | | | | | | | | | | - Significantly improve libusb10 support. - Many minor issues fixed. - P4 ID: 166189, 165853, 165991, 166052, 166069 Submitted by: hps Approved by: re Notes: svn path=/head/; revision=195957
* Add libusb 1.0 support which is compatible with the latest revision onAndrew Thompson2009-06-231-740/+278
| | | | | | | | | | | | | | | | | Sourceforge. Libusb 1.0 is a portable usb api released December 2008 and supersedes the original libusb released 10 years ago, it supports isochronous endpoints and asynchronous I/O. Many applications have already started using the interfaces. This has been developed as part of Google Summer of Code this year by Sylvestre Gallon and has been cribbed early due to it being desirable in FreeBSD 8.0 Submitted by: Sylvestre Gallon Sponsored by: Google Summer of Code 2009 Reviewed by: Hans Petter Selasky Notes: svn path=/head/; revision=194674
* Cleanup claim/release interface code, which is specific to libusb v0.1. RemoveAndrew Thompson2009-06-121-20/+0
| | | | | | | | | claim and release interface support from libusb v2.0, because it is not useful. Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=194069
* Add libusb20_tr_get_length to get the transfer length.Andrew Thompson2009-06-021-4/+32
| | | | | | | Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=193313
* s/usb2_/usb_/ on all C structs for the USB stack.Andrew Thompson2009-05-281-2/+2
| | | | Notes: svn path=/head/; revision=192984
* Fix libusb20_dev_get_device_desc and defunt xref.Andrew Thompson2009-05-211-4/+4
| | | | | | | Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=192550
* MFp4 //depot/projects/usb@159934Andrew Thompson2009-04-051-145/+301
| | | | | | | | | Update libusb function descriptions. Submitted by: Chuck Robey Notes: svn path=/head/; revision=190746
* Update libusb.3 name and add mlinks for usb.3 and libusb20.3Andrew Thompson2009-03-101-0/+801
Notes: svn path=/head/; revision=189628