usb 2.17.0 → 3.0.0-alpha.2

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.
Files changed (207) hide show
  1. package/LICENSE +18 -4
  2. package/README.md +25 -516
  3. package/dist/index.d.ts +67 -13
  4. package/dist/index.js +333 -64
  5. package/index.d.ts +89 -0
  6. package/index.js +583 -0
  7. package/package.json +53 -33
  8. package/CHANGELOG.md +0 -294
  9. package/binding.gyp +0 -128
  10. package/dist/index.js.map +0 -1
  11. package/dist/usb/bindings.d.ts +0 -266
  12. package/dist/usb/bindings.js +0 -10
  13. package/dist/usb/bindings.js.map +0 -1
  14. package/dist/usb/capability.d.ts +0 -13
  15. package/dist/usb/capability.js +0 -17
  16. package/dist/usb/capability.js.map +0 -1
  17. package/dist/usb/descriptors.d.ts +0 -128
  18. package/dist/usb/descriptors.js +0 -3
  19. package/dist/usb/descriptors.js.map +0 -1
  20. package/dist/usb/device.d.ts +0 -100
  21. package/dist/usb/device.js +0 -297
  22. package/dist/usb/device.js.map +0 -1
  23. package/dist/usb/endpoint.d.ts +0 -94
  24. package/dist/usb/endpoint.js +0 -219
  25. package/dist/usb/endpoint.js.map +0 -1
  26. package/dist/usb/index.d.ts +0 -31
  27. package/dist/usb/index.js +0 -116
  28. package/dist/usb/index.js.map +0 -1
  29. package/dist/usb/interface.d.ts +0 -80
  30. package/dist/usb/interface.js +0 -133
  31. package/dist/usb/interface.js.map +0 -1
  32. package/dist/webusb/index.d.ts +0 -64
  33. package/dist/webusb/index.js +0 -295
  34. package/dist/webusb/index.js.map +0 -1
  35. package/dist/webusb/webusb-device.d.ts +0 -54
  36. package/dist/webusb/webusb-device.js +0 -434
  37. package/dist/webusb/webusb-device.js.map +0 -1
  38. package/libusb/.clang-tidy +0 -34
  39. package/libusb/.codespellrc +0 -3
  40. package/libusb/.private/README.txt +0 -5
  41. package/libusb/.private/appveyor_build.sh +0 -26
  42. package/libusb/.private/bm.sh +0 -54
  43. package/libusb/.private/ci-build.sh +0 -92
  44. package/libusb/.private/ci-container-build.sh +0 -67
  45. package/libusb/.private/post-rewrite.sh +0 -32
  46. package/libusb/.private/pre-commit.sh +0 -52
  47. package/libusb/.private/wbs.txt +0 -43
  48. package/libusb/.travis.yml +0 -58
  49. package/libusb/AUTHORS +0 -231
  50. package/libusb/COPYING +0 -504
  51. package/libusb/ChangeLog +0 -365
  52. package/libusb/HACKING +0 -25
  53. package/libusb/INSTALL_WIN.txt +0 -52
  54. package/libusb/KEYS +0 -123
  55. package/libusb/Makefile.am +0 -50
  56. package/libusb/NEWS +0 -2
  57. package/libusb/PORTING +0 -94
  58. package/libusb/README +0 -29
  59. package/libusb/README.git +0 -41
  60. package/libusb/TODO +0 -2
  61. package/libusb/Xcode/common.xcconfig +0 -92
  62. package/libusb/Xcode/config.h +0 -31
  63. package/libusb/Xcode/debug.xcconfig +0 -32
  64. package/libusb/Xcode/libusb.xcconfig +0 -21
  65. package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +0 -1391
  66. package/libusb/Xcode/libusb_debug.xcconfig +0 -21
  67. package/libusb/Xcode/libusb_release.xcconfig +0 -21
  68. package/libusb/Xcode/release.xcconfig +0 -30
  69. package/libusb/android/README +0 -152
  70. package/libusb/android/config.h +0 -55
  71. package/libusb/android/examples/unrooted_android.c +0 -301
  72. package/libusb/android/examples/unrooted_android.h +0 -36
  73. package/libusb/android/jni/Android.mk +0 -23
  74. package/libusb/android/jni/Application.mk +0 -40
  75. package/libusb/android/jni/examples.mk +0 -168
  76. package/libusb/android/jni/libusb.mk +0 -60
  77. package/libusb/android/jni/tests.mk +0 -45
  78. package/libusb/appveyor.yml +0 -108
  79. package/libusb/autogen.sh +0 -10
  80. package/libusb/bootstrap.sh +0 -10
  81. package/libusb/configure.ac +0 -450
  82. package/libusb/doc/Makefile.in +0 -22
  83. package/libusb/doc/doxygen.cfg.in +0 -2571
  84. package/libusb/doc/libusb.png +0 -0
  85. package/libusb/examples/Makefile.am +0 -12
  86. package/libusb/examples/dpfp.c +0 -711
  87. package/libusb/examples/ezusb.c +0 -846
  88. package/libusb/examples/ezusb.h +0 -109
  89. package/libusb/examples/fxload.c +0 -310
  90. package/libusb/examples/hotplugtest.c +0 -147
  91. package/libusb/examples/listdevs.c +0 -73
  92. package/libusb/examples/sam3u_benchmark.c +0 -228
  93. package/libusb/examples/testlibusb.c +0 -312
  94. package/libusb/examples/xusb.c +0 -1254
  95. package/libusb/libusb/Makefile.am +0 -98
  96. package/libusb/libusb/Makefile.am.extra +0 -26
  97. package/libusb/libusb/core.c +0 -2925
  98. package/libusb/libusb/descriptor.c +0 -1558
  99. package/libusb/libusb/hotplug.c +0 -489
  100. package/libusb/libusb/io.c +0 -2865
  101. package/libusb/libusb/libusb-1.0.def +0 -199
  102. package/libusb/libusb/libusb-1.0.rc +0 -53
  103. package/libusb/libusb/libusb.h +0 -2421
  104. package/libusb/libusb/libusbi.h +0 -1535
  105. package/libusb/libusb/os/darwin_usb.c +0 -2977
  106. package/libusb/libusb/os/darwin_usb.h +0 -156
  107. package/libusb/libusb/os/emscripten_webusb.cpp +0 -875
  108. package/libusb/libusb/os/events_posix.c +0 -340
  109. package/libusb/libusb/os/events_posix.h +0 -62
  110. package/libusb/libusb/os/events_windows.c +0 -214
  111. package/libusb/libusb/os/events_windows.h +0 -46
  112. package/libusb/libusb/os/haiku_pollfs.cpp +0 -372
  113. package/libusb/libusb/os/haiku_usb.h +0 -113
  114. package/libusb/libusb/os/haiku_usb_backend.cpp +0 -532
  115. package/libusb/libusb/os/haiku_usb_raw.cpp +0 -231
  116. package/libusb/libusb/os/haiku_usb_raw.h +0 -188
  117. package/libusb/libusb/os/linux_netlink.c +0 -401
  118. package/libusb/libusb/os/linux_udev.c +0 -321
  119. package/libusb/libusb/os/linux_usbfs.c +0 -2829
  120. package/libusb/libusb/os/linux_usbfs.h +0 -221
  121. package/libusb/libusb/os/netbsd_usb.c +0 -617
  122. package/libusb/libusb/os/null_usb.c +0 -111
  123. package/libusb/libusb/os/openbsd_usb.c +0 -700
  124. package/libusb/libusb/os/sunos_usb.c +0 -1619
  125. package/libusb/libusb/os/sunos_usb.h +0 -79
  126. package/libusb/libusb/os/threads_posix.c +0 -126
  127. package/libusb/libusb/os/threads_posix.h +0 -98
  128. package/libusb/libusb/os/threads_windows.c +0 -40
  129. package/libusb/libusb/os/threads_windows.h +0 -113
  130. package/libusb/libusb/os/windows_common.c +0 -923
  131. package/libusb/libusb/os/windows_common.h +0 -424
  132. package/libusb/libusb/os/windows_usbdk.c +0 -724
  133. package/libusb/libusb/os/windows_usbdk.h +0 -106
  134. package/libusb/libusb/os/windows_winusb.c +0 -4766
  135. package/libusb/libusb/os/windows_winusb.h +0 -787
  136. package/libusb/libusb/strerror.c +0 -223
  137. package/libusb/libusb/sync.c +0 -342
  138. package/libusb/libusb/version.h +0 -18
  139. package/libusb/libusb/version_nano.h +0 -1
  140. package/libusb/libusb-1.0.pc.in +0 -11
  141. package/libusb/msvc/Base.props +0 -60
  142. package/libusb/msvc/Configuration.Application.props +0 -7
  143. package/libusb/msvc/Configuration.Base.props +0 -47
  144. package/libusb/msvc/Configuration.DynamicLibrary.props +0 -21
  145. package/libusb/msvc/Configuration.StaticLibrary.props +0 -7
  146. package/libusb/msvc/ProjectConfigurations.Base.props +0 -69
  147. package/libusb/msvc/build_all.ps1 +0 -17
  148. package/libusb/msvc/config.h +0 -58
  149. package/libusb/msvc/dpfp.vcxproj +0 -33
  150. package/libusb/msvc/dpfp_threaded.vcxproj +0 -38
  151. package/libusb/msvc/fxload.vcxproj +0 -46
  152. package/libusb/msvc/getopt/getopt.c +0 -1060
  153. package/libusb/msvc/getopt/getopt.h +0 -180
  154. package/libusb/msvc/getopt/getopt1.c +0 -188
  155. package/libusb/msvc/getopt.vcxproj +0 -33
  156. package/libusb/msvc/hotplugtest.vcxproj +0 -32
  157. package/libusb/msvc/init_context.vcxproj +0 -35
  158. package/libusb/msvc/libusb.sln +0 -542
  159. package/libusb/msvc/libusb_dll.vcxproj +0 -61
  160. package/libusb/msvc/libusb_static.vcxproj +0 -49
  161. package/libusb/msvc/listdevs.vcxproj +0 -32
  162. package/libusb/msvc/sam3u_benchmark.vcxproj +0 -33
  163. package/libusb/msvc/set_option.vcxproj +0 -35
  164. package/libusb/msvc/stress.vcxproj +0 -35
  165. package/libusb/msvc/stress_mt.vcxproj +0 -33
  166. package/libusb/msvc/testlibusb.vcxproj +0 -32
  167. package/libusb/msvc/xusb.vcxproj +0 -38
  168. package/libusb/tests/Makefile.am +0 -40
  169. package/libusb/tests/init_context.c +0 -153
  170. package/libusb/tests/libusb_testlib.h +0 -76
  171. package/libusb/tests/macos.c +0 -130
  172. package/libusb/tests/set_option.c +0 -253
  173. package/libusb/tests/stress.c +0 -172
  174. package/libusb/tests/stress_mt.c +0 -267
  175. package/libusb/tests/testlib.c +0 -184
  176. package/libusb/tests/umockdev.c +0 -1175
  177. package/libusb/tests/webusb-test-shim/index.js +0 -12
  178. package/libusb/tests/webusb-test-shim/package-lock.json +0 -50
  179. package/libusb/tests/webusb-test-shim/package.json +0 -10
  180. package/libusb.gypi +0 -154
  181. package/libusb_config/config.h +0 -1
  182. package/prebuilds/android-arm/node.napi.armv7.node +0 -0
  183. package/prebuilds/android-arm64/node.napi.armv8.node +0 -0
  184. package/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
  185. package/prebuilds/linux-arm/node.napi.armv6.node +0 -0
  186. package/prebuilds/linux-arm/node.napi.armv7.node +0 -0
  187. package/prebuilds/linux-arm64/node.napi.armv8.node +0 -0
  188. package/prebuilds/linux-ia32/node.napi.node +0 -0
  189. package/prebuilds/linux-x64/node.napi.glibc.node +0 -0
  190. package/prebuilds/linux-x64/node.napi.musl.node +0 -0
  191. package/prebuilds/win32-arm64/node.napi.node +0 -0
  192. package/prebuilds/win32-ia32/node.napi.node +0 -0
  193. package/prebuilds/win32-x64/node.napi.node +0 -0
  194. package/src/device.cc +0 -439
  195. package/src/helpers.h +0 -64
  196. package/src/hotplug/hotplug.h +0 -22
  197. package/src/hotplug/libusb.cc +0 -90
  198. package/src/hotplug/windows.cc +0 -168
  199. package/src/node_usb.cc +0 -314
  200. package/src/node_usb.h +0 -131
  201. package/src/thread_name.cc +0 -79
  202. package/src/thread_name.h +0 -11
  203. package/src/transfer.cc +0 -143
  204. package/src/uv_async_queue.h +0 -41
  205. package/test/usb.coffee +0 -250
  206. package/test/webusb.coffee +0 -227
  207. package/test/worker.cjs +0 -13
