usb 2.1.3 → 2.2.0
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/CHANGELOG.md +12 -0
- package/README.md +3 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/usb/bindings.d.ts +4 -0
- package/dist/usb/device.js +5 -0
- package/dist/usb/device.js.map +1 -1
- package/libusb/.gitattributes +2 -6
- package/libusb/.private/appveyor_build.sh +22 -0
- package/libusb/.private/bm.sh +1 -1
- package/libusb/.private/ci-build.sh +67 -0
- package/libusb/.private/post-rewrite.sh +5 -1
- package/libusb/.private/pre-commit.sh +5 -1
- package/libusb/.private/wbs.txt +4 -19
- package/libusb/.travis.yml +32 -23
- package/libusb/AUTHORS +76 -3
- package/libusb/ChangeLog +41 -3
- package/libusb/INSTALL_WIN.txt +22 -44
- package/libusb/Makefile.am +32 -10
- package/libusb/{README.md → README} +2 -2
- package/libusb/README.git +3 -3
- package/libusb/Xcode/common.xcconfig +23 -19
- package/libusb/Xcode/config.h +25 -13
- package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +511 -109
- package/libusb/android/README +90 -54
- package/libusb/android/config.h +23 -43
- package/libusb/android/examples/unrooted_android.c +301 -0
- package/libusb/android/examples/unrooted_android.h +36 -0
- package/libusb/android/jni/Android.mk +1 -1
- package/libusb/android/jni/Application.mk +16 -0
- package/libusb/android/jni/examples.mk +63 -29
- package/libusb/android/jni/libusb.mk +14 -8
- package/libusb/android/jni/tests.mk +13 -24
- package/libusb/appveyor.yml +69 -30
- package/libusb/autogen.sh +5 -3
- package/libusb/bootstrap.sh +6 -2
- package/libusb/configure.ac +302 -228
- package/libusb/doc/Makefile.in +22 -0
- package/libusb/doc/doxygen.cfg.in +460 -223
- package/libusb/examples/Makefile.am +6 -13
- package/libusb/examples/dpfp.c +276 -73
- package/libusb/examples/ezusb.c +18 -8
- package/libusb/examples/ezusb.h +6 -17
- package/libusb/examples/fxload.c +4 -5
- package/libusb/examples/hotplugtest.c +1 -1
- package/libusb/examples/sam3u_benchmark.c +59 -24
- package/libusb/examples/testlibusb.c +138 -104
- package/libusb/examples/xusb.c +26 -22
- package/libusb/libusb/Makefile.am +57 -70
- package/libusb/libusb/Makefile.am.extra +26 -0
- package/libusb/libusb/core.c +420 -423
- package/libusb/libusb/descriptor.c +365 -419
- package/libusb/libusb/hotplug.c +197 -104
- package/libusb/libusb/io.c +491 -528
- package/libusb/libusb/libusb-1.0.def +7 -3
- package/libusb/libusb/libusb-1.0.rc +1 -9
- package/libusb/libusb/libusb.h +295 -226
- package/libusb/libusb/libusbi.h +587 -314
- package/libusb/libusb/os/darwin_usb.c +634 -317
- package/libusb/libusb/os/darwin_usb.h +39 -15
- package/libusb/libusb/os/events_posix.c +300 -0
- package/libusb/libusb/os/events_posix.h +59 -0
- package/libusb/libusb/os/events_windows.c +214 -0
- package/libusb/{msvc/missing.h → libusb/os/events_windows.h} +25 -11
- package/libusb/libusb/os/haiku_pollfs.cpp +14 -9
- package/libusb/libusb/os/haiku_usb.h +12 -12
- package/libusb/libusb/os/haiku_usb_backend.cpp +36 -37
- package/libusb/libusb/os/haiku_usb_raw.cpp +80 -116
- package/libusb/libusb/os/linux_netlink.c +55 -63
- package/libusb/libusb/os/linux_udev.c +61 -69
- package/libusb/libusb/os/linux_usbfs.c +926 -1015
- package/libusb/libusb/os/linux_usbfs.h +74 -57
- package/libusb/libusb/os/netbsd_usb.c +103 -168
- package/libusb/libusb/os/null_usb.c +111 -0
- package/libusb/libusb/os/openbsd_usb.c +71 -120
- package/libusb/libusb/os/sunos_usb.c +289 -375
- package/libusb/libusb/os/sunos_usb.h +0 -1
- package/libusb/libusb/os/threads_posix.c +81 -32
- package/libusb/libusb/os/threads_posix.h +19 -23
- package/libusb/libusb/os/threads_windows.c +9 -95
- package/libusb/libusb/os/threads_windows.h +33 -31
- package/libusb/libusb/os/windows_common.c +904 -0
- package/libusb/libusb/os/windows_common.h +329 -42
- package/libusb/libusb/os/windows_usbdk.c +161 -267
- package/libusb/libusb/os/windows_usbdk.h +5 -2
- package/libusb/libusb/os/windows_winusb.c +1326 -1190
- package/libusb/libusb/os/windows_winusb.h +167 -167
- package/libusb/libusb/strerror.c +20 -30
- package/libusb/libusb/sync.c +20 -21
- package/libusb/libusb/version.h +1 -1
- package/libusb/libusb/version_nano.h +1 -1
- package/libusb/msvc/.gitattributes +3 -0
- package/libusb/msvc/config.h +27 -20
- package/libusb/msvc/{hotplugtest_2012.vcxproj → dpfp_2013.vcxproj} +14 -10
- package/libusb/msvc/dpfp_2013.vcxproj.filters +26 -0
- package/libusb/msvc/{listdevs_2010.vcxproj → dpfp_2015.vcxproj} +14 -9
- package/libusb/msvc/dpfp_2015.vcxproj.filters +26 -0
- package/libusb/msvc/dpfp_2017.vcxproj +106 -0
- package/libusb/msvc/dpfp_2017.vcxproj.filters +26 -0
- package/libusb/msvc/dpfp_2019.vcxproj +106 -0
- package/libusb/msvc/dpfp_2019.vcxproj.filters +26 -0
- package/libusb/msvc/dpfp_threaded_2013.vcxproj +87 -0
- package/libusb/msvc/dpfp_threaded_2013.vcxproj.filters +26 -0
- package/libusb/msvc/dpfp_threaded_2015.vcxproj +87 -0
- package/libusb/msvc/dpfp_threaded_2015.vcxproj.filters +26 -0
- package/libusb/msvc/dpfp_threaded_2017.vcxproj +106 -0
- package/libusb/msvc/dpfp_threaded_2017.vcxproj.filters +26 -0
- package/libusb/msvc/{fxload_2012.vcxproj → dpfp_threaded_2019.vcxproj} +32 -17
- package/libusb/msvc/dpfp_threaded_2019.vcxproj.filters +26 -0
- package/libusb/msvc/fxload_2013.vcxproj +6 -3
- package/libusb/msvc/fxload_2013.vcxproj.filters +35 -0
- package/libusb/msvc/fxload_2015.vcxproj +6 -3
- package/libusb/msvc/fxload_2015.vcxproj.filters +35 -0
- package/libusb/msvc/fxload_2017.vcxproj +6 -7
- package/libusb/msvc/fxload_2017.vcxproj.filters +35 -0
- package/libusb/msvc/{fxload_2010.vcxproj → fxload_2019.vcxproj} +29 -6
- package/libusb/msvc/fxload_2019.vcxproj.filters +35 -0
- package/libusb/{examples → msvc}/getopt/getopt.c +0 -0
- package/libusb/{examples → msvc}/getopt/getopt.h +0 -0
- package/libusb/{examples → msvc}/getopt/getopt1.c +0 -0
- package/libusb/msvc/getopt_2013.vcxproj +4 -5
- package/libusb/msvc/getopt_2013.vcxproj.filters +26 -0
- package/libusb/msvc/getopt_2015.vcxproj +4 -4
- package/libusb/msvc/getopt_2015.vcxproj.filters +26 -0
- package/libusb/msvc/getopt_2017.vcxproj +4 -10
- package/libusb/msvc/getopt_2017.vcxproj.filters +26 -0
- package/libusb/msvc/{getopt_2012.vcxproj → getopt_2019.vcxproj} +25 -6
- package/libusb/msvc/getopt_2019.vcxproj.filters +26 -0
- package/libusb/msvc/hotplugtest_2013.vcxproj +6 -3
- package/libusb/msvc/hotplugtest_2013.vcxproj.filters +23 -0
- package/libusb/msvc/hotplugtest_2015.vcxproj +6 -3
- package/libusb/msvc/hotplugtest_2015.vcxproj.filters +23 -0
- package/libusb/msvc/hotplugtest_2017.vcxproj +6 -7
- package/libusb/msvc/hotplugtest_2017.vcxproj.filters +23 -0
- package/libusb/msvc/hotplugtest_2019.vcxproj +105 -0
- package/libusb/msvc/hotplugtest_2019.vcxproj.filters +23 -0
- package/libusb/msvc/libusb_2013.sln +50 -20
- package/libusb/msvc/libusb_2015.sln +51 -21
- package/libusb/msvc/libusb_2017.sln +90 -36
- package/libusb/msvc/libusb_2019.sln +240 -0
- package/libusb/msvc/libusb_dll_2013.vcxproj +6 -9
- package/libusb/msvc/libusb_dll_2013.vcxproj.filters +94 -0
- package/libusb/msvc/libusb_dll_2015.vcxproj +6 -8
- package/libusb/msvc/libusb_dll_2015.vcxproj.filters +94 -0
- package/libusb/msvc/libusb_dll_2017.vcxproj +6 -16
- package/libusb/msvc/libusb_dll_2017.vcxproj.filters +94 -0
- package/libusb/msvc/{libusb_dll_2010.vcxproj → libusb_dll_2019.vcxproj} +27 -9
- package/libusb/msvc/libusb_dll_2019.vcxproj.filters +94 -0
- package/libusb/msvc/libusb_static_2013.vcxproj +5 -9
- package/libusb/msvc/libusb_static_2013.vcxproj.filters +80 -0
- package/libusb/msvc/libusb_static_2015.vcxproj +5 -8
- package/libusb/msvc/libusb_static_2015.vcxproj.filters +80 -0
- package/libusb/msvc/libusb_static_2017.vcxproj +5 -8
- package/libusb/msvc/libusb_static_2017.vcxproj.filters +80 -0
- package/libusb/msvc/{libusb_static_2010.vcxproj → libusb_static_2019.vcxproj} +26 -9
- package/libusb/msvc/libusb_static_2019.vcxproj.filters +80 -0
- package/libusb/msvc/listdevs_2013.vcxproj +6 -3
- package/libusb/msvc/listdevs_2013.vcxproj.filters +23 -0
- package/libusb/msvc/listdevs_2015.vcxproj +6 -3
- package/libusb/msvc/listdevs_2015.vcxproj.filters +23 -0
- package/libusb/msvc/listdevs_2017.vcxproj +6 -7
- package/libusb/msvc/listdevs_2017.vcxproj.filters +23 -0
- package/libusb/msvc/listdevs_2019.vcxproj +105 -0
- package/libusb/msvc/listdevs_2019.vcxproj.filters +23 -0
- package/libusb/msvc/{listdevs_2012.vcxproj → sam3u_benchmark_2013.vcxproj} +13 -9
- package/libusb/msvc/sam3u_benchmark_2013.vcxproj.filters +26 -0
- package/libusb/msvc/{hotplugtest_2010.vcxproj → sam3u_benchmark_2015.vcxproj} +13 -8
- package/libusb/msvc/sam3u_benchmark_2015.vcxproj.filters +26 -0
- package/libusb/msvc/sam3u_benchmark_2017.vcxproj +106 -0
- package/libusb/msvc/sam3u_benchmark_2017.vcxproj.filters +26 -0
- package/libusb/msvc/sam3u_benchmark_2019.vcxproj +106 -0
- package/libusb/msvc/sam3u_benchmark_2019.vcxproj.filters +26 -0
- package/libusb/msvc/stress_2013.vcxproj +4 -2
- package/libusb/msvc/stress_2013.vcxproj.filters +32 -0
- package/libusb/msvc/stress_2015.vcxproj +4 -2
- package/libusb/msvc/stress_2015.vcxproj.filters +32 -0
- package/libusb/msvc/stress_2017.vcxproj +4 -6
- package/libusb/msvc/stress_2017.vcxproj.filters +32 -0
- package/libusb/msvc/{stress_2010.vcxproj → stress_2019.vcxproj} +26 -4
- package/libusb/msvc/stress_2019.vcxproj.filters +32 -0
- package/libusb/msvc/testlibusb_2013.vcxproj +6 -3
- package/libusb/msvc/testlibusb_2013.vcxproj.filters +23 -0
- package/libusb/msvc/testlibusb_2015.vcxproj +6 -3
- package/libusb/msvc/testlibusb_2015.vcxproj.filters +23 -0
- package/libusb/msvc/testlibusb_2017.vcxproj +6 -7
- package/libusb/msvc/testlibusb_2017.vcxproj.filters +23 -0
- package/libusb/msvc/{testlibusb_2010.vcxproj → testlibusb_2019.vcxproj} +28 -5
- package/libusb/msvc/testlibusb_2019.vcxproj.filters +23 -0
- package/libusb/msvc/xusb_2013.vcxproj +6 -3
- package/libusb/msvc/xusb_2013.vcxproj.filters +23 -0
- package/libusb/msvc/xusb_2015.vcxproj +6 -3
- package/libusb/msvc/xusb_2015.vcxproj.filters +23 -0
- package/libusb/msvc/xusb_2017.vcxproj +6 -7
- package/libusb/msvc/xusb_2017.vcxproj.filters +23 -0
- package/libusb/msvc/{xusb_2010.vcxproj → xusb_2019.vcxproj} +28 -5
- package/libusb/msvc/xusb_2019.vcxproj.filters +23 -0
- package/libusb/tests/Makefile.am +1 -0
- package/libusb/tests/libusb_testlib.h +12 -43
- package/libusb/tests/stress.c +59 -50
- package/libusb/tests/testlib.c +78 -171
- package/libusb.gypi +10 -11
- package/package.json +1 -1
- package/prebuilds/android-arm/node.napi.armv7.node +0 -0
- package/prebuilds/android-arm64/node.napi.armv8.node +0 -0
- package/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
- package/prebuilds/linux-arm/node.napi.armv6.node +0 -0
- package/prebuilds/linux-arm/node.napi.armv7.node +0 -0
- package/prebuilds/linux-arm64/node.napi.armv8.node +0 -0
- package/prebuilds/linux-ia32/node.napi.node +0 -0
- package/prebuilds/linux-x64/node.napi.glibc.node +0 -0
- package/prebuilds/linux-x64/node.napi.musl.node +0 -0
- package/prebuilds/win32-ia32/node.napi.node +0 -0
- package/prebuilds/win32-x64/node.napi.node +0 -0
- package/src/device.cc +12 -7
- package/src/node_usb.cc +10 -0
- package/test/usb.coffee +6 -0
- package/tsc/index.ts +2 -0
- package/tsc/usb/bindings.ts +5 -0
- package/tsc/usb/device.ts +6 -0
- package/libusb/.private/bd.cmd +0 -89
- package/libusb/.private/bwince.cmd +0 -57
- package/libusb/.private/wbs_wince.txt +0 -42
- package/libusb/Brewfile +0 -4
- package/libusb/appveyor_cygwin.bat +0 -11
- package/libusb/appveyor_minGW.bat +0 -19
- package/libusb/doc/Makefile.am +0 -9
- package/libusb/examples/dpfp_threaded.c +0 -557
- package/libusb/libusb/hotplug.h +0 -99
- package/libusb/libusb/os/poll_posix.c +0 -84
- package/libusb/libusb/os/poll_posix.h +0 -14
- package/libusb/libusb/os/poll_windows.c +0 -447
- package/libusb/libusb/os/poll_windows.h +0 -98
- package/libusb/libusb/os/wince_usb.c +0 -888
- package/libusb/libusb/os/wince_usb.h +0 -126
- package/libusb/libusb/os/windows_nt_common.c +0 -1010
- package/libusb/libusb/os/windows_nt_common.h +0 -110
- package/libusb/libusb/os/windows_nt_shared_types.h +0 -147
- package/libusb/msvc/appveyor.bat +0 -27
- package/libusb/msvc/ddk_build.cmd +0 -219
- package/libusb/msvc/errno.h +0 -102
- package/libusb/msvc/fxload_sources +0 -23
- package/libusb/msvc/getopt_2005.vcproj +0 -288
- package/libusb/msvc/getopt_2010.vcxproj +0 -72
- package/libusb/msvc/getopt_sources +0 -24
- package/libusb/msvc/hotplugtest_sources +0 -20
- package/libusb/msvc/inttypes.h +0 -295
- package/libusb/msvc/libusb.dsw +0 -71
- package/libusb/msvc/libusb_2005.sln +0 -95
- package/libusb/msvc/libusb_2010.sln +0 -105
- package/libusb/msvc/libusb_2012.sln +0 -105
- package/libusb/msvc/libusb_dll.dsp +0 -194
- package/libusb/msvc/libusb_dll_2005.vcproj +0 -464
- package/libusb/msvc/libusb_dll_2012.vcxproj +0 -107
- package/libusb/msvc/libusb_dll_wince.vcproj +0 -1251
- package/libusb/msvc/libusb_sources +0 -43
- package/libusb/msvc/libusb_static.dsp +0 -174
- package/libusb/msvc/libusb_static_2005.vcproj +0 -390
- package/libusb/msvc/libusb_static_2012.vcxproj +0 -98
- package/libusb/msvc/libusb_static_wince.vcproj +0 -1179
- package/libusb/msvc/libusb_wince.sln +0 -246
- package/libusb/msvc/listdevs.dsp +0 -103
- package/libusb/msvc/listdevs_2005.vcproj +0 -360
- package/libusb/msvc/listdevs_sources +0 -20
- package/libusb/msvc/listdevs_wince.vcproj +0 -1120
- package/libusb/msvc/missing.c +0 -80
- package/libusb/msvc/stdint.h +0 -256
- package/libusb/msvc/stress_2005.vcproj +0 -390
- package/libusb/msvc/stress_2012.vcxproj +0 -87
- package/libusb/msvc/stress_sources +0 -21
- package/libusb/msvc/stress_wince.vcproj +0 -1128
- package/libusb/msvc/testlibusb_2012.vcxproj +0 -83
- package/libusb/msvc/testlibusb_sources +0 -20
- package/libusb/msvc/xusb.dsp +0 -102
- package/libusb/msvc/xusb_2005.vcproj +0 -344
- package/libusb/msvc/xusb_2012.vcxproj +0 -83
- package/libusb/msvc/xusb_sources +0 -20
- package/libusb/msvc/xusb_wince.vcproj +0 -1120
- package/libusb/travis-autogen.sh +0 -39
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.2.0] - 2022-03-25
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- Added `useUsbDkBackend()` method for switching libusb backend on Windows - [`489`](https://github.com/node-usb/node-usb/pull/489) ([Rob Moran](https://github.com/thegecko))
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
- Changed libusb dependency to upstream v1.0.25 - [`490`](https://github.com/node-usb/node-usb/pull/490) ([Rob Moran](https://github.com/thegecko))
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- Shortcut getStringDescriptor() to return undefined when passed index 0 - [`487`](https://github.com/node-usb/node-usb/pull/487) ([Rob Moran](https://github.com/thegecko))
|
|
13
|
+
- Fixed race issue with garbage collected devices - [`492`](https://github.com/node-usb/node-usb/pull/492) ([Alba Mendez](https://github.com/mildsunrise))
|
|
14
|
+
|
|
3
15
|
## [2.1.3] - 2022-03-18
|
|
4
16
|
|
|
5
17
|
### Fixed
|
package/README.md
CHANGED
|
@@ -283,6 +283,9 @@ Constant properties from libusb
|
|
|
283
283
|
#### usb.setDebugLevel(level : int)
|
|
284
284
|
Set the libusb debug level (between 0 and 4)
|
|
285
285
|
|
|
286
|
+
#### usb.useUsbDkBackend()
|
|
287
|
+
On Windows, use the USBDK backend of libusb instead of WinUSB
|
|
288
|
+
|
|
286
289
|
### Device
|
|
287
290
|
Represents a USB device.
|
|
288
291
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { WebUSBDevice } from './webusb/webusb-device';
|
|
|
3
3
|
import * as usb from './usb';
|
|
4
4
|
declare const webusb: WebUSB;
|
|
5
5
|
declare const getDeviceList: typeof usb.getDeviceList;
|
|
6
|
+
declare const useUsbDkBackend: typeof usb.useUsbDkBackend;
|
|
6
7
|
/**
|
|
7
8
|
* Convenience method to get the first device with the specified VID and PID, or `undefined` if no such device is present.
|
|
8
9
|
* @param vid
|
|
@@ -14,4 +15,4 @@ declare const findByIds: (vid: number, pid: number) => usb.Device | undefined;
|
|
|
14
15
|
* @param serialNumber
|
|
15
16
|
*/
|
|
16
17
|
declare const findBySerialNumber: (serialNumber: string) => Promise<usb.Device | undefined>;
|
|
17
|
-
export { usb, getDeviceList, findByIds, findBySerialNumber, getWebUsb, webusb, WebUSB, WebUSBDevice };
|
|
18
|
+
export { usb, useUsbDkBackend, getDeviceList, findByIds, findBySerialNumber, getWebUsb, webusb, WebUSB, WebUSBDevice };
|
package/dist/index.js
CHANGED
|
@@ -47,7 +47,7 @@ var __values = (this && this.__values) || function(o) {
|
|
|
47
47
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
48
48
|
};
|
|
49
49
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.WebUSBDevice = exports.WebUSB = exports.webusb = exports.getWebUsb = exports.findBySerialNumber = exports.findByIds = exports.getDeviceList = exports.usb = void 0;
|
|
50
|
+
exports.WebUSBDevice = exports.WebUSB = exports.webusb = exports.getWebUsb = exports.findBySerialNumber = exports.findByIds = exports.getDeviceList = exports.useUsbDkBackend = exports.usb = void 0;
|
|
51
51
|
var util_1 = require("util");
|
|
52
52
|
var webusb_1 = require("./webusb");
|
|
53
53
|
Object.defineProperty(exports, "WebUSB", { enumerable: true, get: function () { return webusb_1.WebUSB; } });
|
|
@@ -60,6 +60,8 @@ var webusb = new webusb_1.WebUSB();
|
|
|
60
60
|
exports.webusb = webusb;
|
|
61
61
|
var getDeviceList = usb.getDeviceList;
|
|
62
62
|
exports.getDeviceList = getDeviceList;
|
|
63
|
+
var useUsbDkBackend = usb.useUsbDkBackend;
|
|
64
|
+
exports.useUsbDkBackend = useUsbDkBackend;
|
|
63
65
|
/**
|
|
64
66
|
* Convenience method to get the first device with the specified VID and PID, or `undefined` if no such device is present.
|
|
65
67
|
* @param vid
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../tsc/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6BAAiC;AACjC,mCAA6C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../tsc/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6BAAiC;AACjC,mCAA6C;AAqEzC,uFArEK,eAAM,OAqEL;AANN,0FA/Da,kBAAS,O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AY,EAAE;oBAC9C,sBAAO,MAAM,EAAC;iBACjB;;;;;;gBAID,IAAI;oBACA,IAAI,MAAM,CAAC,MAAM,CAAC,EAAE;wBAChB,MAAM,CAAC,KAAK,EAAE,CAAC;qBAClB;iBACJ;gBAAC,WAAM;oBACJ,mEAAmE;iBACtE;;;;;;;;;;;;;;;;qBAIT,sBAAO,SAAS,EAAC;;;KACpB,CAAC;AAUE,gDAAkB"}
|
package/dist/usb/bindings.d.ts
CHANGED
|
@@ -13,6 +13,10 @@ export declare class LibUSBException extends Error {
|
|
|
13
13
|
* @param level libusb debug level (between 0 and 4)
|
|
14
14
|
*/
|
|
15
15
|
export declare function setDebugLevel(level: number): void;
|
|
16
|
+
/**
|
|
17
|
+
* Use USBDK Backend (Windows only)
|
|
18
|
+
*/
|
|
19
|
+
export declare function useUsbDkBackend(): void;
|
|
16
20
|
export declare function _enableHotplugEvents(): void;
|
|
17
21
|
export declare function _disableHotplugEvents(): void;
|
|
18
22
|
export declare function _getLibusbCapability(capability: number): number;
|
package/dist/usb/device.js
CHANGED
|
@@ -205,6 +205,11 @@ var ExtendedDevice = /** @class */ (function () {
|
|
|
205
205
|
* @param callback
|
|
206
206
|
*/
|
|
207
207
|
ExtendedDevice.prototype.getStringDescriptor = function (desc_index, callback) {
|
|
208
|
+
// Index 0 indicates null
|
|
209
|
+
if (desc_index === 0) {
|
|
210
|
+
callback();
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
208
213
|
var langid = 0x0409;
|
|
209
214
|
var length = 255;
|
|
210
215
|
this.controlTransfer(usb.LIBUSB_ENDPOINT_IN, usb.LIBUSB_REQUEST_GET_DESCRIPTOR, ((usb.LIBUSB_DT_STRING << 8) | desc_index), langid, length, function (error, buffer) {
|
package/dist/usb/device.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device.js","sourceRoot":"","sources":["../../tsc/usb/device.ts"],"names":[],"mappings":";;;AAAA,gCAAkC;AAClC,yCAAwC;AACxC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AC,CAAC,UAAU,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;YAC5D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;gBAC1B,YAAY,CAAC,IAAI,CAAC,IAAI,uBAAU,CAAC,KAAI,EAAE,CAAC,CAAC,CAAC,CAAC;aAC9C;YAED,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;IACP,CAAC;IACL,qBAAC;AAAD,CAAC,AAlUD,IAkUC;AAlUY,wCAAc"}
|
package/libusb/.gitattributes
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
*.sh eol=lf
|
|
2
1
|
*.ac eol=lf
|
|
3
2
|
*.am eol=lf
|
|
4
|
-
*.
|
|
5
|
-
*.
|
|
6
|
-
*.sln eol=crlf
|
|
7
|
-
*.vcproj eol=crlf
|
|
8
|
-
*.vcxproj* eol=crlf
|
|
3
|
+
*.bat eol=crlf
|
|
4
|
+
*.sh eol=lf
|
|
9
5
|
.gitattributes export-ignore
|
|
10
6
|
.gitignore export-ignore
|
|
11
7
|
INSTALL_WIN.txt eol=crlf
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
set -eu
|
|
4
|
+
|
|
5
|
+
buildsys="${1}-${Platform}"
|
|
6
|
+
|
|
7
|
+
if [ "${buildsys}" == "MinGW-Win32" ]; then
|
|
8
|
+
export PATH="/c/mingw-w64/i686-6.3.0-posix-dwarf-rt_v5-rev1/mingw32/bin:${PATH}"
|
|
9
|
+
elif [ "${buildsys}" == "MinGW-x64" ]; then
|
|
10
|
+
export PATH="/c/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin:${PATH}"
|
|
11
|
+
fi
|
|
12
|
+
|
|
13
|
+
builddir="build-${buildsys}"
|
|
14
|
+
installdir="${PWD}/libusb-${buildsys}"
|
|
15
|
+
|
|
16
|
+
cd libusb
|
|
17
|
+
|
|
18
|
+
echo "Bootstrapping ..."
|
|
19
|
+
./bootstrap.sh
|
|
20
|
+
echo ""
|
|
21
|
+
|
|
22
|
+
exec .private/ci-build.sh --build-dir "${builddir}" --install -- "--prefix=${installdir}"
|
package/libusb/.private/bm.sh
CHANGED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
set -e
|
|
4
|
+
|
|
5
|
+
builddir=
|
|
6
|
+
install=no
|
|
7
|
+
|
|
8
|
+
while [ $# -gt 0 ]; do
|
|
9
|
+
case "$1" in
|
|
10
|
+
--build-dir)
|
|
11
|
+
if [ $# -lt 2 ]; then
|
|
12
|
+
echo "ERROR: missing argument for --build-dir option" >&2
|
|
13
|
+
exit 1
|
|
14
|
+
fi
|
|
15
|
+
builddir=$2
|
|
16
|
+
shift 2
|
|
17
|
+
;;
|
|
18
|
+
--install)
|
|
19
|
+
install=yes
|
|
20
|
+
shift
|
|
21
|
+
;;
|
|
22
|
+
--)
|
|
23
|
+
shift
|
|
24
|
+
break;
|
|
25
|
+
;;
|
|
26
|
+
*)
|
|
27
|
+
echo "ERROR: Unexpected argument: $1" >&2
|
|
28
|
+
exit 1
|
|
29
|
+
esac
|
|
30
|
+
done
|
|
31
|
+
|
|
32
|
+
if [ -z "${builddir}" ]; then
|
|
33
|
+
echo "ERROR: --build-dir option not specified" >&2
|
|
34
|
+
exit 1
|
|
35
|
+
fi
|
|
36
|
+
|
|
37
|
+
if [ -e "${builddir}" ]; then
|
|
38
|
+
echo "ERROR: directory entry named '${builddir}' already exists" >&2
|
|
39
|
+
exit 1
|
|
40
|
+
fi
|
|
41
|
+
|
|
42
|
+
mkdir "${builddir}"
|
|
43
|
+
cd "${builddir}"
|
|
44
|
+
|
|
45
|
+
cflags="-O2"
|
|
46
|
+
|
|
47
|
+
# enable extra warnings
|
|
48
|
+
cflags+=" -Winline"
|
|
49
|
+
cflags+=" -Wmissing-include-dirs"
|
|
50
|
+
cflags+=" -Wnested-externs"
|
|
51
|
+
cflags+=" -Wpointer-arith"
|
|
52
|
+
cflags+=" -Wredundant-decls"
|
|
53
|
+
cflags+=" -Wswitch-enum"
|
|
54
|
+
|
|
55
|
+
echo ""
|
|
56
|
+
echo "Configuring ..."
|
|
57
|
+
CFLAGS="${cflags}" ../configure --enable-examples-build --enable-tests-build "$@"
|
|
58
|
+
|
|
59
|
+
echo ""
|
|
60
|
+
echo "Building ..."
|
|
61
|
+
make -j4 -k
|
|
62
|
+
|
|
63
|
+
if [ "${install}" = "yes" ]; then
|
|
64
|
+
echo ""
|
|
65
|
+
echo "Installing ..."
|
|
66
|
+
make install
|
|
67
|
+
fi
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# .git/hooks/ with the following content:
|
|
7
7
|
# #!/bin/sh
|
|
8
8
|
# if [ -x .private/post-rewrite.sh ]; then
|
|
9
|
-
#
|
|
9
|
+
# . .private/post-rewrite.sh
|
|
10
10
|
# fi
|
|
11
11
|
#
|
|
12
12
|
# NOTE: These versioning hooks are intended to be used *INTERNALLY* by the
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
# derivative branch, such as one you would create for private development.
|
|
15
15
|
#
|
|
16
16
|
|
|
17
|
+
if [ -n "$LIBUSB_SKIP_NANO" ]; then
|
|
18
|
+
exit 0
|
|
19
|
+
fi
|
|
20
|
+
|
|
17
21
|
case "$1" in
|
|
18
22
|
amend)
|
|
19
23
|
# Check if a .amend exists. If none, create one and warn user to re-commit.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
# .git/hooks/ with the following content:
|
|
9
9
|
# #!/bin/sh
|
|
10
10
|
# if [ -x .private/pre-commit.sh ]; then
|
|
11
|
-
#
|
|
11
|
+
# . .private/pre-commit.sh
|
|
12
12
|
# fi
|
|
13
13
|
#
|
|
14
14
|
# NOTE: These versioning hooks are intended to be used *INTERNALLY* by the
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
BRANCH_OFFSET=10000
|
|
27
27
|
################################################################################
|
|
28
28
|
|
|
29
|
+
if [ -n "$LIBUSB_SKIP_NANO" ]; then
|
|
30
|
+
exit 0
|
|
31
|
+
fi
|
|
32
|
+
|
|
29
33
|
if [ "$BASH_VERSION" = '' ]; then
|
|
30
34
|
TYPE_CMD="type git >/dev/null 2>&1"
|
|
31
35
|
else
|
package/libusb/.private/wbs.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
*********************************************************************
|
|
4
4
|
* The latest version of this snapshot can always be downloaded at: *
|
|
5
|
-
* https://
|
|
5
|
+
* https://github.com/libusb/libusb/releases *
|
|
6
6
|
*********************************************************************
|
|
7
7
|
|
|
8
8
|
o Visual Studio:
|
|
@@ -24,24 +24,6 @@ o Visual Studio:
|
|
|
24
24
|
remember that you need to have a copy of the DLL either in the runtime
|
|
25
25
|
directory or in system32
|
|
26
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
27
|
o MinGW/cygwin
|
|
46
28
|
- Copy libusb.h, from include/libusb-1.0/ to your default include directory,
|
|
47
29
|
and copy the MinGW32/ or MinGW64/ .a files to your default library directory.
|
|
@@ -55,6 +37,9 @@ o Additional information:
|
|
|
55
37
|
- For some libusb samples (including source), please have a look in examples/
|
|
56
38
|
- For additional information on the libusb 1.0 Windows backend please visit:
|
|
57
39
|
http://windows.libusb.info
|
|
40
|
+
- Using the UsbDk backend is now a run-time choice rather than a compile-time
|
|
41
|
+
choice. For additional information, including example usage, please visit:
|
|
42
|
+
http://windows.libusb.info/#Driver_Installation
|
|
58
43
|
- The MinGW and MS generated DLLs are fully interchangeable, provided that you
|
|
59
44
|
use the import libs provided or generate one from the .def also provided.
|
|
60
45
|
- If you find any issue, please visit http://libusb.info/ and check the
|
package/libusb/.travis.yml
CHANGED
|
@@ -1,49 +1,58 @@
|
|
|
1
1
|
language: c
|
|
2
2
|
|
|
3
|
+
git:
|
|
4
|
+
depth: 1
|
|
5
|
+
|
|
3
6
|
matrix:
|
|
4
7
|
include:
|
|
5
8
|
- os: linux
|
|
6
|
-
dist:
|
|
7
|
-
|
|
9
|
+
dist: focal
|
|
10
|
+
compiler: clang
|
|
11
|
+
- os: linux
|
|
12
|
+
dist: focal
|
|
8
13
|
compiler: gcc
|
|
9
14
|
- os: linux
|
|
10
|
-
dist:
|
|
11
|
-
sudo: required
|
|
15
|
+
dist: bionic
|
|
12
16
|
compiler: clang
|
|
13
|
-
- os:
|
|
14
|
-
|
|
17
|
+
- os: linux
|
|
18
|
+
dist: bionic
|
|
15
19
|
compiler: gcc
|
|
16
|
-
- os:
|
|
17
|
-
|
|
20
|
+
- os: linux
|
|
21
|
+
dist: xenial
|
|
18
22
|
compiler: clang
|
|
19
|
-
- os:
|
|
20
|
-
|
|
23
|
+
- os: linux
|
|
24
|
+
dist: xenial
|
|
21
25
|
compiler: gcc
|
|
22
26
|
- os: osx
|
|
23
|
-
osx_image:
|
|
27
|
+
osx_image: xcode12.2
|
|
24
28
|
compiler: clang
|
|
25
29
|
- os: osx
|
|
26
|
-
osx_image:
|
|
27
|
-
compiler:
|
|
30
|
+
osx_image: xcode11.3
|
|
31
|
+
compiler: clang
|
|
28
32
|
- os: osx
|
|
29
|
-
osx_image:
|
|
33
|
+
osx_image: xcode9.4
|
|
30
34
|
compiler: clang
|
|
31
35
|
|
|
32
36
|
addons:
|
|
33
|
-
homebrew:
|
|
34
|
-
update: true
|
|
35
|
-
brewfile: true
|
|
36
37
|
apt:
|
|
37
38
|
packages:
|
|
38
39
|
- autoconf
|
|
39
40
|
- automake
|
|
40
41
|
- libtool
|
|
41
|
-
- m4
|
|
42
42
|
- libudev-dev
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
- m4
|
|
44
|
+
homebrew:
|
|
45
|
+
packages:
|
|
46
|
+
- autoconf
|
|
47
|
+
- automake
|
|
48
|
+
- libtool
|
|
49
|
+
- m4
|
|
50
|
+
|
|
51
|
+
before_script:
|
|
52
|
+
- ./bootstrap.sh
|
|
45
53
|
|
|
46
54
|
script:
|
|
47
|
-
-
|
|
48
|
-
- if [
|
|
49
|
-
- if [
|
|
55
|
+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then .private/ci-build.sh --build-dir build-netlink -- --disable-udev; fi
|
|
56
|
+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then .private/ci-build.sh --build-dir build-udev -- --enable-udev; fi
|
|
57
|
+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then .private/ci-build.sh --build-dir build; fi
|
|
58
|
+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then cd Xcode && xcodebuild -project libusb.xcodeproj; fi
|
package/libusb/AUTHORS
CHANGED
|
@@ -11,93 +11,154 @@ Copyright © 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
|
|
11
11
|
Copyright © 2013-2018 Chris Dickens <christopher.a.dickens@gmail.com>
|
|
12
12
|
|
|
13
13
|
Other contributors:
|
|
14
|
+
Aaron Luft
|
|
15
|
+
Adam Korcz
|
|
14
16
|
Adrian Bunk
|
|
17
|
+
Adrien Destugues
|
|
15
18
|
Akshay Jaggi
|
|
16
19
|
Alan Ott
|
|
17
20
|
Alan Stern
|
|
21
|
+
Aleksandr Mezin
|
|
22
|
+
Alexander Pyhalov
|
|
23
|
+
Alexander Schlarb
|
|
24
|
+
Alexander Stein
|
|
18
25
|
Alex Vatchenko
|
|
26
|
+
Andrew Aldridge
|
|
19
27
|
Andrew Fernandes
|
|
28
|
+
Andrew Goodney
|
|
20
29
|
Andy Chunyu
|
|
21
30
|
Andy McFadden
|
|
22
31
|
Angus Gratton
|
|
23
32
|
Anil Nair
|
|
33
|
+
Ankur Verma
|
|
24
34
|
Anthony Clay
|
|
25
35
|
Antonio Ospite
|
|
26
36
|
Artem Egorkine
|
|
27
37
|
Aurelien Jarno
|
|
38
|
+
Axel Gembe
|
|
39
|
+
Aymeric Vincent
|
|
40
|
+
Baruch Siach
|
|
28
41
|
Bastien Nocera
|
|
29
42
|
Bei Zhang
|
|
43
|
+
Bence Csokas
|
|
30
44
|
Benjamin Dobell
|
|
45
|
+
Bohdan Tymkiv
|
|
31
46
|
Brent Rector
|
|
47
|
+
Bruno Harbulot
|
|
32
48
|
Carl Karsten
|
|
33
49
|
Christophe Zeitouny
|
|
50
|
+
Chris Zhu
|
|
51
|
+
Chunyu Xie
|
|
34
52
|
Colin Walters
|
|
53
|
+
Craig Hutchinson
|
|
35
54
|
Dave Camarillo
|
|
36
55
|
David Engraf
|
|
37
|
-
David Moore
|
|
38
56
|
Davidlohr Bueso
|
|
57
|
+
David Moore
|
|
39
58
|
Dmitry Fleytman
|
|
59
|
+
Dmitry Kostjuchenko
|
|
60
|
+
Dmitry Zakablukov
|
|
40
61
|
Doug Johnston
|
|
41
62
|
Evan Hunter
|
|
63
|
+
Evan Miller
|
|
42
64
|
Federico Manzan
|
|
43
65
|
Felipe Balbi
|
|
44
66
|
Florian Albrechtskirchinger
|
|
45
67
|
Francesco Montorsi
|
|
46
68
|
Francisco Facioni
|
|
69
|
+
Frank Li
|
|
70
|
+
Frederik Carlier
|
|
71
|
+
Freek Dijkstra
|
|
47
72
|
Gaurav Gupta
|
|
48
73
|
Graeme Gill
|
|
74
|
+
Greg Kroah-Hartman
|
|
49
75
|
Gustavo Zacarias
|
|
76
|
+
Haidong Zheng
|
|
50
77
|
Hans Ulrich Niedermann
|
|
78
|
+
Harry Mallon
|
|
51
79
|
Hector Martin
|
|
52
80
|
Hoi-Ho Chan
|
|
81
|
+
Ido Yariv
|
|
82
|
+
Igor Anokhin
|
|
83
|
+
Ihor Dutchak
|
|
53
84
|
Ilya Konstantinov
|
|
54
85
|
Jakub Klama
|
|
55
86
|
James Hanko
|
|
56
87
|
Jeffrey Nichols
|
|
88
|
+
Jie Zhang
|
|
89
|
+
Jim Chen
|
|
57
90
|
Johann Richard
|
|
91
|
+
John Keeping
|
|
58
92
|
John Sheu
|
|
93
|
+
Jonas Malaco
|
|
59
94
|
Jonathon Jongsma
|
|
60
95
|
Joost Muller
|
|
61
96
|
Josh Gao
|
|
62
97
|
Joshua Blake
|
|
98
|
+
Joshua Hou
|
|
99
|
+
Juan Cruz Viotti
|
|
100
|
+
Julian Scheel
|
|
63
101
|
Justin Bischoff
|
|
64
|
-
KIMURA Masaru
|
|
65
102
|
Karsten Koenig
|
|
103
|
+
Kenjiro Tsuji
|
|
104
|
+
Kimura Masaru
|
|
66
105
|
Konrad Rzepecki
|
|
67
106
|
Kuangye Guo
|
|
68
107
|
Lars Kanis
|
|
69
108
|
Lars Wirzenius
|
|
70
109
|
Lei Chen
|
|
110
|
+
Léo Lam
|
|
111
|
+
Liang Yunwang
|
|
71
112
|
Luca Longinotti
|
|
113
|
+
Luz Paz
|
|
114
|
+
Mac Wang
|
|
115
|
+
Marco Trevisan (Treviño)
|
|
72
116
|
Marcus Meissner
|
|
117
|
+
Mark Kuo
|
|
73
118
|
Markus Heidelberg
|
|
74
119
|
Martin Ettl
|
|
75
120
|
Martin Koegler
|
|
121
|
+
Martin Thierer
|
|
76
122
|
Matthew Stapleton
|
|
77
123
|
Matthias Bolte
|
|
124
|
+
Michael Dickens
|
|
78
125
|
Michel Zou
|
|
79
126
|
Mike Frysinger
|
|
80
127
|
Mikhail Gusarov
|
|
128
|
+
Mikolaj Kucharski
|
|
81
129
|
Morgan Leborgne
|
|
82
130
|
Moritz Fischer
|
|
83
|
-
|
|
131
|
+
Nancy Li
|
|
132
|
+
Nia Alarie
|
|
84
133
|
Nicholas Corgan
|
|
85
134
|
Omri Iluz
|
|
86
135
|
Orin Eman
|
|
136
|
+
Ozkan Sezer
|
|
137
|
+
Patrick Stewart
|
|
138
|
+
Paul Cercueil
|
|
87
139
|
Paul Fertser
|
|
140
|
+
Paul Qureshi
|
|
88
141
|
Pekka Nikander
|
|
142
|
+
Philémon Favrod
|
|
143
|
+
Pino Toscano
|
|
89
144
|
Rob Walker
|
|
90
145
|
Romain Vimont
|
|
91
146
|
Roman Kalashnikov
|
|
147
|
+
Ryan Schmidt
|
|
148
|
+
Saleem Rashid
|
|
92
149
|
Sameeh Jubran
|
|
93
150
|
Sean McBride
|
|
94
151
|
Sebastian Pipping
|
|
152
|
+
Sebastian von Ohr
|
|
95
153
|
Sergey Serb
|
|
96
154
|
Simon Haggett
|
|
97
155
|
Simon Newton
|
|
156
|
+
Slash Gordon
|
|
98
157
|
Stefan Agner
|
|
99
158
|
Stefan Tauner
|
|
100
159
|
Steinar H. Gunderson
|
|
160
|
+
Stephen Groat
|
|
161
|
+
Theo Buehler
|
|
101
162
|
Thomas Röfer
|
|
102
163
|
Tim Hutt
|
|
103
164
|
Tim Roberts
|
|
@@ -106,14 +167,26 @@ Toby Peterson
|
|
|
106
167
|
Tormod Volden
|
|
107
168
|
Trygve Laugstøl
|
|
108
169
|
Uri Lublin
|
|
170
|
+
Uwe Bonnes
|
|
109
171
|
Vasily Khoruzhick
|
|
110
172
|
Vegard Storheil Eriksen
|
|
111
173
|
Venkatesh Shukla
|
|
112
174
|
Vianney le Clément de Saint-Marcq
|
|
113
175
|
Victor Toso
|
|
176
|
+
Vinicius Tinti
|
|
114
177
|
Vitali Lovich
|
|
178
|
+
Vladimir Beloborodov
|
|
179
|
+
William Orr
|
|
115
180
|
William Skellenger
|
|
116
181
|
Xiaofan Chen
|
|
182
|
+
Zhiqiang Liu
|
|
117
183
|
Zoltán Kovács
|
|
184
|
+
Сергей Валерьевич
|
|
185
|
+
Ларионов Даниил
|
|
118
186
|
Роман Донченко
|
|
187
|
+
jonner
|
|
188
|
+
orbitcowboy
|
|
119
189
|
parafin
|
|
190
|
+
RipleyTom
|
|
191
|
+
saur0n
|
|
192
|
+
winterrace
|
package/libusb/ChangeLog
CHANGED
|
@@ -1,6 +1,44 @@
|
|
|
1
1
|
For detailed information about the changes below, please see the git log or
|
|
2
2
|
visit: http://log.libusb.info
|
|
3
3
|
|
|
4
|
+
2022-01-31: v1.0.25
|
|
5
|
+
* Linux: Fix regression with some particular devices
|
|
6
|
+
* Linux: Fix regression with libusb_handle_events_timeout_completed()
|
|
7
|
+
* Linux: Fix regression with cpu usage in libusb_bulk_transfer
|
|
8
|
+
* Darwin (macOS): Add support for detaching kernel drivers with authorization.
|
|
9
|
+
* Darwin (macOS): Do not drop partial data on timeout.
|
|
10
|
+
* Darwin (macOS): Silence pipe error in set_interface_alt_setting().
|
|
11
|
+
* Windows: Fix HID backend missing byte
|
|
12
|
+
* Windows: Fix segfault with libusbk driver
|
|
13
|
+
* Windows: Fix regression when using libusb0 driver
|
|
14
|
+
* Windows: Support LIBUSB_TRANSFER_ADD_ZERO_PACKET on winusb
|
|
15
|
+
* New NO_DEVICE_DISCOVERY option replaces WEAK_AUTHORITY option
|
|
16
|
+
* Various other bug fixes and improvements
|
|
17
|
+
|
|
18
|
+
2020-12-09: v1.0.24
|
|
19
|
+
* Add new platform abstraction (#252)
|
|
20
|
+
* Add Null POSIX backend
|
|
21
|
+
* Add support for eventfd
|
|
22
|
+
* Add support for thread IDs on Haiku, NetBSD and Solaris
|
|
23
|
+
* New API libusb_hotplug_get_user_data()
|
|
24
|
+
* Darwin (macOS): Fix race condition that results in segmentation fault (#701)
|
|
25
|
+
* Darwin (macOS): Fix stale descriptor information post reset (#733)
|
|
26
|
+
* Darwin (macOS): use IOUSBDevice as darwin_device_class explicitly (#693)
|
|
27
|
+
* Linux: Drop support for kernel older than 2.6.32
|
|
28
|
+
* Linux: Provide an event thread name (#689)
|
|
29
|
+
* Linux: Wait until all URBs have been reaped before freeing them (#607)
|
|
30
|
+
* NetBSD: Recognize device timeouts (#710)
|
|
31
|
+
* OpenBSD: Allow opening ugen devices multiple times (#763)
|
|
32
|
+
* OpenBSD: Support libusb_get_port_number() (#764)
|
|
33
|
+
* SunOS: Fix a memory leak (#756)
|
|
34
|
+
* SunOS: Various fixes (#627, #628, #629)
|
|
35
|
+
* Windows: Add Visual Studio 2019 support
|
|
36
|
+
* Windows: Drop support for WinCE and Visual Studio older than 2013
|
|
37
|
+
* Windows: Drop support for Windows XP
|
|
38
|
+
* Windows: Support building all examples using Visual Studio (#151)
|
|
39
|
+
* Documentation fixes and improvements
|
|
40
|
+
* Various other bug fixes and improvements
|
|
41
|
+
|
|
4
42
|
2019-08-28: v1.0.23
|
|
5
43
|
* Add German translation (#446)
|
|
6
44
|
* Add Hungarian translation (#493)
|
|
@@ -22,7 +60,7 @@ visit: http://log.libusb.info
|
|
|
22
60
|
* Windows: Add support for isochronous transfers with WinUSB
|
|
23
61
|
* Various other bug fixes and improvements
|
|
24
62
|
|
|
25
|
-
2018-03-24: v1.0.22
|
|
63
|
+
2018-03-24: v1.0.22
|
|
26
64
|
* New libusb_set_option() API
|
|
27
65
|
* Fix transfer timeout not being cleared upon resubmission
|
|
28
66
|
* Report super speed plus devices on modern Linux and macOS
|
|
@@ -37,10 +75,10 @@ visit: http://log.libusb.info
|
|
|
37
75
|
* Windows: Fix enumeration problems on Windows 8 and later
|
|
38
76
|
* Windows: Major rework of poll() emulation
|
|
39
77
|
* Windows: Numerous HID API fixes
|
|
40
|
-
* Windows: Support
|
|
78
|
+
* Windows: Support cancellation of individual transfers (Vista and later)
|
|
41
79
|
* Various other bug fixes and improvements
|
|
42
80
|
|
|
43
|
-
2016-10-01: v1.0.21
|
|
81
|
+
2016-10-01: v1.0.21
|
|
44
82
|
* Core: Refactor code related to transfer flags and timeout handling
|
|
45
83
|
* Darwin: Ignore root hub simulation devices
|
|
46
84
|
* Darwin: Improved support for OS X El Capitan
|