Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2009 13:15:58 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        hselasky@c2i.net
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usbdevs -v
Message-ID:  <20090322.131558.114727889.imp@bsdimp.com>
In-Reply-To: <200903221454.10594.hselasky@c2i.net>
References:  <20090322.071504.-726381019.imp@bsdimp.com> <200903221454.10594.hselasky@c2i.net>

index | next in thread | previous in thread | raw e-mail

In message: <200903221454.10594.hselasky@c2i.net>
            Hans Petter Selasky <hselasky@c2i.net> writes:
: 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

So the answer would basically be "no, there isn't a simple one":
 sudo usbconfig dump_device_desc | grep id
  idVendor = 0x0000 
  idProduct = 0x0000 
  idVendor = 0x0000 
  idProduct = 0x0000 
  idVendor = 0x0000 
  idProduct = 0x0000 
  idVendor = 0x04cf 
  idProduct = 0x8818 
  idVendor = 0x0d49 
  idProduct = 0x7310 

It is possible to find the info, but it is burried in a very verbose
output.  It is some cool very verbose output, granted, but still, it
can take a while to find...  Guess that's what they made emacs for...

Warner


home | help

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