Skip to content

Releases: tuna-f1sh/cyme

v1.8.4

27 Sep 13:12
Compare
Choose a tag to compare

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

21 Sep 16:06
Compare
Choose a tag to compare

Fixes

  • Fix panic when using auto-width and utf-8 characters landing on non-char boundary (#30).
  • Corrected some typos (#28).
  • Fix lintian errors with cargo-deb package (#29).

v1.8.2

27 Aug 12:06
Compare
Choose a tag to compare

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

16 Jul 08:02
Compare
Choose a tag to compare
patch release

v1.8.0

15 Jul 14:18
Compare
Choose a tag to compare

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 can brew uninstall cyme, brew untap tuna-f1sh/taps, then install with brew install cyme (#21).
  • Update --lsusb mode to match updated lsusb behaviour if driver/names missing (print '[none]'/'[unknown]').

v1.7.0

26 Jun 05:10
Compare
Choose a tag to compare

Changed

  • Replace udev-rs and indirectly libudev-sys with Rust native udev; libudev dependency (and system requirement) is now optional but can be used with --no-default-features -F=udevlib. (#19)

Fixes

  • Replace more font-awesome icons in default look-up that have been deprecated (#20)

v1.6.1

13 Jun 13:12
Compare
Choose a tag to compare

Minor update before some bigger changes

Fixes

  • Replace font-awesome icons in default look-up that have been deprecated.

v1.6.0

25 Nov 12:52
Compare
Choose a tag to compare

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 the lsusb --verbose support apart from extra descriptors (WIP: #15).
  • Add lsusb::names mod that ports 'usbutils/names.c' to match the behaviour using lsusb --verbose. This means class, sub-class and protocol udev-hwdb names are included now in lsusb --verbose (b99e87).
  • Add the display blocks uid-class, uid-subc-lass, uid-protocol, class, and class-value for DeviceBlocks and InterfaceBlocks. 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

29 Oct 15:50
Compare
Choose a tag to compare
  • Debian package as part of GitHub action release.
  • cargo update, fix some new compiler and clippy warnings.

v1.5.0

09 Aug 07:22
Compare
Choose a tag to compare
  • 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 the NO_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.