Commit graph

78 commits

Author SHA1 Message Date
Kevin Mehall
ac9ab80636 v0.1.4 2024-01-15 14:20:49 -07:00
Kevin Mehall
cfbfee0fd9
Merge pull request #32 from kevinmehall/win-mfg
windows: Stop returning manufacturer string
2024-01-15 14:03:19 -07:00
Kevin Mehall
462edbe4a5 windows: Stop returning manufacturer string
This comes from the INF used to install the driver, not the descriptor.
2024-01-15 13:51:16 -07:00
Kevin Mehall
c1232a60b0
Merge pull request #29 from kevinmehall/interfaces
Add DeviceInfo::interfaces for OS cached interface information
2024-01-15 12:00:31 -07:00
Kevin Mehall
d7fdda3535 windows: Fix parsing of interface numbers > 10 2024-01-15 11:46:35 -07:00
Kevin Mehall
5bc83f56b8 Add DeviceInfo::interfaces for OS cached interface information 2024-01-15 11:46:35 -07:00
Kevin Mehall
ffdc32f631
Merge pull request #31 from kevinmehall/fmt
ci: Check cargo fmt
2024-01-15 11:32:07 -07:00
Kevin Mehall
d4c3a926c7 Fix format 2024-01-15 11:28:44 -07:00
Kevin Mehall
5cff79807b ci: Check cargo fmt 2024-01-15 11:27:24 -07:00
Kevin Mehall
6ee93db833
Merge pull request #30 from kevinmehall/unpin
Mark Queue::next_complete Future Unpin + Send + Sync; Add Queue::poll_next
2024-01-15 09:57:24 -07:00
Kevin Mehall
9e5f23e3ce Add Queue::poll_next 2024-01-14 22:04:24 -07:00
Kevin Mehall
d19b0403f2 Mark Queue::next_complete Future Unpin + Send + Sync 2024-01-14 21:45:52 -07:00
Kevin Mehall
d8b492f102
Merge pull request #27 from Dirbaio/windows-product-string
windows: return correct product string.
2024-01-09 20:18:04 -07:00
Dario Nieuwenhuis
ad4d95a79b windows: return correct product string. 2024-01-09 17:58:22 +01:00
Kevin Mehall
131e0461ed Update DeviceInfo debug impl to match sysfs_path 2024-01-08 21:27:07 -07:00
Kevin Mehall
54d3eee07d
Merge pull request #21 from Dirbaio/sysfs-pub
Make SysfsPath contents pub.
2024-01-05 12:17:22 -07:00
Dario Nieuwenhuis
3ee562716f Add sysfs_path returning &Path, deprecate path(). 2024-01-05 17:51:23 +01:00
Kevin Mehall
38db907058 v0.1.3 2023-12-27 10:34:03 -07:00
Kevin Mehall
29d57d4dcd Documentation updates 2023-12-27 10:33:28 -07:00
Kevin Mehall
d4c9dd4c17
Merge pull request #17 from kevinmehall/cfgmgr32
windows: Use cfgmgr32 instead of SetupAPI
2023-12-24 16:14:42 -07:00
Kevin Mehall
7583e0f723
Merge pull request #19 from jamesmunns/james/remove-eventloop-on-end
MacOS: Reset the static eventloop if the worker thread terminates
2023-12-24 15:56:21 -07:00
Kevin Mehall
cd8fcd90ca macos: clear runloop Option in sync with count 2023-12-24 10:41:22 -07:00
James Munns
f9807a1876 Remove the static eventloop if the worker thread terminates 2023-12-24 15:05:02 +01:00
Kevin Mehall
b1fb20aeea windows: factor out hub port lookup 2023-12-23 17:24:25 -07:00
Kevin Mehall
f38c96050e windows: Use cfgmgr32 instead of SetupAPI 2023-12-23 13:52:40 -07:00
Kevin Mehall
33d064d2c9
Merge pull request #16 from jwnrt/examples-dev-deps
Move futures-lite to dev-dependencies
2023-12-20 21:45:00 -07:00
James Wainwright
01f8ca78fe Move futures-lite to dev-dependencies
This dependency is only used by `examples/`. Moving it to
`dev-dependencies` prevents it from being propagated to users of the
library.
2023-12-20 20:27:42 +00:00
Kevin Mehall
2c5526bed1
Merge pull request #15 from kevinmehall/get-descriptor
Blocking control transfers and `Device::get_descriptor`, `Device::get_string_descriptor`
2023-12-17 21:31:24 -07:00
Kevin Mehall
bf0db93029 API to make a GET_DESCRIPTOR request 2023-12-17 20:25:26 -07:00
Kevin Mehall
e153fd0fc0 Blocking control transfers 2023-12-17 20:25:22 -07:00
Kevin Mehall
4ce7f5514f
Merge pull request #13 from kevinmehall/descriptors
Descriptors API
2023-12-17 20:07:37 -07:00
Kevin Mehall
de7881821c impl Debug for descriptors 2023-12-16 23:05:03 -07:00
Kevin Mehall
424e0b4d92 Fuzz descriptor parsing 2023-12-16 21:52:00 -07:00
Kevin Mehall
fead5a5143 windows: get active configuration 2023-12-16 21:51:01 -07:00
Kevin Mehall
1742fcaead macos: Get active configuration 2023-12-16 21:51:01 -07:00
Kevin Mehall
767d81131e linux: Add Device::active_configuration 2023-12-16 21:50:57 -07:00
Kevin Mehall
a1853db65d windows: make sure device is still connected before trying to get descriptors 2023-12-16 21:50:57 -07:00
Kevin Mehall
040df8388d windows: Support getting configuration descriptors 2023-12-16 21:50:56 -07:00
Kevin Mehall
ec0722fc0d macos: Support getting configuration descriptors 2023-12-16 21:50:52 -07:00
Kevin Mehall
95751f5cb1 Descriptors API 2023-12-16 21:50:45 -07:00
Kevin Mehall
338e32a33a
Merge pull request #14 from kevinmehall/macos-registry-id
macos: Use registry entry ID instead of location ID to identify device.
2023-12-16 17:14:46 -07:00
Kevin Mehall
fb645b6d64 macos: Use registry entry ID instead of location ID to identify device.
It changes when the device is disconnected and reconnected,
while the location ID is like a port number.
2023-12-16 17:09:02 -07:00
Kevin Mehall
54759b7dce 0.1.2 2023-12-05 22:31:02 -07:00
Kevin
962a278464 linux: Remove check for endpoint direction in OUT-only code path 2023-12-04 08:35:37 -07:00
Kevin Mehall
89ee5a9033
Merge pull request #12 from kevinmehall/macos
Implement macOS backend
2023-12-03 22:01:33 -07:00
Kevin Mehall
5dfd3870a4 macos: cleanup 2023-12-03 16:03:34 -08:00
Kevin Mehall
2b64b70041 macos: implement cancellation 2023-12-03 15:42:10 -08:00
Kevin
a7880e2582 macos: Enable CI 2023-11-18 20:11:58 -07:00
Kevin
d75a640d3e macos: Implement transfers
Includes code from ktemkin's `usrs` at commit 1800f8739c9fae47be13703525a7329dffe3891f
2023-11-18 20:11:58 -07:00
Kevin
175a7b87a6 macos: Wrapper for IOKit iterator 2023-11-18 20:11:58 -07:00