Date: Tue, 14 Sep 2010 00:20:17 +0000 From: Alexander Best <arundel@freebsd.org> To: freebsd-usb@freebsd.org Subject: USB_VERBOSE and vendor-/productnames Message-ID: <20100914002017.GA97489@freebsd.org>
next in thread | raw e-mail | index | archive | help
hi there, a lot of people report issues where usbconfig doesn't show a vendor or device name, although an usbdevs entry exists. i found a few replies to those reports by hps@ stating that USB_VERBOSE needs to be enabled. could anybody explain why? if that option needs to be enabled in order to see vendor and device names in usbconfig how come that even without it i see most of the vendor and device names with usbconfig: ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen3.1: <EHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen4.1: <UHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen5.1: <UHCI root HUB Intel> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen6.1: <UHCI root HUB Intel> at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen7.1: <EHCI root HUB Intel> at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.2: <product 0x2514 vendor 0x0424> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.2: <Dell USB Keyboard Dell> at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen1.3: <Razer 1600dpi Mouse Razer> at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON my guess would be that these devices are missing the iManufacturer and/or iProduct string, but that's just a wild guess. if that is the case wouldn't it be possible to check for a usbdevs entry in case one of those strings don't exist and if there's an entry in usbdevs use it? i think the option USB_VERBOSE is not really accurate in this particular case. people who want usbconfig to output the vendor and product name actually want less verbosity (i.e. no product/vendor hex ids). cheers. alex -- a13x
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100914002017.GA97489>