#
362224 |
|
16-Jun-2020 |
kevans |
MFC r361977: libusb: improve compatibility
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
|
#
356398 |
|
06-Jan-2020 |
hselasky |
MFC r356136: Implement new libusb v2.0 API function, libusb20_dev_get_stats().
This function is useful when debugging USB device issues.
Sponsored by: Mellanox Technologies
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
302125 |
|
23-Jun-2016 |
hselasky |
Add support for USB streams to the LibUSB v1.0 API and update the libusb(3) manual page.
Approved by: re (gjb) Requested by: swills MFC after: 1 week
|
#
302080 |
|
22-Jun-2016 |
hselasky |
Implement libusb_hotplug_register_callback() and 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
|
#
301968 |
|
16-Jun-2016 |
hselasky |
Add multiple missing descriptor parsing functions to the LibUSB v1.0 API.
Approved by: re (kib) Requested by: swills MFC after: 1 week
|
#
301966 |
|
16-Jun-2016 |
hselasky |
Add support for libusb_set_auto_detach_kernel_driver() to the LibUSB v1.0 API.
Approved by: re (kostikbel) Requested by: swills MFC after: 1 week
|
#
301956 |
|
16-Jun-2016 |
hselasky |
Implement libusb_get_version() and update libusb manual page.
Approved by: re (glebius) Requested by: swills MFC after: 1 week
|
#
298107 |
|
16-Apr-2016 |
gjb |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
|
#
288615 |
|
03-Oct-2015 |
bdrewery |
Remove redundant COMPAT_32BIT guard on pkgconfig files. This is already handled by the LIBRARIES_ONLY mechanism protecting FILES.
Sponsored by: EMC / Isilon Storage Division
|
#
287980 |
|
18-Sep-2015 |
bdrewery |
Replace beforeinstall: handling with FILES.
This actually fixes some cases to respect LIBRARIES_ONLY.
Sponsored by: EMC / Isilon Storage Division
|
#
286812 |
|
15-Aug-2015 |
antoine |
bsd.lib.mk has to be included after MLINKS assignment
|
#
275024 |
|
25-Nov-2014 |
bapt |
Convert libraries to use LIBADD While here reduce a bit overlinking
|
#
273756 |
|
27-Oct-2014 |
jmg |
only install .pc files when we are not installing 32bit compat libs...
This fixes the problem of installing the .pc files multiple times...
|
#
260315 |
|
05-Jan-2014 |
hselasky |
Implement two new libusb API functions.
PR: usb/185454 MFC after: 2 weeks
|
#
253637 |
|
25-Jul-2013 |
rpaulo |
Add pkgconf files for libusb.
Reviewed by: hselasky
|
#
253339 |
|
14-Jul-2013 |
hselasky |
Add some missing definitions to build a working FreeBSD's libusb under Linux.
|
#
250201 |
|
03-May-2013 |
hselasky |
Add new USB API to get the port path of a USB device.
MFC after: 2 weeks Requested by: emaste @
|
#
248236 |
|
13-Mar-2013 |
hselasky |
- Make the FreeBSD's USB library compile under Linux. - 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.
|
#
246789 |
|
14-Feb-2013 |
hselasky |
Add USB API to read power draw on USB devices. Update usbconfig to print power draw on USB devices.
MFC after: 2 weeks Submitted by: Matt Burke @ icritical.com
|
#
236944 |
|
12-Jun-2012 |
hselasky |
LibUSB v1.0 API compiliance and bugfixes.
- 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
|
#
235128 |
|
07-May-2012 |
hselasky |
Add missing LibUSB 1.0 API function: libusb_get_string_descriptor().
Reported by: Xiaofan Chen
|
#
234686 |
|
25-Apr-2012 |
hselasky |
Bump the libusb major version due to the last commit, which changes the libusb 1.0 API. While at it, correct a manual page symlink.
Suggested by: kib @
|
#
234193 |
|
12-Apr-2012 |
hselasky |
Add missing LibUSB 1.0 API function.
Reported by: lme @ MFC after: 1 week
|
#
227404 |
|
09-Nov-2011 |
hselasky |
Add definition of some USB 3.0 descriptors to libusb 1.0 and libusb 2.0. 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
|
#
225659 |
|
19-Sep-2011 |
hselasky |
Implement missing USB debug information functions.
Approved by: re (kib) MFC after: 1 week
|
#
224917 |
|
16-Aug-2011 |
hselasky |
Update LibUSB v1.0 manual page: - fix some minor spelling - fix some style - add description of new function
MFC after: 1 week Approved by: re (kib)
|
#
223495 |
|
24-Jun-2011 |
hselasky |
- Add two new API's to libusb20 which can be used to retrive information 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
|
#
219101 |
|
28-Feb-2011 |
hselasky |
- Add missing MLINKS for libusb and some manpage fixes.
MFC after: 14 days Approved by: thompsa (mentor)
|
#
213852 |
|
14-Oct-2010 |
hselasky |
- Add support for LibUSB in 32-bit compatibility mode.
Approved by: thompsa (mentor)
|
#
201381 |
|
02-Jan-2010 |
ed |
Build lib/ with WARNS=6 by default.
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.
|
#
195767 |
|
19-Jul-2009 |
kensmith |
Bump the version of all non-symbol-versioned shared libraries in 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)
|
#
194674 |
|
22-Jun-2009 |
thompsa |
Add libusb 1.0 support which is compatible with the latest revision on 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
|
#
189628 |
|
10-Mar-2009 |
thompsa |
Update libusb.3 name and add mlinks for usb.3 and libusb20.3
|
#
189587 |
|
09-Mar-2009 |
thompsa |
libusb20 is now installed as libusb, remove the version number from the directory name.
|
#
189585 |
|
09-Mar-2009 |
thompsa |
Install libusb20.so.1 as libusb.so.1, there will be a followup commit to the ports tree so that programs use libusb from the base by default. Thanks to Stanislav Sedov for sorting out the ports build.
Bump __FreeBSD_version to 800069
Help and testing by: stas
|
#
184610 |
|
04-Nov-2008 |
alfred |
Bring in USB4BSD, Hans Petter Selasky rework of the USB stack that includes significant features and SMP safety.
This commit includes a more or less complete rewrite of the *BSD USB stack, including Host Controller and Device Controller drivers and updating all existing USB drivers to use the new USB API:
1) A brief feature list:
- A new and mutex enabled USB API.
- Many USB drivers are now running Giant free.
- Linux USB kernel compatibility layer.
- New UGEN backend and libusb library, finally solves the "driver unloading" problem. The new BSD licensed libusb20 library is fully compatible with libusb-0.1.12 from sourceforge.
- New "usbconfig" utility, for easy configuration of USB.
- Full support for Split transactions, which means you can use your full speed USB audio device on a high speed USB HUB.
- Full support for HS ISOC transactions, which makes writing drivers for various HS webcams possible, for example.
- Full support for USB on embedded platforms, mostly cache flushing and buffer invalidating stuff.
- Safer parsing of USB descriptors.
- Autodetect of annoying USB install disks.
- Support for USB device side mode, also called USB gadget mode, using the same API like the USB host side. In other words the new USB stack is symmetric with regard to host and device side.
- Support for USB transfers like I/O vectors, means more throughput and less interrupts.
- ... see the FreeBSD quarterly status reports under "USB project"
2) To enable the driver in the default kernel build:
2.a) Remove all existing USB device options from your kernel config file.
2.b) Add the following USB device options to your kernel configuration file:
# USB core support device usb2_core
# USB controller support device usb2_controller device usb2_controller_ehci device usb2_controller_ohci device usb2_controller_uhci
# USB mass storage support device usb2_storage device usb2_storage_mass
# USB ethernet support, requires miibus device usb2_ethernet device usb2_ethernet_aue device usb2_ethernet_axe device usb2_ethernet_cdce device usb2_ethernet_cue device usb2_ethernet_kue device usb2_ethernet_rue device usb2_ethernet_dav
# USB wireless LAN support device usb2_wlan device usb2_wlan_rum device usb2_wlan_ral device usb2_wlan_zyd
# USB serial device support device usb2_serial device usb2_serial_ark device usb2_serial_bsa device usb2_serial_bser device usb2_serial_chcom device usb2_serial_cycom device usb2_serial_foma device usb2_serial_ftdi device usb2_serial_gensa device usb2_serial_ipaq device usb2_serial_lpt device usb2_serial_mct device usb2_serial_modem device usb2_serial_moscom device usb2_serial_plcom device usb2_serial_visor device usb2_serial_vscom
# USB bluetooth support device usb2_bluetooth device usb2_bluetooth_ng
# USB input device support device usb2_input device usb2_input_hid device usb2_input_kbd device usb2_input_ms
# USB sound and MIDI device support device usb2_sound
2) To enable the driver at runtime:
2.a) Unload all existing USB modules. If USB is compiled into the kernel then you might have to build a new kernel.
2.b) Load the "usb2_xxx.ko" modules under /boot/kernel having the same base name like the kernel device option.
Submitted by: Hans Petter Selasky hselasky at c2i dot net Reviewed by: imp, alfred
|