Because lsusb is installed to sbin, and usbmodules to bin, it fails as normal user. [ .. ] >>> /usr/bin/usb-devices >>> /usr/bin/usbmodules >>> /usr/bin/usbhid-dump --- /usr/sbin/ >>> /usr/sbin/lsusb [ .. ] $ usbmodules /usr/bin/usbmodules: line 53: lsusb: command not found
I've once in past requested that lspci should be moved from /usr/sbin to /usr/bin like Debian does it but that never happened. I'd like to renew that request now because lsusb is usable as normal user too: $ /usr/sbin/lsusb Bus 001 Device 004: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse Bus 002 Device 003: ID 046d:c315 Logitech, Inc. Classic New Touch Keyboard Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Upstream applied the patch to move into /usr/bin. I don't think it's worth to backport this to 0.91, we'll get it with next version, closing as UPSTREAM <quote> On Mon, Oct 25, 2010 at 03:09:21AM -0400, Mike Frysinger wrote: > > This program may easily run as non-root, so no need to keep it in sbin. > > > > Signed-off-by: Mike Frysinger <vapier@gentoo.org> Applied, thanks. greg k-h </quote>
i want libusb-1 support in usbutils-0.91, so i might as well merge this patch too since i need to regen autotools anyways. who knows when 0.92 will be out, and the package is tiny to build/install.