Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
7721077
poc: profiler port to nusb
tuna-f1sh Aug 7, 2024
e95622d
default features only to exclude libusb
tuna-f1sh Aug 8, 2024
671787e
nusb profiler basic extra data if cannot open device
tuna-f1sh Aug 9, 2024
2394b0e
more generic but need to fix LibUsbProfiler
tuna-f1sh Aug 10, 2024
75c7bb6
move build_x_descriptor_extra to main trait
tuna-f1sh Aug 12, 2024
d63b8b4
move profiler to separate mod
tuna-f1sh Aug 12, 2024
4ad2761
libusb default but option for native nusb
tuna-f1sh Aug 12, 2024
ac2e726
get_root_hubs in profiler and don't include in get_devices
tuna-f1sh Aug 16, 2024
6193f4c
libusb default for now
tuna-f1sh Aug 16, 2024
06bc8a7
use map in get_root_hubs
tuna-f1sh Aug 16, 2024
60ded22
disable logging for nusb and udevrs by default
tuna-f1sh Aug 16, 2024
89631bc
rename and move system_profiler types into profiler
tuna-f1sh Aug 20, 2024
e48adcc
only add root_hub device to tree on Linux
tuna-f1sh Aug 21, 2024
79d8f78
experiementing with list_root_hubs
tuna-f1sh Aug 21, 2024
4de3d73
using list_root_hubs fork
tuna-f1sh Aug 22, 2024
5db5343
update new names
tuna-f1sh Sep 24, 2024
291ad9b
rename other subtypes
tuna-f1sh Aug 23, 2024
07b6fb9
update BusBlocks with new data
tuna-f1sh Aug 23, 2024
4b4c845
update to latest nusb fork
tuna-f1sh Aug 23, 2024
5f76709
gen; filter invalid pci vid,pid
tuna-f1sh Aug 23, 2024
da652fd
fix not passing language to nusb::get_descriptor_string
tuna-f1sh Aug 26, 2024
aed0cd3
track cyme branch of nusb fork
tuna-f1sh Aug 30, 2024
dc6646b
test branch with businfo nusb
tuna-f1sh Sep 2, 2024
ee636ae
tidy macos profiler logic and use pure nusb by default
tuna-f1sh Sep 3, 2024
e9a1d64
missing revision for Bus and length BusBlocks
tuna-f1sh Sep 3, 2024
c4bd07e
use flat_map in block len calculation
tuna-f1sh Sep 3, 2024
13ed646
update README for nusb
tuna-f1sh Sep 5, 2024
c052543
incorrect class code renamed to BaseClass
tuna-f1sh Sep 24, 2024
1285e22
rename class to class code as fully defined
tuna-f1sh Sep 24, 2024
4d67693
rustify usb enums
tuna-f1sh Sep 24, 2024
4c25613
bus number parsing
tuna-f1sh Sep 26, 2024
66f7484
main nusb merged list_buses
tuna-f1sh Oct 1, 2024
30d227f
refactor platform into profiler
tuna-f1sh Oct 2, 2024
21f7a07
IOKit PCI name based parser for macOS bus pci
tuna-f1sh Oct 4, 2024
37a372d
symantic versioning of beta
tuna-f1sh Oct 7, 2024
a57d0b0
fix unwrap bus number matching
tuna-f1sh Oct 8, 2024
ce0969c
risv64 update
tuna-f1sh Oct 9, 2024
b521d31
lookup pci data on macos with system_profiler
tuna-f1sh Oct 9, 2024
4e15091
cargo deb description
tuna-f1sh Oct 10, 2024
b7565d6
no unwrap_or for None bus_number; show missing
tuna-f1sh Oct 10, 2024
a4a427e
README and pci.ids for macOS profiler
tuna-f1sh Oct 10, 2024
d4e52f4
strip control chars in nusb descriptor strings
tuna-f1sh Oct 11, 2024
108f48a
unicode-width for padding device strings
tuna-f1sh Oct 11, 2024
c1686e9
build workflow default features for all
tuna-f1sh Oct 11, 2024
dfd3e91
nusb profiler excludes hubs on Windows so disable for now
tuna-f1sh Oct 11, 2024
ace8f30
install target in Makefile
tuna-f1sh Oct 11, 2024
fe271d4
nsub fork for windows hubs
tuna-f1sh Oct 12, 2024
8253863
fixes comparing varbose with libusb
tuna-f1sh Oct 13, 2024
5a8a267
nicer debuging with device info
tuna-f1sh Oct 14, 2024
ef111d5
cast u32 for speed before multiply
tuna-f1sh Oct 14, 2024
0cca2d3
fix config extra filter to include extras
tuna-f1sh Oct 14, 2024
315bf67
take_while rather than filter for nusb extra descriptors
tuna-f1sh Oct 15, 2024
3f024cf
nusb fork with iokit host controller info for pci
tuna-f1sh Oct 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ jobs:
fail-fast: false
matrix:
job:
# only default as don't generate docs or hwdb
# default features for all targets
- { os: ubuntu-latest, target: aarch64-unknown-linux-gnu, use-cross: true, feature-flags: "" }
# all ok as udev ignored on non-linux
- { os: ubuntu-latest, target: x86_64-pc-windows-gnu, use-cross: true, feature-flags: "--all-features" }
# specify to avoid udevlib
- { os: ubuntu-latest, target: x86_64-pc-windows-gnu, use-cross: true, feature-flags: "" }
# cli_generate for checking generated files up to date
- { os: ubuntu-latest, target: x86_64-unknown-linux-gnu, use-cross: false, feature-flags: "-F=cli_generate" }
# all ok as udev ignored on non-linux
- { os: macos-latest, target: universal-apple-darwin, use-cross: false, feature-flags: "--all-features" }
- { os: macos-latest, target: universal-apple-darwin, use-cross: false, feature-flags: "-F=cli_generate" }
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
Expand All @@ -46,7 +44,6 @@ jobs:
cargo install cargo-deb
;;
universal-apple-*)
brew install libusb
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin
;;
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ _A release of patches, PRs and merges :), thanks to support_

### Fixes

- Fix ClassCode as u8 in lsusb --verbose being enum index not repr(c) base class byte.
- Fix ClassCode as u8 in icon serializer being enum index not repc(c) base class byte.
- Fix BaseClass as u8 in lsusb --verbose being enum index not repr(c) base class byte.
- Fix BaseClass as u8 in icon serializer being enum index not repc(c) base class byte.

## [1.5.2] - 2023-11-01

Expand Down
Loading