package/libusb/ChangeLog DELETED
@@ -1,365 +0,0 @@
1
- For detailed information about the changes below, please see the git log
2
- or visit: http://log.libusb.info
3
-
4
- 2025-06-01: v1.0.29
5
- * Fix regression on macOS leading to timeouts in enumeration
6
- * LIBUSB_API_VERSION bump for the new functions in 1.0.28
7
- * Fix xusb regression displaying wrong error on claim failure
8
-
9
- 2025-03-18: v1.0.28
10
- * New libusb_get_ssplus_usb_device_capability_descriptor API
11
- for query of SuperSpeed+ Capability Descriptors
12
- * API support for reporting USB 3.2 Gen2x2 speeds
13
- * macOS: Fix Zero-Length Packet for multiple packets per frame
14
- * Windows: Base HID device descriptor on OS-cached values
15
- * Build fixes for Haiku and SunOS
16
- * Many code correctness fixes
17
-
18
- 2024-01-31: v1.0.27
19
- * New libusb_init_context API to replace libusb_init
20
- * New libusb_get_max_alt_packet_size API
21
- * New libusb_get_platform_descriptor API (BOS)
22
- * Allow setting log callback with libusb_set_option/libusb_init_context
23
- * New WebAssembly + WebUSB backend using Emscripten
24
- * Fix regression in libusb_set_interface_alt_setting
25
- * Fix sync transfer completion race and use-after-free
26
- * Fix hotplug exit ordering
27
- * Linux: NO_DEVICE_DISCOVERY option set per context
28
- * macOS: Fix missing device list cleanup locking
29
- * macOS: Do not clear device data toggle for newer OS versions
30
- * macOS: Fix running binaries on older OS than build host
31
- * Windows: Allow claiming multiple associated interfaces
32
- * Windows: Ignore non-configured devices instead of waiting
33
- * Windows: Improved root hub detection
34
-
35
- 2022-04-10: v1.0.26
36
- * Fix regression with transfer free's after closing device
37
- * Fix regression with destroyed context if API is misused
38
- * Workaround for applications using missing default context
39
- * Fix hotplog enumeration regression
40
- * Fix Windows isochronous transfer regression since 1.0.24
41
- * Fix macOS exit crash in some multi-context cases
42
- * Build fixes for various platforms and configurations
43
- * Fix Windows HID multi-interface product string retrieval
44
- * Update isochronous OUT packet actual lengths on Windows
45
- * Add interface bound checking for broken devices
46
- * Add umockdev tests on Linux
47
-
48
- 2022-01-31: v1.0.25
49
- * Linux: Fix regression with some particular devices
50
- * Linux: Fix regression with libusb_handle_events_timeout_completed()
51
- * Linux: Fix regression with cpu usage in libusb_bulk_transfer
52
- * Darwin (macOS): Add support for detaching kernel drivers with authorization.
53
- * Darwin (macOS): Do not drop partial data on timeout.
54
- * Darwin (macOS): Silence pipe error in set_interface_alt_setting().
55
- * Windows: Fix HID backend missing byte
56
- * Windows: Fix segfault with libusbk driver
57
- * Windows: Fix regression when using libusb0 driver
58
- * Windows: Support LIBUSB_TRANSFER_ADD_ZERO_PACKET on winusb
59
- * New NO_DEVICE_DISCOVERY option replaces WEAK_AUTHORITY option
60
- * Various other bug fixes and improvements
61
-
62
- 2020-12-09: v1.0.24
63
- * Add new platform abstraction (#252)
64
- * Add Null POSIX backend
65
- * Add support for eventfd
66
- * Add support for thread IDs on Haiku, NetBSD and Solaris
67
- * New API libusb_hotplug_get_user_data()
68
- * Darwin (macOS): Fix race condition that results in segmentation fault (#701)
69
- * Darwin (macOS): Fix stale descriptor information post reset (#733)
70
- * Darwin (macOS): use IOUSBDevice as darwin_device_class explicitly (#693)
71
- * Linux: Drop support for kernel older than 2.6.32
72
- * Linux: Provide an event thread name (#689)
73
- * Linux: Wait until all URBs have been reaped before freeing them (#607)
74
- * NetBSD: Recognize device timeouts (#710)
75
- * OpenBSD: Allow opening ugen devices multiple times (#763)
76
- * OpenBSD: Support libusb_get_port_number() (#764)
77
- * SunOS: Fix a memory leak (#756)
78
- * SunOS: Various fixes (#627, #628, #629)
79
- * Windows: Add Visual Studio 2019 support
80
- * Windows: Drop support for WinCE and Visual Studio older than 2013
81
- * Windows: Drop support for Windows XP
82
- * Windows: Support building all examples using Visual Studio (#151)
83
- * Documentation fixes and improvements
84
- * Various other bug fixes and improvements
85
-
86
- 2019-08-28: v1.0.23
87
- * Add German translation (#446)
88
- * Add Hungarian translation (#493)
89
- * Android: Improved support for Android
90
- * BSD: Remove infinite recursion in OpenBSD backend
91
- * configure.ac: Fix detection of clock_gettime library (#439)
92
- * Core: abandon synchronous transfers when device closure is detected.
93
- * Core: fix error in handling the removal of file descriptors while handling
94
- events.
95
- * Darwin(macOS): Switch from using ResetDevice to USBDeviceReEnumerate (#455)
96
- * Darwin(macOS): Remove code that changed the device class used (#428)
97
- * Darwin(macOS): Reduce hotplug timeout to 1ms (from 5s)
98
- * New API libusb_set_log_cb() to redirect global and per context log
99
- messages to the provided log handling function
100
- * New API libusb_wrap_sys_device to allow the user to specify the
101
- usb device to use.
102
- * Solaris: Break infinite recursion in backend clock_gettime
103
- * Solaris: Enable timerfd on sunos when available
104
- * Windows: Add support for isochronous transfers with WinUSB
105
- * Various other bug fixes and improvements
106
-
107
- 2018-03-24: v1.0.22
108
- * New libusb_set_option() API
109
- * Fix transfer timeout not being cleared upon resubmission
110
- * Report super speed plus devices on modern Linux and macOS
111
- * Darwin: Improve support for macOS Sierra and High Sierra
112
- * Darwin: SDK fixes and improvements
113
- * Linux: Let initialization succeed when no devices are present
114
- * Linux: Mark internal file descriptors with CLOEXEC flag
115
- * Solaris: Add support for attach/detach kernel driver
116
- * Windows: Add dynamic UsbDk backend selection
117
- * Windows: Add isochronous transfer support via libusbK
118
- * Windows: Add Visual Studio 2017 support
119
- * Windows: Fix enumeration problems on Windows 8 and later
120
- * Windows: Major rework of poll() emulation
121
- * Windows: Numerous HID API fixes
122
- * Windows: Support cancellation of individual transfers (Vista and later)
123
- * Various other bug fixes and improvements
124
-
125
- 2016-10-01: v1.0.21
126
- * Core: Refactor code related to transfer flags and timeout handling
127
- * Darwin: Ignore root hub simulation devices
128
- * Darwin: Improved support for OS X El Capitan
129
- * Darwin: Work around devices with buggy endpoint descriptors
130
- * Darwin: Do not use objc_registerThreadWithCollector after its deprecation
131
- * Darwin: Use C11 atomics on 10.12+ as the OS atomics are now deprecated
132
- * Linux: Support preallocating kernel memory for zerocopy USB
133
- * Linux: Deal with receiving POLLERR before all transfers have completed
134
- * Solaris: Add solaris backend
135
- * Windows: Add Visual Studio 2015 support
136
- * Windows: Add usbdk backend
137
- * Prevent attempts to recursively handle events
138
- * Fix race condition in handle_timeout()
139
- * Allow transferred argument to be optional in bulk APIs
140
- * Various other bug fixes and improvements
141
-
142
- 2015-09-13: v1.0.20
143
- * Add Haiku support
144
- * Fix multiple memory and resource leaks (#16, #52, #76, #81)
145
- * Fix possible deadlock when executing transfer callback
146
- * New libusb_free_pollfds() API
147
- * Darwin: Fix devices not being detected on OS X 10.8 (#48)
148
- * Linux: Allow larger isochronous transfer submission (#23)
149
- * Windows: Fix broken builds Cygwin/MinGW builds and compiler warnings
150
- * Windows: Fix broken bus number lookup
151
- * Windows: Improve submission of control requests for composite devices
152
- * Examples: Add two-stage load support to fxload (#12)
153
- * Correctly report cancellations due to timeouts
154
- * Improve efficiency of event handling
155
- * Improve speed of transfer submission in multi-threaded environments
156
- * Various other bug fixes and improvements
157
- The (#xx) numbers are libusb issue numbers, see ie:
158
- https://github.com/libusb/libusb/issues/16
159
-
160
- 2014-05-30: v1.0.19
161
- * Add support for USB bulk streams on Linux and Mac OS X (#11)
162
- * Windows: Add AMD and Intel USB-3.0 root hub support
163
- * Windows: Fix USB 3.0 speed detection on Windows 8 or later (#10)
164
- * Added Russian translation for libusb_strerror strings
165
- * All: Various small fixes and cleanups
166
-
167
- 2014-01-25: v1.0.18
168
- * Fix multiple memory leaks
169
- * Fix a crash when HID transfers return no data on Windows
170
- * Ensure all pending events are consumed
171
- * Improve Android and ucLinux support
172
- * Multiple Windows improvements (error logging, VS2013, VIA xHCI support)
173
- * Multiple OS X improvements (broken compilation, SIGFPE, 64bit support)
174
-
175
- 2013-09-06: v1.0.17
176
- * Hotplug callbacks now always get passed a libusb_context, even if it is
177
- the default context. Previously NULL would be passed for the default context,
178
- but since the first context created is the default context, and most apps
179
- use only 1 context, this meant that apps explicitly creating a context would
180
- still get passed NULL
181
- * Android: Add .mk files to build with the Android NDK
182
- * Darwin: Add Xcode project
183
- * Darwin: Fix crash on unplug (#121)
184
- * Linux: Fix hang (deadlock) on libusb_exit
185
- * Linux: Fix libusb build failure with --disable-udev (#124)
186
- * Linux: Fix libusb_get_device_list() hang with --disable-udev (#130)
187
- * OpenBSD: Update OpenBSD backend with support for control transfers to
188
- non-ugen(4) devices and make get_configuration() no longer generate I/O.
189
- Note that using this libusb version on OpenBSD requires using
190
- OpenBSD 5.3-current or later. Users of older OpenBSD versions are advised
191
- to stay with the libusb shipped with OpenBSD (mpi)
192
- * Windows: fix libusb_dll_2010.vcxproj link errors (#129)
193
- * Various other bug fixes and improvements
194
-
195
- 2013-07-11: v1.0.16
196
- * Add hotplug support for Darwin and Linux (#9)
197
- * Add superspeed endpoint companion descriptor support (#15)
198
- * Add BOS descriptor support (#15)
199
- * Make descriptor parsing code more robust
200
- * New libusb_get_port_numbers API, this is libusb_get_port_path without
201
- the unnecessary context parameter, libusb_get_port_path is now deprecated
202
- * New libusb_strerror API (#14)
203
- * New libusb_set_auto_detach_kernel_driver API (#17)
204
- * Improve topology API docs (#95)
205
- * Logging now use a single write call per log-message, avoiding log-message
206
- "interlacing" when using multiple threads.
207
- * Android: use Android logging when building on Android (#101)
208
- * Darwin: make libusb_reset reenumerate device on descriptors change (#89)
209
- * Darwin: add support for the LIBUSB_TRANSFER_ADD_ZERO_PACKET flag (#91)
210
- * Darwin: add a device cache (#112, #114)
211
- * Examples: Add sam3u_benchmark isochronous example by Harald Welte (#109)
212
- * Many other bug fixes and improvements
213
- The (#xx) numbers are libusbx issue numbers, see ie:
214
- https://github.com/libusbx/libusbx/issues/9
215
-
216
- 2013-04-15: v1.0.15
217
- * Improve transfer cancellation and avoid short read failures on broken descriptors
218
- * Filter out 8-bit characters in libusb_get_string_descriptor_ascii()
219
- * Add WinCE support
220
- * Add library stress tests
221
- * Add Cypress FX3 firmware upload support for fxload sample
222
- * Add HID and kernel driver detach support capabilities detection
223
- * Add SuperSpeed detection on OS X
224
- * Fix bInterval value interpretation on OS X
225
- * Fix issues with autoclaim, composite HID devices, interface autoclaim and
226
- early abort in libusb_close() on Windows. Also add VS2012 solution files.
227
- * Improve fd event handling on Linux
228
- * Other bug fixes and improvements
229
-
230
- 2012-09-26: v1.0.14
231
- * Reverts the previous API change with regards to bMaxPower.
232
- If this doesn't matter to you, you are encouraged to keep using v1.0.13,
233
- as it will use the same attribute as v2.0, to be released soon.
234
- * Note that LIBUSB_API_VERSION is *decreased* to 0x010000FF and the previous
235
- guidelines with regards to concurrent use of MaxPower/bMaxPower still apply.
236
-
237
- 2012-09-20: v1.0.13
238
- * [MAJOR] Fix a typo in the API with struct libusb_config_descriptor where
239
- MaxPower was used instead of bMaxPower, as defined in the specs. If your
240
- application was accessing the MaxPower attribute, and you need to maintain
241
- compatibility with libusb or older versions, see APPENDIX A below.
242
- * Fix broken support for the 0.1 -> 1.0 libusb-compat layer
243
- * Fix unwanted cancellation of pending timeouts as well as major timeout related bugs
244
- * Fix handling of HID and composite devices on Windows
245
- * Introduce LIBUSB_API_VERSION macro
246
- * Add Cypress FX/FX2 firmware upload sample, based on fxload from
247
- http://linux-hotplug.sourceforge.net
248
- * Add libusb0 (libusb-win32) and libusbK driver support on Windows. Note that while
249
- the drivers allow it, isochronous transfers are not supported yet in libusb. Also
250
- not supported yet is the use of libusb-win32 filter drivers on composite interfaces
251
- * Add support for the new get_capabilities ioctl on Linux and avoid unnecessary
252
- splitting of bulk transfers
253
- * Improve support for newer Intel and Renesas USB 3.0 controllers on Windows
254
- * Harmonize the device number for root hubs across platforms
255
- * Other bug fixes and improvements
256
-
257
- 2012-06-15: v1.0.12
258
- * Fix a potential major regression with pthread on Linux
259
- * Fix missing thread ID from debug log output on cygwin
260
- * Fix possible crash when using longjmp and MinGW's gcc 4.6
261
- * Add topology calls: libusb_get_port_number(), libusb_get_parent() & libusb_get_port_path()
262
- * Add toggleable debug, using libusb_set_debug() or the LIBUSB_DEBUG environment variable
263
- * Define log levels in libusb.h and set timestamp origin to first libusb_init() call
264
- * All logging is now sent to to stderr (info was sent to stdout previously)
265
- * Update log messages severity and avoid polluting log output on OS-X
266
- * Add HID driver support on Windows
267
- * Enable interchangeability of MSVC and MinGW DLLs
268
- * Additional bug fixes and improvements
269
-
270
- 2012-05-08: v1.0.11
271
- * Revert removal of critical Windows event handling that was introduced in 1.0.10
272
- * Fix a possible deadlock in Windows when submitting transfers
273
- * Add timestamped logging
274
- * Add NetBSD support (experimental) and BSD libusb_get_device_speed() data
275
- * Add bootstrap.sh alongside autogen.sh (bootstrap.sh doesn't invoke configure)
276
- * Search for device nodes in /dev for Android support
277
- * Other bug fixes
278
-
279
- 2012-04-17: v1.0.10
280
- * Public release
281
- * Add libusb_get_version
282
- * Add Visual Studio 2010 project files
283
- * Some Windows code cleanup
284
- * Fix xusb sample warnings
285
-
286
- 2012-04-02: v1.0.9
287
- * First libusbx release
288
- * Add libusb_get_device_speed (all, except BSD) and libusb_error_name
289
- * Add Windows support (WinUSB driver only)
290
- * Add OpenBSD support
291
- * Add xusb sample
292
- * Tons of bug fixes
293
-
294
- 2010-05-07: v1.0.8
295
- * Bug fixes
296
-
297
- 2010-04-19: v1.0.7
298
- * Bug fixes and documentation tweaks
299
- * Add more interface class definitions
300
-
301
- 2009-11-22: v1.0.6
302
- * Bug fixes
303
- * Increase libusb_handle_events() timeout to 60s for powersaving
304
-
305
- 2009-11-15: v1.0.5
306
- * Use timerfd when available for timer management
307
- * Small fixes/updates
308
-
309
- 2009-11-06: v1.0.4 release
310
- * Bug fixes including transfer locking to fix some potential threading races
311
- * More flexibility with clock types on Linux
312
- * Use new bulk continuation tracking in Linux 2.6.32 for improved handling
313
- of short/failed transfers
314
-
315
- 2009-08-27: v1.0.3 release
316
- * Bug fixes
317
- * Add libusb_get_max_iso_packet_size()
318
-
319
- 2009-06-13: v1.0.2 release
320
- * Bug fixes
321
-
322
- 2009-05-12: v1.0.1 release
323
- * Bug fixes
324
- * Darwin backend
325
-
326
- 2008-12-13: v1.0.0 release
327
- * Bug fixes
328
-
329
- 2008-11-21: v0.9.4 release
330
- * Bug fixes
331
- * Add libusb_attach_kernel_driver()
332
-
333
- 2008-08-23: v0.9.3 release
334
- * Bug fixes
335
-
336
- 2008-07-19: v0.9.2 release
337
- * Bug fixes
338
-
339
- 2008-06-28: v0.9.1 release
340
- * Bug fixes
341
- * Introduce contexts to the API
342
- * Compatibility with new Linux kernel features
343
-
344
- 2008-05-25: v0.9.0 release
345
- * First libusb-1.0 beta release
346
-
347
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
348
-
349
- APPENDIX A - How to maintain code compatibility with versions of libusb and
350
- libusb that use MaxPower:
351
-
352
- If you must to maintain compatibility with versions of the library that aren't
353
- using the bMaxPower attribute in struct libusb_config_descriptor, the
354
- recommended way is to use the new LIBUSB_API_VERSION macro with an #ifdef.
355
- For instance, if your code was written as follows:
356
-
357
- if (dev->config[0].MaxPower < 250)
358
-
359
- Then you should modify it to have:
360
-
361
- #if defined(LIBUSB_API_VERSION) && (LIBUSB_API_VERSION >= 0x01000100)
362
- if (dev->config[0].bMaxPower < 250)
363
- #else
364
- if (dev->config[0].MaxPower < 250)
365
- #endif
package/libusb/HACKING DELETED
@@ -1,25 +0,0 @@
1
- Contributing to libusb
2
- **********************
3
-
4
- For larger changes or API changes/extensions it may be wise to first
5
- discuss on the mailing list or in the issue tracker before larger
6
- coding efforts are initiated.
7
-
8
- If you extend or change the API make sure documentation is updated.
9
- Please run make -C doc and check for any Doxygen warnings.
10
-
11
- Commit messages should be formatted to 72 chars width and have a
12
- free-standing summary line. See for instance "Commit Guidelines" on
13
- https://git-scm.com/book/en/v2/Distributed-Git-Contributing-to-a-Project
14
- or https://cbea.ms/git-commit/ about how to make well-formed commit
15
- messages.
16
-
17
- Put detailed information in the commit message itself, which will end
18
- up in the git history. On the other hand the description that you fill
19
- in the GitHub pull request web page does not go anywhere.
20
-
21
- For copyright reasons it is preferable to have your full name in the
22
- commit author field. Do not update the AUTHOR file yourself, the
23
- maintainers will update it as part of the release preparation.
24
-
25
- Please don't touch version_nano.h in your patches or pull requests.
@@ -1,52 +0,0 @@
1
- Installation Instructions for Windows
2
- *************************************
3
-
4
- If you are compiling for MinGW or cygwin, please refer to the INSTALL file,
5
- which is automatically generated by autotools (e.g. running bootstrap.sh).
6
-
7
- If you are using Microsoft Visual Studio:
8
- - Using Visual Studio 2022, open /msvc/libusb.sln
9
- - If you want to debug the library, uncomment the ENABLE_DEBUG_LOGGING define
10
- in msvc/config.h
11
- - Select your configuration and compile the project.
12
- - To target a specific toolset (previous version of Visual Studio), either
13
- edit PlatformToolset in /msvc/Configuration.Base.props, or supply the value
14
- to msbuild on the command line.
15
- - For example, to build for VS2015 (from a different version):
16
- msbuild -p:PlatformToolset=v140,Platform=x64,Configuration=Release libusb.sln
17
-
18
- Installing and building libusb via vcpkg
19
- ****************************************
20
-
21
- You can download and install libusb using the vcpkg dependency manager:
22
-
23
- git clone https://github.com/Microsoft/vcpkg.git
24
- cd vcpkg
25
- ./bootstrap-vcpkg.bat
26
- ./vcpkg integrate install
27
- vcpkg install libusb
28
-
29
- The libusb port in vcpkg is kept up to date by Microsoft team members and
30
- community contributors. If the version is out of date, please create an issue
31
- or pull request (https://github.com/Microsoft/vcpkg) on the vcpkg repository.
32
-
33
- Destination directories
34
- ***********************
35
-
36
- The binaries are located at:
37
- /build/<PlatformToolset>/<Platform>/<Configuration>/(lib|dll)/libusb-1.0.(lib|dll)
38
- For example: /build/v143/x64/Release/dll/libusb-1.0.dll
39
-
40
- Troubleshooting
41
- ***************
42
-
43
- If the compilation process complains about missing libraries, ensure that the
44
- default library paths for your project points to the relevant directories.
45
- If needed, these libraries can be obtained by installing the latest Windows
46
- SDK.
47
-
48
- Links
49
- *****
50
-
51
- Additional information related to the Windows backend:
52
- http://windows.libusb.info
package/libusb/KEYS DELETED
@@ -1,123 +0,0 @@
1
- This file contains the PGP keys of libusb release managers.
2
-
3
- Users:
4
- pgp < KEYS
5
- or
6
- gpg --import KEYS
7
-
8
- Maintainers:
9
- pgp -kxa <your name> and append it to this file.
10
- or
11
- (pgpk -ll <your name> && pgpk -xa <your name>) >> this file.
12
- or
13
- (gpg --list-sigs <your name> && gpg --armor --export <your name>) >> this file.
14
-
15
- pub rsa4096 2020-06-23 [SC]
16
- C68187379B23DE9EFC46651E2C80FF56C6830A0E
17
- uid [ultimate] Tormod Volden <debian.tormod@gmail.com>
18
- sub rsa4096 2020-06-23 [E]
19
- sub rsa4096 2020-06-23 [S]
20
-
21
- -----BEGIN PGP PUBLIC KEY BLOCK-----
22
-
23
- mQINBF7yPL0BEADQc/2dx8H7a7r1SGYph5hmkszs0O9V/43m8XhNnbnFraXjmbEv
24
- xm2wE6AuR301mjAqYSt/mphmH54z4GBbgmLBrK8TGdhlK0K11PeSudRN4jsLs+U3
25
- ErtkAHODmzyg7QiW3GWudP/lJQRSqNBoadeOdOsKMoJxm7T2a9fyyf8FR/FfShjv
26
- NB62jSWq0x0WnglI/V/ZOi/mOnqoggCoWXLzwqbKasicvfNsTPJIsjiu24US6mif
27
- nRllMWr/6aHyCOX6+x6PsQ35NF5C5B7b0c1fY7zU/UiM/JBF4HDf7jltzTIjHjho
28
- jTwcEkCVmunW+jSwjsLcr/zkOsu1re0W/VJJNXOhSnNUDpM7t9FeSfJ0LGlXYnGI
29
- 5ZUCQ8w4RcKmkHYhepCjDVWYkCmxmTgO7LaAXZ5S0GeOoSDsvHNHYywAXNmB6A0s
30
- 3kv/8i3wT8K1w9972eYW+NA6T7BfdbNk/EKxZQ74eezpRWDDPEl/zehoHQoPO3m1
31
- N2b06nnSKLv263I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b0+vWpr67smoBbR
110
- pWi4j2zcTtay/iNL9pFCLFegkJtXwLehh8sgEj28c/jOH2XEfOgEEniVM57dFONm
111
- n5ba3xTKRSS8D/44K3JJSPi2urzO+wXtcbZ1QSWypTV8dI7zLImySMmBtU7GEKLe
112
- y8klXAQBnzyKTFrsS60A0JiNGbzw75kAi2677jgvEtzz0QAxvJUCianFT9QCqcxQ
113
- okh/W8klVaJGLucAD5CRTLc9F4TNGV1jsHf90McWWf/bKANz875PZUDqMDtQ6hqH
114
- Udn4AxVaLn1dAqn2ae3DQK043jViy7IivilQLLo5mmkGLs0bPQZgG4OBB0mgzS8Z
115
- t2/3zJUvS/ygea0vqMzleEMlBJXWMyh6S8upEJVGdJfuMfRbOpvRBXZULLKwBVLn
116
- /vcB6QianT31AtxpWRtXjk52DxrqP85jMZtrlXWECmOanNM41cN/hoVVcXYLYYrt
117
- f8ZYM4cjB744M3XqCjh8aw8p8sg/sMQ4yJMlLuS6tGR/4WS1EU+Rq3ukg5jFfAQ/
118
- PfXrj4iCFjUBD4CnRAQIXhPCqMl6hFMZw61BpKFpZNLlJ205R+elqGBbrLibhu3u
119
- RAeFxk23S035hxBZnC2CDQL7zLwnzk1DPx6ywS6ky2qENwISR9tNldehFuPHXnSf
120
- 5/DxUzfWd2Tj35vxZDhKjJ1HiT3o++HKCRX9cP/cALsd5zvIxSVN6RRCUI2U8N+b
121
- k5/dfKNq8Q4FX9TZFSBnWudih+bT74v5f4LwhidPgOiYugiLoJh2ZqIVvQ==
122
- =5EaQ
123
- -----END PGP PUBLIC KEY BLOCK-----
@@ -1,50 +0,0 @@
1
- AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
2
- ACLOCAL_AMFLAGS = -I m4
3
- EXTRA_DIST = INSTALL_WIN.txt PORTING doc/libusb.png \
4
- android msvc Xcode
5
- SUBDIRS = libusb
6
-
7
- if BUILD_EXAMPLES
8
- SUBDIRS += examples
9
- endif
10
-
11
- if BUILD_TESTS
12
- SUBDIRS += tests
13
- endif
14
-
15
- pkgconfigdir = $(libdir)/pkgconfig
16
- pkgconfig_DATA = libusb-1.0.pc
17
-
18
- # The package name is libusb-1.0, but we want the distribution
19
- # to be created as libusb-x.y.z instead of libusb-1.0-x.y.z
20
- distdir = libusb-$(VERSION)
21
-
22
- # Ensure any generated docs are cleaned out
23
- # We need this here because make does not recurse into doc/
24
- clean-local:
25
- rm -rf doc/$(DOXYGEN_HTMLDIR)
26
-
27
- # Use dist-hook to accomplish the following things for the dist recipe:
28
- # 1) Remove the GitHub Markdown from the README file
29
- # 2) Remove the .gitattributes file from the msvc directory
30
- dist-hook:
31
- chmod u+w $(distdir)/README $(distdir)/msvc
32
- $(SED) -i.orig -e '/Build Status/d' $(distdir)/README
33
- $(SED) -i.orig -e '/^$$/N;/^\n$$/D' $(distdir)/README
34
- $(SED) -i.orig -e 's/\[\([A-Z]*\)\](\1)/\1/' $(distdir)/README
35
- rm -f $(distdir)/README.orig
36
- rm -f $(distdir)/msvc/.gitattributes
37
-
38
- reldir = .release/$(distdir)
39
- sfurl = frs.sourceforge.net:/home/frs/project/libusb/libusb-1.0
40
- .PHONY: dist-upload
41
- dist-upload: dist
42
- rm -rf $(reldir)
43
- mkdir -p $(reldir)
44
- cp $(distdir).tar.bz2 $(reldir)
45
- if [ -z "$$SF_USER" ]; then \
46
- rsync -rv $(reldir) $(sfurl); \
47
- else \
48
- rsync -rv $(reldir) $$SF_USER@$(sfurl); \
49
- fi
50
- rm -rf $(reldir)
package/libusb/NEWS DELETED
@@ -1,2 +0,0 @@
1
- For the latest libusb news, please refer to the ChangeLog file, or visit:
2
- https://libusb.info