usb 1.7.2-prebuild
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/prebuild.yml +62 -0
- package/.gitmodules +3 -0
- package/LICENSE +7 -0
- package/Readme.md +339 -0
- package/binding.gyp +90 -0
- package/libusb/.gitattributes +11 -0
- package/libusb/.private/README.txt +5 -0
- package/libusb/.private/bd.cmd +89 -0
- package/libusb/.private/bm.sh +54 -0
- package/libusb/.private/bwince.cmd +57 -0
- package/libusb/.private/post-rewrite.sh +28 -0
- package/libusb/.private/pre-commit.sh +42 -0
- package/libusb/.private/wbs.txt +61 -0
- package/libusb/.private/wbs_wince.txt +42 -0
- package/libusb/AUTHORS +78 -0
- package/libusb/COPYING +504 -0
- package/libusb/ChangeLog +211 -0
- package/libusb/INSTALL +234 -0
- package/libusb/INSTALL_WIN.txt +73 -0
- package/libusb/Makefile.am +28 -0
- package/libusb/NEWS +2 -0
- package/libusb/PORTING +94 -0
- package/libusb/README +28 -0
- package/libusb/README.git +41 -0
- package/libusb/TODO +2 -0
- package/libusb/Xcode/common.xcconfig +49 -0
- package/libusb/Xcode/debug.xcconfig +29 -0
- package/libusb/Xcode/libusb.xcconfig +21 -0
- package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +1 -0
- package/libusb/Xcode/libusb_debug.xcconfig +21 -0
- package/libusb/Xcode/libusb_release.xcconfig +21 -0
- package/libusb/Xcode/release.xcconfig +30 -0
- package/libusb/android/README +114 -0
- package/libusb/android/jni/Android.mk +23 -0
- package/libusb/android/jni/Application.mk +24 -0
- package/libusb/android/jni/examples.mk +134 -0
- package/libusb/android/jni/libusb.mk +54 -0
- package/libusb/android/jni/tests.mk +56 -0
- package/libusb/autogen.sh +8 -0
- package/libusb/bootstrap.sh +19 -0
- package/libusb/configure.ac +304 -0
- package/libusb/doc/Makefile.am +9 -0
- package/libusb/doc/doxygen.cfg.in +1288 -0
- package/libusb/doc/libusb.png +0 -0
- package/libusb/examples/Makefile.am +19 -0
- package/libusb/examples/dpfp.c +506 -0
- package/libusb/examples/dpfp_threaded.c +544 -0
- package/libusb/examples/ezusb.c +831 -0
- package/libusb/examples/ezusb.h +120 -0
- package/libusb/examples/fxload.c +287 -0
- package/libusb/examples/getopt/getopt.c +1060 -0
- package/libusb/examples/getopt/getopt.h +180 -0
- package/libusb/examples/getopt/getopt1.c +188 -0
- package/libusb/examples/hotplugtest.c +104 -0
- package/libusb/examples/listdevs.c +71 -0
- package/libusb/examples/sam3u_benchmark.c +193 -0
- package/libusb/examples/xusb.c +1129 -0
- package/libusb/libusb/Makefile.am +75 -0
- package/libusb/libusb/core.c +2342 -0
- package/libusb/libusb/descriptor.c +1199 -0
- package/libusb/libusb/hotplug.c +327 -0
- package/libusb/libusb/hotplug.h +82 -0
- package/libusb/libusb/io.c +2631 -0
- package/libusb/libusb/libusb-1.0.def +166 -0
- package/libusb/libusb/libusb-1.0.rc +61 -0
- package/libusb/libusb/libusb.h +1998 -0
- package/libusb/libusb/libusbi.h +1040 -0
- package/libusb/libusb/os/darwin_usb.c +2009 -0
- package/libusb/libusb/os/darwin_usb.h +162 -0
- package/libusb/libusb/os/linux_netlink.c +369 -0
- package/libusb/libusb/os/linux_udev.c +307 -0
- package/libusb/libusb/os/linux_usbfs.c +2695 -0
- package/libusb/libusb/os/linux_usbfs.h +192 -0
- package/libusb/libusb/os/netbsd_usb.c +738 -0
- package/libusb/libusb/os/openbsd_usb.c +832 -0
- package/libusb/libusb/os/poll_posix.c +51 -0
- package/libusb/libusb/os/poll_posix.h +11 -0
- package/libusb/libusb/os/poll_windows.c +796 -0
- package/libusb/libusb/os/poll_windows.h +131 -0
- package/libusb/libusb/os/threads_posix.c +82 -0
- package/libusb/libusb/os/threads_posix.h +50 -0
- package/libusb/libusb/os/threads_windows.c +212 -0
- package/libusb/libusb/os/threads_windows.h +87 -0
- package/libusb/libusb/os/wince_usb.c +1032 -0
- package/libusb/libusb/os/wince_usb.h +131 -0
- package/libusb/libusb/os/windows_common.h +108 -0
- package/libusb/libusb/os/windows_usb.c +5347 -0
- package/libusb/libusb/os/windows_usb.h +971 -0
- package/libusb/libusb/strerror.c +199 -0
- package/libusb/libusb/sync.c +307 -0
- package/libusb/libusb/version.h +18 -0
- package/libusb/libusb/version_nano.h +1 -0
- package/libusb/libusb-1.0.pc.in +11 -0
- package/libusb/msvc/config.h +50 -0
- package/libusb/msvc/ddk_build.cmd +175 -0
- package/libusb/msvc/errno.h +102 -0
- package/libusb/msvc/fxload_2010.vcxproj +170 -0
- package/libusb/msvc/fxload_2010.vcxproj.filters +25 -0
- package/libusb/msvc/fxload_2012.vcxproj +174 -0
- package/libusb/msvc/fxload_2012.vcxproj.filters +25 -0
- package/libusb/msvc/fxload_2013.vcxproj +174 -0
- package/libusb/msvc/fxload_sources +23 -0
- package/libusb/msvc/getopt_2005.vcproj +288 -0
- package/libusb/msvc/getopt_2010.vcxproj +131 -0
- package/libusb/msvc/getopt_2010.vcxproj.filters +26 -0
- package/libusb/msvc/getopt_2012.vcxproj +136 -0
- package/libusb/msvc/getopt_2012.vcxproj.filters +26 -0
- package/libusb/msvc/getopt_2013.vcxproj +136 -0
- package/libusb/msvc/getopt_sources +20 -0
- package/libusb/msvc/hotplugtest_2010.vcxproj +163 -0
- package/libusb/msvc/hotplugtest_2010.vcxproj.filters +14 -0
- package/libusb/msvc/hotplugtest_2012.vcxproj +167 -0
- package/libusb/msvc/hotplugtest_2012.vcxproj.filters +14 -0
- package/libusb/msvc/hotplugtest_2013.vcxproj +167 -0
- package/libusb/msvc/hotplugtest_sources +20 -0
- package/libusb/msvc/inttypes.h +295 -0
- package/libusb/msvc/libusb.dsw +71 -0
- package/libusb/msvc/libusb_2005.sln +95 -0
- package/libusb/msvc/libusb_2010.sln +94 -0
- package/libusb/msvc/libusb_2012.sln +94 -0
- package/libusb/msvc/libusb_2013.sln +100 -0
- package/libusb/msvc/libusb_2015.sln +100 -0
- package/libusb/msvc/libusb_dll.dsp +194 -0
- package/libusb/msvc/libusb_dll_2005.vcproj +436 -0
- package/libusb/msvc/libusb_dll_2010.vcxproj +170 -0
- package/libusb/msvc/libusb_dll_2010.vcxproj.filters +81 -0
- package/libusb/msvc/libusb_dll_2012.vcxproj +175 -0
- package/libusb/msvc/libusb_dll_2012.vcxproj.filters +84 -0
- package/libusb/msvc/libusb_dll_2013.vcxproj +175 -0
- package/libusb/msvc/libusb_dll_wince.vcproj +1243 -0
- package/libusb/msvc/libusb_sources +38 -0
- package/libusb/msvc/libusb_static.dsp +174 -0
- package/libusb/msvc/libusb_static_2005.vcproj +362 -0
- package/libusb/msvc/libusb_static_2010.vcxproj +156 -0
- package/libusb/msvc/libusb_static_2010.vcxproj.filters +74 -0
- package/libusb/msvc/libusb_static_2012.vcxproj +160 -0
- package/libusb/msvc/libusb_static_2012.vcxproj.filters +74 -0
- package/libusb/msvc/libusb_static_2013.vcxproj +160 -0
- package/libusb/msvc/libusb_static_wince.vcproj +1185 -0
- package/libusb/msvc/libusb_wince.sln +246 -0
- package/libusb/msvc/listdevs.dsp +103 -0
- package/libusb/msvc/listdevs_2005.vcproj +360 -0
- package/libusb/msvc/listdevs_2010.vcxproj +165 -0
- package/libusb/msvc/listdevs_2010.vcxproj.filters +14 -0
- package/libusb/msvc/listdevs_2012.vcxproj +169 -0
- package/libusb/msvc/listdevs_2012.vcxproj.filters +14 -0
- package/libusb/msvc/listdevs_2013.vcxproj +169 -0
- package/libusb/msvc/listdevs_sources +19 -0
- package/libusb/msvc/listdevs_wince.vcproj +1120 -0
- package/libusb/msvc/missing.c +80 -0
- package/libusb/msvc/missing.h +32 -0
- package/libusb/msvc/stdint.h +256 -0
- package/libusb/msvc/stress_2005.vcproj +390 -0
- package/libusb/msvc/stress_2010.vcxproj +167 -0
- package/libusb/msvc/stress_2010.vcxproj.filters +25 -0
- package/libusb/msvc/stress_2012.vcxproj +171 -0
- package/libusb/msvc/stress_2012.vcxproj.filters +25 -0
- package/libusb/msvc/stress_2013.vcxproj +171 -0
- package/libusb/msvc/stress_wince.vcproj +1128 -0
- package/libusb/msvc/xusb.dsp +102 -0
- package/libusb/msvc/xusb_2005.vcproj +344 -0
- package/libusb/msvc/xusb_2010.vcxproj +163 -0
- package/libusb/msvc/xusb_2010.vcxproj.filters +14 -0
- package/libusb/msvc/xusb_2012.vcxproj +167 -0
- package/libusb/msvc/xusb_2012.vcxproj.filters +14 -0
- package/libusb/msvc/xusb_2013.vcxproj +167 -0
- package/libusb/msvc/xusb_sources +20 -0
- package/libusb/msvc/xusb_wince.vcproj +1120 -0
- package/libusb/tests/Makefile.am +6 -0
- package/libusb/tests/libusb_testlib.h +107 -0
- package/libusb/tests/stress.c +160 -0
- package/libusb/tests/testlib.c +281 -0
- package/libusb.gypi +136 -0
- package/libusb_config/config.h +1 -0
- package/package.json +69 -0
- package/src/device.cc +412 -0
- package/src/helpers.h +64 -0
- package/src/node_usb.cc +319 -0
- package/src/node_usb.h +120 -0
- package/src/transfer.cc +148 -0
- package/src/uv_async_queue.h +33 -0
- package/test/usb.coffee +191 -0
- package/usb.js +524 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@echo off
|
|
2
|
+
rem produce the Win CE binary files for snapshots
|
|
3
|
+
rem !!!THIS SCRIPT IS FOR INTERNAL DEVELOPER USE ONLY!!!
|
|
4
|
+
|
|
5
|
+
if "x%VSINSTALLDIR%"=="x" goto usage
|
|
6
|
+
|
|
7
|
+
if "x%WINCE_TARGET_DIR_BASE%"=="x" set WINCE_TARGET_DIR_BASE=E:\dailies
|
|
8
|
+
if "x%WINCE_TARGET_ARCHES%"=="x" set WINCE_TARGET_ARCHES=ARMV4I MIPSII MIPSII_FP MIPSIV MIPSIV_FP SH4 x86
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
set WINCE_TARGET_DIR=%WINCE_TARGET_DIR_BASE%\%DATE:/=-%
|
|
12
|
+
set MSBUILD_CMD=msbuild.exe
|
|
13
|
+
set MSBUILD_TARGET=Rebuild
|
|
14
|
+
set MSBUILD_CONFIGURATION=Release
|
|
15
|
+
set WINCE_SLN=msvc\libusb_wince.sln
|
|
16
|
+
set PLATFORM_PREFIX=STANDARDSDK_500 (
|
|
17
|
+
set PLATFORM_POSTFIX=)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
set PWD=%~dp0
|
|
21
|
+
cd ..
|
|
22
|
+
|
|
23
|
+
mkdir %WINCE_TARGET_DIR%
|
|
24
|
+
mkdir %WINCE_TARGET_DIR%\include\libusb-1.0
|
|
25
|
+
copy libusb\libusb-1.0.def %WINCE_TARGET_DIR%
|
|
26
|
+
copy libusb\libusb.h %WINCE_TARGET_DIR%\include\libusb-1.0
|
|
27
|
+
for %%A in (%WINCE_TARGET_ARCHES%) do mkdir %WINCE_TARGET_DIR%\%%A
|
|
28
|
+
for %%A in (%WINCE_TARGET_ARCHES%) do mkdir %WINCE_TARGET_DIR%\%%A\static
|
|
29
|
+
for %%A in (%WINCE_TARGET_ARCHES%) do mkdir %WINCE_TARGET_DIR%\%%A\dll
|
|
30
|
+
for %%A in (%WINCE_TARGET_ARCHES%) do mkdir %WINCE_TARGET_DIR%\examples\%%A
|
|
31
|
+
mkdir %WINCE_TARGET_DIR%\examples\source
|
|
32
|
+
copy examples\listdevs.c %WINCE_TARGET_DIR%\examples\source
|
|
33
|
+
copy examples\xusb.c %WINCE_TARGET_DIR%\examples\source
|
|
34
|
+
copy msvc\stdint.h %WINCE_TARGET_DIR%\examples\source
|
|
35
|
+
copy .private\wbs_wince.txt %WINCE_TARGET_DIR%\README.txt
|
|
36
|
+
copy COPYING %WINCE_TARGET_DIR%\COPYING
|
|
37
|
+
|
|
38
|
+
rem Perform the rebuild
|
|
39
|
+
for %%A in (%WINCE_TARGET_ARCHES%) do %MSBUILD_CMD% %WINCE_SLN% /property:Platform="%PLATFORM_PREFIX%%%A%PLATFORM_POSTFIX%" /property:Configuration=%MSBUILD_CONFIGURATION% /target:%MSBUILD_TARGET%"
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
rem Copy across the binaries
|
|
43
|
+
for %%A in (%WINCE_TARGET_ARCHES%) do (
|
|
44
|
+
copy %%A\%MSBUILD_CONFIGURATION%\lib\libusb-1.0.lib %WINCE_TARGET_DIR%\%%A\static
|
|
45
|
+
copy %%A\%MSBUILD_CONFIGURATION%\examples\listdevs.exe %WINCE_TARGET_DIR%\examples\%%A
|
|
46
|
+
copy %%A\%MSBUILD_CONFIGURATION%\examples\xusb.exe %WINCE_TARGET_DIR%\examples\%%A
|
|
47
|
+
copy %%A\%MSBUILD_CONFIGURATION%\dll\libusb-1.0.lib %WINCE_TARGET_DIR%\%%A\dll
|
|
48
|
+
copy %%A\%MSBUILD_CONFIGURATION%\dll\libusb-1.0.dll %WINCE_TARGET_DIR%\%%A\dll
|
|
49
|
+
copy %%A\%MSBUILD_CONFIGURATION%\dll\libusb-1.0.pdb %WINCE_TARGET_DIR%\%%A\dll )
|
|
50
|
+
|
|
51
|
+
goto done
|
|
52
|
+
|
|
53
|
+
:usage
|
|
54
|
+
echo must be run in a Visual Studio 2005 build environment!
|
|
55
|
+
|
|
56
|
+
:done
|
|
57
|
+
cd %PWD%
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
#
|
|
3
|
+
# Detect amended commits and warn user if .amend is missing
|
|
4
|
+
#
|
|
5
|
+
# To have git run this script on commit, create a "post-rewrite" text file in
|
|
6
|
+
# .git/hooks/ with the following content:
|
|
7
|
+
# #!/bin/sh
|
|
8
|
+
# if [ -x .private/post-rewrite.sh ]; then
|
|
9
|
+
# source .private/post-rewrite.sh
|
|
10
|
+
# fi
|
|
11
|
+
#
|
|
12
|
+
# NOTE: These versioning hooks are intended to be used *INTERNALLY* by the
|
|
13
|
+
# libusb development team and are NOT intended to solve versioning for any
|
|
14
|
+
# derivative branch, such as one you would create for private development.
|
|
15
|
+
#
|
|
16
|
+
|
|
17
|
+
case "$1" in
|
|
18
|
+
amend)
|
|
19
|
+
# Check if a .amend exists. If none, create one and warn user to re-commit.
|
|
20
|
+
if [ -f .amend ]; then
|
|
21
|
+
rm .amend
|
|
22
|
+
else
|
|
23
|
+
echo "Amend commit detected, but no .amend file - One has now been created."
|
|
24
|
+
echo "Please re-commit as is (amend), so that the version number is correct."
|
|
25
|
+
touch .amend
|
|
26
|
+
fi ;;
|
|
27
|
+
*) ;;
|
|
28
|
+
esac
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
#
|
|
3
|
+
# Sets the nano version according to the number of commits on this branch, as
|
|
4
|
+
# well as the branch offset.
|
|
5
|
+
#
|
|
6
|
+
# To have git run this script on commit, first make sure you change
|
|
7
|
+
# BRANCH_OFFSET to 60000 or higher, then create a "pre-commit" text file in
|
|
8
|
+
# .git/hooks/ with the following content:
|
|
9
|
+
# #!/bin/sh
|
|
10
|
+
# if [ -x .private/pre-commit.sh ]; then
|
|
11
|
+
# source .private/pre-commit.sh
|
|
12
|
+
# fi
|
|
13
|
+
#
|
|
14
|
+
# NOTE: These versioning hooks are intended to be used *INTERNALLY* by the
|
|
15
|
+
# libusb development team and are NOT intended to solve versioning for any
|
|
16
|
+
# derivative branch, such as one you would create for private development.
|
|
17
|
+
#
|
|
18
|
+
# Should you wish to reuse these scripts for your own versioning, in your own
|
|
19
|
+
# private branch, we kindly ask you to first set BRANCH_OFFSET to 60000, or
|
|
20
|
+
# higher, as any offset below below 60000 is *RESERVED* for libusb official
|
|
21
|
+
# usage.
|
|
22
|
+
|
|
23
|
+
################################################################################
|
|
24
|
+
## YOU *MUST* SET THE FOLLOWING TO 60000 OR HIGHER IF YOU REUSE THIS SCRIPT ##
|
|
25
|
+
################################################################################
|
|
26
|
+
BRANCH_OFFSET=10000
|
|
27
|
+
################################################################################
|
|
28
|
+
|
|
29
|
+
type -P git &>/dev/null || { echo "git command not found. Aborting." >&2; exit 1; }
|
|
30
|
+
|
|
31
|
+
NANO=`git log --oneline | wc -l`
|
|
32
|
+
NANO=`expr $NANO + $BRANCH_OFFSET`
|
|
33
|
+
# Amended commits need to have the nano corrected. Current versions of git hooks
|
|
34
|
+
# only allow detection of amending post commit, so we require a .amend file,
|
|
35
|
+
# which will be created post commit with a user warning if none exists when an
|
|
36
|
+
# amend is detected.
|
|
37
|
+
if [ -f .amend ]; then
|
|
38
|
+
NANO=`expr $NANO - 1`
|
|
39
|
+
fi
|
|
40
|
+
echo "setting nano to $NANO"
|
|
41
|
+
echo "#define LIBUSB_NANO $NANO" > libusb/version_nano.h
|
|
42
|
+
git add libusb/version_nano.h
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
libusb 1.0 Windows binary snapshot - README
|
|
2
|
+
|
|
3
|
+
*********************************************************************
|
|
4
|
+
* The latest version of this snapshot can always be downloaded at: *
|
|
5
|
+
* https://sourceforge.net/projects/libusb/files/ *
|
|
6
|
+
*********************************************************************
|
|
7
|
+
|
|
8
|
+
o Visual Studio:
|
|
9
|
+
- Open existing or create a new project for your application
|
|
10
|
+
- Copy libusb.h, from the include\libusb-1.0\ directory, into your project and
|
|
11
|
+
make sure that the location where the file reside appears in the 'Additional
|
|
12
|
+
Include Directories' section (Configuration Properties -> C/C++ -> General).
|
|
13
|
+
- Copy the relevant .lib file from MS32\ or MS64\ and add 'libusb-1.0.lib' to
|
|
14
|
+
your 'Additional Dependencies' (Configuration Properties -> Linker -> Input)
|
|
15
|
+
Also make sure that the directory where libusb-1.0.lib resides is added to
|
|
16
|
+
'Additional Library Directories' (Configuration Properties -> Linker
|
|
17
|
+
-> General)
|
|
18
|
+
- If you use the static version of the libusb library, make sure that
|
|
19
|
+
'Runtime Library' is set to 'Multi-threaded DLL (/MD)' (Configuration
|
|
20
|
+
Properties -> C/C++ -> Code Generation).
|
|
21
|
+
NB: If your application requires /MT (Multi-threaded/libCMT), you need to
|
|
22
|
+
recompile a static libusb 1.0 library from source.
|
|
23
|
+
- Compile and run your application. If you use the DLL version of libusb-1.0,
|
|
24
|
+
remember that you need to have a copy of the DLL either in the runtime
|
|
25
|
+
directory or in system32
|
|
26
|
+
|
|
27
|
+
o WDK/DDK:
|
|
28
|
+
- The following is an example of a sources files that you can use to compile
|
|
29
|
+
a libusb 1.0 based console application. In this sample ..\libusb\ is the
|
|
30
|
+
directory where you would have copied libusb.h as well as the relevant
|
|
31
|
+
libusb-1.0.lib
|
|
32
|
+
|
|
33
|
+
TARGETNAME=your_app
|
|
34
|
+
TARGETTYPE=PROGRAM
|
|
35
|
+
USE_MSVCRT=1
|
|
36
|
+
UMTYPE=console
|
|
37
|
+
INCLUDES=..\libusb;$(DDK_INC_PATH)
|
|
38
|
+
TARGETLIBS=..\libusb\libusb-1.0.lib
|
|
39
|
+
SOURCES=your_app.c
|
|
40
|
+
|
|
41
|
+
- Note that if you plan to use libCMT instead of MSVCRT (USE_LIBCMT=1 instead
|
|
42
|
+
of USE_MSVCRT=1), you will need to recompile libusb to use libCMT. This can
|
|
43
|
+
easily be achieved, in the DDK environment, by running 'ddk_build /MT'
|
|
44
|
+
|
|
45
|
+
o MinGW/cygwin
|
|
46
|
+
- Copy libusb.h, from include/libusb-1.0/ to your default include directory,
|
|
47
|
+
and copy the MinGW32/ or MinGW64/ .a files to your default library directory.
|
|
48
|
+
Or, if you don't want to use the default locations, make sure that you feed
|
|
49
|
+
the relevant -I and -L options to the compiler.
|
|
50
|
+
- Add the '-lusb-1.0' linker option when compiling.
|
|
51
|
+
|
|
52
|
+
o Additional information:
|
|
53
|
+
- The libusb 1.0 API documentation can be accessed at:
|
|
54
|
+
http://api.libusb.info
|
|
55
|
+
- For some libusb samples (including source), please have a look in examples/
|
|
56
|
+
- For additional information on the libusb 1.0 Windows backend please visit:
|
|
57
|
+
http://windows.libusb.info
|
|
58
|
+
- The MinGW and MS generated DLLs are fully interchangeable, provided that you
|
|
59
|
+
use the import libs provided or generate one from the .def also provided.
|
|
60
|
+
- If you find any issue, please visit http://libusb.info/ and check the
|
|
61
|
+
Support section
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
libusb 1.0 Windows CE binary snapshot - README
|
|
2
|
+
|
|
3
|
+
*********************************************************************
|
|
4
|
+
* The latest version of this snapshot can always be downloaded at: *
|
|
5
|
+
* https://sourceforge.net/projects/libusb/files/ *
|
|
6
|
+
*********************************************************************
|
|
7
|
+
|
|
8
|
+
The binaries contained in this snapshot are licensed under the
|
|
9
|
+
GNU Lesser General Public License version 2.1 or, at your option, any later
|
|
10
|
+
version (see COPYING for further details). The source code for these binaries
|
|
11
|
+
is available for download at the same location as this binary snapshot.
|
|
12
|
+
|
|
13
|
+
o Visual Studio:
|
|
14
|
+
- Open existing or create a new project for your application
|
|
15
|
+
- Copy libusb.h, from the include\libusb-1.0\ directory, into your project and
|
|
16
|
+
make sure that the location where the file reside appears in the 'Additional
|
|
17
|
+
Include Directories' section (Configuration Properties -> C/C++ -> General).
|
|
18
|
+
- Copy the relevant .lib file from ARMV4I, MIPSII, MIPSII_FP, MIPSIV, MIPSIV_FP,
|
|
19
|
+
SH4 or x86 and add 'libusb-1.0.lib' to your 'Additional Dependencies'
|
|
20
|
+
(Configuration Properties -> Linker -> Input). Also make sure that the
|
|
21
|
+
directory where libusb-1.0.lib resides is added to 'Additional Library
|
|
22
|
+
Directories' (Configuration Properties -> Linker -> General)
|
|
23
|
+
- If you use the static version of the libusb library, make sure that
|
|
24
|
+
'Runtime Library' is set to 'Multi-threaded DLL (/MD)' (Configuration
|
|
25
|
+
Properties -> C/C++ -> Code Generation).
|
|
26
|
+
NB: If your application requires /MT (Multi-threaded/libCMT), you need to
|
|
27
|
+
recompile a static libusb 1.0 library from source.
|
|
28
|
+
- Compile and run your application. If you use the DLL version of libusb-1.0,
|
|
29
|
+
remember that you need to have a copy of the DLL either in the runtime
|
|
30
|
+
directory or in system32
|
|
31
|
+
|
|
32
|
+
o Additional information:
|
|
33
|
+
- The libusb 1.0 API documentation can be accessed at:
|
|
34
|
+
http://api.libusb.info
|
|
35
|
+
- For some libusb samples (including source), please have a look in examples/
|
|
36
|
+
- For additional information on the libusb 1.0 Windows backend please visit:
|
|
37
|
+
http://windows.libusb.info
|
|
38
|
+
- It is necessary to install the CE USB Kernel Wrapper driver for libusb to
|
|
39
|
+
function on a device. This is obtainable from:
|
|
40
|
+
https://github.com/RealVNC/CEUSBKWrapper
|
|
41
|
+
- If you find any issue, please visit http://libusb.info/ and check the
|
|
42
|
+
Support section
|
package/libusb/AUTHORS
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com>
|
|
2
|
+
Copyright © 2007-2009 Daniel Drake <dsd@gentoo.org>
|
|
3
|
+
Copyright © 2010-2012 Peter Stuge <peter@stuge.se>
|
|
4
|
+
Copyright © 2008-2013 Nathan Hjelm <hjelmn@users.sourceforge.net>
|
|
5
|
+
Copyright © 2009-2013 Pete Batard <pete@akeo.ie>
|
|
6
|
+
Copyright © 2009-2013 Ludovic Rousseau <ludovic.rousseau@gmail.com>
|
|
7
|
+
Copyright © 2010-2012 Michael Plante <michael.plante@gmail.com>
|
|
8
|
+
Copyright © 2011-2013 Hans de Goede <hdegoede@redhat.com>
|
|
9
|
+
Copyright © 2012-2013 Martin Pieuchot <mpi@openbsd.org>
|
|
10
|
+
Copyright © 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
|
11
|
+
|
|
12
|
+
Other contributors:
|
|
13
|
+
Alan Ott
|
|
14
|
+
Alan Stern
|
|
15
|
+
Alex Vatchenko
|
|
16
|
+
Andrew Fernandes
|
|
17
|
+
Anthony Clay
|
|
18
|
+
Artem Egorkine
|
|
19
|
+
Aurelien Jarno
|
|
20
|
+
Bastien Nocera
|
|
21
|
+
Bei Zhang
|
|
22
|
+
Benjamin Dobell
|
|
23
|
+
Carl Karsten
|
|
24
|
+
Chris Dickens
|
|
25
|
+
Colin Walters
|
|
26
|
+
Dave Camarillo
|
|
27
|
+
David Engraf
|
|
28
|
+
David Moore
|
|
29
|
+
Davidlohr Bueso
|
|
30
|
+
Federico Manzan
|
|
31
|
+
Felipe Balbi
|
|
32
|
+
Florian Albrechtskirchinger
|
|
33
|
+
Francesco Montorsi
|
|
34
|
+
Francisco Facioni
|
|
35
|
+
Graeme Gill
|
|
36
|
+
Gustavo Zacarias
|
|
37
|
+
Hans Ulrich Niedermann
|
|
38
|
+
Hector Martin
|
|
39
|
+
Hoi-Ho Chan
|
|
40
|
+
Ilya Konstantinov
|
|
41
|
+
James Hanko
|
|
42
|
+
John Sheu
|
|
43
|
+
Joshua Blake
|
|
44
|
+
Justin Bischoff
|
|
45
|
+
Karsten Koenig
|
|
46
|
+
Konrad Rzepecki
|
|
47
|
+
Kuangye Guo
|
|
48
|
+
Lars Kanis
|
|
49
|
+
Lars Wirzenius
|
|
50
|
+
Luca Longinotti
|
|
51
|
+
Markus Heidelberg
|
|
52
|
+
Martin Koegler
|
|
53
|
+
Matthias Bolte
|
|
54
|
+
Mike Frysinger
|
|
55
|
+
Mikhail Gusarov
|
|
56
|
+
Moritz Fischer
|
|
57
|
+
Ларионов Даниил
|
|
58
|
+
Nicholas Corgan
|
|
59
|
+
Omri Iluz
|
|
60
|
+
Orin Eman
|
|
61
|
+
Paul Fertser
|
|
62
|
+
Pekka Nikander
|
|
63
|
+
Rob Walker
|
|
64
|
+
Sean McBride
|
|
65
|
+
Sebastian Pipping
|
|
66
|
+
Simon Haggett
|
|
67
|
+
Thomas Röfer
|
|
68
|
+
Tim Roberts
|
|
69
|
+
Toby Peterson
|
|
70
|
+
Trygve Laugstøl
|
|
71
|
+
Uri Lublin
|
|
72
|
+
Vasily Khoruzhick
|
|
73
|
+
Vegard Storheil Eriksen
|
|
74
|
+
Vitali Lovich
|
|
75
|
+
Xiaofan Chen
|
|
76
|
+
Zoltán Kovács
|
|
77
|
+
Роман Донченко
|
|
78
|
+
xantares
|