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.