aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* libusb(3): Implement libusb_init_context() and the needed structures and ↵Hans Petter Selasky2023-03-301-0/+1
| | | | | | | | 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-0/+1
| | | | | | | function. MFC after: 1 week Sponsored by: NVIDIA Networking
* Install working pkgconfig .pc files for compat librariesAlex Richardson2022-08-111-0/+6
| | | | | | | | | The default ones are install them to /usr/libdata/pkgconfig, and we can't use this path for compat libraries, so we use /usr/lib<suffix>/pkgconfigi here. Test Plan: grep -rn libdir= ./usr/lib32/pkgconfig/*.pc MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D34939
* libusb: remove use of COMPAT_32BITBrooks Davis2021-12-171-6/+2
| | | | | | | | This codepath used uint64_t's in place of pointers in structs and arrays to allow 32-bit code to use 64-bit version of ioctls. Now that we support 32-bit compat natively this is no longer needed. Reviewed by: hselasky, jrtc27 (prior version)
* Convert libs with pc files to use PCFILESEmmanuel Vadot2021-03-161-2/+1
| | | | | | | | Now the .pc ends up in the correct package (-dev) Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D29172 MFC after: 2 weeks
* libusb: improve compatibilityKyle Evans2020-06-091-0/+1
| | | | | | | | | | | | | | | | | | | 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
* Implement new libusb v2.0 API function, libusb20_dev_get_stats().Hans Petter Selasky2019-12-271-0/+1
| | | | | | | | | | This function is useful when debugging USB device issues. MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=356136
* pkgbase: Create a FreeBSD-utilities package and make it the default oneEmmanuel Vadot2019-09-051-1/+0
| | | | | | | | | | | | | The default package use to be FreeBSD-runtime but it should only contain binaries and libs enough to boot to single user and repair the system, it is also very handy to have a package that can be tranform to a small mfsroot. So create a new package named FreeBSD-utilities and make it the default one. Also move a few binaries and lib into this package when it make sense. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21506 Notes: svn path=/head/; revision=351858
* Add support for USB streams to the LibUSB v1.0 API and update theHans Petter Selasky2016-06-231-0/+4
| | | | | | | | | | | 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-0/+3
| | | | | | | | | | | | 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-0/+8
| | | | | | | | | 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/+2
| | | | | | | | | Approved by: re (kostikbel) Requested by: swills MFC after: 1 week Notes: svn path=/head/; revision=301966
* Implement libusb_get_version() and update libusb manual page.Hans Petter Selasky2016-06-161-0/+1
| | | | | | | | | Approved by: re (glebius) Requested by: swills MFC after: 1 week Notes: svn path=/head/; revision=301956
* First pass through library packaging.Glen Barber2016-02-041-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295278
* Remove redundant COMPAT_32BIT guard on pkgconfig files. This is already handledBryan Drewery2015-10-031-2/+2
| | | | | | | | | by the LIBRARIES_ONLY mechanism protecting FILES. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288615
* Replace beforeinstall: handling with FILES.Bryan Drewery2015-09-181-10/+3
| | | | | | | | | This actually fixes some cases to respect LIBRARIES_ONLY. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=287980
* bsd.lib.mk has to be included after MLINKS assignmentAntoine Brodin2015-08-151-2/+2
| | | | Notes: svn path=/head/; revision=286812
* Convert libraries to use LIBADDBaptiste Daroussin2014-11-251-2/+1
| | | | | | | While here reduce a bit overlinking Notes: svn path=/head/; revision=275024
* only install .pc files when we are not installing 32bit compat libs...John-Mark Gurney2014-10-271-0/+2
| | | | | | | This fixes the problem of installing the .pc files multiple times... Notes: svn path=/head/; revision=273756
* Implement two new libusb API functions.Hans Petter Selasky2014-01-051-0/+2
| | | | | | | | PR: usb/185454 MFC after: 2 weeks Notes: svn path=/head/; revision=260315
* Add pkgconf files for libusb.Rui Paulo2013-07-251-0/+8
| | | | | | | Reviewed by: hselasky Notes: svn path=/head/; revision=253637
* Add some missing definitions to build a working FreeBSD's libusb under Linux.Hans Petter Selasky2013-07-141-2/+13
| | | | Notes: svn path=/head/; revision=253339
* Add new USB API to get the port path of a USB device.Hans Petter Selasky2013-05-031-0/+1
| | | | | | | | MFC after: 2 weeks Requested by: emaste @ Notes: svn path=/head/; revision=250201
* - Make the FreeBSD's USB library compile under Linux.Hans Petter Selasky2013-03-131-0/+13
| | | | | | | | | | - Fix a compile warning where the return value of a call to a write() function was ignored. - Remove redundant include files from userland USB header files. - Add some now needed include files to various C-files. Notes: svn path=/head/; revision=248236
* Add USB API to read power draw on USB devices.Hans Petter Selasky2013-02-141-0/+1
| | | | | | | | | | Update usbconfig to print power draw on USB devices. MFC after: 2 weeks Submitted by: Matt Burke @ icritical.com Notes: svn path=/head/; revision=246789
* LibUSB v1.0 API compiliance and bugfixes.Hans Petter Selasky2012-06-121-0/+3
| | | | | | | | | | | | | | | | | | - Use CLOCK_MONOTONIC instead of CLOCK_REALTIME, because CLOCK_MONOTONIC does not wrap into negative in near future. This fixes any potential problems using "pthread_cond_timedwait()". - Fix a bug where the "libusb_wait_for_event()" function computes an absolute timeout instead of a relative timeout. USB transfers do not depend on this timeout value. - Add dependency towards LibPthread to Makefile, because LibUSB v1.0 needs this library to function correctly. MFC after: 1 week Notes: svn path=/head/; revision=236944
* Add missing LibUSB 1.0 API function: libusb_get_string_descriptor().Hans Petter Selasky2012-05-071-0/+1
| | | | | | | Reported by: Xiaofan Chen Notes: svn path=/head/; revision=235128
* Bump the libusb major version due to the last commit, whichHans Petter Selasky2012-04-251-2/+2
| | | | | | | | | | changes the libusb 1.0 API. While at it, correct a manual page symlink. Suggested by: kib @ Notes: svn path=/head/; revision=234686
* Add missing LibUSB 1.0 API function.Hans Petter Selasky2012-04-121-0/+1
| | | | | | | | Reported by: lme @ MFC after: 1 week Notes: svn path=/head/; revision=234193
* Add definition of some USB 3.0 descriptors to libusb 1.0 and libusb 2.0.Hans Petter Selasky2011-11-091-0/+4
| | | | | | | | | | 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
* Implement missing USB debug information functions.Hans Petter Selasky2011-09-191-0/+3
| | | | | | | | Approved by: re (kib) MFC after: 1 week Notes: svn path=/head/; revision=225659
* Update LibUSB v1.0 manual page:Hans Petter Selasky2011-08-161-0/+1
| | | | | | | | | | | | - 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 new API's to libusb20 which can be used to retrive informationHans Petter Selasky2011-06-241-1/+3
| | | | | | | | | | | | | about the parent USB device: - libusb20_dev_get_parent_address - libusb20_dev_get_parent_port - Rename libusb20_compat01.c into libusb01.c MFC after: 3 days Notes: svn path=/head/; revision=223495
* - Add missing MLINKS for libusb and some manpage fixes.Hans Petter Selasky2011-02-281-0/+171
| | | | | | | | MFC after: 14 days Approved by: thompsa (mentor) Notes: svn path=/head/; revision=219101
* - Add support for LibUSB in 32-bit compatibility mode.Hans Petter Selasky2010-10-141-0/+4
| | | | | | | Approved by: thompsa (mentor) Notes: svn path=/head/; revision=213852
* Build lib/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway. Notes: svn path=/head/; revision=201381
* Bump the version of all non-symbol-versioned shared libraries inKen Smith2009-07-191-1/+1
| | | | | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson) Notes: svn path=/head/; revision=195767
* Add libusb 1.0 support which is compatible with the latest revision onAndrew Thompson2009-06-231-5/+9
| | | | | | | | | | | | | | | | | 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
* Update libusb.3 name and add mlinks for usb.3 and libusb20.3Andrew Thompson2009-03-101-1/+4
| | | | Notes: svn path=/head/; revision=189628
* libusb20 is now installed as libusb, remove the version number from theAndrew Thompson2009-03-091-0/+25
| | | | | | | directory name. Notes: svn path=/head/; revision=189587
* Follow NetBSD and rename libusb to libusbhid.Josef Karthauser2002-03-271-24/+0
| | | | | | | MFC after: 7 days Notes: svn path=/head/; revision=93282
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74870
* The USB library from NetBSD by Lennart Augustsson <lennart@augustsson.net>.Nick Hibma2000-06-111-0/+24
Notes: svn path=/head/; revision=61560