[ydl-gen] lsusb in 5.0.2 ??

Bill Fink billfink at mindspring.com
Mon Sep 3 20:03:15 MDT 2007


Hi Derick,

Chris already answered your question.  lsusb is part of the
usbutils package ("yum install usbutils").

And you must have done a plain "su" rather than a "su -" since
you didn't have /sbin or /usr/sbin in your PATH.

There's also the whereis command which doesn't depend on your
PATH, unlike the which command.

gwiz% whereis lsusb
lsusb: /sbin/lsusb /usr/share/man/man8/lsusb.8.gz

						-Bill



On Mon, 03 Sep 2007 16:49:56 -0400, Derick Centeno wrote:

> Hi Chris:
> 
> Just letting you know that when I try to execute your recommendation the
> following occurs:
> 
> [aguila at arakus ~]$ which lsusb
> /usr/bin/which: no lsusb in
> (/usr/local/enlightenment/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/aguila/bin)
> [root at arakus aguila]# which lsusb
> /usr/bin/which: no lsusb in
> (/usr/kerberos/sbin:/usr/local/enlightenment/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/aguila/bin)
> [root at arakus aguila]# whereis lsusb lsusb:
> [root at arakus aguila]# locate lsusb
> [root at arakus aguila]#
> 
> Also yum doesn't seem to know that such utilities should be available.
> 
> [root at arakus aguila]# yum info "*lsusb*"
> Loading "installonlyn" plugin
> Setting up repositories
> extras
> [1/4] extras                    100% |=========================|  951
> B    00:00
> fedora-extras
> [2/4] fedora-extras             100% |=========================| 1.1
> kB    00:00
> updates
> [3/4] updates                   100% |=========================|  951
> B    00:00
> base
> [4/4] base                      100% |=========================| 1.1
> kB    00:00 Reading repository metadata in from local files
> [root at arakus aguila]#
> 
> Any ideas?
> 
> On Mon, 03 Sep 2007 16:21:42 -0400
> Christopher Murtagh <cmurtagh at terrasoftsolutions.com> wrote:
> 
> > On Saturday 01 September 2007 17:42, Niels S. Eliasen wrote:
> > > Just wondered where I might find the "lsusb" command in 5.0.2 ??
> > 
> > >From my laptop:
> > 
> > [root at localhost ~]# which lsusb
> > /sbin/lsusb
> > [root at localhost ~]# rpm -q --whatprovides /sbin/lsusb
> > usbutils-0.71-2
> > 
> > Cheers,
> > 
> > Chris


More information about the yellowdog-general mailing list