Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2010 13:38:39 +0100 (CET)
From:      Alexander Best <alexbestms@wwu.de>
To:        Hans Petter Selasky <hselasky@c2i.net>, <freebsd-usb@freebsd.org>
Subject:   Re: [patch] add usb hub (0x2514 / 0x0424) to usbdevs
Message-ID:  <permail-2010031112383980e26a0b00002968-a_best01@message-id.uni-muenster.de>
In-Reply-To: <201003111229.24614.hselasky@c2i.net>

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

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-2010031112383980e26a0b00002968-a_best01>