Skip to main content

Module usb_ids

Module usb_ids 

Source
Expand description

USB ID resolution — VID/PID → vendor / product name.

A non-authoritative enrichment over DeviceConnection: the raw numeric vid/pid parsed from evidence stay the authoritative values; a resolved name is only a lookup convenience for the analyst.

Two sources, no third-party data vendored into the crate:

  • UsbIdDb::common — a small hand-authored table of common, forensically-relevant USB vendors (individual VID → name facts, which are not copyrightable). Zero-config; resolves the devices seen most in casework.
  • UsbIdDb::parse — parses the full linux-usb.org usb.ids text format when the operator supplies it at runtime. usb.ids (© Stephen J. Gowdy, dual GPL-2.0 / BSD-3-Clause) is not bundled — load it from a path/env at run time.

Structs§

UsbIdDb
A USB-ID lookup table: VID → vendor name and (VID, PID) → product name.