Crates.io | lsusb |
lib.rs | lsusb |
version | 0.1.0 |
source | src |
created_at | 2016-09-08 15:09:39.196383 |
updated_at | 2016-09-08 15:09:39.196383 |
description | Cross-platform lsusb command. |
homepage | https://github.com/tcr/rust-lsusb.git |
repository | https://github.com/tcr/rust-lsusb.git |
max_upload_size | |
id | 6287 |
size | 7,953 |
Cross-platform lsusb
command.
cargo install lsusb
then,
$ lsusb
Bus 020 Device 010: ID 1209:7551
Bus 020 Device 003: ID 05ac:0274
Bus 020 Device 002: ID 05ac:8290
Bus 020 Device 000: ID 05ac:8005
Adapted from code from libusb crate examples.
MIT