Releases: tuna-f1sh/cyme
v1.8.4
Changed
- Default sort by bus number and device address within buses for all display modes (matching lsusb) (#33).
- Default Rust udev feature no longer supports hwdb lookup as it's broken - usb-ids is used. Use
--no-default-features -F=udevlib -F=udev_hwdb
if really wishing to use local 'hwdb.bin'. (#35).
Full Changelog: v1.8.3...v1.8.4
v1.8.3
v1.8.2
Changed
- Standard cyme list now excludes root_hubs (
--tree
shows them as buses as before).--lsusb
list mode will still show them. Use--list-root-hubs
(or in config) to include them in the cyme list on Linux as before.
Fixes
- Fix length and offset calculation in lsusb::dump_hub that would print some incorrect data.
- Minor formatting fixes for
lsusb --verbose
mode; indent in dump_interface, min 1 space between fields, wTotalLength as hex.
v1.8.1
patch release
v1.8.0
cyme
should now match lsusb --verbose
mode with full device descriptor dumps, including using USB control messages to get BOS, Hub device status, HID reports and more. It's been a lot of grunt work and lines of code (not very creative lines!) creating all the types but it should be useful as a USB profiling crate moving forwards and I think more robust than lsusb
in some cases. There may still be some formatting differences but the data should be the same. cyme
without --lsusb --verbose
display isn't changed for the most part, since the dumping is extremely device specific and verbose. I may add device status as a display block in future.
Addded
- Full dumps of device descriptors for matching
--lsusb --verbose
#23 (#15) - Device name pattern matching for icon with
Icon::name(String)
(#22)
Changed
cyme
is now in Homebrew core. One canbrew uninstall cyme
,brew untap tuna-f1sh/taps
, then install withbrew install cyme
(#21).- Update
--lsusb
mode to match updated lsusb behaviour if driver/names missing (print '[none]'/'[unknown]').
v1.7.0
v1.6.1
Minor update before some bigger changes
Fixes
- Replace font-awesome icons in default look-up that have been deprecated.
v1.6.0
A release of patches, PRs and merges :), thanks to support
Added
- Support udev/sysfs iString lookup (#14) (@haata).
- Add fully defined USB Device based on class code triplet.
- Support bLength, wTotalLength and bDescriptorType fields in
lsusb --verbose
with (rusb/#185). This completes thelsusb --verbose
support apart from extra descriptors (WIP: #15). - Add
lsusb::names
mod that ports 'usbutils/names.c' to match the behaviour usinglsusb --verbose
. This means class, sub-class and protocol udev-hwdb names are included now inlsusb --verbose
(b99e87). - Add the display blocks
uid-class
,uid-subc-lass
,uid-protocol
,class
, andclass-value
forDeviceBlock
s andInterfaceBlock
s. These are also added for--more
. - Add
feature=udev_hwdb
to guard against systems that have udev but not hwdb support (cross/#1377)/(libudev-sys/#16).
Changed
- 'usb-ids' crate is now a dependency rather than optional to support
lsusb::names
lookup without udev_hwdb (non-Linux). (usb-ids.rs/#50) will add extra descriptor parsing in future. - iString descriptors will now be retrieved in order libusb descriptor -> sysfs cache (Linux) -> udev_hwdb (bundled usb-ids
--feature=udev_hwdb
) -> usb-ids.
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.
v1.5.2
- Debian package as part of GitHub action release.
cargo update
, fix some new compiler and clippy warnings.
v1.5.0
- Control output encoding support with
--encoding
:glyph
[default] UTF-8 with private use area icons such as those used by NerdFonts;utf8
only standard UTF-8 without private use area;ascii
only ascii characters. Designed to replace the--ascii
arg, this remains but hidden. - Colour control made similar to other programs with
--color
/--colour
:auto
[default] show colours if the output goes to an interactive console;always
always use colour escape codes;never
never use colouring.--no-color
remains but is hidden and one can also still use theNO_COLOR
env. - Icon control for pairing with
--encoding
,--icon
:auto
[default] show icon blocks if the--encoding
supports icons matched in the icon theme;always
always show icons if included in icon blocks;never
never print icon blocks. There is also the hidden--no-icons
to drop the icon theme completely. - Updates to Cargo packages.