[patch] add usb hub (0x2514 / 0x0424) to usbdevs

Alexander Best alexbestms at wwu.de
Thu Mar 11 12:38:42 UTC 2010


Hans Petter Selasky schrieb am 2010-03-11:
> On Thursday 11 March 2010 12:25:46 Alexander Best wrote:
> > just a product addition to usbdevs.

> > cheers.
> > alex

> > oh...and one question:


> Hi,

> See USB P4 ID 175574.

hmm...with the patch applied and the kernel rebuilt the device's vendor and
product id still get displayed instead of the usbdev-names:

otaku% sudo usbconfig -d ugen3.2 dump_device_desc
ugen3.2: <product 0x2514 vendor 0x0424> at usbus3, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x0009
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0002
  bMaxPacketSize0 = 0x0040
  idVendor = 0x0424
  idProduct = 0x2514
  bcdDevice = 0x0000
  iManufacturer = 0x0000  <no string>
  iProduct = 0x0000  <no string>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001

otaku% egrep '0x2514|0x0424' /usr/src/sys/dev/usb/usbdevs
vendor SMC2             0x0424  Standard Microsystems
product SMC2 2514HUB            0x2514  USB Hub

alex

> > why does `usbconfig dump_device_desc` say

> I think you need to compile the kernel with:

> option USB_VERBOSE

> Before it works like you expect.

> > although the vendor id is already in usbdevs?

> --HPS


More information about the freebsd-usb mailing list