{ "name": "usbutils", "version": "019", "summary": "usbutils: lsusb lists the USB buses and devices with their names, usb-devices and usbhid-dump", "category": "tool", "license": "GPL-2.0-or-later", "homepage": "https://github.com/gregkh/usbutils", "source": { "url": "https://mirrors.kernel.org/pub/linux/utils/usb/usbutils/usbutils-019.tar.xz", "sha256": "659f40c440e31ba865c52c818a33d3ba6a97349e3353f8b1985179cb2aa71ec5" }, "watch": {"kind": "index", "url": "https://mirrors.kernel.org/pub/linux/utils/usb/usbutils/", "regex": "usbutils-([0-9]+)\\.tar\\.xz", "checksum": "https://mirrors.kernel.org/pub/linux/utils/usb/usbutils/sha256sums.asc"}, "deps": [ "libusb", "eudev" ], "env_packages": [], "static": true, "nss": true, "check": "t=$(mktemp -d) && bin/lsusb -V | has 'lsusb (usbutils) 019' && bin/lsusb > \"$t/l\" && has -E '^Bus [0-9]{3} Device [0-9]{3}: ID 1d6b:000[23] Linux Foundation [23]\\.0 root hub$' < \"$t/l\" && bin/lsusb -t > \"$t/tree\" && has 'root_hub' < \"$t/tree\" && bin/usb-devices > \"$t/d\" && has '^T: Bus=' < \"$t/d\" && echo \"lsusb 019: $(wc -l < \"$t/l\") USB devices of this machine listed from sysfs, the root hubs named from the hardware database; lsusb -t and usb-devices\"" }