Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Libusbx
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Libusbx
Commits
4e1d77d3
Commit
4e1d77d3
authored
12 years ago
by
Pete Batard
Browse files
Options
Downloads
Patches
Plain Diff
libusbx 1.0.13-rc1
parent
9d368fc4
No related branches found
Branches containing commit
Tags
v1.0.13-rc1
Tags containing commit
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
AUTHORS
+6
-0
6 additions, 0 deletions
AUTHORS
NEWS
+39
-0
39 additions, 0 deletions
NEWS
README
+4
-3
4 additions, 3 deletions
README
README.git
+1
-1
1 addition, 1 deletion
README.git
libusb/version.h
+2
-2
2 additions, 2 deletions
libusb/version.h
libusb/version_nano.h
+1
-1
1 addition, 1 deletion
libusb/version_nano.h
with
53 additions
and
7 deletions
AUTHORS
+
6
−
0
View file @
4e1d77d3
...
...
@@ -10,12 +10,14 @@ Other contributors:
Alan Ott
Alan Stern
Alex Vatchenko
Anthony Clay
Artem Egorkine
Aurelien Jarno
Bastien Nocera
Dave Camarillo
David Engraf
David Moore
Davidlohr Bueso
Felipe Balbi
Francesco Montorsi
Graeme Gill
...
...
@@ -27,13 +29,17 @@ Konrad Rzepecki
Lars Wirzenius
Ludovic Rousseau
Martin Koegler
Matthias Bolte
Mike Frysinger
Mikhail Gusarov
Nicholas Corgan
Orin Eman
Pekka Nikander
Peter Stuge
Rob Walker
Sean McBride
Sebastian Pipping
Simon Haggett
Thomas Röfer
Toby Gray
Toby Peterson
...
...
This diff is collapsed.
Click to expand it.
NEWS
+
39
−
0
View file @
4e1d77d3
...
...
@@ -2,6 +2,25 @@ This file lists notable changes in each release.
For fine grained history, please see the git log at:
http://log.libusbx.org
2012-09-16: v1.0.13-rc1
* [MAJOR] Fix a typo in the API with struct libusb_config_descriptor where
MaxPower was used instead of bMaxPower, as defined in the specs. If your
application was accessing the MaxPower attribute, and you need to maintain
compatibility with libusb or older versions, see APPENDIX A below.
* Fix broken support for the 0.1 -> 1.0 libusb-compat layer
* Fix unwanted cancellation of pending timeouts as well as major timeout related bugs
* Fix handling of HID and composite devices on Windows
* Introduce LIBUSBX_API_VERSION macro
* Add Cypress FX/FX2 firmware upload sample, based fxload from
http://linux-hotplug.sourceforge.net
* Add libusb0 (libusb-win32) and libusbK driver support on Windows. Note that using
the libusb-win32 filter driver with composite member devices is not supported yet
* Add support for the new get_capabilities ioctl on Linux and avoid unnecessary
splitting of bulk transfers
* Improve support for newer Intel and Renesas USB 3.0 controllers on Windows
* Harmonize the device number for root hubs accross platforms
* Other bug fixes and improvements
2012-06-15: v1.0.12
* Fix a potential major regression with pthread on Linux
* Fix missing thread ID from debug log output on cygwin
...
...
@@ -91,3 +110,23 @@ http://log.libusbx.org
2008-05-25: v0.9.0 release
* First libusb-1.0 beta release
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
APPENDIX A - How to maintain code compatibility with versions of libusb and
libusbx that use MaxPower:
If you must to maintain compatibility with versions of the library that aren't
using the bMaxPower attribute in struct libusb_config_descriptor, the
recommended way is to use the new LIBUSBX_API_VERSION macro with an #ifdef.
For instance, if your code was written as follows:
if (dev->config[0].MaxPower < 250)
Then you should modify it to have:
#if defined(LIBUSBX_API_VERSION) && (LIBUSBX_API_VERSION >= 0x01000100)
if (dev->config[0].bMaxPower < 250)
#else
if (dev->config[0].MaxPower < 250)
#endif
This diff is collapsed.
Click to expand it.
README
+
4
−
3
View file @
4e1d77d3
...
...
@@ -2,10 +2,11 @@ libusbx
=======
libusbx is a library for USB device access from Linux, Mac OS X,
Windows and OpenBSD userspace (with OpenBSD, and to a lesser extent
Windows, currently being considered EXPERIMENTAL).
Windows and OpenBSD/NetBSD userspace, with OpenBSD/NetBSD, and to a
lesser extent some of the newest features of Windows (such as libusbK
and libusb-win32 driver support) being EXPERIMENTAL.
It is written in C and licensed under the GNU Lesser General Public
License version 2.1 or
(
at your option
)
any later version (see COPYING).
License version 2.1 or
,
at your option
,
any later version (see COPYING).
libusbx is abstracted internally in such a way that it can hopefully
be ported to other operating systems. Please see the PORTING file
...
...
This diff is collapsed.
Click to expand it.
README.git
+
1
−
1
View file @
4e1d77d3
...
...
@@ -18,7 +18,7 @@ Notes related to submitting new developments:
If you submit a new development to libusbx (eg: new backend), that is unlikely
to fit in a couple of small patches, we would kindly suggest that you create a
public account on github, if you don't have one already, and then fork a new
lib
s
ubx repository under this account from https://github.com/libusbx/libusbx.
libu
s
bx repository under this account from https://github.com/libusbx/libusbx.
Then you can create a git branch for your work, that we will be able to better
reference and test.
...
...
This diff is collapsed.
Click to expand it.
libusb/version.h
+
2
−
2
View file @
4e1d77d3
...
...
@@ -7,12 +7,12 @@
#define LIBUSB_MINOR 0
#endif
#ifndef LIBUSB_MICRO
#define LIBUSB_MICRO 1
2
#define LIBUSB_MICRO 1
3
#endif
#ifndef LIBUSB_NANO
#define LIBUSB_NANO 0
#endif
/* LIBUSB_RC is the release candidate suffix. Should normally be empty. */
#ifndef LIBUSB_RC
#define LIBUSB_RC ""
#define LIBUSB_RC "
-rc1
"
#endif
This diff is collapsed.
Click to expand it.
libusb/version_nano.h
+
1
−
1
View file @
4e1d77d3
#define LIBUSB_NANO 1056
8
#define LIBUSB_NANO 1056
9
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment