Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2009 14:27:46 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        chuckr@telenix.org
Cc:        usb@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: usbdevs -v
Message-ID:  <20090322.142746.-364329192.imp@bsdimp.com>
In-Reply-To: <20090322.141641.1942082123.imp@bsdimp.com>
References:  <200903221454.10594.hselasky@c2i.net> <49C68EBB.8090306@telenix.org> <20090322.141641.1942082123.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20090322.141641.1942082123.imp@bsdimp.com>
            "M. Warner Losh" <imp@bsdimp.com> writes:
: In message: <49C68EBB.8090306@telenix.org>
:             Chuck Robey <chuckr@telenix.org> writes:
: : -----BEGIN PGP SIGNED MESSAGE-----
: : Hash: SHA1
: : 
: : Hans Petter Selasky wrote:
: : > On Sunday 22 March 2009, M. Warner Losh wrote:
: : >> So what's the new way to say usbdevs -v?  usbconfig list doesn't list
: : >> device IDs.  And devinfo doesn't show a device unless it is attached
: : >> to a driver.
: : > 
: : > usbconfig dump_device_desc | grep id
: : 
: : Is this usbconfig interface planned to be the only remaining tool?  Having only
: : those difficult to remember long form commands makes this tool quite user
: : unfriendly.  In my own system, I'm going to have to implement a shell shim, to
: : help me out.  Doesn't this seem hard to remember, to anyone else?
: 
: I'd be happy with a 'usbconfig list -v' for this request.  usbdevs
: does little more than that.  That would make the usbdevs "program"
: 
: #!/bin/sh
: exec usbconfig list $*
: 
: (or is that list bit "$*", I forget).

Oh, just ran the man page, and it is a little more than that...  -f is
the only hard one to implement...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090322.142746.-364329192.imp>