Cyme is a cross-platform command-line USB device inspection utility written in Rust that extends the functionality of the traditional lsusb command. It identifies connected USB devices, host controllers, buses, and their hierarchical relationships. Users can examine detailed USB descriptors, configurations, interfaces, endpoints, and hardware identifiers. The application provides customizable tree-based and tabular displays with filtering and sorting capabilities. Its monitoring mode detects USB device connection and disconnection events in real time. Structured JSON output and serial number masking facilitate automated hardware analysis and privacy-conscious diagnostic sharing. Cyme supports native system profiling on Linux, macOS, and Windows, alongside optional libusb integration and reusable Rust library components.
Features
- Comprehensive USB device, bus, and host controller discovery across supported platforms
- Detailed USB descriptor inspection covering configurations, interfaces, and endpoints
- Customizable hierarchical tree views with device filtering and sorting capabilities
- Real-time USB connection and disconnection monitoring through interactive watch mode
- Structured JSON output and configurable serial number masking for diagnostic sharing
- Native system profiling with lsusb compatibility and optional libusb integration