On 30.01.2011 16:22 (UTC+1), Hans Petter Selasky wrote:
On Sunday 30 January 2011 16:15:02 Rainer Hurling wrote:
Wouldn't it be useful to integrate the device info into the usb driver?

You can check if your kernel is compiled with "options USB_VERBOSE". That
should bring some more verbosity based on sys/dev/usb/usbdevs.

Thanks for the hint. Now I am getting

#usbconfig -u 3 -a 2 dump_device_desc
ugen3.2: <USB Storage Genesys Logic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x0000
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x05e3
  idProduct = 0x0716
  bcdDevice = 0x9744
  iManufacturer = 0x0000  <no string>
  iProduct = 0x0001  <USB Storage>
  iSerialNumber = 0x0002  <000000009744>
  bNumConfigurations = 0x0001

So it seems there already is some info about this device in the code.

Rainer

--HPS

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to